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:

Valparaiso to San Francisco 2025

Get ready for an exhilarating new challenge as we set sail on the fourth leg of the 2025 Ocean Championship Series! Following in the 19th century footsteps of Isabel Allende's heroine, Eliza Sommers, 'Daughter of Fortune', this all-new route takes us across the vast eastern Pacific, from Valparaíso, Chile, to San Francisco, California - a 3500nm journey of endurance, strategy, and pure sailing adrenaline. This leg will be raced aboard the powerful Rapido 60, pushing sailors to their limits as they navigate the open ocean. Do you have what it takes to conquer the Pacific? Join us and put your skills to the ultimate test!
PRIZE: SMPF
Race #1900
INFO by brainaid.de
Rapido 60 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: OCQ2 - OCCH - SUPSOL - SYC
Race starts: Apr 07th 11:00 Registration Open!
▶ Flash
GO TO RACE

Red Eye - Round White Island 2025

We remain in New Zealand for our second “Red Eye Special” and another IRL Kiwi classic - the Round White Island! IRL still “currently on hiatus” following the island’s eruption of 2019, this race was last raced on SOL in 2020. It’s about 300nm there - out the Hauraki Gulf and south down to the island in the Bay of Plenty - and back to Auckland. This year we’ll be racing in our ever-popular take on the TP-52. Hau tika!
Race #1844
INFOby brainaid.de
TP-52 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC - RED
Race starts: Apr 06th 12:00 Registration Open!
▶ Flash
GO TO RACE

Moheli PYOC 2025


For our first sprint of Q2, we will re-visit the African archipelago nation, L’Union des Comoros, and its most southern island, Moheli, in the Mozambique Channel. Created by MustangMark in 2014 this is a “Pick Your Own Course” round the island, approximately 20nm in our First 27. Expect winds to be light and variable; we are in the Tropics.
Race 1907
INFO by brainaid.de
First 27 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
SPRQ2 - SPRCH - SUPSOL – SYC
Race starts: Apr 05th 09:00 Registration Open!
▶ Flash
GO TO RACE

Africa by Sea - Tangier to Abidjan


Whatever about pharaoh Necho II’s Phoenician expedition of the 7th C BCE, the Carthaginian Hanno the Navigator with more certainty sailed south from Tangier to explore the West African coast two centuries later, but how far he got is a matter of more conjecture. However, if he did the 2300nm to today’s Ivory Coast he would have found little there other than good shelter in the vast lagoons behind the dunes, much the same as today, excepting the highly industrialized port of Abidjan. Not a great haven for a stop-over but let’s take the 90ft Monohull anyway.
Race #1855
INFOby brainaid.de
90ft Monohull PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC - ABC
Race starts: Mar 26th 17:00 Registration Closed
▶ Flash
GO TO RACE

Sea Lion TIMED Race 2025

Come on down South for long days of sunlight and strong bracing winds to race our Finngulf 43 as many times as you like - 117nm as the albatross flies - through some of the islands of the Falklands archipelago. This is a TIMED race, so you may RE-REGISTER HERE to try again, after finishing a run. You will have 13 days and 11 hours to test your skill and decision making after the race opens.
Race #1903
INFO by brainaid.de
Finngulf 43 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ1 - TRCH - SUPSOL - SYC
RACE CLOSE: Saturday,
05 April at 23:00 UTC
Race starts: Mar 23rd 12:00 Registration Open!
▶ Flash
GO TO RACE

Melbourne Osaka Cup Double-Handed Yacht Race 2025

Welcome once again to what these days is Sailonline’s almost annual virtual Melbourne to Osaka Yacht Race. In real life, this double-handed 5500 nm race between these two sister cities, one deep in the southern hemisphere, the other high in the northern hemisphere, is run every four to five years, and this year is such a year. So, this year’s online version is in sync with the Melbourne Osaka Cup 2025 organised by the Ocean Racing Club of Victoria (ORCV), and the Sandringham (SYC) and Osaka Hokko (OHYC) yacht clubs. We’ll be racing the well-known First 40, a popular size of boat which should be a good match for many of the boats entered in the real race. With the doldrums unavoidably lying across our course, you can expect to be at virtual sea for at least a month!
Race #1669
INFO by brainaid.de
First 40 Particulars
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC
Race starts: Mar 16th 06:00 Registration Closed

▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member Patrick70119
  2. Sailonline Yacht Club Member WRmirekd
  3. Sailonline Yacht Club Member CriticalHippo
  4. Sailonline Yacht Club Member vida
  5. Sailonline Yacht Club Member KaSToR
  6. Sailonline Yacht Club Member rafa
  7. Sailonline Yacht Club Member FreyjaUSA
  8. Sailonline Yacht Club Member Kipper1258
  9. Sailonline Yacht Club Member bonknhoot
  10. Sailonline Yacht Club Member rumskib

View full list

Series

Mobile Client

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

The mobile client