Add min,fx,max constraints for v_gen and v_transfer
Adding min,fx,max constraints to v_gen and v_transfer requires at least following features
- constant min and max bound
- time series min and max bound
Few things need to be solved and tested
- if we need a new dummy variable in case user gives infeasible input?
- Adding this feature without adding yet another useTimeseries flag
we should simplify the syntax to activate time series. Currently e.g. param_unit
has
useTimeseries "A flag to use efficiency time series form input for unit parameters whenever possible (empty or 1)"
useTimeseriesAvailability "A flag to use availability time series form input for unit parameters whenever possible (empty or 1)"
As the number of ts_unit options increase, we could replace the current approach with a version where
- model checks what time series are given in ts_unit
- uses available time series
- user does not give any useTimeseries flags
In addition, few things with time series should be aligned in the model behaviour
- some time series are forcing, e.g. unit availability time series overrides constant availability when
useTimeseriesAvailability
is 1. Then 0 in time series is 0 to solver. - Some time series are supplementing, e.g. ts_effUnit is used when available and otherwise p_effGroupUnit. In this case, model uses constant value if user gives 0 in time series. Eps in time series works
+ p_effGroupUnit(effGroup, unit, 'section')${not ts_effUnit_(effGroup, unit, effDirect, 'section', s, f, t)}
+ ts_effUnit_(effGroup, unit, effGroup, 'section', s, f, t)
We should agree one default behaviour, and build new features according to that. Other methods cannot be updated before 4.0 as it is a breaking update.