|
|
@ -72,26 +72,19 @@ function _test(formulation::Formulation)::Nothing
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
@testset "formulations" begin
|
|
|
|
@testset "formulations" begin
|
|
|
|
@show "testset formulations"
|
|
|
|
|
|
|
|
_test(Formulation())
|
|
|
|
_test(Formulation())
|
|
|
|
@show "ArrCon2000 ramping"
|
|
|
|
|
|
|
|
_test(Formulation(ramping = ArrCon2000.Ramping()))
|
|
|
|
_test(Formulation(ramping = ArrCon2000.Ramping()))
|
|
|
|
|
|
|
|
|
|
|
|
# _test(Formulation(ramping = DamKucRajAta2016.Ramping()))
|
|
|
|
# _test(Formulation(ramping = DamKucRajAta2016.Ramping()))
|
|
|
|
@show "MorLatRam2013 ramping"
|
|
|
|
|
|
|
|
_test(
|
|
|
|
_test(
|
|
|
|
Formulation(
|
|
|
|
Formulation(
|
|
|
|
ramping = MorLatRam2013.Ramping(),
|
|
|
|
ramping = MorLatRam2013.Ramping(),
|
|
|
|
startup_costs = MorLatRam2013.StartupCosts(),
|
|
|
|
startup_costs = MorLatRam2013.StartupCosts(),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
@show "PanGua2016 ramping"
|
|
|
|
|
|
|
|
_test(Formulation(ramping = PanGua2016.Ramping()))
|
|
|
|
_test(Formulation(ramping = PanGua2016.Ramping()))
|
|
|
|
@show "Gar1962 PwlCosts"
|
|
|
|
|
|
|
|
_test(Formulation(pwl_costs = Gar1962.PwlCosts()))
|
|
|
|
_test(Formulation(pwl_costs = Gar1962.PwlCosts()))
|
|
|
|
@show "CarArr2006 PwlCosts"
|
|
|
|
|
|
|
|
_test(Formulation(pwl_costs = CarArr2006.PwlCosts()))
|
|
|
|
_test(Formulation(pwl_costs = CarArr2006.PwlCosts()))
|
|
|
|
@show "KnuOstWat2018 PwlCosts"
|
|
|
|
|
|
|
|
_test(Formulation(pwl_costs = KnuOstWat2018.PwlCosts()))
|
|
|
|
_test(Formulation(pwl_costs = KnuOstWat2018.PwlCosts()))
|
|
|
|
_small_test(
|
|
|
|
_small_test(
|
|
|
|
Formulation(ramping = WanHob2016.Ramping()),
|
|
|
|
Formulation(ramping = WanHob2016.Ramping()),
|
|
|
|