The present invention relates to an
energy system (2) and a method for operating it. The
energy system (2) comprises: an energy generation device (3) or an interface to an energy generation device (3), which is provided for generating electrical energy and which is configured in particular as a photovoltaic device (3a); a first subsystem (10), comprising an
electrolysis device (13), which is provided for generating
hydrogen, and a battery device (12), which is provided for the short-term storage and provision of electrical energy; a second subsystem (20), comprising a first storage device (21), in particular a high-pressure storage device, which is provided for storing the
hydrogen generated by the
electrolysis device (13).To ensure that as many components of the
energy system (2) as possible contribute to its extended function and can be optimally controlled and integrated into the energy
system (2) for efficient operation via an optimized
control system, a compressor unit (30) designed as a
hydride compressor unit (31) is provided, which is designed to compress the generated
hydrogen before it is stored in the first storage unit (21). A
control unit (60) is provided for controlling the energy
system (2), which includes an intelligent, preferably predictive,
energy management unit (61).