ScalarCostSpec¶
- class flexops.costing.flex_costing.ScalarCostSpec(name: str, quantity: Any, price: float, quantity_units: Any, unit: Any = None)¶
A non-energy scalar cost registered on FlexCosting (never billed via EECO).
- quantity¶
The time-indexed
Var/Expressionbeing costed (a rate).- Type:
Any
- quantity_units¶
The Pyomo units
quantityis converted to before costing (a rate, e.g.m**3/hr); a quantity that does not convert raises, forcing unit consistency.- Type:
Any
- unit¶
The unit block this cost is attributed to, or
Nonefor a facility-level cost; recorded for per-unit cost attribution.- Type:
Any