Juergen Debye - Hello , I am using Signalk Ver...
Hello , I am using Signalk Version 2.16.0 and I like to use the Plugin Derived Data for getting the True Wind Direction.
There I find the Information: True Wind Direction [navigation.headingTrue(👍), environment.wind.angleApparent(👍)]
Is it right to use here the environment.wind.angleApparent?
I think that the right path here is environment.wind.angleTrueWater
Formula True Wind Direction = (navigation.headingTrue + environment.wind.angleTrueWater) % 360
I am right?
7 Replies
i don't think it is calculating what people usually refer to as true wind correctly
I learned that formala for TWD ist
TWD = signed TWA + HeadingTrue
and not
TWD = signed AWA + HeadingTrue (this is AWD)
True Wind Direction (TWD) = (HeadingTrue + TrueWindAngle) % 360
I deactivate the TWD calculation in the plugin Derived Data and make this calulation in Node-Red:
let HDGT_DEG = global.get("STORM.HDGT_DEG");
let TWA_DEG = global.get("STORM.TWA_DEG");
let TWD_DEG = 0.0;
if (TWA_DEG < 0.0)
{
TWD_DEG = (HDGT_DEG + TWA_DEG + 360.0) % 360.0;
}
else
{
TWD_DEG = (HDGT_DEG + TWA_DEG) % 360.0;
}
global.set("STORM.TWD_DEG", TWD_DEG);
msg.payload = TWD_DEG;
return msg;
The TWD is fine now
@AdrianP
@Juergen Debye Can you please raise an issue here...https://github.com/SignalK/signalk-derived-data and I will endeavour to look at it.
I have raise an issue there
Have created a fix and will look to make a beta available with the fix.
Thank you