Machine learning-based model for prediction of power consumption in smart grid