11.5.3.7. rheia.CASES.H2_POWER.h2_power.Evaluation

class rheia.CASES.H2_POWER.h2_power.Evaluation(sol_irr, t_amb, L_elec, par)

This class evaluates the photovoltaic-hydrogen system. For a given design, the solar irradiance, electricity demand and the characterization of the model parameters, the levelized cost of electricity and the self-sufficiency ratio 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.

  • L_elec (ndarray) – The hourly electricity demand for the evaluated year.

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

__init__(sol_irr, t_amb, L_elec, par)

Methods

__init__(sol_irr, t_amb, L_elec, par)

charge_pemel(p_pemel)

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

charge_pemfc(p_pemfc)

This method evaluates if the power required from the fuel cell lies within the operating range of the DC-DC converter and of the fuel cell array.

cost()

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

current_to_mh2(current)

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

elec_profiles()

Set the grid electricity price for buying and selling electricity.

evaluation()

This is the main method of the Evaluation class.

lifetime()

The lifetime method determines the lifetime of the electrolyzer array and fuel cell array, based on the number of operating hours for each component during the evaluated period.

net_power()

Determine the hourly net power.

pemel(i_pemel)

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

pemfc(i_pemfc)

The PEM fuel cell model, based on the work of Murugesan et al. [2].

photovoltaic()

The hourly photovoltaic power is quantified via the PVlib package.

polyfit_pemel()

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

polyfit_pemfc()

The fuel cell stack is evaluated over a range of input currents.

print_results()

This method prints the levelized cost of electricity, the self-sufficiency ratio and the annual energy produced by the photovoltaic 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.

self_sufficiency_ratio()

The self-sufficiency ratio is quantified.

tank()

The maximum storage capacity of the hydrogen tank.