Due to the increasing spread of residential heating systems electrically powered, buildings show a great potential in producing demand side management strategies addressing their thermal loads. Indeed, exploiting the intrinsic characteristics of the heating/cooling systems (i.e. the thermal inertia level), buildings could represent an interesting solution to reduce the electricity peak demand and to optimize the balance between demand and supply. The objective of this paper is to analyse the potential benefits that can be obtained if the electricity demand derived from the heating systems of a building cluster is managed with demand response strategies. A simulation-based analysis is presented in which a cluster of residential archetypal buildings are investigated. The buildings differ from each other for construction features and type of heating system (e.g. underfloor heating or with fan coil units). By supposing to be able to activate the energy flexibility of the single building with thermostatic load control, an optimized logic is implemented to produce programmatically an hourly electricity peak reduction. Results show how the involvement of buildings with different characteristics depends on the compromise that wants to be achieved in terms of minimization of both the rebound effects and the variation of the internal temperature setpoint.