Abstract: The present invention relates to a unit and a method for energy regulation of an electrical production and consumption system as well as such a system. The regulating unit (1) comprises means for storing a plurality of estimated mean production and/or consumption values, means for decoding the instantaneous productions and/or consumption thus measured, processing means for calculating the average instantaneous productions and/or consumption measured per given time period, calculating and recording the deviation between each instantaneous average production or consumption thus calculated and each estimated production or consumption value, and formulating/generating and revising an estimated and previously recorded production and/or consumption value, as well as means for driving the system regulation means according to a function whose parameters comprise the production and/or consumption values estimated for the current given time period.