Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

calcIO does not return ngt or ngcc generation data (only gaschp and x_gas2elec) #383

Open
stephenbi opened this issue Mar 30, 2023 · 7 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@stephenbi
Copy link
Contributor

As a result, calcIO gives <25% of global gas power generation compared against "SE|Electricity|+|Gas (EJ/yr)" from calcEmber. First guess: it's probably related to this commit.

dimSums(seelgen[, 2000:2020, "pegas.seel.gaschp"], 1) / dimSums(ember_nat[, 2000:2020, "SE|Electricity|+|Gas (EJ/yr)"], 1)

IEA_v_Ember_gaspower

@pfuehrlich-pik
Copy link
Contributor

I have really no idea what's going on here, so I'd leave this to you @fbenke-pik :)

@pfuehrlich-pik pfuehrlich-pik removed their assignment Mar 30, 2023
@fbenke-pik
Copy link
Contributor

fbenke-pik commented Apr 4, 2023

subtype here: output
seelgen <- calcOutput("IO",subtype="output",aggregate = FALSE)[,,"seel"]

Looks to me like this is not part of the mappingfile

i.e. none of the IEA products and flows (column C and D) is mapped to the correct REMIND in, out, tech combination (columns E,F,G).

You will need to create the correct mapping entries for this (maybe @Renato-Rodrigues or @robertpietzcker can help)

@stephenbi
Copy link
Contributor Author

OK, looks like the behavior is correct, just confusing and poorly documented. The x_gas2elec technology is apparently a catchall for non-CHP gas plants, which then gets assigned completely to ngcc in REMIND (though the comments suggest it was previously assigned completely to ngt). So I guess it's worth asking, @robertpietzcker and @Renato-Rodrigues: is this mapping convention a matter of necessity or tradition at this point?

@robertpietzcker
Copy link
Contributor

I don't get the initial comment.
To me it looks like total gas-based power generation matches pretty well with EMBER data:
image

so I must somehow be misunderstanding the original issue. Could you try to explain once more, Steve?

  1. IEA data doesn't differentiate between ngt and ngcc, so the input data can't split this information - thus it is all assigned to x_gas2elec.

IN REMIND itself, it is then distributed in module 04/datainput from line 375 on according to the share of gas electricity in total power generation, as a low share will likely lead to a mostly peaking role, while a large share means much more plants with high full load hours such as ngcc:
https://github.com/remindmodel/remind/blob/8b9542edfc9d4d86391ccf64181b58ef6761dea5/modules/04_PE_FE_parameters/iea2014/datainput.gms#L375

@stephenbi stephenbi added the documentation Improvements or additions to documentation label Apr 4, 2023
@stephenbi
Copy link
Contributor Author

@robertpietzcker No no, you're right, we've since figured out that there's no issue with data or functionality. I just wasn't aware that x_gas2elec is a placeholder and not a tech, and there's no description for it in core/sets.

So, this is just a low priority question on documentation/mapping convention (sorry, only labeled it as such now). Since x_gas2elec is mapped 1-to-1 with ngcc within REMIND, is it really necessary?

@robertpietzcker
Copy link
Contributor

Since x_gas2elec is mapped 1-to-1 with ngcc within REMIND, is it really necessary?

it is not :-)
as written under "IN REMIND itself ..." above, it is a few lines below the original mapping to ngcc split into ngt and ngcc.
it would be great to add a line
!! further below, the values are split between ngt and ngcc - search for "Distribute the initial gas numbers to ngcc and ngt"
in the REMIND code :-)

@fbenke-pik fbenke-pik assigned stephenbi and unassigned stephenbi and fbenke-pik Nov 8, 2023
@fbenke-pik
Copy link
Contributor

Stephen, is this still current? If not, please close. Otherwise, anything to do on my end?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants