A nonlinear autoregressive neural network model for forecasting appliance power consumption