renamed capacity to max_power

This commit is contained in:
Jun He
2023-05-05 14:48:15 -04:00
parent 41790db448
commit 33f8ec26d5
5 changed files with 7 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ function _add_profiled_unit!(
punits[sc.name, pu.name, t] = @variable(
model,
lower_bound = pu.min_power[t],
upper_bound = pu.capacity[t]
upper_bound = pu.max_power[t]
)
# Objective function terms