mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-08 01:08:50 -06:00
Make papers into modules, instead of structs; add StartupCostsFormulation
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
function _add_ramp_eqs!(
|
||||
model::JuMP.Model,
|
||||
g::Unit,
|
||||
formulation::ArrCon2000,
|
||||
formulation::ArrCon2000.Ramping,
|
||||
)::Nothing
|
||||
# TODO: Move upper case constants to model[:instance]
|
||||
RESERVES_WHEN_START_UP = true
|
||||
|
||||
@@ -9,4 +9,10 @@ Formulation described in:
|
||||
to an electricity spot market. IEEE Transactions on power systems, 15(3),
|
||||
1098-1104.
|
||||
"""
|
||||
struct ArrCon2000 <: RampingFormulation end
|
||||
module ArrCon2000
|
||||
|
||||
import ..RampingFormulation
|
||||
|
||||
struct Ramping <: RampingFormulation end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user