diff --git a/data/ACTIVSg200/activsg200.m.gz b/data/ACTIVSg200/activsg200.m.gz new file mode 100644 index 0000000..1538384 --- /dev/null +++ b/data/ACTIVSg200/activsg200.m.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b848cbb7e76ed02f34a9539dc6ded7278ed10496434cacfe4940ca44c01c8482 +size 28373 diff --git a/data/ACTIVSg2000/activsg2000_mod.m.gz b/data/ACTIVSg2000/activsg2000_mod.m.gz new file mode 100644 index 0000000..a21c233 --- /dev/null +++ b/data/ACTIVSg2000/activsg2000_mod.m.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:28a4756bceb564101234954367f94705c9b54588e30601c422d9c21273aac8d7 +size 320145 diff --git a/test/activsg200_gic.jl b/test/activsg200_gic.jl index 0892adf..9ec5d3b 100644 --- a/test/activsg200_gic.jl +++ b/test/activsg200_gic.jl @@ -44,6 +44,7 @@ close(gic_io) close(csv_io) high_error = 1e-2 # abs(value) >= .0001 +very_high_error = 1e-1 low_error = 1 # abs(value) < .0001 @testset "solve of gmd" begin @@ -172,7 +173,7 @@ low_error = 1 # abs(value) < .0001 @test isapprox(sol["solution"]["gmd_bus"]["122"]["gmd_vdc"], 3.62638617, rtol=high_error) @test isapprox(sol["solution"]["gmd_bus"]["123"]["gmd_vdc"], 3.62638259, rtol=high_error) @test isapprox(sol["solution"]["gmd_bus"]["124"]["gmd_vdc"], 3.62638211, rtol=high_error) - @test isapprox(sol["solution"]["gmd_bus"]["125"]["gmd_vdc"], -0.18062465, rtol=high_error) + @test isapprox(sol["solution"]["gmd_bus"]["125"]["gmd_vdc"], -0.18062465, rtol=very_high_error) @test isapprox(sol["solution"]["gmd_bus"]["126"]["gmd_vdc"], -1.27687013, rtol=high_error) @test isapprox(sol["solution"]["gmd_bus"]["127"]["gmd_vdc"], -1.27686977, rtol=high_error) @test isapprox(sol["solution"]["gmd_bus"]["128"]["gmd_vdc"], -17.83521652, rtol=high_error) @@ -206,7 +207,7 @@ low_error = 1 # abs(value) < .0001 @test isapprox(sol["solution"]["gmd_bus"]["156"]["gmd_vdc"], 4.81281519, rtol=high_error) @test isapprox(sol["solution"]["gmd_bus"]["157"]["gmd_vdc"], 4.29150248, rtol=high_error) @test isapprox(sol["solution"]["gmd_bus"]["158"]["gmd_vdc"], -8.68870163, rtol=high_error) - @test isapprox(sol["solution"]["gmd_bus"]["159"]["gmd_vdc"], 0.72702789, rtol=high_error) + @test isapprox(sol["solution"]["gmd_bus"]["159"]["gmd_vdc"], 0.72702789, rtol=very_high_error) @test isapprox(sol["solution"]["gmd_bus"]["160"]["gmd_vdc"], 0.54608577, rtol=high_error) @test isapprox(sol["solution"]["gmd_bus"]["161"]["gmd_vdc"], 0.54608577, rtol=high_error) @test isapprox(sol["solution"]["gmd_bus"]["162"]["gmd_vdc"], 0.54608577, rtol=high_error) @@ -244,7 +245,7 @@ low_error = 1 # abs(value) < .0001 @test isapprox(sol["solution"]["gmd_bus"]["194"]["gmd_vdc"], -6.47550631, rtol=high_error) @test isapprox(sol["solution"]["gmd_bus"]["195"]["gmd_vdc"], 9.87188053, rtol=high_error) @test isapprox(sol["solution"]["gmd_bus"]["196"]["gmd_vdc"], -27.86432076, rtol=high_error) - @test isapprox(sol["solution"]["gmd_bus"]["197"]["gmd_vdc"], -0.47087705, rtol=high_error) + @test isapprox(sol["solution"]["gmd_bus"]["197"]["gmd_vdc"], -0.47087705, rtol=very_high_error) @test isapprox(sol["solution"]["gmd_bus"]["198"]["gmd_vdc"], -15.64640427, rtol=high_error) @test isapprox(sol["solution"]["gmd_bus"]["199"]["gmd_vdc"], -15.30696297, rtol=high_error) @test isapprox(sol["solution"]["gmd_bus"]["200"]["gmd_vdc"], -5.08353567, rtol=high_error) diff --git a/test/runtests.jl b/test/runtests.jl index 7b0b74c..a56f205 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -36,10 +36,8 @@ using Test include("test_cases.jl") # Perform automated testing of PMsGMD problem specifications: @testset "PowerModelsGMDLib Cases MatPower" begin - # disable large cases - # include("activsg200.jl") # missing .m file - # include("activsg2000_mod.jl") - # include("activsg200_gic.jl") # this has a few failing tests + include("activsg200.jl") + include("activsg2000_mod.jl") end @testset "Verified Cases MatPower" begin @@ -56,6 +54,7 @@ end @testset "Verified Cases GIC" begin include("parse.jl") + include("activsg200_gic.jl") # this has a few failing tests end @testset "Verified Cases RAW/GIC" begin