Solves the forward wind triangle: given true airspeed, true course, wind
direction, and wind speed, computes the true heading, wind correction angle,
and groundspeed.
The wind correction angle (WCA) is the crab angle the aircraft must hold into
the wind to maintain the desired ground track. A positive WCA means the aircraft
crabs to the right; negative means to the left.
If the wind speed exceeds TAS (the wind is stronger than the aircraft can fly),
the aircraft cannot maintain the desired course. In this case the WCA is clamped
to the maximum correctable angle and the resulting ground track will not match
the requested true course.
Parameters
trueAirspeedKt: number
True airspeed in knots.
trueCourseDeg: number
Desired ground track (true course) in degrees (0-360).
windDirectionDeg: number
Direction the wind is blowing FROM in degrees true (0-360).
Solves the forward wind triangle: given true airspeed, true course, wind direction, and wind speed, computes the true heading, wind correction angle, and groundspeed.
The wind correction angle (WCA) is the crab angle the aircraft must hold into the wind to maintain the desired ground track. A positive WCA means the aircraft crabs to the right; negative means to the left.
If the wind speed exceeds TAS (the wind is stronger than the aircraft can fly), the aircraft cannot maintain the desired course. In this case the WCA is clamped to the maximum correctable angle and the resulting ground track will not match the requested true course.