NOVELTY - The unit (1) has two measurement units for respectively measuring instantaneous electrical energy production and instantaneous electrical energy consumption of electrical energy consumption units (C1, C2). A processing unit calculates and records a difference between calculated average instantaneous production and an estimated production value and a difference between calculated average instantaneous consumption and an estimated consumption value in a memory unit. A control unit controls parameters including the estimated production and consumption values for a given current time period.    USE - Energy regulation unit for an electrical production and consumption system (claimed) to control a renewable energy power station e.g. photovoltaic power station and wind power station.    ADVANTAGE - The processing unit calculates and records the difference between the calculated average instantaneous production and the estimated production value and the difference between calculated average instantaneous consumption and the estimated consumption value in the memory unit, and the control unit controls the parameters including the estimated production and consumption values for the given current time period, thus enabling simultaneously controlling of multiple production and consumption power systems, and hence enabling reduction of the cost for regulation and/or centralization of the control unit.    DETAILED DESCRIPTION - INDEPENDENT CLAIMS are also included for the following:    (1) an electrical production and consumption system    (2) a method for regulation of energy of an electrical production and consumption system    (3) a computer program comprising a set of instructions for executing a method for regulation of energy of an electrical production and consumption system.    DESCRIPTION OF DRAWING(S) - The drawing shows a schematic block diagram of an energy regulation unit for an electrical production and consumption system.    Electrical energy consumption units (C1, C2)    Data (D)    Renewable energy power stations (P3a-P3c)    Measured production and consumption values (Vmes)    Energy regulation unit (1)