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

Sustainability share on edges differs slightly from share on nodes #1279

Open
mabijkerk opened this issue Oct 14, 2022 · 0 comments
Open

Sustainability share on edges differs slightly from share on nodes #1279

mabijkerk opened this issue Oct 14, 2022 · 0 comments
Labels
Pinned Will never be marked as stale or auto-closed.

Comments

@mabijkerk
Copy link
Member

mabijkerk commented Oct 14, 2022

When querying the final energetic demand of steam hot water and useable heat on de final demand edge group, this the result for a blank nl2019 scenario:

SUM(
      V(
        FILTER(
          FILTER(
              EG(final_demand),
            energetic?
          ),
          "steam_hot_water? || useable_heat?"
        ),
        "value"
      )
    ) / BILLIONS

186.62196078108914

When querying the same but then using the supply of steam hot water on the final demand node group, this is the result:

SUM(
  V(
    INTERSECTION(
      G(final_demand_group),
      USE(energetic)
    ), 
    "supply_of_steam_hot_water")
) / BILLIONS

186.62196078108914

They produce the same results. However, when I add the fossil share (1 - sustainability share) I get this:

SUM(
      V(
        FILTER(
          FILTER(
              EG(final_demand),
            energetic?
          ),
          "steam_hot_water? || useable_heat?"
        ),
        "(1.0 - sustainability_share) * value"
      )
    ) / BILLIONS

163.94219983930302

And this:

SUM(
  V(
    INTERSECTION(
      G(final_demand_group),
      USE(energetic)
    ), 
    "(1.0 - sustainability_share) * supply_of_steam_hot_water")
) / BILLIONS

163.8581434181152

Once the sustainability share is included, there is a slight difference in what counts as 'fossil' or 'sustainable' heat. I would expect both queries to produce the same results, or at least would like to be able to explain why they don't. This issue is opened mainly as documentation of this issue: because the difference is marginal and the total heat queries do align it is not urgent.

Notifying @marliekeverweij

@mabijkerk mabijkerk added the Pinned Will never be marked as stale or auto-closed. label Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pinned Will never be marked as stale or auto-closed.
Projects
None yet
Development

No branches or pull requests

1 participant