quintel / etengine

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

Review behaviour of electricity storage forecasting algorithm #1403

Open mabijkerk opened 4 months ago

mabijkerk commented 4 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 4 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 3 months ago

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

Screenshot 2024-03-22 at 17 12 21
mabijkerk commented 1 month 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.