TimeWindow¶
- class flexops.core.time_block.TimeWindow(start_index: int, indices: range, start_time: Timestamp, end_time: Timestamp)¶
Metadata for a slice of a
TimeBlock’s horizon.Pure metadata (no Pyomo components) describing a contiguous run of time points, used by the rolling-horizon driver to step through a
TimeBlockwindow by window.- indices¶
The window’s time-point indices, clipped to the block’s horizon (shorter than requested if the window runs past the end).
- Type:
- start_time¶
Timestamp of
start_index.- Type:
- end_time¶
Exclusive end timestamp of the window.
- Type: