Skip to content

Commit

Permalink
blanced to balanced (#461)
Browse files Browse the repository at this point in the history
Co-authored-by: John-Boik <[email protected]>
  • Loading branch information
John-Boik and John-Boik authored Sep 18, 2024
1 parent 68d7855 commit a92dc91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/pf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

@testset "3-bus balanced no linecode basefreq defined acp pf" begin
result1 = solve_mc_pf(case3_balanced, ACPUPowerModel, ipopt_solver)
result2 = solve_mc_pf(case3_blanced_basefreq, ACPUPowerModel, ipopt_solver)
result2 = solve_mc_pf(case3_balanced_basefreq, ACPUPowerModel, ipopt_solver)

@test all(all(isapprox.(result1["solution"]["bus"]["sourcebus"]["vm"], result2["solution"]["bus"]["sourcebus"]["vm"]; atol=1e-8)) for (i, bus) in result1["solution"]["bus"])
@test all(all(isapprox.(result1["solution"]["bus"]["sourcebus"]["va"], result2["solution"]["bus"]["sourcebus"]["va"]; atol=1e-8)) for (i, bus) in result1["solution"]["bus"])
Expand Down
2 changes: 1 addition & 1 deletion test/test_cases.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ case3_balanced_cap = parse_file("../test/data/opendss/case3_balanced_cap.dss")
case3_balanced_isc = parse_file("../test/data/opendss/case3_balanced_isc.dss")
case3_balanced_pv = parse_file("../test/data/opendss/case3_balanced_pv.dss")
case3_unbalanced_1phase_pv = parse_file("../test/data/opendss/case3_unbalanced_1phase-pv.dss")
case3_blanced_basefreq = parse_file("../test/data/opendss/case3_balanced_basefreq.dss")
case3_balanced_basefreq = parse_file("../test/data/opendss/case3_balanced_basefreq.dss")
case3_balanced_battery = parse_file("../test/data/opendss/case3_balanced_battery.dss")
case3_balanced_switch = parse_file("../test/data/opendss/case3_balanced_switch.dss")

Expand Down

0 comments on commit a92dc91

Please sign in to comment.