Energy management is achieved by means of schemes such as the duty-cycling of loads to conserve energy; peak load management to regulate total power consumption during peak hours; scheduled start/stop of building HVAC systems at the beginning and end of each day; and real-time control of building systems in response to occupancy detection