Integrated modeling of active demand response with electric heating systems coupled to thermal energy storage systems