flexmeasures.data.schemas.scheduling.utils

Functions

flexmeasures.data.schemas.scheduling.utils.flex_model_has_off_tick_soc_constraints(flex_model: dict, resolution: timedelta | None) bool
flexmeasures.data.schemas.scheduling.utils.get_soc_constraint_resolution(schedule_resolution: timedelta | None, sensor: Sensor | None, default_resolution: timedelta) timedelta
flexmeasures.data.schemas.scheduling.utils.is_on_schedule_tick(dt: datetime, resolution: timedelta) bool
flexmeasures.data.schemas.scheduling.utils.should_project_off_tick_soc_constraints(sensor: Sensor | None) bool