BypassElement

class flexcore.config.spec.BypassElement(*, kind: Literal['bypass'], unit: str, variable: str, max: float | Quantity, name: str | None = None)

Let part of a flow bypass the unit’s energy relation.

model_config = {'extra': 'forbid'}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].