Angular Velocity Source
MechanicsThe Angular Velocity Source block models an ideal mechanical velocity source maintaining a prescribed angular velocity difference between two conserving rotational flanges (flange_a and flange_b).
It acts as an ideal stiff prime mover or speed-regulated motor delivering whatever torque is required to enforce the specified rotational speed.
Real-World Analog: Represents a speed-governed electric drive spindle or internal combustion engine forcing a fixed or programmed rotational velocity regardless of load torque.
Mathematical Model
The source imposes an across-variable constraint between its two flanges:
For DC operation (source_type = "DC"):
For AC sinusoidal operation (source_type = "AC"):
Where:
\omega_a, \omega_bare the angular velocities at flanges A and B in radians per second ().\omega_{\text{set}}is the configured speed amplitude in .fis the oscillation frequency in Hertz ().
When the optional causal input port in is connected, it overrides :
The reaction torque is determined implicitly by the connected network.
Inputs & Outputs
| Direction | ID | Label | Type | Status |
|---|---|---|---|---|
| → In | in |
Ctrl | number | Optional |
| → In | flange_a |
A | number | Required |
| → In | flange_b |
B | number | Required |
Parameters
| Parameters | Label | Type | Default | Description |
|---|---|---|---|---|
angular_velocity |
Angular Velocity (ω) | number | 10 |
Imposed angular velocity in rad/s |
source_type |
Source Type | select | DC |
DC constant or AC sinusoidal speed |
frequency |
Frequency (f) | number | 50 |
Frequency in Hz when AC source type is selected |
Usage Examples
Constant Speed Driveline Test
Drive a mechanical damper at a steady rotational speed:
AngularVelocitySource(w=31.4) -> RotationalDamper(d=0.5) -> RotationalReference
Sinusoidal Torsional Excitation
Excite a torsional spring-inertia resonant system at 5 Hz:
AngularVelocitySource(w=5.0, type="AC", f=5.0) -> RotationalSpring(k=200) -> Inertia(J=0.1)Remarks & Best Practices
- Across / Effort Source: Implemented as an auxiliary MNA branch with an ideal velocity constraint, analogous to an ideal voltage source.
- Infinite Torque Capability: The ideal source generates unlimited torque if connected to a locked rotor; include realistic series compliance (
RotationalSpring) when modeling mechanical stiffness. - Reference Grounding: Flange B provides the speed reference baseline, typically tied to
RotationalReference.
Related Components
- TorqueSource: Prescribed mechanical torque generator
- AngularVelocitySensor: Measurement of relative or absolute angular velocity
- RotationalDamper: Viscous rotational energy dissipation
- RotationalReference: Clamped stationary mechanical housing (0 rad/s)