modelSampleAndHold
Measure speed and hold
Extends from BasicEquations.RotationalSMD.SecondOrderSystem (A second order rotational system).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Inertia | J1 (from SecondOrderSystem) | 0.4 | Moment of inertia for inertia 1 |
| Inertia | J2 (from SecondOrderSystem) | 1.0 | Moment of inertia for inertia 2 |
| Stiffness | c1 (from SecondOrderSystem) | 11 | Spring constant for spring 1 |
| Stiffness | c2 (from SecondOrderSystem) | 5 | Spring constant for spring 2 |
| Damping | d1 (from SecondOrderSystem) | 0.2 | Damping for damper 1 |
| Damping | d2 (from SecondOrderSystem) | 1.0 | Damping for damper 2 |
| Real | sample_time | 0.125 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Angle | phi1 (from SecondOrderSystem) | Angle for inertia 1 | |
| Angle | phi2 (from SecondOrderSystem) | Angle for inertia 2 | |
| AngularVelocity | omega1 (from SecondOrderSystem) | Velocity of inertia 1 | |
| AngularVelocity | omega2 (from SecondOrderSystem) | Velocity of inertia 2 | |
| Real | omega1_measured |