11.5.4.18. rheia.CASES.H2_MOBILITY.h2_mobility.Evaluation.prod_mh2

Evaluation.prod_mh2(p_in)

When there is power available to produce hydrogen, this method distributes this power over the electrolyzer array and compressor, such that the hydrogen is produced and compressed with this given power. If the given power will lead to an excess of hydrogen (i.e the storage tank is full before the energy is fully consumed), the power supplied to the electrolyzer array and compressor is recalculated such that no excess hydrogen is produced.

Parameters

p_in (float) – The power available to produce hydrogen [W].

Returns

  • p_pemel (float) – The power consumed by the electrolyzer array [W].

  • p_compr (float) – The power consumed by the compressor [W].