Wind indication is not (yet) implemented right.
When sailing with true wind zero, then apparent wind is always shown incorrectly as the half value of the speed over ground (SOG). Direction indication is always ok then. The wrong value may come from the wind speed of 16 kts, that was set as a constant in earlier times?
When cruising with wind of 8 kts from 10°, which you get in Gothenburg and keep everywhere, different results are obtained.
Wind 8 kts from 10°, ship's HDG 190°, i.e. going with the wind
ship's speed SOG (kts) 0 5 10 16 20
aparent wind speed (kts) 8 5,4 3 0 2
Aparent wind speed should be the magnitude of the subtraction of real wind from SOG.
Wind 8 kts from 10°, ship's HDG as indicated
wind from SOG wind kts
ahead 20 18 expected 28
portside 22 13 expected 23.4
stb side 22 13 expected 23.4
astern 22 3 expected 14
This is for your records.
For coming projects also check https://github.com/dannycochran/windable