Changing parameters
The default parameters from load_params()
are given as a nested dictionary. Every item of this dictionary can be changed. For a complete overview of all parameters that can be changed, see Parameters.
Example 1: carbon budget
In this example, the carbon budget is changed to 500 GtCO2.
from mimosa import MIMOSA, load_params
params = load_params()
params["emissions"]["carbonbudget"] = "500 GtCO2" # (1)!
model1 = MIMOSA(params)
model1.solve()
model1.save("run_example_carbonbudget")
- Change the parameter of emissions > carbonbudget to the string "500 GtCO2"
Example 2: high damages, high TCRE, low discounting
Multiple parameters can also be changed at the same time. In this example, the high end of the damages and of the climate sensitivity (TCRE) are used, combined with the low end of the discount rate (PRTP).