Governing equations
B(r) = Bₑq (Rₑ/r)³ [3(m̂·r̂)r̂ − m̂]
τₘ = m × B
τₐₓ,max = mₘₐₓ Bₑq (Rₑ/a)³ √[1 − (sin i sin u)²]
Ḣw = τdist + τmag,ax
P = 2π √(a³/μₑ)
The wheel stores angular momentum. A magnetorquer applies external torque through interaction with Earth's field, allowing the wheel to unload while the attitude-control system holds spacecraft pointing.
Independent orbit-average check
The engine's phase-sampled mean axial authority is checked against the textbook dipole-orbit result using the complete elliptic integral of the second kind:
⟨τₐₓ,max⟩ = mₘₐₓ Bₑq (Rₑ/a)³ · (2/π) E(sin i)
The visible check compares phase-sampled orbital geometry against the textbook elliptic-integral expression using separate calculation paths.
What is simplified
- Circular orbit; Earth is spherical with a centred dipole aligned to its spin axis.
- One reaction-wheel axis is aligned with the local radial direction.
- Only magnetic torque along that axis changes displayed wheel momentum. Other-axis attitude control rejects transverse torque.
- Disturbance torque is constant. Atmospheric drag, gravity-gradient torque, solar pressure, dipole tilt, orbit precession and detailed attitude dynamics are omitted.
- RK4 uses a fixed 0.25 s simulated step; rendering uses a separate frame-rate-independent accumulator.
Real values vs scaled view
Readouts use SI-based physical equations and textbook constants. The Earth-to-spacecraft radius ratio is preserved. Switch to Vectors: scaled to enlarge field and torque arrows for visibility; this changes drawing length only, never numbers or dynamics.
Earth gravitational parameter3.986004418 × 10¹⁴ m³/s² TEXTBOOK
Mean Earth radius6,371 km TEXTBOOK
Equatorial dipole field30.5 μT TEXTBOOK APPROX.
Illustrative educational model, not affiliated with any real institution or manufacturer.