|
| 1 | +GDP Impacts |
| 2 | +*********** |
| 3 | + |
| 4 | +Overview |
| 5 | +======== |
| 6 | + |
| 7 | +The main function is the core of a script designed to analyze the economic and climate impacts of different scenarios using the MESSAGEix framework. It integrates climate modeling (via MAGICC), economic impact assessment (via RIME), and iterative convergence to account for feedback between climate and economic systems. This function is part of a larger workflow that evaluates the effects of climate change on GDP and other economic indicators under various scenarios, damage models, and percentiles. |
| 8 | + |
| 9 | +The script is designed to: |
| 10 | + |
| 11 | +- Initialize and solve baseline scenarios without climate impacts. |
| 12 | +- Run the MAGICC climate model to estimate global surface temperature changes. |
| 13 | +- Apply economic damage models (via RIME) to assess GDP impacts. |
| 14 | +- Iteratively adjust scenarios to account for climate-economic feedback until convergence is achieved. |
| 15 | +- Generate detailed reports for each scenario. |
| 16 | + |
| 17 | +Key Components |
| 18 | +============== |
| 19 | + |
| 20 | +Scenario Initialization |
| 21 | +----------------------- |
| 22 | + |
| 23 | +- The script starts by initializing a reference scenario (``sc_ref``) using the MESSAGEix framework. |
| 24 | +- It clones the reference scenario to create a new scenario (``sc0``) without climate impacts, which serves as the baseline for further analysis. |
| 25 | + |
| 26 | +Baseline Scenario Solving |
| 27 | +------------------------- |
| 28 | + |
| 29 | +- The baseline scenario (``sc0``) is solved using the MESSAGE or MESSAGE-MACRO model. |
| 30 | +- Emissions reporting is run to generate necessary outputs for the climate model. |
| 31 | + |
| 32 | +Climate Modeling with MAGICC |
| 33 | +---------------------------- |
| 34 | + |
| 35 | +- The MAGICC climate model is invoked to estimate global surface temperature changes for the baseline scenario. |
| 36 | +- The output is saved in a specified directory for further use. |
| 37 | + |
| 38 | +Economic Impact Assessment with RIME |
| 39 | +------------------------------------ |
| 40 | + |
| 41 | +- The RIME model is used to assess the economic impacts of climate change on GDP. |
| 42 | +- This step is repeated for each damage model and percentile specified by the user. |
| 43 | + |
| 44 | +Iterative Convergence |
| 45 | +--------------------- |
| 46 | + |
| 47 | +- The script iteratively adjusts the scenario to account for feedback between climate impacts and economic outcomes. |
| 48 | +- Convergence is achieved when the difference in global average temperature between iterations falls below a threshold (0.05°C). |
| 49 | + |
| 50 | +Reporting |
| 51 | +--------- |
| 52 | + |
| 53 | +- Once convergence is achieved, detailed reports are generated for the final scenario using legacy reporting functions. |
| 54 | + |
| 55 | +Input Parameters |
| 56 | +================ |
| 57 | + |
| 58 | +The main function accepts the following arguments: |
| 59 | + |
| 60 | +- ``scens_ref``: A list of reference scenarios to analyze. These scenarios serve as the starting point for the analysis. |
| 61 | +- ``damage_model``: A list of damage models to apply. These models define how climate impacts affect GDP. |
| 62 | +- ``percentiles``: A list of percentiles to evaluate. These represent different levels of uncertainty in climate projections. |
| 63 | + |
| 64 | +Workflow |
| 65 | +======== |
| 66 | + |
| 67 | +Setup |
| 68 | +----- |
| 69 | + |
| 70 | +- Logging and memory usage tracking are initialized. |
| 71 | +- The MESSAGEix platform is configured, and the reference scenario is loaded. |
| 72 | + |
| 73 | +Baseline Analysis |
| 74 | +----------------- |
| 75 | + |
| 76 | +- A baseline scenario (``sc0``) is created and solved without climate impacts. |
| 77 | +- Emissions reporting is run, and the MAGICC model is executed to estimate temperature changes. |
| 78 | + |
| 79 | +Economic Impact Analysis |
| 80 | +------------------------ |
| 81 | + |
| 82 | +- For each damage model and percentile, the RIME model is run to assess GDP impacts. |
| 83 | +- The results are used to adjust the scenario iteratively. |
| 84 | + |
| 85 | +Convergence |
| 86 | +----------- |
| 87 | + |
| 88 | +- The script iteratively adjusts the scenario to account for feedback between climate and economic systems. |
| 89 | +- Convergence is achieved when the temperature difference between iterations is below 0.05°C. |
| 90 | + |
| 91 | +Final Reporting |
| 92 | +-------------- |
| 93 | + |
| 94 | +- Once convergence is achieved, detailed reports are generated for the final scenario. |
| 95 | + |
| 96 | +Example Usage |
| 97 | +============= |
| 98 | + |
| 99 | +To run the script, use the following command: |
| 100 | + |
| 101 | +.. code-block:: bash |
| 102 | +
|
| 103 | + python script_name.py --scens_ref SSP2_Ref --damage_model model1 model2 --percentiles 50 90 |
| 104 | +
|
| 105 | +This command will: |
| 106 | + |
| 107 | +- Analyze the ``SSP2_Ref`` scenario. |
| 108 | +- Apply two damage models (``model1`` and ``model2``). |
| 109 | +- Evaluate the 50th and 90th percentiles of climate uncertainty. |
| 110 | + |
| 111 | +Outputs |
| 112 | +======= |
| 113 | + |
| 114 | +The script generates the following outputs: |
| 115 | + |
| 116 | +MAGICC Output Files |
| 117 | +------------------- |
| 118 | + |
| 119 | +- Located in the ``magicc_output`` directory. |
| 120 | +- Contain temperature projections for each scenario. |
| 121 | + |
| 122 | +RIME Output Files |
| 123 | +----------------- |
| 124 | + |
| 125 | +- Located in the ``reporting_output`` directory. |
| 126 | +- Contain GDP impact assessments for each damage model and percentile. |
| 127 | + |
| 128 | +Final Reports |
| 129 | +------------- |
| 130 | + |
| 131 | +- Generated using legacy reporting functions. |
| 132 | +- Provide detailed insights into the economic and climate impacts of each scenario. |
| 133 | + |
0 commit comments