balmorelcommunity / Balmorel

Balmorel Model
31 stars 18 forks source link

Decommissioning add-on, and "export and import results" options #5

Closed jgeab closed 5 years ago

jgeab commented 5 years ago

"DECOMMISSIONING ADD-ON" Endogenous decommissioning of exogenous and endogenous capacities add-on implemented. Several possibilities are allowed for decommissioning or exogenous and/or endogenous capacities (detailed information is explained in balopt):

The introduction of a variable called "VGKFX", i.e. a variable that without decommissioning would equal GKFX, was considered but in the end I decided not to include it, since it would make the base model more complex (GKFX would become a variable). Instead, I introduced the following exemplary sentence in most of the equations: $ifi %DECOM%==yes -VDECOM_EXO_ACCUM(IY411,IA,IGEXT)$IGDECOMEXOPOT(IY411,IA,IGEXT) To be done: Hydrogen add-on not modified yet. It needs to be modified by someone with more experience with the add-on (Ida, Rasmus,??) Decommissioning variables might be used in future code for refurbishment possibilities, etc

"EXPORT AND IMPORT RESULTS OPTIONS" The options "export results" and "import results" are now activated and are meant to be used to exchange key results from run to run. The following export results have been included: Investments Storage level of seasonal storages at the beginning of each week *Decommissioning

Any of these exported results can be the introduced in future runs by activating the option "import results" and the corresponding option to introduce in the run.

Important notice: This pull request contains the changes also made in the pull request "BB4 INV" and "RAMPING STEPWISE", which must be merged into the master first. Otherwise it will be very difficult to understand the changes made in this pull request Future pull requests will allow to execute the model week by week, day by day, etc, and are meant to be combined with the import and export results options