A method for operating a power-to-gas arrangement, that is to say an arrangement which generates a gas, for example hydrogen and/or methane and/or the like, from electrical energy, wherein the power-to-gas unit for generating the gas draws electrical energy in a controlled manner from an electrical grid, to which the power-to-gas unit is connected, wherein the grid has a predetermined setpoint frequency or a setpoint frequency range, wherein the power-to-gas unit reduces the consumption of electrical power by a predetermined value or consumes no electrical power when the grid frequency of the electrical grid drops with a frequency gradient, specifically with a change over time (Δf/Δt), of which the magnitude exceeds a predetermined magnitude of change, wherein the power-to-gas unit is coupled to a wind turbine or a wind farm and the power-to-gas unit and the wind turbine and/or the wind farm form a combined cycle power plant and are preferably operated as such, such that the electrical energy drawn by the power-to-gas unit is generated by the wind turbine and/or the wind farm and wherein the wind turbine and/or the wind farm generates electrical energy with given wind conditions and feeds said energy into a connected electrical grid, and wherein the power-to-gas unit receives a specific predetermined proportion of the electrical energy generated by the wind turbine and/or wind farm and uses this for the production of a gas, wherein the grid frequency as well as the frequency gradient are constantly measured, e.g. the grid frequency is measured every 200 microseconds, and that when the exceeding of the predetermined frequency gradient is detected, in a control and data processing device, which detects and determines the values presented and said, a control signal is generated and is used to be transmitted instantaneously to the control device of the power-to-gas unit, where the power draw from the grid of the power-to-gas unit by blocking and/or opening of switches, e.g. IGBT, Insulated Gate Bipolar Transistor, of a rectifier, the draw of electrical energy from the grid can be stopped, wherein for this purpose no galvanic isolation of the power-to-gas unit from the grid is necessary. wherein the power-to-gas unit for generating the gas draws electrical energy in a controlled manner from an electrical grid, to which the power-to-gas unit is connected, wherein the grid has a predetermined setpoint frequency or a setpoint frequency range, wherein the power-to-gas unit reduces the consumption of electrical power by a predetermined value or consumes no electrical power when the grid frequency of the electrical grid drops with a frequency gradient, specifically with a change over time (Δf/Δt), of which the magnitude exceeds a predetermined magnitude of change, wherein the power-to-gas unit is coupled to a wind turbine or a wind farm and the power-to-gas unit and the wind turbine and/or the wind farm form a combined cycle power plant and are preferably operated as such, such that the electrical energy drawn by the power-to-gas unit is generated by the wind turbine and/or the wind farm and wherein the wind turbine and/or the wind farm generates electrical energy with given wind conditions and feeds said energy into a connected electrical grid, and wherein the power-to-gas unit receives a specific predetermined proportion of the electrical energy generated by the wind turbine and/or wind farm and uses this for the production of a gas, wherein the grid frequency as well as the frequency gradient are constantly measured, e.g. the grid frequency is measured every 200 microseconds, and that when the exceeding of the predetermined frequency gradient is detected, in a control and data processing device, which detects and determines the values presented and said, a control signal is generated and is used to be transmitted instantaneously to the control device of the power-to-gas unit, where the power draw from the grid of the power-to-gas unit by blocking and/or opening of switches, e.g. IGBT, Insulated Gate Bipolar Transistor, of a rectifier, the draw of electrical energy from the grid can be stopped, wherein for this purpose no galvanic isolation of the power-to-gas unit from the grid is necessary.