Dynamic modeling and ICT integration for Demand Side Management (DSM) of systems for heating, cooling and related electrical loads