Skip to content

Commit

Permalink
Merge pull request #1350 from LaviniaBaumstark/develop
Browse files Browse the repository at this point in the history
initialize pm_pvpRegi = 0 instead of loading those values from the input.gdx file
  • Loading branch information
LaviniaBaumstark authored Jul 11, 2023
2 parents 5eeea52 + be02b54 commit cd58a9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/preloop.gms
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ vm_co2eqMkt.l(ttot,regi,emiMkt) = 0;
v_shfe.l(t,regi,enty,sector) = 0;
v_shGasLiq_fe.l(t,regi,sector) = 0;
pm_share_CCS_CCO2(t,regi) = 0;

pm_pvpRegi(ttot,regi,enty) = 0;

*** overwrite default targets with gdx values if wanted
Execute_Loadpoint 'input' p_emi_budget1_gdx = sm_budgetCO2eqGlob;
Execute_Loadpoint 'input' vm_demPe.l = vm_demPe.l;
Execute_Loadpoint 'input' q_balPe.m = q_balPe.m;
Execute_Loadpoint 'input' qm_budget.m = qm_budget.m;
Execute_Loadpoint 'input' pm_pvpRegi = pm_pvpRegi;
Execute_Loadpoint 'input' pm_pvp = pm_pvp;
Execute_Loadpoint 'input' vm_demFeSector.l = vm_demFeSector.l;

Expand Down
2 changes: 1 addition & 1 deletion tutorials/06_Advanced_ChangeInputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ If you want to peek inside the archive to debug something or out of curiosity yo

1. Run the helper tool `lastrev` (`/p/projects/rd3mod/tools/lastrev`) to get a list of the last five `revX.XXX*_remind.tgz` items in the default madrat output directory. Alternatively, you can also check by hand in the `/p/projects/rd3mod/inputdata/output` folder on the PIK cluster.

2. Clone the [remind-preprocessing repo](https://github.com/remindmodel/pre-processing) to your tmp folder on the cluster and edit its `config/default.cfg` file by inserting the next revision number. Use at least 4 decimal places for development/testing or use the additional argument `dev` to specify your test. If an old revision number is used, the input data will not be recalculated. Input data for a new regional resolution will be recalculated based on the existing cache information in the PUC file.
2. Clone the [remind-preprocessing repo](https://github.com/remindmodel/pre-processing) to your tmp folder on the cluster and edit its `config/default.cfg` file by inserting the next revision number. Use the additional argument `dev` for testing. If an old revision number is used, the input data will not be recalculated. Input data for a new regional resolution will be recalculated based on the existing cache information in the PUC file.

3. Start the script with `Rscript submit_preprocessing.R`.
The .log file lists the progress and potential errors. This process might take a while (currently >8 hours).
Expand Down

0 comments on commit cd58a9d

Please sign in to comment.