Solm Model Documentation
Total Page:16
File Type:pdf, Size:1020Kb
SOLm Model Documentation Adrian Muller, Anita Frehner, Catherine Pfeiffer, Simon Moakes, Christian Schader 22.11.2020 Contact: [email protected] Research Institute of Organic Agriculture FiBL | Ackerstrasse 113 | Postfach 219 5070 Frick | Switzerland | Phone +41 62 865 72 72 | [email protected] | www.fibl.org Table of Contents Inhaltsverzeichnis 1. Introduction ....................................................................................................................... 7 1.1 History ................................................................................................................................. 7 1.2 Access to and working with the model ......................................................................... 7 1.3 General Structure .............................................................................................................. 8 1.4 What does SOLm deliver and what not ...................................................................... 11 1.4.1 Option space, viability and scenarios ......................................................................... 11 1.4.2 Decision structure and principle of “ceteris paribus – keeping everything else equal”......................................................................................................................................... 14 1.4.3 Which questions can be addressed with SOLm? ...................................................... 15 1.5 Main opportunities and challenges ............................................................................. 16 2. Current Code Structure of SOLmV6 ........................................................................... 17 2.1 Software, platform .......................................................................................................... 17 2.2 Current structure ............................................................................................................. 18 2.2.1 “___V6_SteeringFile1_ModelInitialisation.gms” ..................................................... 18 2.2.2 “___V6_SteeringFile2_ CoreModelScenariosAndEquations.gms” ....................... 19 2.3 Possible parameter choices of general model validity ............................................. 22 2.3.1 Baseline years .................................................................................................................. 22 2.3.2 Organic yield gaps .......................................................................................................... 22 2.3.3 GWP and GTP ................................................................................................................. 23 2.3.4 Some assumptions for bioenergy ................................................................................. 23 2.3.5 Allocation of mineral fertilizers ................................................................................... 23 2.4 Adding new data ............................................................................................................. 23 2.5 Model output ................................................................................................................... 24 2.6 Consistency checks ......................................................................................................... 24 2.7 Known code issues to be improved next .................................................................... 25 2.8 Next things to be added ................................................................................................. 27 2.9 Open questions and inconsistencies to be addressed next ..................................... 27 3. SOLmV6: Code and Data in Detail .............................................................................. 27 3.1 SteeringFile 1 ................................................................................................................... 28 3.1.1 _V6_Sets_FAOSTAT_Regions ...................................................................................... 29 3.1.2 _V6_Sets_FAOSTAT_Items .......................................................................................... 30 3.1.3 _V6_Sets_FAOSTAT_ItemGroups .............................................................................. 31 3.1.4 _V6_Sets_NonFAOSTAT_Items .................................................................................. 33 3.1.5 _V6_Sets_FAOSTAT_Elements .................................................................................... 33 3.1.6 _V6_Sets_FAOSTAT_Units .......................................................................................... 33 3.1.7 _V6_Sets_FAOSTAT_LandUse .................................................................................... 34 3.1.8 _V6_Sets_FAOSTAT_Deforestation ........................................................................... 34 3.1.9 _V6_Sets_FAOSTAT_OrganicSoils ............................................................................. 34 3.1.10 _V6_Sets_ErbEtAl_Grasslands ............................................................................. 34 2 3.1.11 _V6_Sets_FAOSTAT_Fertilizers .......................................................................... 35 3.1.12 _V6_Sets_FAOSTAT_Population_HumanNutrReq ......................................... 35 3.1.13 _V6_Sets_VariousSources_HerdStructures ........................................................ 35 3.1.14 _V6_Sets_GeneralModelSets_ForReadingData ................................................ 36 3.1.15 _V6_Sets_GeneralModelSets ................................................................................ 36 3.1.15.1 Inputs ..................................................................................................................... 36 3.1.15.2 Outputs .................................................................................................................. 36 3.1.15.3 Other Characteristics of Activities ................................................................... 37 3.1.15.4 Animal types in herds ........................................................................................ 37 3.1.15.5 Production systems ............................................................................................. 38 3.1.15.6 Production conditions ........................................................................................ 38 3.1.15.7 Commodities: nutrient contents and Other Characteristics ........................ 38 3.1.15.8 Crop residues: nutrient contents, Other Characteristics and management 38 3.1.15.9 Manure: nutrient contents, Other Characteristics and management ......... 39 3.1.15.10 Fertilizer application characteristics ................................................................ 39 3.1.15.11 Regions .................................................................................................................. 39 3.1.15.12 Activities, sub-activities, aggregate activities ................................................ 40 3.1.15.13 Commodities ........................................................................................................ 42 3.1.15.14 Some auxiliary sets .............................................................................................. 45 3.1.16 _V6_VariablesAndParameters .............................................................................. 46 3.1.16.1 Parameters ............................................................................................................. 48 3.1.16.2 Main variables ..................................................................................................... 50 3.1.16.3 Auxiliary parameters .......................................................................................... 54 3.1.16.4 Auxiliary variables .............................................................................................. 54 3.1.17 _V6_ReadData_FAOSTAT_CropProduction ..................................................... 55 3.1.18 _V6_ReadData_FAOSTAT_ForageCropProduction ......................................... 55 3.1.19 _V6_ReadData_FAOSTAT_LivestockProduction ............................................. 55 3.1.20 _V6_ReadData_FAOSTAT_Trade ........................................................................ 56 3.1.21 _V6_ReadData_FAOSTAT_CommodityBalances ............................................. 57 3.1.22 _V6_ReadData_FAOSTAT_LandUse .................................................................. 57 3.1.23 _V6_ReadData_FAOSTAT_Deforestation ......................................................... 58 3.1.24 _V6_ReadData_FAOSTAT_OrganicSoils ........................................................... 58 3.1.25 _V6_ReadData_ErbEtAl_Grasslands ................................................................... 58 3.1.26 _V6_ReadData_FAOSTAT_Fertilizers ................................................................ 59 3.1.27 _V6_ReadData_FAOSTAT_WOSY_DetailedFBS ............................................. 59 3.1.28 _V6_ReadData_FAOSTAT_Population .............................................................. 59 3.1.29 _V6_ReadData_VariousSources_HumanNutrientRequirements .................. 60 3.1.30 _V6_ReadData_VariousSources_CropGrassNutrientRequirementsData .... 60 3.1.31 _V6_ReadData_VariousSources_MainOutputNutrientContentsData ......... 60 3.1.32 _V6_ReadData_VariousSources_ResidueSharesAndNutrientContentsData 60 3.1.33 _V6_ReadData_VariousSources_SeedCharacteristicsData ............................. 61 3.1.34 _V6_ReadData_FAOSTAT_ProducerPrices