DegradationTermSpec

class flexcore.config.schema.DegradationTermSpec(*, kind: DegradationTerm, variable: str, price: Annotated[float, Ge(ge=0), AllowInfNan(allow_inf_nan=False)], deadband: Annotated[float, Ge(ge=0), AllowInfNan(allow_inf_nan=False)] = 0.0, window: Annotated[int, Ge(ge=1)] = 1, reference: Annotated[float | None, AllowInfNan(allow_inf_nan=False)] = None, lower: Annotated[float | None, AllowInfNan(allow_inf_nan=False)] = None, upper: Annotated[float | None, AllowInfNan(allow_inf_nan=False)] = None)

One priced wear driver of a unit variable, valued in that variable’s units.

model_config = {'extra': 'forbid'}

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