Documentation / @interstellar-tools/equations / cwStateTransition
Function: cwStateTransition()
ts
function cwStateTransition(n: number, t: number): CwStateTransitionInterface;Defined in: orbits/cw-state-transition.ts:66
Compute the Clohessy–Wiltshire state transition matrix: the closed-form solution of the CW / Hill equations.
With
Units
- Inputs:
nin rad/s,tin s. - Output: dimensionless blocks, except
in s and in 1/s.
Notes
- Valid near a circular reference orbit, for separations small compared with its radius. Elliptic reference orbits need other solutions (e.g. Yamanaka–Ankersen).
- The
terms grow without bound: a deputy slightly lower than the chief drifts ahead every orbit. is the identity, and . - Negative
tpropagates backwards.
Parameters
| Parameter | Type | Description |
|---|---|---|
n | number | Mean motion of the circular reference orbit |
t | number | Time since the initial state |
Returns
The four 3×3 blocks of
Throws
- If any input is not a finite number.
- If
n <= 0.
Example
ts
// ISS-like orbit: n ≈ 0.00113 rad/s, a quarter of an orbit later
const { rr, rv } = cwStateTransition(0.00113, Math.PI / 2 / 0.00113);See
- cwPropagate
- cwTwoImpulseTransfer
- https://en.wikipedia.org/wiki/Clohessy–Wiltshire_equations Clohessy–Wiltshire equations