System for providing energy (1", 1"') for an energy grid based on energy provided by a renewable energy source, comprising - an H2-N2-production unit for producing Hydrogen and Nitrogen, wherein the H2-N2-production unit is operated by using energy provided by the renewable energy source, - a mixing unit configured to receive and mix the Hydrogen and the Nitrogen produced by the H2-N2-production unit to form a Hydrogen-Nitrogen-mixture, - an NH3 source for receiving and processing the Hydrogen-Nitrogen-mixture for generating a gas mixture containing NH3, wherein the NH3 source comprises an NH3 storage vessel for storing at least a part of the NH3 of the gas mixture containing NH3, - an NH3 power generator for generating energy (1"') for the energy grid, wherein the NH3 power generator is fluidly connected to the NH3 storage vessel to receive a gas stream containing NH3 from the NH3 storage vessel and wherein the NH3 power generator comprises a combustion chamber to combust the received NH3 of the gas stream to generate the energy (1"') for the energy grid, and - a heat distribution system (91, 92, 93, 94) with one or more heat exchangers (92, 93, 94), wherein - each one of the one or more heat exchangers (92, 93, 94) is in thermal contact with and assigned to at least one of one or more first components (21, 41, 200) of the system for receiving process heat from the assigned at least one first component during operation of the at least first one component, - each one of the one or more heat exchangers (92, 93, 94) is arranged and configured to transfer at least a portion of received process heat to at least one of one or more second components (30, 32, 45, 52) of the system. characterised in that the system further comprises an NH3 cracker, which is fluidly connected to the NH3 storage vessel and to the NH3 power generator, and which is configured and arranged - to receive NH3 from the NH3 storage vessel, - to effect a partial cracking of the received NH3 to form an NH3-Hydrogen-mixture (NH3,H2) and - to direct the NH3-Hydrogen-mixture to the NH3 power generator for combustion, wherein one of the one or more second components (30, 32, 45, 52) is the NH3 cracker. - an H2-N2-production unit for producing Hydrogen and Nitrogen, wherein the H2-N2-production unit is operated by using energy provided by the renewable energy source, - a mixing unit configured to receive and mix the Hydrogen and the Nitrogen produced by the H2-N2-production unit to form a Hydrogen-Nitrogen-mixture, - an NH3 source for receiving and processing the Hydrogen-Nitrogen-mixture for generating a gas mixture containing NH3, wherein the NH3 source comprises an NH3 storage vessel for storing at least a part of the NH3 of the gas mixture containing NH3, - an NH3 power generator for generating energy (1"') for the energy grid, wherein the NH3 power generator is fluidly connected to the NH3 storage vessel to receive a gas stream containing NH3 from the NH3 storage vessel and wherein the NH3 power generator comprises a combustion chamber to combust the received NH3 of the gas stream to generate the energy (1"') for the energy grid, and - a heat distribution system (91, 92, 93, 94) with one or more heat exchangers (92, 93, 94), - each one of the one or more heat exchangers (92, 93, 94) is in thermal contact with and assigned to at least one of one or more first components (21, 41, 200) of the system for receiving process heat from the assigned at least one first component during operation of the at least first one component, - each one of the one or more heat exchangers (92, 93, 94) is arranged and configured to transfer at least a portion of received process heat to at least one of one or more second components (30, 32, 45, 52) of the system. - to receive NH3 from the NH3 storage vessel, - to effect a partial cracking of the received NH3 to form an NH3-Hydrogen-mixture (NH3,H2) and - to direct the NH3-Hydrogen-mixture to the NH3 power generator for combustion, wherein one of the one or more second components (30, 32, 45, 52) is the NH3 cracker.