Polars suggestion
Post by iconPost by toxcct | 2017-03-13 | 11:32:51

Hi Cvetan,

Here some little improvements I'd find useful if you could implement them.

It would be nice to have a polar chart page, unrelated to a given/selected race, with the a dropdown field to select a boat type charts (Imoca, Type40, etc...).
That way, we could use the polars even though you didn't make a full race setup (that particularly useful for the VMG, which I don't have on my VR dashbord because I sail without options).

Beside that, it would be nice to have the following improvements on the existing polar graph :
- draw a section line showing the exact angle we're inspecting with the hovering mouse (like VR polars for instance)
- below the optimums, could we have a display of the higher speed angle ?

Small question as an end. How do you calculate the VMG (math expected ^^) ? How comes that it equals almost 0 kts on higher boat speed ?

Thanks already to read and show interest for my post :)
And thanks obviously for your so nice work on your router.

commenticon 10 Comments
Post by iconPost by Alexandria | 2017-03-13 | 22:22:48
Hi!


I have just read your post and I think I can help.

We have VMG = V x cos (TWA).

The sign of the VMG will depend on the cos (TWA) sign.

If the TWA is equal or greater than zero, but not equal or greater than 90 degrees, cos (TWA) will be positive -- you are going into the wind.

If the TWA is greater than 90 degrees and not greater than 180 degrees, cos (TWA) will be negative -- you are sailing away from the wind.

If TWA = 90, cos (TWA) = zero.
Post by iconPost by toxcct | 2017-03-18 | 16:16:54
Post by iconPost by toxcct | 2017-03-25 | 17:29:10
Post by iconPost by toxcct | 2017-05-22 | 20:00:45
Post by iconPost by zezo | 2017-06-04 | 15:01:30
Hi,

A have a real life, day job and family, and limited resources to support this site.

So I prefer to spend my time on improvements that matter the most - like get the winds in sync with VR and optimize the router.

The polar data is available in the game itself. I added it to the site mostly because the in-game polars were badly broken at the time. Well, they are still somehow broken because they don't show the VMG. Having a line moving on the screen just won't add any new information - I'm not saying it wold not look better.

About the catalog of available races - I sure can do that. But the polars change now and then, sometimes change back, so in reality a polar graph called Imoca 60 does not match all Imoca 60 games. And it will get out of sync sooner or later and will have to be maintained.

With a polar chart for each race it's obvious if the polars don't match because the track tool uses the same data file as the polar chart, so when you superimpose the tracks on the isochrones you see right away if they match.
Post by iconPost by toxcct | 2017-06-06 | 11:35:09
Hi Cvetan,

Thank you very much for your reply.

I absolutely understand that you have few time to spend on the aesthetical aspect of the polar chart ;)

I was only proposing them if you would consider adding some graphical enhancements, but anyway, the router is a great helper.
Post by iconPost by toxcct | 2017-06-23 | 18:28:33
Hi Cvetan,

Back on the polars :)
I wanted to give a try to drawing my own polars, but then I realized how you were plotting the graph, and now I have a few technical questions for you (if you will) :

- How do you compile VR polar CSV files into a single source ?

- How is built the 'ideal.png' file, which seems to be the data source to plot the polar graph ?

- Is that 'ideal.png' file built for performance and bandwidth descrease reasons, or for obfuscating matters ?

Thanks for your hints ;)
toxcct
Post by iconPost by toxcct | 2017-06-26 | 11:26:50
I'd like to clarify that I already know how to retrieve VR polar files (.CSV), but these files don't provide a boat speed for every wind angle.
On your polars however, the "data array" used to draw the chart contain a value for every TWA.

My concern was more regarding the interpolation you use to build that dataset...
Post by iconPost by zezo | 2017-06-27 | 11:35:08
Hi,

The reason behind the png file is bandwidth reduction. Modern browsers support native binary arrays that serve the same purpose, but at the time I wrote the page that was not so widely available.

The interpolation is bi-linear and has data at every integer degree and km/h wind speed (VR originally used wind data in km/h) so the speed calculation is a basic table lookup with additional bi-linear interpolation between the four data points.

All this saves code and time for the client program(s). You know that the CSV files come with different set of angles and wind speed, I just convert them to a standard format.

There is a slight down side to this - the ideal.png also has information about the proper sail at that wind speed/angle, but that could be wrong by half km/h because of its static nature. The data at the sail crossover points could also be slightly off, but that's not a real problem because you want to avoid sailing at the crossover point anyway if there is a big dip in the performance there.
Post by iconPost by toxcct | 2017-06-27 | 12:26:10
Thank you very much.

I'll have a look at how to handle bi-linear interpolation which I'm not yet familiar with.

All this is quite interesting anyway (and I didn't know VR polar were still in km/h !! :O )

Thanks
border
Topics list
Posts
border
7
border
border
26
border
border
53
border
border
42
border
border
12
border
border
5
border
border
17
border
border
2
border
border
4
border
border
3
border
border
1
border
border
35
border
border
3
border
border
2
border
border
11
border
border
4
border
border
15
border
border
8
border
border
5
border
border
11
border
border
5
border
border
Copyright 2009 by ZEZO.ORG. All Rights Reserved.