duplicate line removed (#290)

This commit is contained in:
Normann 2024-12-27 21:42:50 +01:00 committed by GitHub
parent 043f9e74e5
commit 4f51c891d3

View File

@ -117,8 +117,6 @@ class HourlyElectricityPriceForecast:
return np.array(date_prices) / (1000.0 * 1000.0) + self.charges
return np.array(date_prices) / (1000.0 * 1000.0) + self.charges
def get_average_price_last_7_days(self, end_date_str: Optional[str] = None) -> np.ndarray:
"""Calculate the hourly average electricity price for the last 7 days.