Integrate
Overview
This test metric calculates the area under a curve of a specified signal using the trapezoid rule.
Required Inputs
- Time History Signal
Calculation
- Converts signal's time unit and data units to be harmonious
- Initial value is removed from integration and the difference between the initial value and integral value at time = 0 seconds is added to the calculated areas (Step 3)
- Calculate area under curve at each data point, starting at the second data point
- Area between data points calculated using the trapezoid rule (equation below)
- Add together all calculated areas to find signal's integral
Equation
Integrate Example