CostingElement

class flexcore.config.spec.CostingElement(*, kind: Literal['costing'], name: str, tariff_source: str | list[str] | dict[str, str] | None = None, energy_prices: dict[str, SourcedPrice] | None = None, export_prices: dict[str, SourcedPrice] | None = None, decomposition_type: str | None = None, currency: str = 'USD', dr: DRConfig | None = None, consumption_estimate: dict[Literal['electric', 'gas'], float] | None = None, fixed_operating_cost: float = 0.0, prorate_monthly_charges: bool = True, lifetime_years: float = 20.0, discount_rate: float = 0.08, interest_rate: float | None = None)

The costing package: tariff, prices, demand response and finance terms.

model_config = {'extra': 'forbid'}

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