From wiki.bastelbude.grade.de
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 (relative to ground)
TWSx = SOG * Sin (COG) - AWS * Sin (AWD)
TWSy = SOG * Cos (COG) - AWS * Cos (AWD)
TWS= SQRT (TWSx*TWSx + TWSy*TWSy)
- TWD True Wind Direction (relative to true north)
TWD = ATAN ( TWSx / TWSy )
see also