The impact of power management on building performance and energy costs