From wiki.bastelbude.grade.de
calculate True Wind from Apparent Wind
- AWA Apparent Wind Angle (relative to H) environment.wind.angleApparent
- H Heading (relative to true north)
- AWD Apparent Wind Direction (relative to true north)
AWD = MOD(H+AWA;360)
- AWS Apparent Wind Speed environment.wind.speedApparent
- COG Course Over Ground
- SOG Speed Over Ground navigation.speedOverGround
- 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 )
- STW Speed Trough Water
- DFT Current Drift (relative to ground)
DFTx = SOG * Sin (COG) - STW * Sin (H)
DFTy = SOG * Cos (COG) - STW * Cos (H)
TWS= SQRT (DFTx*DFTx + DFTy*DFTy)
- SET Current Set (relative to true north)
SET = ATAN ( DFTx / DFTy )
see also