Scenarios
Methods:
.check_all_set
.check_all_set()
Ensure all properties of scenarios have been set
.init_generic_scenario
.init_generic_scenario()
.init_global_food_system_properties
.init_global_food_system_properties()
.init_country_food_system_properties
.init_country_food_system_properties(
country_data
)
.set_immediate_shutoff
.set_immediate_shutoff(
constants_for_params
)
.set_one_month_delayed_shutoff
.set_one_month_delayed_shutoff(
constants_for_params
)
.set_short_delayed_shutoff
.set_short_delayed_shutoff(
constants_for_params
)
.set_long_delayed_shutoff
.set_long_delayed_shutoff(
constants_for_params
)
.set_continued_feed_biofuels
.set_continued_feed_biofuels(
constants_for_params
)
.set_continued_after_10_percent_fed
.set_continued_after_10_percent_fed(
constants_for_params
)
.set_long_delayed_shutoff_after_10_percent_fed
.set_long_delayed_shutoff_after_10_percent_fed(
constants_for_params
)
.set_breeding_to_greatly_reduced
.set_breeding_to_greatly_reduced(
constants_for_params
)
.set_to_baseline_breeding
.set_to_baseline_breeding(
constants_for_params
)
.set_to_feed_only_ruminants
.set_to_feed_only_ruminants(
constants_for_params
)
.set_waste_to_zero
.set_waste_to_zero(
constants_for_params
)
.get_global_distribution_waste
.get_global_distribution_waste()
Calculates the distribution waste of the global food system.
.set_global_waste_to_tripled_prices
.set_global_waste_to_tripled_prices(
constants_for_params
)
.set_global_waste_to_doubled_prices
.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
.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
.get_distribution_waste(
country_data
)
Calculates the distribution waste of the global food system.
.set_country_waste_to_tripled_prices
.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
.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
.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
.set_baseline_nutrition_profile(
constants_for_params
)
.set_catastrophe_nutrition_profile
.set_catastrophe_nutrition_profile(
constants_for_params
)
.set_intake_constraints_to_enabled
.set_intake_constraints_to_enabled(
constants_for_params
)
.set_intake_constraints_to_disabled_for_humans
.set_intake_constraints_to_disabled_for_humans(
constants_for_params
)
.set_no_stored_food
.set_no_stored_food(
constants_for_params
)
Sets the stored food at start of simulation to zero.
.set_baseline_stored_food
.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
.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
.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
.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
.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
.set_no_seasonality(
constants_for_params
)
.set_global_seasonality_baseline
.set_global_seasonality_baseline(
constants_for_params
)
.set_global_seasonality_nuclear_winter
.set_global_seasonality_nuclear_winter(
constants_for_params
)
.set_country_seasonality
.set_country_seasonality(
constants_for_params, country_data
)
.set_grasses_baseline
.set_grasses_baseline(
constants_for_params
)
.set_global_grasses_nuclear_winter
.set_global_grasses_nuclear_winter(
constants_for_params
)
.set_country_grasses_nuclear_winter
.set_country_grasses_nuclear_winter(
constants_for_params, country_data
)
.set_country_grasses_to_zero
.set_country_grasses_to_zero(
constants_for_params
)
.set_fish_zero
.set_fish_zero(
constants_for_params, time_consts
)
.set_fish_nuclear_winter_reduction
.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
.set_fish_baseline(
constants_for_params, time_consts
)
.set_disruption_to_crops_to_zero
.set_disruption_to_crops_to_zero(
constants_for_params
)
.set_nuclear_winter_global_disruption_to_crops
.set_nuclear_winter_global_disruption_to_crops(
constants_for_params
)
.set_nuclear_winter_country_disruption_to_crops
.set_nuclear_winter_country_disruption_to_crops(
constants_for_params, country_data
)
.set_zero_crops
.set_zero_crops(
constants_for_params
)
.include_protein
.include_protein(
constants_for_params
)
.dont_include_protein
.dont_include_protein(
constants_for_params
)
.include_fat
.include_fat(
constants_for_params
)
.dont_include_fat
.dont_include_fat(
constants_for_params
)
.no_resilient_foods
.no_resilient_foods(
constants_for_params
)
.seaweed
.seaweed(
constants_for_params
)
.greenhouse
.greenhouse(
constants_for_params
)
.relocated_outdoor_crops
.relocated_outdoor_crops(
constants_for_params
)
.expanded_area_and_relocated_outdoor_crops
.expanded_area_and_relocated_outdoor_crops(
constants_for_params
)
.methane_scp
.methane_scp(
constants_for_params
)
.cellulosic_sugar
.cellulosic_sugar(
constants_for_params
)
.get_all_resilient_foods_scenario
.get_all_resilient_foods_scenario(
constants_for_params
)
.get_all_resilient_foods_and_more_area_scenario
.get_all_resilient_foods_and_more_area_scenario(
constants_for_params
)
.get_seaweed_scenario
.get_seaweed_scenario(
constants_for_params
)
.get_methane_scp_scenario
.get_methane_scp_scenario(
constants_for_params
)
.get_cellulosic_sugar_scenario
.get_cellulosic_sugar_scenario(
constants_for_params
)
.get_industrial_foods_scenario
.get_industrial_foods_scenario(
constants_for_params
)
.get_relocated_crops_scenario
.get_relocated_crops_scenario(
constants_for_params
)
.get_greenhouse_scenario
.get_greenhouse_scenario(
constants_for_params
)
.get_no_resilient_food_scenario
.get_no_resilient_food_scenario(
constants_for_params
)
.cull_animals
.cull_animals(
constants_for_params
)
.dont_cull_animals
.dont_cull_animals(
constants_for_params
)