Modelling, optimization and control of hydrogen-based power supply system for residential buildings | Synapse