quintel / etengine

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

Fix price-setting under forecasting for electricity storage #1403

Open mabijkerk opened 9 months ago

mabijkerk commented 9 months ago

We have been notified by some of our clients of several potential shortcomings of the forecasting algorithm. These warrant further investigation.

mabijkerk commented 9 months ago

The following scenario reproduces issue 1: https://energytransitionmodel.com/saved_scenarios/16595.

image

The error seems to be caused by a rounding error in the Energy carriers import/export group. For 2 GW li-ion batteries the decimals reappear and the sum total is equal to the total row.

kaskranenburgQ commented 8 months ago

When I open this scenario, the correct numbers seem to appear:

Screenshot 2024-03-22 at 17 12 21
mabijkerk commented 5 months ago

The issue for 4. is likely the same that we encountered for hybrid offshore wind. As @kaskranenburgQ puts it:

Merit sets the price equal to the lowest flexible consumer that does not completely fulfills it's demand. Since in these situations the electrolyser does not completely meet it's demand, it will set the price, while it does not reflect the actual market price.

When battery forecasting is on, the price is likely set to the max_consumption_price and marginal_costs as specified on the battery node. We can quickly check to see whether this is indeed the case.

For hybrid offshore wind we solved it by exclude the must-run part of the electrolyser from pricesetting. This worked because the electricity would otherwise have been curtailed anyway. For batteries this is not the case. We therefore need to consider a suitable solution for pricesetting for batteries with forecasting.

github-actions[bot] commented 3 months 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.

mabijkerk commented 5 days ago

Issue 4 also occurs in https://energytransitionmodel.com/saved_scenarios/18545.