RampElement¶
- class flexcore.config.spec.RampElement(*, kind: Literal['ramp'], unit: str, variable: str, ramp_up: Annotated[float | None, Ge(ge=0)] = None, ramp_down: Annotated[float | None, Ge(ge=0)] = None, units: str, window: Annotated[int, Ge(ge=1)] = 1, component_name: str | None = None, name: str | None = None)¶
A limit on how fast a variable may change.
- model_config = {'extra': 'forbid'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].