Skip to content

Commit

Permalink
Merge pull request #1944 from robertpietzcker/ImproveDocumentation
Browse files Browse the repository at this point in the history
improve documentation: add info that gas electricity is split to ngcc and ngt
  • Loading branch information
robertpietzcker authored Jan 9, 2025
2 parents 4148bae + e5df6d3 commit 050dc9a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/04_PE_FE_parameters/iea2014/datainput.gms
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ loop(in2enty(all_enty,enty,all_te,te),
);
display pm_IO_input, p04_IO_output;

***------------------ allocate all electricity produced from gas to ngt for initial calculation of average eta ----------------------------------------
***------------------ allocate all electricity produced from gas (x_gas2elec) to ngcc for initial calculation of average eta. Some lines further down it is split to ngcc and ngt (search for "Distribute the initial gas numbers" ----------------------------------------
pm_IO_input(regi,enty,enty2,"ngcc") = pm_IO_input(regi,enty,enty2,"x_gas2elec");
p04_IO_output(regi,enty,enty2,"ngcc") = p04_IO_output(regi,enty,enty2,"x_gas2elec");

Expand Down Expand Up @@ -372,8 +372,9 @@ pm_fuExtrOwnCons(regi, "seel", "peoil") = f04_IO_input("2005", regi, "seel", "
pm_fuExtrOwnCons(regi, "seel", "pegas") = f04_IO_input("2005", regi, "seel", "pegas", "d_elec2gas")/p04_fuExtr(regi, "pegas");
pm_fuExtrOwnCons(regi, "seel", "pecoal") = f04_IO_input("2005", regi, "seel", "pecoal","d_elec2coal")/p04_fuExtr(regi, "pecoal");


*** ----------------------------------------------------------------------------------------------------------
*RP* Distribute the initial gas numbers to ngcc and ngt based on energy values:
*** ----------------------------------------------------------------------------------------------------------
loop(regi,
if( pm_data(regi,"mix0","ngcc") < 0.1 , !! in regions where gas provides < 10% of electricity, distribute 80/20
p04_shareNGTinGas(regi) = 0.15;
Expand Down

0 comments on commit 050dc9a

Please sign in to comment.