mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-06 00:08:52 -06:00
Reformat source code
This commit is contained in:
@@ -43,7 +43,8 @@ function _add_startup_shutdown_limit_eqs!(
|
|||||||
gi = g.name
|
gi = g.name
|
||||||
|
|
||||||
if g.initial_power > g.shutdown_limit
|
if g.initial_power > g.shutdown_limit
|
||||||
eqs.shutdown_limit[gi, 0] = @constraint(mip, vars.switch_off[gi, 1] <= 0)
|
eqs.shutdown_limit[gi, 0] =
|
||||||
|
@constraint(mip, vars.switch_off[gi, 1] <= 0)
|
||||||
end
|
end
|
||||||
|
|
||||||
for t in 1:T
|
for t in 1:T
|
||||||
|
|||||||
Reference in New Issue
Block a user