Integration of renewable sources