Energy Components Calculations in PFC

Hello,

Could anyone please help in navigating to a script or fishtank package that calculates the energy components in a rock specimen after triaxial testing?

Thanks.