Added minimum power to profiled generator

This commit is contained in:
Jun He
2023-04-06 16:16:04 -04:00
parent 319a787904
commit cb7f9e3b27
5 changed files with 5 additions and 1 deletions

View File

@@ -12,7 +12,7 @@ function _add_profiled_unit!(
for t in 1:model[:instance].time
# Decision variable
punits[sc.name, pu.name, t] =
@variable(model, lower_bound = 0, upper_bound = pu.capacity[t])
@variable(model, lower_bound = pu.min_power[t], upper_bound = pu.capacity[t])
# Objective function terms
add_to_expression!(