h2integrate.converters.generic_converter_cost#
Classes
|
Configuration class for the GenericConverterCostModel with costs based on rated capacity. |
|
- class h2integrate.converters.generic_converter_cost.GenericConverterCostConfig(*, cost_year, commodity, commodity_rate_units, unit_capex, unit_varopex, unit_opex=None, opex_fraction=None, commodity_amount_units=None)#
Configuration class for the GenericConverterCostModel with costs based on rated capacity. The cost units must compatible with the units of the commodity produced by the converter.
- Parameters:
cost_year (int)
commodity (str)
commodity_rate_units (str)
unit_capex (float | int)
unit_varopex (float)
unit_opex (float | int | None)
opex_fraction (float | None)
commodity_amount_units (str)
- commodity#
name of commodity
- Type:
str
- commodity_rate_units#
Units of the commodity (e.g., “kg/h” or “kW”).
- Type:
str
- unit_capex#
capital cost in units of USD/commodity_rate_units. Must be greater than or equal to zero.
- Type:
float | int
- unit_varopex#
variable O&M cost in units of USD/commodity_amount_units
- Type:
float | int
- unit_opex#
fixed O&M cost in units of USD/commodity_rate_units/year. Only required if opex_fraction is None. Defaults to None.
- Type:
float | int | None
- opex_fraction#
the fixed O&M cost as a ratio of the CapEx. Must be between 0 or 1. Only required if unit_opex is None. Defaults to None.
- Type:
float | int | None
- cost_year#
dollar year of input costs
- Type:
int
- commodity_amount_units#
Units of the commodity as an amount (i.e., “kW*h” or “kg”). If not provided, defaults to commodity_rate_units*h.
- Type:
str | None, optional
- commodity: str#
- commodity_rate_units: str#
- unit_capex: float | int#
- unit_varopex: float#
- unit_opex: float | int | None#
- opex_fraction: float | None#
- commodity_amount_units: str#
- class h2integrate.converters.generic_converter_cost.GenericConverterCostModel(**kwargs)#
- _time_step_bounds = (3600, 3600)#
- setup()#
Declare inputs and outputs.
- Available attributes:
name pathname comm options
- compute(inputs, outputs, discrete_inputs, discrete_outputs)#
Computation for the OM component.
For a template class this is not implement and raises an error.