Dynamic modelling of an alkaline water electrolysis system and optimization of its operating parameters for hydrogen production