Inertia
rotational.inertia
Rigid rotating body with a flange on each side.
Ports
| Name | Domain |
|---|---|
a | rotational |
b | rotational |
Parameters
| Name | Unit | Default | Range | Description |
|---|---|---|---|---|
J | kg.m2 | 1 | 0 to ∞ | Moment of inertia |
phi0 | rad | 0 | Angle at the start | |
w0 | rad/s | 0 | Angular speed at the start |
Variables
| Name | Unit | Start |
|---|---|---|
phi | rad | phi0 |
w | rad/s | w0 |
Equations
phi = a.phi phi = b.phi w = der(phi) J * der(w) = a.tau + b.tau