Forecasting Models and Uncertainty Analysis for Power Consumption and Generation from Renewable Energy Sources