Skip to content

Commit

Permalink
fixed a bug that reactive power time series for charging parks were d…
Browse files Browse the repository at this point in the history
…uplicated when running multiple charging strategies in series
  • Loading branch information
khelfen committed Aug 1, 2022
1 parent ca205ad commit 1f05023
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions edisgo/flex_opt/charging_strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ def charging_strategy(
edisgo_obj.electromobility.integrated_charging_parks_df.edisgo_id.values,
)

edisgo_obj.timeseries.drop_component_time_series(
"loads_reactive_power",
edisgo_obj.electromobility.integrated_charging_parks_df.edisgo_id.values,
)

eta_cp = edisgo_obj.electromobility.eta_charging_points

len_ts = int(
Expand Down

0 comments on commit 1f05023

Please sign in to comment.