The application of the data mining in the integration of RES in the smart grid: Consumption and generation forecast in the I3RES project