Modelling and hardware-in-the-loop simulation for energy management in induction cooktops