Classifying and modelling demand response in power systems