On receiving the user defined peak time periods and a socket’s priority (also defined by user), the PTC module sends signals to AC and UC modules to control the on/off state of a socket. As mentioned above, when the total energy consumption of a house exceeds its peak-time energy limit, lower priority sockets will be turned off.