DwellElement¶
- class flexcore.config.spec.DwellElement(*, kind: Literal['dwell'], unit: str, variable: str, k: Annotated[int, Ge(ge=1)], name: str | None = None)¶
Hold a continuous variable constant within blocks of k steps.
- model_config = {'extra': 'forbid'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].