CostingConfig¶
- class flexcore.config.schema.CostingConfig(*, tariff_source: str | list[str] | dict[str, str] | None = None, energy_prices: dict[str, PriceSpec] | None = None, export_prices: dict[str, PriceSpec] | None = None, decomposition_type: str | None = None, currency: str = 'USD', dr: DRConfig | None = None, consumption_estimate: dict[Literal['electric', 'gas'], Annotated[float, Ge(ge=0)]] | 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, objective: Literal['cost'] = 'cost', solver: str | None = None)¶
Tariff, price, demand-response, and solve/objective options for a run.
- model_config = {'extra': 'forbid'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].