A novel approach to forecast and manage electrical maximum demand