Electrolyzer modeling and real-time control for optimized production of hydrogen gas. (1st January 2021)