energy and performance formula