mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 00:45:22 +00:00
duplicate line removed (#290)
This commit is contained in:
parent
043f9e74e5
commit
4f51c891d3
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user