Model/6_scenarios.gms
- This script:
Defines the scenarios.
Sets up the initial values for land cover =>
recursive_luc.gms.Sets up the initial values for trade =>
recursive_trade.gms.Sets up the initial values for food, wood and bioenergy demand =>
data_foodprojscen.gms,define_base.gms,define_scenario.gms.Adjusts yields to assumptions on technological progress =>
data_yld_SSPs.gms,define_scenario.gms.Eventually expands the model described in
4_model.gmswith new equations =>model_scen.gms.Solves the model for each year and each scenario:
LOOP( ...., SOLVE ...).Defines parameters to save after each scenario is run =>
rep_declare.gms,rep_compare.gms.
This variant of the scenarios script is designed for parallel running of scenarios on a cluster.
The script should be invoked with the %nsim% compile-time variable set to an integer value to select,
from the SCEN_MAP, the scenario to run for a particular invocation of a parallel run. The %nsim% value
is passed via a GAMS command line argument by the Condor_run.R script that can be used to submit a
parallel run to a Condor cluster.
For a local non-parallel test run, you can set %nsim% to a comma-separated list of scenario integers
(e.g. 0,1,5,12). This script will loop over the selected scenarios.
Includes
- Model/7_output.gms
- Model/calc_WDPA_expansion.gms
- Model/calc_constants.gms
- Model/calc_moretuples.gms
- Model/calc_nutrient_harmonization.gms
- Model/calc_postsolve.gms
- Model/calc_tuples.gms
- Model/define_base.gms
- Model/define_base_aglink.gms
- Model/define_scenario.gms
- Model/define_scenario_aglink.gms
- Model/define_scenario_nutrient.gms
- Model/model_scen.gms
- Model/model_scen_defaultsetup.gms
- Model/precompute_lookup.gms
- Model/precompute_nutrient_base.gms
- Model/recursive_luc.gms
- Model/recursive_luc_setmax.gms
- Model/recursive_trade.gms
- Model/rep_compare.gms
- Model/rep_compare_rename.gms
- Model/rep_compute.gms
- Model/rep_declare.gms
- Model/rep_declare_nutrient.gms
- Model/rescale_GHG_fao.gms
- Model/rescale_GHG_fao_nutrient.gms
- Model/reset_all.gms
- Model/reset_all_scen.gms
- Model/reset_base2000.gms
- Model/reset_nutrient_spatial_harmonization.gms
- Model/scen_map_list_for_lookup.gms