Skip to content

Commit

Permalink
Bug fix add parameters when function is called
Browse files Browse the repository at this point in the history
  • Loading branch information
birgits committed Oct 23, 2023
1 parent c832690 commit 44a2203
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion edisgo/tools/temporal_complexity_reduction.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,13 @@ def get_most_critical_time_steps(
# Run power flow
if run_initial_analyze:
if use_troubleshooting_mode:
edisgo_obj = _troubleshooting_mode(edisgo_obj, timesteps=timesteps)
edisgo_obj = _troubleshooting_mode(
edisgo_obj,
mode=mode,
timesteps=timesteps,
lv_grid_id=lv_grid_id,
scale_timeseries=scale_timeseries,
)
else:
logger.debug(
"Running initial power flow for temporal complexity reduction."
Expand Down

0 comments on commit 44a2203

Please sign in to comment.