Skip to content

Commit

Permalink
disable some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed May 7, 2024
1 parent c95e02a commit dfb2f0c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions test/test_simulation_execute.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ function test_2_stage_decision_models_with_feedforwards(in_memory)
template_uc,
c_sys5_hy_uc;
name = "UC",
optimizer = GLPK_optimizer,
optimizer = HiGHS_optimizer,

),
DecisionModel(
template_ed,
Expand Down Expand Up @@ -91,7 +92,7 @@ function test_2_stage_decision_models_with_feedforwards(in_memory)
simulation_folder = mktempdir(; cleanup = true),
)

build_out = build!(sim; console_level = Logging.Error)
build_out = build!(sim; console_level = Logging.Info)
@test build_out == PSI.SimulationBuildStatus.BUILT
execute_out = execute!(sim; in_memory = in_memory)
@test execute_out == PSI.RunStatus.SUCCESSFULLY_FINALIZED
Expand Down Expand Up @@ -129,7 +130,7 @@ end
template_uc,
c_sys5_hy_uc;
name = "UC",
optimizer = GLPK_optimizer,
optimizer = HiGHS_optimizer,
),
DecisionModel(
template_ed,
Expand Down Expand Up @@ -228,6 +229,7 @@ end

end

#= Re-enable when cost functions are updated
function test_3_stage_simulation_with_feedforwards(in_memory)
sys_rts_da = PSB.build_system(PSISystems, "modified_RTS_GMLC_DA_sys")
sys_rts_rt = PSB.build_system(PSISystems, "modified_RTS_GMLC_RT_sys")
Expand Down Expand Up @@ -304,6 +306,8 @@ end
end
end
# TODO: Re-enable once MarketBid Cost is re-implemented
#=
@testset "UC with MarketBid Cost in ThermalGenerators simulations" begin
template = get_thermal_dispatch_template_network(
NetworkModel(CopperPlatePowerModel; use_slacks = true),
Expand Down Expand Up @@ -341,3 +345,4 @@ end
@test execute!(sim) == PSI.RunStatus.SUCCESSFULLY_FINALIZED
# TODO: Add more testing of resulting values
end
=#

0 comments on commit dfb2f0c

Please sign in to comment.