11.5.2.6. rheia.CASES.H2_FUEL.h2_fuel.Evaluation

class rheia.CASES.H2_FUEL.h2_fuel.Evaluation(sol_irr, t_amb, par)

This class evaluates the photovoltaic-electrolyzer system. For a given design, the solar irradiance, ambient temperature and the characterization of the model parameters, the levelized cost of hydrogen and the annual hydrogen production are quantified.

Parameters
  • sol_irr (ndarray) – The hourly solar irradiance for the evaluated year.

  • t_amb (ndarray) – The hourly ambient temperature for the evaluated year.

  • parameters (dict) – Dictionary with the model parameters and design variables values.

__init__(sol_irr, t_amb, par)

Methods

__init__(sol_irr, t_amb, par)

charge_pemel(p_pemel)

For a given power supplied to the electrolyzer, this function determines the actual hydrogen produced.

cost()

Based on the capital recovery factor, the CAPEX, OPEX and replacement cost of the system components, the levelized cost of hydrogen is determined.

current_to_mh2(current)

When current is provided, this function determines the corresponding hydrogen mass flow rate per hour.

evaluation()

This is the main method of the Evaluation class.

lifetime()

The lifetime method determines the lifetime of the electrolyzer array, based on the number of operating hours during the evaluated year.

pemel(i_pemel)

The electrolyzer model, based on the work of Saeed et al. [1].

photovoltaic()

The hourly photovoltaic power is quantified via the PVlib package.

polyfit_pemel()

The electrolyzer stack is evaluated over a range of input currents.

print_results()

This method prints the levelized cost of hydrogen, the hydrogen production, the annual energy produced by the photovoltaic array and the energy consumed by the electrolyzer array.

quantify_mpp(sol_irr, t_amb, pv_system)

Quantify the maximum power of the photovoltaic array for a given solar irradiance and ambient temperature.