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 » DTF calculation

One of the most frequently asked questions on chat is how the distance to finish is calculated. I've tried to explain that, based on my understanding. If anyone knows differently, please add to the thread.

The first two plots here are sketches of a race similar to our SWR Leg 6. That is a good example of where the DTF is not entirely intuitive. The third plot is the mark to mark distance, which many think should be the DTF.

The distance to the next mark is determined by the closest distance to the line that goes out from the mark. This line (the mark 2 rounding line) is drawn at right angles to the line between marks 1 and 3, starting at mark 2 and continuing infinitely.

From that point, the next part of the DTF is the distance to the next mark. Then mark to mark to the finish.

So looking at the attached plots. Boat A sails close to the rhumbline, so its DTF is very similar to a mark to mark course.

Boat B, however, is sailing wide of the mark. From B1 we find the closest point on the rounding line (point X). From there to mark 3.

All the distances from the various positions are shown on the plots.

--- Last Edited by NZL Scotsman at 2012-05-01 10:11:12 ---
Attachments
If you have another look at the mark to mark system, the main problem with this is that when you approach the mark rounding line wide - then the DTF includes the distance to this mark until you pass it. Then it jumps to the next mark.

For example Boat B at B4 jumps from 43nm to 35nm as soon as the line is crossed.

The existing system has a similar problem, but it is much less severe. The problem only really occurs when you have a situation like B3, where the mark 3 rounding is very wide and therefore the mark 3 to 4 distance is much greater than compared to boat A. (35nm compared to 17nm).
Here is an alternative method of calculating DTF that might avoid some of the issues the current version creates - those rare occasions when the course shape results in longer DTF than is reasonable.

The attached plot will help with this description. Instead of waiting until the mark is rounded before the next mark is considered, DTF is determined by going to the next mark as soon as the extended bearing is crossed. If the boat crosses back, then simply revert to distance to the mark.

For example B1 has crossed the line, therefore DTF is distance to Mark 3 plus 3-4 distance (141+17=158nm). This compares to 166nm with current method.

Now compare B2 and B3. The boat has only moved about 15nm. DTF for B2 = 108nm, B3 = 98nm. Sounds reasonable?

The existing method B2 - 112, B3 - 111.

I think this method will be easy to compute, so it will not add to the server requirements. I cannot think of any disadvantages, but might be worth testing it with some more examples.
Attachments
My personal solution is to ignore ranking and sail, all will be sweet when we cross the line ;-)

Your method of calculating is slightly off. Example 1 shows best (at our current situation on VOR6) is how it is currently done, but rather than orthogonal to the line *1-*3, the 'scoring line' that extends from *2 to score roundings bisects the angle *1-*2-*3. OK, in your diagrams this does not make a lot of difference - but shift *2 along the direction of line *1-*3 and you can see it can... This is the BRG value on the NOR - Brg from ship to mark at the instant the server scores your rounding.

Just some advice from experience (regarding alternative methods) - you can draw 100 examples and it all works fine, but there is often some edge case where things go nuts...
Diagram 4 does appear a better method of computing DTF, but not of scoring roundings (B3 should not be considered to be on Leg3 for example, and could flip from Leg2 to 3 many times on its way to the finish? sim. B1) and we still need the line we currently have extending from the mark to score roundings (and to detect 'unwindings')
This would be where is creates more load to compute - 2 lines crossings per mark instead of 1 - actually 1 line crossing (score) and 1 'which side of the line are we' (dtf)
(not saying is a bad idea, just commenting because you did about server loads)

It's great that others are thinking on things like this though - when you are doing such examples though, try pulling out GE and drawing LONG courses, as these are really the only ones where the ranking ever becomes an issue for some - when a GC path significantly changes where on the line the scoring point is, compared to a Loxo (and also the scoring line itself, being GC) - small distances like in your diagrams don't show this effect. Also GC can change the edge cases a bit - remembering back to the ranking fiasco on Leg 5 while the scoring point was the south pole for pretty much every boat.

Of course, the other question is "Is this a good allocation of development resources?" - which always needs to be asked ;-)
I help develop the client interface for the best online ocean racing sim there is... __/)/)_/)__
Thank you NZL Scotsman

This is a very complicate way to measure the DTF.

I think its not that hard to implement a way to calculate the DTF based on a point to point measure:
- point to point for "mark to mark", and
- point to point for "boat to next mark".

Its a suggestion to SOL programers.

Fair winds

--- Last Edited by Armando Faria at 2012-05-04 02:33:41 ---
Boteco1 - Make Bore Impossible
It is point to point for future legs??
It is actually point to point for all legs, just for the first 2 the exact location of that point is not fixed...

It isnt really any more complicated than just computing boat to mark to mark etc, but it is more realistic. It is exceedingly difficult to write an algorithm that can most accurately handle all possible course configurations, sizes, and locations (for example, had the VOR Leg5 been translated N so that it crossed the Equator, but otherwise remained the same shape, we would not have had the ranking issues with the South Pole)

If we change it then boats that stay close to the rhumbline will most likely figure higher in the rankings than they are. Personally I would rather appear lower in ranking than I really am. There is no realistic way to have a consistently accurate ranking across the whole race - given the very different configs/sizes/locations of SOL races and the variety of possible routes.

Rank calculations and visualisations like you see on the AC45s and VOR inport races only work for pure Windward/Leeward courses, and even then as the wind becomes more shifty they become less accurate.

I don't really see there is much wrong with the current system
I help develop the client interface for the best online ocean racing sim there is... __/)/)_/)__

Please login to post a reply.

Races

Next Race: 00d 00h 00m


Current Races:

Susan Hood Trophy Race 2024

Lake Ontario Offshore Racing (LOOR) welcomes racers to Sailonline’s virtual version of their fourth virtual Susan Hood Trophy race. This is a 75nm weekender on western Lake Ontario starting and finishing at the Port Credit Yacht Club (PCYC) via Niagara and Burlington, and is one of two that will count towards a special Sailonline's LOOR Series medals. As our Beneteau First 36.7 managed the course so well in previous years, we shall race her again!
Race #1804
INFOby brainaid.de
First 36.7 PARTICULARS
NAM_AWIP WX Updates:
0245 / 0845 / 1445 / 2045
Ranking: SYC - LOOR
Race starts: May 31st 02:45 Registration Open!

▶ Flash
GO TO RACE

SoCal 300 2024

Welcome again to your chance to participate virtually in a second race of the California Race Week calendar, SDYC's challenging 243nm (as the seagull flies) SoCal 300 from Santa Barbara to San Diego. With a broad range of boats entered in the real race, virtual SOLers will have a better chance of hanging in there with the IRL fleet in our mighty Melges 40 than in previous years SOLing the Santa Cruz 52!
Race #1800
INFO by brainaid.de
Melges 40 PARTICULARS
NAM_AWIP WX Updates:
0245 / 0845 / 1445 / 2045
Ranking: SYC - CRW
Race starts: May 30th 13:00 Registration Open!
▶ Flash
GO TO RACE

Mangalia to Sevastopol 2024


This time the Black Sea challenges us in a race on the 360 Nm route from Mangala to Sevastopol. On the way we will also visit Odessa. Watch out for the legendary pirates and their fast battle galleys. Nobody ever found them. Apparently they took them with them to the land and hid them in the forests. Let's hope that our Delphia 47 will be fast enough to escape the chase, otherwise we may end up in captivity.
Race #1814
INFO from brainaid.de
Delphia 47 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
ARQ2 - ARCH - SUPSOL - SYC
Race starts: May 27th 17:00 Registration Open!
▶ Flash
GO TO RACE

CA 500 2024


In 2019, the organisers of the California Race Week introduced a new longer distance event for the world’s very largest maxi trimarans in town that year intent on setting new records for the TransPac Ocean Race on its 50th anniversary. This CA 500, 500nm from San Francisco to San Diego, was repeated in 2023, but this year it will be an online only event, as it is a lot more straightforward to get a fleet of Maxi trimarans out on the virtual water, than in real life.
Race #1799
INFO by brainaid.de
Maxi Tri PARTICULARS
NAM_AWIP WX Updates:
0245 / 0845 / 1445 / 2045
Ranking: SYC - CRW
Race starts: May 25th 17:40 Registration Open!
▶ Flash
GO TO RACE

Capt Anderson's Resupply TIMED Race 2024

Welcome back to the Pacific Northwest for a race that takes us around the southern end of Vancouver Island and up the west coast as we supply six lights. The leg starts in Victoria, and we sail into the open water of the Salish Sea. After making our way up the west coast we must go up the narrow channel to restock in Port Alberni. This is a TIMEDrace, so you may RE-REGISTER HERE to try again, after finishing a run. You will have 13 days and 11 hours to show your skill and decision making after the race opens.
Race #1809
INFO by brainaid.de
11 Metre OD PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking:
TRQ2 - TRCH - SUPSOL - SYC
RACE CLOSE: Saturday,
01 June at 23:00 UTC
Race starts: May 19th 12:00 Registration Open!
▶ Flash
GO TO RACE

Neumayer Station to Biscoe Wharf 2024

It’s Autumn now in Antarctica, the sun is permanently below the horizon, but during the day, from c 0900 to c 1700 local time, there is some twilight – nautical twilight, not to be confused with civil twilight which is brighter. The penguins are starting to huddle together to keep warm and the sea ice is growing. Time to get back to Biscoe Wharf then, before the water becomes impassible. Including a detour past Argentina’s main two Antarctic stations, it’s only 1900nm, so, although we’ll be in a hurry, we will take the bigger, better ice-classed Paratii 2 once more, just to be sure!
Race #1766
INFOby brainaid.de
Paratii 2 PARTICULARS
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: HLAT - SYC
RACE CLOSE: Thursday,
May 30 at 2300 UTC.
Race starts: May 13th 19:00 Registration Closed
▶ Flash
GO TO RACE

Melbourne to Osaka Prelude 2024

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 is planned to be held again in 2025, so this race is a Prelude in partnership with the Melbourne Osaka Cup 2025 organising committee collaborating with the Ocean Racing Club of Victoria (ORCV), and the Sandringham (SYC) and Osaka Hokko (OHYC) yacht clubs. On this occasion, we’ll be racing the well-known First 40, a popular size of boat for a long-distance double-handed race. With the doldrums unavoidably lying across the track, you can expect to be at virtual sea for at least a month!
Race #1798
INFO by brainaid.de
First 40 Particulars
WX Updates:
0430 / 1030 / 1630 / 2230
Ranking: SYC
RACE CLOSE: Monday,
May 27 at 2300 UTC.
Race starts: Apr 20th 00:00 Registration Closed
▶ Flash
GO TO RACE

Go to race archive

SYC Ranking

  1. Sailonline Yacht Club Member WRmirekd
  2. Sailonline Yacht Club Member FreyjaUSA
  3. Sailonline Yacht Club Member Vida_Maldita
  4. Sailonline Yacht Club Member TarassBoulba
  5. Sailonline Yacht Club Member Sax747
  6. Sailonline Yacht Club Member sassy63
  7. Sailonline Yacht Club Member rafa
  8. Sailonline Yacht Club Member CriticalHippo
  9. Sailonline Yacht Club Member CollegeFund
  10. Sailonline Yacht Club Member Siaki

View full list

Series

Mobile Client

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

The mobile client