Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Mar 14, 2024
1 parent 8a0da07 commit ba7b745
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_device_branch_constructors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -684,14 +684,14 @@ end
end

template = get_thermal_dispatch_template_network(
NetworkModel(model; use_slacks = true),
NetworkModel(PTDFPowerModel; use_slacks = true),
)
set_device_model!(template, DeviceModel(Line, StaticBranchBounds; use_slacks = true))
set_device_model!(
template,
DeviceModel(MonitoredLine, StaticBranchBounds; use_slacks = true),
)
model_m = DecisionModel(template, system; optimizer = optimizer)
model_m = DecisionModel(template, system; optimizer = fast_ipopt_optimizer)
@test build!(
model_m;
console_level = Logging.AboveMaxLevel,
Expand Down

0 comments on commit ba7b745

Please sign in to comment.