Inertia
Mechanics
Run the live example
Free · no sign-up · runs in your browser
The Inertia block models a rigid rotating body storing rotational kinetic energy. It represents flywheels, motor rotors, gear wheels, and driveline loads in mechanical rotational networks.
It features a single conserving rotational terminal (shaft) carrying angular velocity across and transmitting torque through the drive axis.
Real-World Analog: Represents a rotating flywheel, rotor core, turbine wheel, or mechanical chuck storing rotational kinetic energy.
Mathematical Model
The dynamic behavior is governed by Newton's second law for rotation (Euler's rotational equation):
Where:
Jis the mass moment of inertia in kilogram meter squared ().\omegais the shaft angular velocity in radians per second ().\sum \tauis the net external torque applied to the shaft in Newton-meters ().
Stored rotational kinetic energy is:
Inputs & Outputs
| Direction | ID | Label | Type | Status |
|---|---|---|---|---|
| → In | shaft |
S | number | Required |
| → In | H |
H | number | Optional |
| ← Out | q_diss |
Q_diss | number | Output |
Parameters
| Parameters | Label | Type | Default | Description |
|---|---|---|---|---|
inertia |
Moment of Inertia (J) | number | 0.1 |
Rotational mass moment of inertia J in kg·m² |
initial_angular_velocity |
Initial Speed (ω0) | number | 0 |
Initial angular velocity at t=0 in rad/s |
windage_coefficient |
Aerodynamic Windage Drag (c) | number | 0 |
Rotational aerodynamic windage drag coefficient (τ_drag = -c·|ω|·ω, 0 = lossless in vacuum) |
Usage Examples
Flywheel Energy Storage Run-Down
A high-inertia rotor spins down through bearing friction:
Inertia(J=2.5, w0=314) -> RotationalDamper(d=0.05) -> RotationalReference
Motor Driveline Acceleration
A torque motor accelerates an engine flywheel up to rated speed:
TorqueSource(tau=150) -> Inertia(J=0.8) -> RotationalDamper(d=0.2) -> RotationalReferenceRemarks & Best Practices
- Inertial Reference: The single shaft terminal accelerates with respect to the absolute inertial frame ().
- Bond Graph Equivalence: Represents an ideal Generalized Inertia (I-element) or capacitor in MNA force-current / torque-current analogy.
- Algebraic Loop Prevention: Inertia acts as a dynamic state integrator, breaking algebraic torque loops in mechanical gear trains.
- Symplectic Energy Conservation: Solved with implicit TR-BDF2 or RK4 without numerical artificial damping.
Related Components
- RotationalSpring: Compliant torsional shaft element
- RotationalDamper: Viscous rotary friction and bearing dissipation
- TorqueSource: Prescribed mechanical torque generator
- RotationalReference: Fixed stationary mechanical ground