Conversation
…d variables; deleted old
… (as accounting equation no longer exist)
…h MESSAGE-MACRO_run lst and log file
|
Lukas Eggert seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
|
Excellent, thanks @lukeggert for sharing this here! The code changes in the Python and GAMS file seem fairly clean and easy to trace. I will make an attempt to read them together with the PDF and notebooks and reproduce any issues/exceptions described there. |
|
Per:
I looked at the added "MESSAGE-MACRO_run_log.ipynb", I see the following at the first attempt to solve MACRO: So this indeed indicates the MACRO MCP is not feasible, probably due to the changes to the GAMS code. Some points of information:
As mentioned in Slack, there may be a way to get CONOPT to print out information on the offending variables and equations. |
Hello all,
The pull request is about the implementation of an alternative version of the macroeconomic MACRO model. This new model version has not been finalised yet. However, I wanted to demonstrate the changes I have made so far. I have tried to calibrate the new model version to the MESSAGE model. The calibration process uses scen.add_macro(), but some errors occur as important MESSAGE variables are dropped due to infeasibilities.
I think these infeasibilities are mostly related to the fact that the model is not finalised yet. The new energy accounting equations in particular need to be checked for feasibility and mathematical plausibility. Nevertheless, I would like to share my progress and perhaps gain some insight into how to solve the infeasibilities in the calibration process (for instance, by changing the start values for specific parameters). Currently, the most influential parameter to be changed for calibration purposes is the newly implemented exogenous wage rate in the capital constraint.
Description of changes:
In order to understand the changes made to the parameters, variables and equations in macro_core.gms, I have uploaded a PDF file containing documentation describing the alternative MACRO implementation: "new_model_description.pdf".
The following files have been changed:
I created a new folder "run script and output" to see the latest calibration run and related errors and infeasibilities:
How to review