Added the profiled units

This commit is contained in:
Jun He
2023-03-31 15:11:37 -04:00
parent 2a6c206e08
commit b2ed0f67c1
8 changed files with 217 additions and 92 deletions

View File

@@ -96,6 +96,9 @@ function build_model(;
for g in sc.units
_add_unit_dispatch!(model, g, formulation, sc)
end
for pu in sc.profiled_units
_add_profiled_unit!(model, pu, sc)
end
_add_system_wide_eqs!(model, sc)
end
@objective(model, Min, model[:obj])