Equipping Municipal Buildings With Self-Learning Thermostats Including Consumption Monitoring