Electrical consumption forecasting: a framework for high frequency data