flexmeasures.data.schemas.scheduling

Modules

flexmeasures.data.schemas.scheduling.process

flexmeasures.data.schemas.scheduling.storage

Classes

class flexmeasures.data.schemas.scheduling.FlexContextSchema(*, only: types.StrSequenceOrSet | None = None, exclude: types.StrSequenceOrSet = (), many: bool | None = None, context: dict | None = None, load_only: types.StrSequenceOrSet = (), dump_only: types.StrSequenceOrSet = (), partial: bool | types.StrSequenceOrSet | None = None, unknown: str | None = None)

This schema lists fields that can be used to describe sensors in the optimised portfolio

check_prices(data: dict, **kwargs)

Check whether the flex-context contains at most 1 consumption price and at most 1 production price field.