mirror of
https://github.com/ANL-CEEESA/UnitCommitment.jl.git
synced 2025-12-06 16:28:51 -06:00
added profiled units in slice
This commit is contained in:
@@ -39,6 +39,11 @@ function slice(
|
||||
s.cost = s.cost[range]
|
||||
end
|
||||
end
|
||||
for pu in sc.profiled_units
|
||||
pu.max_power = pu.max_power[range]
|
||||
pu.min_power = pu.min_power[range]
|
||||
pu.cost = pu.cost[range]
|
||||
end
|
||||
for b in sc.buses
|
||||
b.load = b.load[range]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user