Figure 3 Spot and hourly mean power in a wind generator. The outline of the generic model of a RES producer coupled to a energy storage and connected to a public grid is shown in Figure 2. The RES provides a power P(t) speed or sun radiation. The in the hourly period that varies according the wind forecasting procedure before planned and the fed power; t the measurement systems of system. These values wil power planned to be sent to the grid is P’, its value had been computed by means of some being sent to the TSO. The power that the system is effectively sending to the grid is Po(t). The difference Po(t)-P' is the deviation between the his difference is logged by the TSO and the control provide parameters that will reduce the economic billing of the RES producer. Although we have high quality prediction, the power of the RES is varying strongly in a hourly period as is illustrated in Figure 3. some quality