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

Final to useful energy conversion creates energy in JRC industry dataset #411

Open
irm-codebase opened this issue Jul 4, 2024 · 0 comments
Assignees
Labels
bug Something isn't working Industry Industrial energy demand

Comments

@irm-codebase
Copy link
Contributor

irm-codebase commented Jul 4, 2024

What happened?

While testing combinations for "other" industries, I found that for some cases (e.g., not processing Chemicals Industry individually), dividing useful energy over final energy leads to efficiencies above zero.

This issue comes from the JRC processing, in the build/data/jrc-idees/industry/processed-energy.nc file.

I propose the following:

  • Adding an assure statement that catches this on the JRC module.
  • Fixing it (if we introduce the problem) or ensuring it does not occur (if it's an issue in JRC data).

Version

1.2.0.dev

Relevant log output

eff_chemical.where(eff_chemical > 1, drop=True)
<xarray.DataArray (country_code: 9, section: 3, subsection: 1, year: 7)>
array([[[[       nan,        nan,        nan,        nan,        nan,
                 nan, 1.02665297]],

        [[       nan,        nan,        nan,        nan,        nan,
                 nan,        nan]],

        [[1.00912944, 1.00912944, 1.00912944, 1.05977545, 1.05977545,
          1.05977545, 1.05977545]]],


       [[[       nan,        nan,        nan,        nan,        nan,
                 nan,        nan]],

        [[       nan,        nan,        nan,        nan,        nan,
                 nan,        nan]],

        [[       nan,        nan,        nan, 1.02217429, 1.02217429,
          1.02217429, 1.02217429]]],

...
@irm-codebase irm-codebase added bug Something isn't working Industry Industrial energy demand labels Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Industry Industrial energy demand
Projects
None yet
Development

No branches or pull requests

2 participants