CapacitySpec

class flexcore.config.design.CapacitySpec(*, name: str, variable: str, capital_cost: Annotated[float, Ge(ge=0)], lifetime_years: Annotated[float, Gt(gt=0)], lower: Annotated[float, Ge(ge=0)] = 0.0, upper: float)

One capacity decision shared by every horizon.

model_config = {'extra': 'forbid'}

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