h2integrate.converters.hydrogen.h2_fuel_cell#

Classes

H2FuelCellCostConfig(*, cost_year, ...)

Configuration class for the hydrogen fuel cell cost model.

H2FuelCellCostModel(**kwargs)

Cost model for a hydrogen fuel cell system.

LinearH2FuelCellPerformanceConfig(*, ...)

Configuration class for the hydrogen fuel cell performance model.

LinearH2FuelCellPerformanceModel(**kwargs)

Performance model for a hydrogen fuel cell.

class h2integrate.converters.hydrogen.h2_fuel_cell.LinearH2FuelCellPerformanceConfig(*, system_capacity_kw, fuel_cell_efficiency_hhv)#

Configuration class for the hydrogen fuel cell performance model.

Parameters:
  • system_capacity_kw (float)

  • fuel_cell_efficiency_hhv (float)

system_capacity_kw#

The capacity of the fuel cell system in kilowatts (kW).

Type:

float

fuel_cell_efficiency_hhv#

The higher heating value efficiency of the fuel cell (0 <= efficiency <= 1).

Type:

float

system_capacity_kw: float#
fuel_cell_efficiency_hhv: float#
class h2integrate.converters.hydrogen.h2_fuel_cell.LinearH2FuelCellPerformanceModel(**kwargs)#

Performance model for a hydrogen fuel cell.

The model implements the relationship: electricity_out = hydrogen_in * fuel_cell_efficiency_hhv * HHV_hydrogen

where: - hydrogen_in is the mass flow rate of hydrogen in kg/hr - fuel_cell_efficiency is the efficiency of the fuel cell (0 <= efficiency <= 1) - HHV_hydrogen is the higher heating value of hydrogen (approximately 142 MJ/kg)

initialize()#

Perform any one-time initialization run at instantiation.

setup()#

Declare inputs and outputs.

Available attributes:

name pathname comm options

compute(inputs, outputs)#
Compute electricity output from the fuel cell based on hydrogen input

and fuel cell HHV efficiency.

Parameters:
  • inputs – OpenMDAO inputs object containing hydrogen_in, fuel cell HHV efficiency,and system_capacity.

  • outputs – OpenMDAO outputs object for electricity_out, hydrogen_consumed.

class h2integrate.converters.hydrogen.h2_fuel_cell.H2FuelCellCostConfig(*, cost_year, system_capacity_kw, capex_per_kw, fixed_opex_per_kw_per_year)#

Configuration class for the hydrogen fuel cell cost model.

Parameters:
  • cost_year (int)

  • system_capacity_kw (float)

  • capex_per_kw (float)

  • fixed_opex_per_kw_per_year (float)

system_capacity_kw#

The capacity of the fuel cell system in kilowatts (kW).

Type:

float

capex_per_kw#

Capital expenditure per kilowatt of fuel cell capacity.

Type:

float

fixed_opex_per_kw_per_year#

Fixed operating expenses per unit capacity in $/kW/year. This includes fixed O&M costs that don’t vary with generation.

Type:

float|int

cost_year#

Dollar year corresponding to input costs.

Type:

int

system_capacity_kw: float#
capex_per_kw: float#
fixed_opex_per_kw_per_year: float#
class h2integrate.converters.hydrogen.h2_fuel_cell.H2FuelCellCostModel(**kwargs)#

Cost model for a hydrogen fuel cell system.

The model calculates capital and fixed operating costs based on system capacity and specified cost parameters.

setup()#

Declare inputs and outputs.

Available attributes:

name pathname comm options

compute(inputs, outputs, discrete_inputs, discrete_outputs)#

Compute capital and fixed operating costs for the fuel cell system.

Parameters:
  • inputs – OpenMDAO inputs object containing system_capacity.

  • outputs – OpenMDAO outputs object for capital_cost and fixed_operating_cost_per_year.