series_to_interval
(function from pyomo.contrib.mpc.data.convert)
- pyomo.contrib.mpc.data.convert.series_to_interval(data, use_left_endpoints=False)[source]
- Parameters:
data (TimeSeriesData) – Data that will be converted into an IntervalData object
use_left_endpoints (Bool (optional)) – Flag indicating whether values on intervals should come from the values at the left or right endpoints of the intervals
- Return type: