Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mcosovic committed Apr 29, 2024
1 parent f2cc934 commit 9f8f6b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/stateEstimation/analysis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ system30 = powerSystem(string(pathData, "case30test.m"))
break
end
end
@test analysisSE.voltage.magnitude analysis.voltage.magnitude atol = 1e-8
@test analysisSE.voltage.angle analysis.voltage.angle atol = 1e-8
@test analysisSE.voltage.magnitude analysis.voltage.magnitude
@test analysisSE.voltage.angle analysis.voltage.angle

analysisLAV = acLavStateEstimation(system, device, Ipopt.Optimizer)
JuMP.set_silent(analysisLAV.method.jump)
solve!(system, analysisLAV)
@test analysisLAV.voltage.magnitude analysis.voltage.magnitude atol = 1e-8
@test analysisLAV.voltage.angle analysis.voltage.angle atol = 1e-8
@test analysisLAV.voltage.magnitude analysis.voltage.magnitude atol = 1e-6
@test analysisLAV.voltage.angle analysis.voltage.angle atol = 1e-6
end

################ Modified IEEE 14-bus Test Case ################
Expand Down

0 comments on commit 9f8f6b3

Please sign in to comment.