quintel / etmodel

Professional interface of the Energy Transition model.
https://energytransitionmodel.com/
MIT License
33 stars 14 forks source link

Baseload electricity demand should match sum of demand curves #4007

Open marliekeverweij opened 2 years ago

marliekeverweij commented 2 years ago

There is now some space between the baseload curves and the sum of all demand curves. We are probably missing a demand series in this chart, we have to find out which one!

Screenshot 2022-09-15 at 10 32 01

mabijkerk commented 2 years ago

It seems to be caused by a missing series for electric vans. However, there are more issues with this chart:

These network queries are very easily overlooked and not updated automatically, since each node is hardcoded into the query:

- query =
    SUM_CURVES(V(
      transport_bicycle_using_electricity,
      transport_bus_using_electricity,
      transport_freight_train_using_electricity,
      transport_motorcycle_using_electricity,
      transport_passenger_train_using_electricity,
      transport_tram_using_electricity,
      transport_truck_using_electricity,
      electricity_input_curve
    ))
- unit = curve

A more dynamic query that as far as I can tell obtains the same result is:

INTERSECTION(G(mv_net_demand),SECTOR(transport))

For transport_ship_using_electricity it is even stranger, because it does not seem to be included in the total either. This is probably because it has no network group assigned to it.

- groups = [application_group, freight_transport]

For now I would propose the following:

mabijkerk commented 2 years ago

Most of this issue is addressed in https://github.com/quintel/etsource/pull/2769

github-actions[bot] commented 1 year ago

This issue has had no activity for 60 days and will be closed in 7 days. Removing the "Stale" label or posting a comment will prevent it from being closed automatically. You can also add the "Pinned" label to ensure it isn't marked as stale in the future.