Scenarios

source


Methods:

.check_all_set

source

.check_all_set()

Ensure all properties of scenarios have been set

.init_generic_scenario

source

.init_generic_scenario()

.init_global_food_system_properties

source

.init_global_food_system_properties()

.init_country_food_system_properties

source

.init_country_food_system_properties(
   country_data
)

.set_immediate_shutoff

source

.set_immediate_shutoff(
   constants_for_params
)

.set_one_month_delayed_shutoff

source

.set_one_month_delayed_shutoff(
   constants_for_params
)

.set_short_delayed_shutoff

source

.set_short_delayed_shutoff(
   constants_for_params
)

.set_long_delayed_shutoff

source

.set_long_delayed_shutoff(
   constants_for_params
)

.set_continued_feed_biofuels

source

.set_continued_feed_biofuels(
   constants_for_params
)

.set_continued_after_10_percent_fed

source

.set_continued_after_10_percent_fed(
   constants_for_params
)

.set_long_delayed_shutoff_after_10_percent_fed

source

.set_long_delayed_shutoff_after_10_percent_fed(
   constants_for_params
)

.set_breeding_to_greatly_reduced

source

.set_breeding_to_greatly_reduced(
   constants_for_params
)

.set_to_baseline_breeding

source

.set_to_baseline_breeding(
   constants_for_params
)

.set_to_feed_only_ruminants

source

.set_to_feed_only_ruminants(
   constants_for_params
)

.set_waste_to_zero

source

.set_waste_to_zero(
   constants_for_params
)

.get_global_distribution_waste

source

.get_global_distribution_waste()

Calculates the distribution waste of the global food system.

.set_global_waste_to_tripled_prices

source

.set_global_waste_to_tripled_prices(
   constants_for_params
)

.set_global_waste_to_doubled_prices

source

.set_global_waste_to_doubled_prices(
   constants_for_params
)

overall waste, on farm + distribution + retail 2x prices (note, currently set to 2019, not 2020)

.set_global_waste_to_baseline_prices

source

.set_global_waste_to_baseline_prices(
   constants_for_params
)

overall waste, on farm+distribution+retail 1x prices (note, currently set to 2019, not 2020)

.get_distribution_waste

source

.get_distribution_waste(
   country_data
)

Calculates the distribution waste of the global food system.

.set_country_waste_to_tripled_prices

source

.set_country_waste_to_tripled_prices(
   constants_for_params, country_data
)

overall waste, on farm + distribution + retail 3x prices (note, currently set to 2019, not 2020)

.set_country_waste_to_doubled_prices

source

.set_country_waste_to_doubled_prices(
   constants_for_params, country_data
)

overall waste, on farm + distribution + retail 2x prices (note, currently set to 2019, not 2020)

.set_country_waste_to_baseline_prices

source

.set_country_waste_to_baseline_prices(
   constants_for_params, country_data
)

overall waste, on farm+distribution+retail 1x prices (note, currently set to 2019, not 2020)

.set_baseline_nutrition_profile

source

.set_baseline_nutrition_profile(
   constants_for_params
)

.set_catastrophe_nutrition_profile

source

.set_catastrophe_nutrition_profile(
   constants_for_params
)

.set_intake_constraints_to_enabled

source

.set_intake_constraints_to_enabled(
   constants_for_params
)

.set_intake_constraints_to_disabled_for_humans

source

.set_intake_constraints_to_disabled_for_humans(
   constants_for_params
)

.set_no_stored_food

source

.set_no_stored_food(
   constants_for_params
)

Sets the stored food at start of simulation to zero.

.set_baseline_stored_food

source

.set_baseline_stored_food(
   constants_for_params
)

Sets the stored food at start of simulation to the expected amount in the start month.

.set_stored_food_buffer_zero

source

.set_stored_food_buffer_zero(
   constants_for_params
)

Sets the stored food buffer as zero -- no stored food left at the end of the simulation.

However, in reality food in transit and food in grocery stores and warehouses means there would still likely be some food available at the end as a buffer.

.set_no_stored_food_between_years

source

.set_no_stored_food_between_years(
   constants_for_params
)

Sets the stored food between years as zero. No food is traded between the 12 month intervals seasons. Makes more sense if seasonality is assumed zero. All expected stored food at start is however available.

However, in reality food in transit and food in grocery stores and warehouses means there would still likely be some food available at the end as a buffer.

.set_stored_food_buffer_as_baseline

source

.set_stored_food_buffer_as_baseline(
   constants_for_params
)

Sets the stored food buffer as 100% -- the typical stored food buffer in ~2020 left at the end of the simulation.

.set_stored_food_buffer_as_baseline_and_no_stored_between_years

source

.set_stored_food_buffer_as_baseline_and_no_stored_between_years(
   constants_for_params
)

Sets the stored food buffer as 100% -- the typical stored food buffer in ~2020 left at the end of the simulation.

.set_no_seasonality

source

.set_no_seasonality(
   constants_for_params
)

.set_global_seasonality_baseline

source

.set_global_seasonality_baseline(
   constants_for_params
)

.set_global_seasonality_nuclear_winter

source

.set_global_seasonality_nuclear_winter(
   constants_for_params
)

.set_country_seasonality

source

.set_country_seasonality(
   constants_for_params, country_data
)

.set_grasses_baseline

source

.set_grasses_baseline(
   constants_for_params
)

.set_global_grasses_nuclear_winter

source

.set_global_grasses_nuclear_winter(
   constants_for_params
)

.set_country_grasses_nuclear_winter

source

.set_country_grasses_nuclear_winter(
   constants_for_params, country_data
)

.set_country_grasses_to_zero

source

.set_country_grasses_to_zero(
   constants_for_params
)

.set_fish_zero

source

.set_fish_zero(
   constants_for_params, time_consts
)

.set_fish_nuclear_winter_reduction

source

.set_fish_nuclear_winter_reduction(
   time_consts
)

Set the fish percentages in every country (or globally) from baseline although this is a global number, we don't have the regional number, so we use the global instead.

This data comes from reading the graph off of this figure in the following paper: Global food insecurity and famine from reduced crop, marine fishery and livestock production due to climate disruption from nuclear war soot injection https://www.nature.com/articles/s43016-022-00573-0/figures/2 Specifically, plot b.

.set_fish_baseline

source

.set_fish_baseline(
   constants_for_params, time_consts
)

.set_disruption_to_crops_to_zero

source

.set_disruption_to_crops_to_zero(
   constants_for_params
)

.set_nuclear_winter_global_disruption_to_crops

source

.set_nuclear_winter_global_disruption_to_crops(
   constants_for_params
)

.set_nuclear_winter_country_disruption_to_crops

source

.set_nuclear_winter_country_disruption_to_crops(
   constants_for_params, country_data
)

.set_zero_crops

source

.set_zero_crops(
   constants_for_params
)

.include_protein

source

.include_protein(
   constants_for_params
)

.dont_include_protein

source

.dont_include_protein(
   constants_for_params
)

.include_fat

source

.include_fat(
   constants_for_params
)

.dont_include_fat

source

.dont_include_fat(
   constants_for_params
)

.no_resilient_foods

source

.no_resilient_foods(
   constants_for_params
)

.seaweed

source

.seaweed(
   constants_for_params
)

.greenhouse

source

.greenhouse(
   constants_for_params
)

.relocated_outdoor_crops

source

.relocated_outdoor_crops(
   constants_for_params
)

.expanded_area_and_relocated_outdoor_crops

source

.expanded_area_and_relocated_outdoor_crops(
   constants_for_params
)

.methane_scp

source

.methane_scp(
   constants_for_params
)

.cellulosic_sugar

source

.cellulosic_sugar(
   constants_for_params
)

.get_all_resilient_foods_scenario

source

.get_all_resilient_foods_scenario(
   constants_for_params
)

.get_all_resilient_foods_and_more_area_scenario

source

.get_all_resilient_foods_and_more_area_scenario(
   constants_for_params
)

.get_seaweed_scenario

source

.get_seaweed_scenario(
   constants_for_params
)

.get_methane_scp_scenario

source

.get_methane_scp_scenario(
   constants_for_params
)

.get_cellulosic_sugar_scenario

source

.get_cellulosic_sugar_scenario(
   constants_for_params
)

.get_industrial_foods_scenario

source

.get_industrial_foods_scenario(
   constants_for_params
)

.get_relocated_crops_scenario

source

.get_relocated_crops_scenario(
   constants_for_params
)

.get_greenhouse_scenario

source

.get_greenhouse_scenario(
   constants_for_params
)

.get_no_resilient_food_scenario

source

.get_no_resilient_food_scenario(
   constants_for_params
)

.cull_animals

source

.cull_animals(
   constants_for_params
)

.dont_cull_animals

source

.dont_cull_animals(
   constants_for_params
)