The system structure diagram is shown in Fig. 1, and the HESS consists of electricity storage devices, P2G and hydrogen storage devices.The consumed and stored electricity in HESS is from the microgrids. The excess power from microgrids is utilized, stored or used to produce hydrogen in HESS through energy storage dispatch …