highRES-model / highRES-Europe-GAMS

0 stars 0 forks source link

CO2 budget detached from co2_budget.dd #7

Open absolute-afloat opened 11 months ago

absolute-afloat commented 11 months ago

OskarVagero Jan 30, 2023

With the implementation of the improvements from highRES-UK, a small 'error' slipped through. In the following line in highres.gms: https://github.com/highRES-model/highRES-Europe-GAMS/blob/8ac9041a1756f42437d177c8877ad6116250a3c4/highres.gms#L635-L637 the CO2 budget is scaled based on the demand and the scalar 2, resulting in 2gCO2/kWh. This has detached co2budget.dd from the model code and changing the CO2 budget there does not do anything. We should consider re-implementing it, as it was written in SoftwareX.

Note: re-implementing co2budget.dd may be impacted by demand used for the model, i.e. if the demand is scaled to ~2x then the CO2 budget also need to be scaled.

absolute-afloat commented 6 months ago

https://github.com/highRES-model/highRES-Europe-WF/issues/12

absolute-afloat commented 6 months ago

Possibly the doubledash switches from https://github.com/highRES-model/highRES-Europe-WF/pull/33 will solve this.