Difference between revisions of "TrueWind"

From wiki.bastelbude.grade.de
Jump to: navigation, search
(see also)
(vessel's Movement and Orientation)
Line 12: Line 12:
 
== Terms ==
 
== Terms ==
  
 +
* https://en.wikipedia.org/wiki/Euclidean_vector
 
=== vessel's Movement and Orientation ===
 
=== vessel's Movement and Orientation ===
* <b>SOG</b> Speed Over Ground <b>navigation.speedOverGround</b>
+
* <b>'OG'</b> movement over ground
* <b>COGt</b> Course Over Ground (relative to true north) <b>navigation.courseOverGroundTrue</b>
+
** <b>SOG</b> Speed Over Ground (magnitude) <b>navigation.speedOverGround</b>
* <b>COGm</b> Course Over Ground (relative to magnetic north) <b>navigation.courseOverGroundMagnetic</b>
+
** <b>COG</b> Course Over Ground (direction)
* <b>STW</b> Speed Trough Water <b>navigation.speedThroughWater</b>
+
*** <b>COGt</b> Course Over Ground (relative to true north) <b>navigation.courseOverGroundTrue</b>
* <b>HDG</b> Heading
+
*** <b>COGm</b> Course Over Ground (relative to magnetic north) <b>navigation.courseOverGroundMagnetic</b>
** <b>HDT</b> Heading (relative to true north) <b>navigation.headingTrue</b>
+
* <b>'SH'</b>
** <b>HDM</b> Heading (relative to magnetic north) <b>navigation.headingMagnetic</b>
+
** <b>STW</b> Speed Trough Water <b>navigation.speedThroughWater</b>
 +
** <b>HDG</b> Heading
 +
*** <b>HDT</b> Heading (relative to true north) <b>navigation.headingTrue</b>
 +
*** <b>HDM</b> Heading (relative to magnetic north) <b>navigation.headingMagnetic</b>
  
 
=== Wind ===
 
=== Wind ===

Revision as of 12:17, 1 November 2018

see also

Terms

vessel's Movement and Orientation

  • 'OG' movement over ground
    • SOG Speed Over Ground (magnitude) navigation.speedOverGround
    • COG Course Over Ground (direction)
      • COGt Course Over Ground (relative to true north) navigation.courseOverGroundTrue
      • COGm Course Over Ground (relative to magnetic north) navigation.courseOverGroundMagnetic
  • 'SH'
    • STW Speed Trough Water navigation.speedThroughWater
    • HDG Heading
      • HDT Heading (relative to true north) navigation.headingTrue
      • HDM Heading (relative to magnetic north) navigation.headingMagnetic

Wind

  • AW Apparent Wind (relative to vessel)
    • AWS Apparent Wind Speed environment.wind.speedApparent
    • AWDt Apparent Wind Direction (relative to true north) environment.wind.directionTrue directionApparantTrue
    • AWDm Apparent Wind Direction (relative to magnetic north) environment.wind.directionMagnetic directionApparantMagnetic
    • AWA Apparent Wind Angle (relative to HDG) environment.wind.angleApparent
  • TW True Wind (relative to surface of the water)
    • TWS True Wind Speed environment.wind.speedTrue speedWater
    • TWDt True Wind Direction (relative to true north) add: environment.wind.directionWaterTrue
    • TWDm True Wind Direction (relative to magnetic north) add: environment.wind.directionWaterMagnetic
    • TWA True Wind Angle (relative to HDG) environment.wind.angleTrueWater angleWater
  • GW Ground Wind (relative to ground) used in weather forecasts and reports
    • GWS Ground Wind Speed environment.wind.speedOverGround
    • GWDt Ground Wind Direction (relative to true north) add: environment.wind.directionOverGroundTrue
    • GWDm Ground Wind Direction (relative to magnetic north) add: environment.wind.directionOverGroundMagnetic
    • GWA Ground Wind Angle (relative to HDG) environment.wind.angleTrueGround angleOverGround

Current

  • DFT Current Drift (speed relative to ground) environment.current.drift
  • SETt Current Set (direction relative to true north) environment.current.setTrue
  • SETm Current Set (direction relative to magnetic north) environment.current.setMagnetic

calculate Ground Wind from Apparent Wind

  • AWA Apparent Wind Angle (relative to HDG) environment.wind.angleApparent
  • HDT Heading (relative to true north) navigation.headingTrue
    • AWD Apparent Wind Direction (relative to true north) environment.wind.directionTrue
    • AWD = MOD(H+AWA;360)
  • AWS Apparent Wind Speed environment.wind.speedApparent
  • COG Course Over Ground navigation.courseOverGroundTrue
  • SOG Speed Over Ground navigation.speedOverGround
    • GWS Ground Wind Speed environment.wind.speedOverGround
    • GWx = OGx - AWx = SOG * Sin (COG) - AWS * Sin (AWD)
    • GWy = OGy - AWy = SOG * Cos (COG) - AWS * Cos (AWD)
    • GWS= SQRT (GWx*GWx + GWy*GWy)
    • GWD Ground Wind Direction (relative to true north) ???
    • GWD = ATAN ( GWx / GWy )

(calculate current)

  • COG Course Over Ground navigation.courseOverGroundTrue
  • SOG Speed Over Ground navigation.speedOverGround
  • HDT Heading (relative to true north) navigation.headingTrue
  • STW Speed Trough Water in direction of HDG
    • DFT Drift (current speed relative to ground) environment.current.drift
    • DFTx = OGx - SHx = SOG * Sin (COG) - STW * Sin (HDT)
    • DFTy = OGy - SHy = SOG * Cos (COG) - STW * Cos (HDT)
    • DFT= SQRT (DFTx*DFTx + DFTy*DFTy)
    • SET Set (current direction relative to true north) environment.current.setTrue
    • SET = ATAN ( DFTx / DFTy )

signalk-derived-data groundWind.js

  • https://github.com/SignalK/signalk-derived-data/blob/master/calcs/groundWind.js
  • SOG Speed Over Ground navigation.speedOverGround
  • AWA Apparent Wind Angle (relative to HDG) environment.wind.angleApparent
  • AWS Apparent Wind Speed environment.wind.speedApparent
    • AWx = AWS * Cos (AWA)
    • AWy = AWS * Sin (AWA)
    • GWA Ground Wind Angle (relative to HDG) environment.wind.angleTrueGround
    • GWA = ATAN2(AWy, -SOG + AWx)
    • GWS Ground Wind Speed (relative to ground) environment.wind.speedOverGround
    • GWS = SQRT (POWER(AWy,2) POWER(-SOG + AWx,2))

signalk-derived-data windDirection.js

  • https://github.com/SignalK/signalk-derived-data/blob/master/calcs/windDirection.js
  • HDG Heading
    • HDT Heading (relative to true north) navigation.headingTrue
    • HDM Heading (relative to magnetic north) navigation.headingMagnetic
  • AWA Apparent Wind Angle (relative to HDG) environment.wind.angleApparent
    • AWD Apparent Wind Direction
      • environment.wind.directionTrue
      • environment.wind.directionMagnetic
    • AWD = HDG + AWA
      if (AWD > Math.PI * 2) AWD -= Math.PI * 2
      else if (AWD < 0) AWD += Math.PI * 2

Sensors

Heading

SOG and COG

  • GPS receiver

STW

AWS and AWA