fix: price interpolation (#1154)

Use forward fill to interpolate time series data that represents prices:
- elecprice_marketprice_wh
- feed_in_tariff_wh

Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
This commit is contained in:
Bobby Noelte
2026-07-17 18:05:29 +02:00
committed by GitHub
parent 75548990e1
commit 4381948f13
11 changed files with 19 additions and 9 deletions

View File

@@ -153,6 +153,7 @@ async def prepare_optimization_real_parameters() -> GeneticOptimizationParameter
key="elecprice_marketprice_wh",
start_datetime=prediction_eos.ems_start_datetime,
end_datetime=prediction_eos.end_datetime,
fill_method="ffill",
)
print(f"strompreis_euro_pro_wh: {strompreis_euro_pro_wh}")