11.5.4.17. rheia.CASES.H2_MOBILITY.h2_mobility.Evaluation.p_for_inst_demand

Evaluation.p_for_inst_demand(m_h2)

When a hydrogen demand is provided, this method determines the power to generate the hydrogen in the electrolyzer array and the power to compress the hydrogen in the compressor. The method indicates when the electrolyzer array capacity is not sufficient to produce the desired hydrogen mass flow rate.

Parameters

m_h2 (float) – Hydrogen mass flow rate [kg/h].

Returns

  • p_pemel (float) – The required electrolyzer array power [W].

  • p_compr (float) – The required compressor power [W].

  • bool – True when the electrolyzer capacity is insufficient to produce the hydrogen.