The generation of the load profiles of each prosumer are obtained using the model presented in [41]. The model allows to produce the load profile of a customized dwelling in aday, setting the number of residents of the house, specifying the type of day (weekday orweekend), the month and what are the appliances inside. To obtain the set of PtLoad, iandQtLoad i ∀t ∈ { 1, . . . 8760 } , ∀i ∈ { 1, . . . N − 1 } the model was run several time, obtainingweekdays and weekend days for every month of the year. The appliances associated to adwelling have been selected randomly. The model also provides a mean power factor forthe appliances, in order to obtain the reactive power starting from the active power values