|
|
@ -51,7 +51,9 @@ function solution(model::JuMP.Model)::OrderedDict
|
|
|
|
sol["Switch on"] = timeseries(model[:switch_on], instance.units)
|
|
|
|
sol["Switch on"] = timeseries(model[:switch_on], instance.units)
|
|
|
|
sol["Switch off"] = timeseries(model[:switch_off], instance.units)
|
|
|
|
sol["Switch off"] = timeseries(model[:switch_off], instance.units)
|
|
|
|
sol["Reserve (MW)"] = timeseries(model[:reserve], instance.units)
|
|
|
|
sol["Reserve (MW)"] = timeseries(model[:reserve], instance.units)
|
|
|
|
sol["Reserve shortfall (MW)"] = model[:reserve_shortfall]
|
|
|
|
sol["Reserve shortfall (MW)"] = (model[:instance].shortfall_penalty[t] >= 0) ?
|
|
|
|
|
|
|
|
model[:reserve_shortfall] :
|
|
|
|
|
|
|
|
[0 for t in 1:T]
|
|
|
|
sol["Net injection (MW)"] =
|
|
|
|
sol["Net injection (MW)"] =
|
|
|
|
timeseries(model[:net_injection], instance.buses)
|
|
|
|
timeseries(model[:net_injection], instance.buses)
|
|
|
|
sol["Load curtail (MW)"] = timeseries(model[:curtail], instance.buses)
|
|
|
|
sol["Load curtail (MW)"] = timeseries(model[:curtail], instance.buses)
|
|
|
|