Skip to content

Commit

Permalink
fix testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Jun 26, 2024
1 parent d80caec commit 7a89711
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/test_ptdf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ end
r = branches_2[2].r,
x = branches_2[2].x,
b = branches_2[2].b,
rate = branches_2[2].rate,
angle_limits = branches_2[2].angle_limits,
rate = get_rating(branches_2[2]),
angle_limits = get_angle_limits(branches_2[2]),
),
)

Expand Down
4 changes: 2 additions & 2 deletions test/test_radial_branches.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ end

@testset "Radial Branches Large" begin
sys =
build_system(MatpowerTestSystems, "matpower_ACTIVSg10k_sys"; add_forecasts = false)
build_system(MatpowerTestSystems, "matpower_ACTIVSg10k_sys")
rb = RadialNetworkReduction(IncidenceMatrix(sys))
for (k, v) in get_bus_reduction_map(rb)
@test k v
Expand All @@ -40,7 +40,7 @@ end

@testset "Check reference bus in Radial Branches" begin
for name in ["matpower_ACTIVSg2000_sys", "matpower_ACTIVSg10k_sys"]
sys = build_system(MatpowerTestSystems, name; add_forecasts = false)
sys = build_system(MatpowerTestSystems, name)
a_mat = IncidenceMatrix(sys)
rb = RadialNetworkReduction(IncidenceMatrix(sys))
leaf_buses = Int64[]
Expand Down

0 comments on commit 7a89711

Please sign in to comment.