Transient modelling of a multi-cell alkaline electrolyzer for gas crossover and safe system operation