The management of an energy system in the realm of rapid energy transition and degasification as a consequence of energy crisis, examination in H2RES energy model