In the current code base we have mixed methods on how time series are added to a model to constraint on the right hand side for ThermalStandard (derating), Interfaces, Interchanges, etc. Loads have yet another approach.
After a refactor for DLRs, the approach should be consolidated as implemented here
Sienna-Platform/PowerSimulations.jl#1553
Roughly the approach is
- Add a time series parameter if the attribute is added to the device model
- when adding the Ub/lb constraints or the bounds then call a method to add the constraints with floats or with parameters.
This will avoid unnecessary duplications of constraints.
This is a large undertaking so we will split the work between @luke-kiernan and me.
In the current code base we have mixed methods on how time series are added to a model to constraint on the right hand side for ThermalStandard (derating), Interfaces, Interchanges, etc. Loads have yet another approach.
After a refactor for DLRs, the approach should be consolidated as implemented here
Sienna-Platform/PowerSimulations.jl#1553
Roughly the approach is
This will avoid unnecessary duplications of constraints.
This is a large undertaking so we will split the work between @luke-kiernan and me.