Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/devel_refactor2023' into devel_r…
Browse files Browse the repository at this point in the history
…efactor2023

# Conflicts:
#	.idea/workspace.xml
  • Loading branch information
Santi committed Jun 23, 2023
2 parents a9ff823 + a48fecc commit 741305e
Show file tree
Hide file tree
Showing 16 changed files with 494 additions and 353 deletions.
8 changes: 4 additions & 4 deletions examples/ac_linear_opf_ts_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@

# create the OPF time series instance
# if non_sequential:
optimal_power_flow_time_series = OptimalPowerFlowTimeSeries(grid=main_circuit,
options=options,
start_=start,
end_=end)
optimal_power_flow_time_series = OptimalPowerFlowTimeSeriesDriver(grid=main_circuit,
options=options,
start_=start,
end_=end)

optimal_power_flow_time_series.run()

Expand Down
8 changes: 4 additions & 4 deletions examples/dc_linear_opf_ts.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@

# create the OPF time series instance
# if non_sequential:
optimal_power_flow_time_series = OptimalPowerFlowTimeSeries(grid=main_circuit,
options=options,
start_=start,
end_=end)
optimal_power_flow_time_series = OptimalPowerFlowTimeSeriesDriver(grid=main_circuit,
options=options,
start_=start,
end_=end)

optimal_power_flow_time_series.run()

Expand Down
2 changes: 1 addition & 1 deletion examples/newton_pf_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# _newton_grid = to_newton_pa(circuit=_grid, time_series=False)
_options = PowerFlowOptions()
_res = newton_pa_pf(circuit=_grid, opt=_options, time_series=True)
_res = newton_pa_pf(circuit=_grid, pf_opt=_options, time_series=True)

_res2 = translate_newton_pa_pf_results(_grid, _res)

Expand Down
8 changes: 4 additions & 4 deletions examples/simple_dispatch_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@

# create the OPF time series instance
# if non_sequential:
optimal_power_flow_time_series = OptimalPowerFlowTimeSeries(grid=main_circuit,
options=options,
start_=start,
end_=end)
optimal_power_flow_time_series = OptimalPowerFlowTimeSeriesDriver(grid=main_circuit,
options=options,
start_=start,
end_=end)

optimal_power_flow_time_series.run()

Expand Down
Loading

0 comments on commit 741305e

Please sign in to comment.