Cost effective energy consumption in a residential building by implementing demand side management in the presence of different classes of power loads. Issue 2 (4th March 2022)