A novel architecture for modelling, virtualising and managing the energy consumption of household appliances