add energy calculation graph