DOE-2 calculates the hourly energy use and energy cost of a commercial or residential building given information about the building's climate, construction, operation, utility rate schedule and heating, ventilating, and air-conditioning (HVAC) equipment.