TrueWind
calculate True Wind from Apparent Wind
- AWA Apparent Wind Angle (relative to H)
- H Heading (relative to true north)
- AWD Apparent Wind Direction (relative to true north)
AWD = MOD(H+AWA;360)
- AWS Apparent Wind Speed
- COG Course Over Ground
- SOG Speed Over Ground
- STW Speed Trough Water
- TWS True Wind Speed
TWSx = SOG * Sin (COG) - AWS * Sin (AWD)
TWSy = SOG * Cos (COG) - AWS * Cos (AWD)
TWS= SQRT (TWSx*TWSx + TWSy*TWSy)