incident energy calculation