ana1Tests.energyLineTest.getEnergyInfo¶
- getEnergyInfo(avaProfileMass, g, mu, sIntersection, zIntersection, runOutAngleDeg, alphaDeg)[source]¶
Compute energy dots and errors :Parameters: * avaProfileMass (dict) – particle mass average properties
g (float) – gravity
mu (float) – friction coefficient
sIntersection (float) – s coord of the intersection between the line of slope mu and the mass average path profile
zIntersection (float) – z coord of the intersection between the line of slope mu and the mass average path profile
runOutAngleRad (float) – center of mass runout angle in radians
runOutAngleDeg (float) – center of mass runout angle in degrees
- Returns
zEne (numpy 1D array) – energy height of the particle averaged time steps
u2Path (numpy 1D array) – kinetic energy of the particle averaged time steps
sGeomL (2 element list) – s coord (start and end) of the run out angle line
zGeomL (2 element list) – z coord (start and end) of the run out angle line
resultEnergyTest (dict) – zEnd, sEnd, runoutAngle as well as rmseVelocityElevation, runOutSError, runOutZError, runOutAngleError between theoretical solution and simulation result