CostReport

class flexops.costing.flex_costing.CostReport(operating: OperatingCostBreakdown, capital: CapitalCostBreakdown, total: float, currency: str)

The reported, categorized cost from FlexCostingData.report_cost().

operating

The OperatingCostBreakdown.

Type:

flexops.costing.flex_costing.OperatingCostBreakdown

capital

The CapitalCostBreakdown.

Type:

flexops.costing.flex_costing.CapitalCostBreakdown

total

operating.total + capital.total.

Type:

float

currency

The currency every value in this report is a magnitude in — the costing block’s base_currency as a string (e.g. "USD"), which is the tariff sheet’s basis when a tariff is given and the configured currency otherwise.

Type:

str