flexmeasures.data.schemas.scheduling.process
Classes
- class flexmeasures.data.schemas.scheduling.process.OptimizationDirection(value)
An enumeration.
- class flexmeasures.data.schemas.scheduling.process.ProcessSchedulerFlexModelSchema(sensor: Sensor, start: datetime, end: datetime, *args, **kwargs)
- __init__(sensor: Sensor, start: datetime, end: datetime, *args, **kwargs)
Pass start and end to convert time_restrictions into a time series and sensor as a fallback mechanism for the process_type
- get_mask_from_events(events: list[dict[str, str]] | None) pd.Series
Convert events to a mask of the time periods that are valid
- Parameters:
events – list of events defined as dictionaries with a start and duration
- Returns:
mask of the allowed time periods
- class flexmeasures.data.schemas.scheduling.process.ProcessType(value)
An enumeration.