Skip to content

Commit

Permalink
Merge pull request #228 from davidusb-geek/davidusb-geek/patch/missin…
Browse files Browse the repository at this point in the history
…g_round_utils

Missing round treatment for DST survival in utils.py
  • Loading branch information
davidusb-geek authored Mar 11, 2024
2 parents b7ac62e + fc49665 commit 6946ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emhass/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def get_forecast_dates(freq: int, delta_forecast: int,
end_forecast = (start_forecast + pd.Timedelta(days=delta_forecast)).replace(microsecond=0)
forecast_dates = pd.date_range(start=start_forecast,
end=end_forecast+timedelta(days=timedelta_days)-freq,
freq=freq).round(freq)
freq=freq).round(freq, ambiguous='infer', nonexistent=freq)
return forecast_dates

def treat_runtimeparams(runtimeparams: str, params: str, retrieve_hass_conf: dict, optim_conf: dict, plant_conf: dict,
Expand Down

0 comments on commit 6946ee1

Please sign in to comment.