Skip to content

Commit

Permalink
Debug failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Sep 13, 2024
1 parent 1c9dfcc commit e13450f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/en_opf_bounds.jl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ end
# IVRReducedQuadraticENPowerModel does not implement sm_ub

# ACRENPowerModel
sol_pmd = calc_sol_pmd(data_math, ACRENPowerModel; optimizer=optimizer_with_attributes(Ipopt.Optimizer, "mu_strategy"=>"adaptive", "sb"=>"yes", "print_level"=>0))
sol_pmd = calc_sol_pmd(data_math, ACRENPowerModel; optimizer=optimizer_with_attributes(Ipopt.Optimizer))
s_to = sol_pmd["line"]["line1"]["pt"]+im*sol_pmd["line"]["line1"]["qt"]
@test all(isapprox.(abs.(s_to[1:3]), sm_ub[1:3], rtol=0.005))
end
Expand Down
2 changes: 1 addition & 1 deletion test/transformer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@

@testset "3w_dyy_1" begin
result = solve_mc_opf(ut_trans_3w_dyy_1, SOCConicUBFPowerModel, scs_solver; solution_processors=[sol_data_model!], make_si=false)
@test norm(result["solution"]["bus"]["3"]["vm"]-[0.93180, 0.88827, 0.88581], Inf) <= 7.2E-2
@test norm(result["solution"]["bus"]["3"]["vm"]-[0.93180, 0.88827, 0.88581], Inf) <= 1E-3
end

@testset "3w_center_tap" begin
Expand Down

0 comments on commit e13450f

Please sign in to comment.