Skip to content

Commit

Permalink
formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Jan 5, 2025
1 parent cef544c commit 4e2dfae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_network_constructors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ end
end

template = get_thermal_dispatch_template_network(
NetworkModel(AreaBalancePowerModel, use_slacks=true)
NetworkModel(AreaBalancePowerModel; use_slacks = true),
)
ps_model = DecisionModel(template, c_sys; optimizer = HiGHS_optimizer)

Expand All @@ -742,8 +742,8 @@ end

results = OptimizationProblemResults(ps_model)
slacks_up = read_variable(results, "SystemBalanceSlackUp__Area")
@test all(slacks_up[!, "Area_1"] .> 0.)
@test all(slacks_up[!, "Area_2"] .≈ 0.)
@test all(slacks_up[!, "Area_1"] .> 0.0)
@test all(slacks_up[!, "Area_2"] .≈ 0.0)
end

@testset "2 Areas AreaBalance PowerModel" begin
Expand Down

0 comments on commit 4e2dfae

Please sign in to comment.