Energy management and performance improvement