OperatingCostBreakdown

class flexops.costing.flex_costing.OperatingCostBreakdown(electricity: float, fuel: float, fixed: float, scalar: float, dr_revenue: float, total: float, imports: dict[str, float] | None = None, exports: dict[str, float] | None = None)

Categorized operating cost from FlexCostingData.report_cost().

Every value is a magnitude in the report’s currency (CostReport.currency).

electricity

EECO post-hoc electricity bill on the realized aggregate power.

Type:

float

fuel

EECO post-hoc fuel bill on the realized volumetric usage, summed over every fuel found in the model; 0 when none burns fuel.

Type:

float

fixed

The configured fixed operating cost (a constant).

Type:

float

scalar

Non-energy scalar operating cost summed over registered scalar-cost entries; 0 when none registered.

Type:

float

dr_revenue

Demand-response incentive credit (subtracted); 0 in v0 (DR is containers-only).

Type:

float

total

electricity + fuel + fixed + scalar - dr_revenue.

Type:

float

imports

Import cost per natively priced carrier, keyed like energy_prices; None unless report_cost(..., split_imports_exports=True). Tariff-billed carriers are left out.

Type:

dict[str, float] | None

exports

Export revenue per natively priced carrier, as a positive magnitude (net cost is imports[c] - exports[c]); None unless split_imports_exports=True.

Type:

dict[str, float] | None