From 2737d218062cbaa3e8f9eb17208d40c33a8be58c Mon Sep 17 00:00:00 2001 From: Lavinia Baumstark Date: Mon, 10 Jul 2023 17:06:41 +0200 Subject: [PATCH 1/2] initialize pm_pvpRegi(ttot,regi,enty) = 0; instead of loading it from input.gdx file --- core/preloop.gms | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/preloop.gms b/core/preloop.gms index c4336c2c2..615dbed4b 100644 --- a/core/preloop.gms +++ b/core/preloop.gms @@ -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; From be02b545ac4795c2ac9edc4b5550ca39f0b19ce3 Mon Sep 17 00:00:00 2001 From: Lavinia Baumstark Date: Tue, 11 Jul 2023 13:45:20 +0200 Subject: [PATCH 2/2] adjust input data tutorial --- tutorials/06_Advanced_ChangeInputs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/06_Advanced_ChangeInputs.md b/tutorials/06_Advanced_ChangeInputs.md index cd3431e7f..294cfce23 100644 --- a/tutorials/06_Advanced_ChangeInputs.md +++ b/tutorials/06_Advanced_ChangeInputs.md @@ -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).