Facebook

Login

Support Sailonline

If you haven't already - join the SAILONLINE YACHT CLUB!

Please also consider making a donation - all amounts are greatly appreciated!

Board » General Discussion » Wrong Speed VMG

Page: Previous 1 2 3 4 Next

There is no such thing as 105% performance :)
I have read Jakob ask if anyone has ideas on how to implement the performance loss on manouvers. How do you currently implement it? If you could provide something like a pseudo algorithm would be good. I do have some ideas on this, but it could simply be a variation on what you already have in place.
I help develop the client interface for the best online ocean racing sim there is... __/)/)_/)__
Well, the current model determines if the maneouver is a tack or a gybe or just a minor change in twa (dTWA is the twa change).If (tack or gybe) {e = 1.0-self.bs/200.0} else {e = 1-abs(dTWA)/25.0}. perf = perf*e. However if perf<0.93 no further maneouver loss is done. something like that.
...one of the guys behind the game...
OK firstly, I do not sail large boats so I am unsure if any of this is realistic but...
From what you wrote Jakob, the faster your bs, the greater perf loss, whereas I would have thought the opposite would be the case, that perf loss is inverse to bs?
And I asssume you also use abs(e), in cases where dTWA > 25? This part seems a bit off, as a dTWA of 50 would result in 0 loss and 25 in maximum performance loss. Also a bear away takes time reach full bs, whereas pointing up doesn't...

What determines the rate at which performance is re-establised, as this seems to be the issue that concerns people.
In my sailing experience gybes usually return to full bs quicker than tacks?
Perhaps making it a function of TWS would work? Or a function of bs and TWS as that would simulate acceleration?

Maybe I will play with some code and try some different algorithms for all this.
How simple do you wish to keep it? ie, should a manouver that changes from headsail to spinnaker (and back) be penalised more than simple course change or tack/gybe? Obviously you need a quick algorithm for this...

As I said above... I have had little experience on large yachts, so all of this could be completely unrealistic!

also, to StuArt: As far as I know, racing rules prohibit techniques where you gain performance advantage from tack/gybe manouvers... In dinghies for example, it is sometimes possible to gain speed through a tack (but very hard to do) and this is prohibited [although very hard to prove in protest ;-)]...
I help develop the client interface for the best online ocean racing sim there is... __/)/)_/)__
Hi. You are very welcome to try some new algorithm for speed recovery. The current models are designed by myself and Magnus Woxén, a very experienced yachtsman with 3 laps around the globe and a place on the Ericson 3 from Qindao. So some thought is put into this. :-)
...one of the guys behind the game...
Maybe a different view on the performance loss effect helps to be less scared. What you are interested in is not the % performance or the duration of recovery, but the overall loss against the other boats.

In the example above I will use worse case numbers I have seen sailing here.

Assume we tack at a BS of 10kn and experience a performance drop to 90% with a recovery time of 20minutes. In almost all cases I have seen the loss is less and the recovery faster.

I use the term e for performance below, so with 90% performance e = 0.9 and the term t_r for recovery time in hours so with 20 minute recovery time t_r ~ 0.333

The distance you travel with the boat is s = v * t. The distance you loose when assuming linear recovery is s_l = v * (1 - e) * t_r / 2
which is s_l = 10 * (1 - 0.1) * 0.333 / 2 = 0.167

The overall loss in this extreme example is 0.167nm or with t_l = s_l / v this is 60 seconds.

These figures sound very reasonable, as we are not sailing in calm waters and stearing up to the new wave pattern and optimizing trim on the new tack takes its time.

Also the loss of 60 seconds or 0.167 nm does not introduce a penalty as high as "felt" by the 90% and 20 minutes recovery. It will only hurt in very tight racing situations where your opponent does not have to tack anymore. But then again you made some mistake earlier by not covering your opponent. ;)

All in all I think the algorithm is reasonable and I hope I could take away some of the fear caused by looking at the performance figure or the recovery time alone. I have attached a quick drawing showing the amount of loss.
_/)_/)_/)
The sea is lovely, dark, and deep, But I have promises to keep, And miles to sail before I sleep, And miles to sail before I sleep.
Attachments
I use the term e for performance below, so with 90% performance e = 0.9 and the term t_r for recovery time in hours so with 20 minute recovery time t_r ~ 0.333

The distance you travel with the boat is s = v * t. The distance you loose when assuming linear recovery is s_l = v * (1 - e) * t_r / 2
which is s_l = 10 * (1 - 0.1) * 0.333 / 2 = 0.167

The overall loss in this extreme example is 0.167nm or with t_l = s_l / v this is 60 seconds.

And here I was thinking I could just wing it. ;-)

Philip
I made some experiments with performance loss during the last practice session. I edited 10 gybes with a delta-twa of 178 deg in steps 0,05 h. The crew didn't liked me afterwards.
The minimum performance after the gybes was about 92 %. The effect on boatspeed was only about 9 %. So nothing to worry about, my own mistakes have always bigger effects.
We introduced this performance loss not to punish normal sailing maneouvers but to prevent boats to tack e.g. once every minute during hours just to ride on a tws that optimizes vmg. The prformance loss implementation succeeded in preventing that behavior and is as stated above not a problem for normal maneouvers. Thanks all for caring!! :-)))
...one of the guys behind the game...
And here I was thinking I could just wing it.

Philip
...........................
Just a bit of physics: s = 1/2*a*t^2 (s = distance, a = acceleration, t = time) and differential calculus... Yeah... brainaid has an appropriate name :-)

...........................
Jakob: I wasnt actually complaining myself about the way things are with the loss, just responding to others posts. And I certainly didnt mean to imply that thought had not gone into how it is implemented, you have obviously been developing this simulation for quite a while, just pointing out things that seem to *me* not quite right, based on the algorithm you posted. As I said, I dont sail ocean racing boats, so have no real idea how they perform... I was simply extrapolating from my own sailing experience. I was also unaware that it was implemented such as to discourage abuse as you say...
Having said that:
a) any performance loss should prevent abuse, yes?
b) do Ocean Racing Yachts really loose upt0 .15nm on a single tack in 10knots? I am asking seriously... I dont sail them... I suppose you dont do alot of leebow manouvuers! :-)
I help develop the client interface for the best online ocean racing sim there is... __/)/)_/)__

Page: Previous 1 2 3 4 Next

Please login to post a reply.

Races

Next Race: 00d 00h 00m


Current Races:

Tall Ships 2026 - Antwerpen to Stavanger


Welcome to the third of four virtual Tall Ships Races in European waters which are concurrently being organized in-real-life by Sail Training International . This third race is from Antwerpen back up the North Sea to Stavanger in Norway – another proper tall ship training adventure of circa 450nm, online again in Sailonline’s classic Clipper 240.
NOTE: Starts and Finishes in tall ships racing are always offshore to avoid conflict with shipping and shipping lanes; online and real-life may not match exactly.
Race #1994
INFO by brainaid.de
Clipper 240 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: TSI - SUPBUD - SYC
Race starts: Jul 14th 16:00 Registration Open!
▶ Flash
GO TO RACE

SSANZ Triple Series 2026 - Race 1

Welcome to Auckland, New Zealand! Sailonline is happy to provide our SOLers with the virtual version of the brilliant three-race SSANZ two-handed series. We will be racing around the beautiful waters of the Hauraki Gulf off New Zealand’s North Island. Our first race of the Series is a 45-miler out to Motuora Island and back.
Race #2043
INFO by brainaid.de
Young 88 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
SPQ3 - SPCH - SSANZ
SUPBUD - SYC
Race starts: Jul 11th 21:15 Registration Open!
▶ Flash
GO TO RACE

Lake Ontario 300 Challenge 2026

Lake Ontario Offshore Racing (LOOR) welcomes Sailonline sailors to a second virtual version of a race in their annual series, and for the sixth year in succession the LO300. As the name implies, the LO300 is a 300nm offshore race across the length and breadth of Lake Ontario, from and back to Port Credit YC. This year, for the first time, we will be racing the 300nm circuit in Sun Fast 3200s. As usual, there is an overall prize for the SOLer who best bosses Lake Ontario over the two races hosted by Sailonline, this LO300 and the Susan Hood raced back in May, and this year also the race and the Susan Hood count towards the title of Super Buddy 2026; so, let the competition be fierce!
Race #2044
INFOby brainaid.de
Sun Fast 3200 PARTICULARS
NAM_AWIP WX Updates:
0245 / 0845 / 1445 / 2045
Ranking: LOOR - SUPBUD - SYC
Race starts: Jul 11th 15:10 Registration Open!

▶ Flash
GO TO RACE

Tall Ships 2026 - Harlingen to Antwerpen


Welcome to the second of four virtual Tall Ships Races in European waters which are concurrently being organized in-real-life by Sail Training International . This second race is from Harlingen in Friesland down along the coast of Holland and Friesland to Vlaanderen’s famous port of Antwerpen – circa 150nm in Sailonline’s classic Clipper 240.
NOTE: Starts and Finishes in tall ships racing are always offshore to avoid conflict with shipping and shipping lanes; online and real-life may not match exactly.
Race #1993
INFO by brainaid.de
Clipper 240 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: TSI - SUPBUD - SYC
Race starts: Jul 06th 16:00 Registration Closed
▶ Flash
GO TO RACE

Alaska to Easter Island 2026

Welcome to yet another all-new series. The initial leg of the RNW (Round the New World), Alaska to Easter Island, also part of our Ocean Championship. The first race of OCQ3 2026. This race will be sailed in our revised 'version 2' Imoca 60 Foil. Race #2042
INFO by brainaid.de
Imoca 60 Foil v2 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ3 - RNW - OCCH - SYC
Race starts: Jul 06th 11:00 Registration Open!
▶ Flash
GO TO RACE

Cross the Convergence 2026 - Sao Tomé to Tristan

The fifth race of our series of ocean voyages across the World’s convergence zones takes us back south down the Atlantic from Sao Tomé on the Equator to Tristan da Cunha on the edge of the Roaring Forties. It’s 2500nm; in your path the Benguela winds and current along the south west African coast, and behind that the St Helena High stretching halfway to South America. So, mind where you go in your Volvo OD65 version 3 (based on sampled real-life race data by kroppyer)!
Race #1985
INFOby brainaid.de
Volvo OD65v3 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: CCZ - SYC
Race starts: Jul 03rd 18:00 Registration Closed
▶ Flash
GO TO RACE

New Ice Age 2026 - Neumayer Station to Scott Base


For a second-half of long-distance ice-boating, we take our DNs to Antarctica for a circumnavigation of that continent in two legs clockwise, in harmony with the prevailing winds (such as there are), beginning with a race from Germany’s Neumayer Station to New Zealand’s Scott Base. It’s about 3500nm, which, if there’s wind at all, should, well-wrapped in your DN-cockpits, not take you much more than five days. And remember: charts down here are unreliable – what is land and what is ice?!
Race #1970
INFOby brainaid.de
DN PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: NIA - SYC
Race starts: Jul 02nd 07:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member CriticalHippo
  2. Sailonline Yacht Club Member KaSToR
  3. Sailonline Yacht Club Member WRmirekd
  4. Sailonline Yacht Club Member Panpyc
  5. Sailonline Yacht Club Member bonknhoot
  6. Sailonline Yacht Club Member cdhinman
  7. Sailonline Yacht Club Member rafa
  8. Sailonline Yacht Club Member ms0689
  9. Sailonline Yacht Club Member YANN
  10. Sailonline Yacht Club Member HoratioPugwash

View full list

Series

Mobile Client

SYC members have the benefit of access to our mobile/lightweight web client!

The mobile client