Ensuring reliable electricity supply to consumers in isolated and distributed energy systems can be achieved through grid connection, the use of energy storage systems for generation, or creating conditions for consumption control, including the installation of energy storage for consumers. This article explores various methods to enhance the reliability of electricity supply to consumers from power plants based on renewable energy sources (RES). The paper
presents a mathematical model and optimization algorithm for the operation of a hybrid energy complex, implemented in the MATLAB/Simulink environment. The model takes into
account the influence of various factors on its operational modes and has been tested through a series of calculations, confirming its efficiency and adequacy. The proposed methods and results can be applied in designing energy supply systems for remote and inaccessible re-
gions, as well as in distributed energy system nodes. The paper also discusses the use of a hydrogen generator as an alternative energy source and provides insights into the properties of hydrogen, methods of production, prospects, and challenges of hydrogen energy. It offers an overview of the most common methods of hydrogen and other substance extraction, with a primary focus on water electrolysis. The simulation model also considers the performance of the hydrogen generator, a vital component of the hybrid energy supply system. The hydrogen
generator produces hydrogen from water through electrolysis, which can be optimized based on input energy and water supply. The energy storage system, including battery banks, is also modeled to monitor energy storage and delivery processes during periods of high and low
demand. The conclusions of this article encompass a mathematical model and optimization algorithm for the operational modes of a hybrid power plant based on renewable energy sources with a hydrogen generator and an energy storage system. The proposed methods and
results can be valuable in designing energy supply systems for consumers in remote and distributed energy systems.