modelAssertContinuousTrajectory
Assert correctness of a whole solution trajectory
Information
A testing facitilty for ensuring the correctness of a continuous variabl. Can be useful in checking a solution when
- Analytical solution is known in advance
- Comparing a new implementation with an old one
- Validating a new numerical solvers
Practical usage can be followed by the GenKinetics library, see here.
Developed by Atiyah Elsheikh
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | MaxAccErr | 1e-3 | Maximum Accumulation Error |
| String | name | "" | Name of Test |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | T1 | First trajectory | |
| Real | T2 | Second trajectory | |
| Real | Area | The area of the difference between the input trajectories |