A system for emission-free year-round generation, storage and processing of thermal and electrical energy built from sets of rotary solar collectors, from stationary photovoltaic panel modules, from hot water buffer tanks, from a domestic hot water storage tank, from an underground thermal energy storage, from a heat pump, from system circulation pumps, three-way valves of the system, system heat exchangers, wherein the heat pump cooperates directly with three lower sources of heat, namely with an insulated underground tank , with an uninsulated underground tank and through a first circulation pump and a first three-way valve with a ground heat exchanger , wherein on a lower heat source side the heat pump is connected to an upper heat exchanger installed inside the insulated underground tank and to an upper heat exchanger installed inside the uninsulated underground tank , characterized in that the system comprises photovoltaic panel modules installed on rotary tracers , the system comprises accumulators of electric energy together with inverters, wherein on an upper heat source side the heat pump is connected to a lower heat exchanger installed inside the uninsulated underground tank via a second circulation pump and a second three-way valve and a first plate heat exchanger , where the heat pump is also connected to a second plate heat exchanger via a third circulation pump and third three way valves , while the second plate heat exchanger is connected to a first hot water buffer tank via a fourth circulation pump , and on the upper heat source side the heat pump is connected via the second circulation pump , the second three way valve and a fourth three way valve to the first hot water buffer tank and a second hot water buffer tank , while the system comprises at least two sets of rotary solar collectors , the photovoltaic panel modules installed on rotary tracers , and the stationary photovoltaic panel modules , whereby a first set of rotary solar collectors is connected via a fifth three-way valve and a fifth circulation pump to upper and lower coils of the first hot water buffer tank for hot water and to a lower heat exchanger installed inside the insulated underground tank , and the upper and lower coils of the first hot water buffer tank are connected via a sixth three-way valve to the upper heat exchanger installed inside the insulated underground tank by means of the third circulation pump and the third three-way valves , whereby the sixth three-way valve is installed between the upper and lower coils of the first hot water buffer tank , while a second set of rotary solar collectors is connected to a lower coil of the second hot water buffer tank and to the lower heat exchanger mounted inside the insulated underground tank through a sixth circulation pump and through a seventh three-way valve and the photovoltaic panel modules installed on rotary tracers and the stationary photovoltaic panel modules are connected via a seventh circulating pump and a eighth circulating pump to the lower heat exchanger mounted inside the uninsulated underground tank , whereby the stationary photovoltaic panel modules are connected via the eighth circulating pump to the lower heat exchanger mounted inside the uninsulated underground tank . <EOS>