quintel / etengine

Calculation engine for the Energy Transition Model
https://energytransitionmodel.com/
MIT License
15 stars 7 forks source link

Output of loss on the HV network does not match delta between input and output of electricity #1330

Open mabijkerk opened 1 year ago

mabijkerk commented 1 year ago

Introduction In the II3050 European governance scenario on PRO, this is the HV network node:

Screenshot 2023-03-22 at 16 02 44

As you can see the output does not equal the input. This is a known issue caused by flexible electricity demand. It is described extensively on Basecamp.

Description of the issue from Basecamp > Flexible demand like P2H, P2G and batteries are calculated in Merit. For each hour in the year, Merit determines the demand of these technologies. Subsequently, Merit communicates the total (annual) demand of these nodes to the energy graph, setting the demands of nodes like industry_chemicals_refineries_flexibility_p2h_network_gas_electricity and energy_hydrogen_flexibility_p2g_electricity. These nodes are not connected to the regular ETM power grid nodes but instead are all connected to energy_production_excess_electricity. > This results in a mismatch of inputs and outputs of the energy_power_hv_network_electricity node. Most electricity production technologies are connected to the HV network (exceptions are local sources like roof solar, industry CHP etc.). These are the inputs of the HV node. Most baseload demand ultimately also ends up on the HV network (insofar it isn't served by local production). This is the output of the HV node. Since flexible demand nodes are not connected to the power grid but do consume electricity, flex demand does not end up as an output of the HV node. The result is that input > output on the HV network.

Problem Below I have run a number of queries for the scenario (see this Excel):

Screenshot 2023-03-22 at 16 26 42

The nodes that have electricity demand > 0 and are connected to the HV network node (marked in yellow) are summed to give 855 PJ (marked in blue). The output of loss of the HV network node is 238 PJ (marked in blue). Together this sums to 1093 PJ (marked in green) which is the total electricity input.

There are a number of inconsistencies however:

Solution Further research is required to determine how these values are intertwined. Notifying @ChaelKruip and @noracato

Some root causes that might play a role here:

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.