Forecasting the impact of renewable energies in competition with non-renewable sources