StatusElement¶
- class flexcore.config.spec.StatusElement(*, kind: Literal['status'], unit: str, variable: str, min_output: float | Quantity, max_output: float | Quantity, name: str | None = None)¶
An on/off status binary gating a unit’s output between two limits.
- model_config = {'extra': 'forbid'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].