[FIXED B729] Why use only one tanker for refueling?

Take command of air and naval assets from post-WW2 to the near future in tactical and operational scale, complete with historical and hypothetical scenarios and an integrated scenario editor.

Moderator: MOD_Command

Post Reply
User avatar
wild_Willie2
Posts: 2934
Joined: Fri Oct 08, 2004 10:33 am
Location: Arnhem (holland) yes a bridge to far...

[FIXED B729] Why use only one tanker for refueling?

Post by wild_Willie2 »

Hi there,

I am just wondering why all AC will try to refuel at the same tanker while there are three other tankers flying in the same formation? They are all waiting their turn on this single tanker and this takes a lot of time, especially if multiple groups try to refuel at the same time. Can somebody please explain me the logic behind this?

W.

In vinum illic est sapientia , in matera illic est vires , in aqua illic es bacteria.

In wine there is wisdom, in beer there is strength, in water there are bacteria.
Rongor
Posts: 451
Joined: Tue Mar 25, 2014 7:35 am
Contact:

RE: Why use only one tanker for refueling?

Post by Rongor »

Just a wild guess: they choose the one with the least remaining time on station available?
mikeCK
Posts: 565
Joined: Tue May 20, 2008 3:26 pm

RE: Why use only one tanker for refueling?

Post by mikeCK »

Maybe it's a simple as each aircraft chooses the closest refueler. Doesn't matter if there are 15 planes there because each plane acts independently?
Dimitris
Posts: 14792
Joined: Sun Jul 31, 2005 10:29 am
Contact:

RE: Why use only one tanker for refueling?

Post by Dimitris »

Save?
User avatar
wild_Willie2
Posts: 2934
Joined: Fri Oct 08, 2004 10:33 am
Location: Arnhem (holland) yes a bridge to far...

RE: Why use only one tanker for refueling?

Post by wild_Willie2 »

Here you go, a save where 61 Hornets are all trying to refuel from the same tanker (there is a cue of 60 Hornets for a single tanker) while there are 24 other tankers available in the tanker formation.

W.
Attachments
tankertroubles.zip
(213.3 KiB) Downloaded 16 times
In vinum illic est sapientia , in matera illic est vires , in aqua illic es bacteria.

In wine there is wisdom, in beer there is strength, in water there are bacteria.
User avatar
BradOrbital
Posts: 323
Joined: Wed Jul 17, 2013 1:12 pm

RE: Why use only one tanker for refueling?

Post by BradOrbital »

Reminds me of my local fuel station whenever the fuel price rises ha!
User avatar
wild_Willie2
Posts: 2934
Joined: Fri Oct 08, 2004 10:33 am
Location: Arnhem (holland) yes a bridge to far...

RE: Why use only one tanker for refueling?

Post by wild_Willie2 »

If you live in the US you really cant complain about gas prices, in the Netherlands we pay 1.60€ per liter, this would be $6.64 per gallon for you Yanks ;)

W.
In vinum illic est sapientia , in matera illic est vires , in aqua illic es bacteria.

In wine there is wisdom, in beer there is strength, in water there are bacteria.
VilleYrjola
Posts: 115
Joined: Wed Dec 09, 2009 10:25 am

RE: Why use only one tanker for refueling?

Post by VilleYrjola »

HA, I thought that Finland was only place with over 1,6 euros per liter.
MrOrange
Posts: 39
Joined: Fri Aug 07, 2015 7:36 am

RE: Why use only one tanker for refueling?

Post by MrOrange »

Italy.
Welcome to the club. [:)]
User avatar
Sakai007
Posts: 139
Joined: Mon Mar 12, 2012 1:17 am
Contact:

RE: Why use only one tanker for refueling?

Post by Sakai007 »

lol, yep i am all done whining about gas prices, thanks for that! Gonna bring this up too the next time someone complains about the gas prices around these parts.
When in Doubt, Charlie out!!
mikmykWS
Posts: 7185
Joined: Tue Mar 22, 2005 4:34 pm

RE: Why use only one tanker for refueling?

Post by mikmykWS »

Buy a hybrid [:)]

Mike
Dimitris
Posts: 14792
Joined: Sun Jul 31, 2005 10:29 am
Contact:

RE: Why use only one tanker for refueling?

Post by Dimitris »

Okay, looking at this now.

First thought: A 61-AC Hornet group? [X(][X(][X(]

Second thought: A 25-AC tanker group? [X(]

I broke up both groups, ordered all Hornets to refuel and sure enough they dispersed and queued up after multiple tankers.

Nothing stops you from pushing the refueling mechanics & AI past the edge of sanity, but don't complain if the sim throws it hands in the air when you do.

Note: This doesn't mean the tanker-selection logic cannot be improved; I'll elaborate below.
Dimitris
Posts: 14792
Joined: Sun Jul 31, 2005 10:29 am
Contact:

RE: Why use only one tanker for refueling?

Post by Dimitris »

Okay, a bit of backtrack and history is necessary.

When we first worked on the refuelling priority logic, we went with the simple round-robin principle: Load-balance incoming thirsty aircraft between available tankers. Nice and simple.

This worked fine if all you had was a single tanker orbit area. It became problematic in situations where you have multiple tanker orbits widely separated (e.g. in the scenario "Shamal" IIRC). Planes started wandering off to far-flung tankers simply because these were less occupied, often going wildly off course. Carefully planned ingress legs degenerated to chaos. Bad.

So then we switched to a scheme which gave much more emphasis on tanker proximity. Refuelling queue size still mattered, but now planes were much more reluctant to go out of their way to hook up with a less busy tanker. This has worked much better so far, and is reasonably graceful against tanker withdraws (if a tanker RTBs, it automatically is removed from all best-pick calculations).

However, as your test setup demonstrates well (the jaw-dropping monstrosity of 60-plane groups notwithstanding), the existing logic is vulnerable to abrupt surges in refuel requests. Once I broke up the plane groups and ordered all Hornets to refuel at once, they scattered about and picked the less busy tankers in proximity, as expected. However, the nearest tankers were overwhelmed and outliers (in distance) were not utilized enough. The result was that a few of the Hornets ran out of fuel before they could be serviced.

So I added an extra wrinkle, to prioritize by estimated waiting time. So now when the thirsty aircraft asks around for available tankers, each candidate tanker returns an estimate of how much time will pass before it is able to start refuelling the requester. By necessity this estimate is crude (e.g. each "client" on the existing refuelling queue is assumed that it will receive a full top-up load, the connection type and thus transfer rate [and thus time to refuel] is a best-guess that may or may not hold true at the actual hookup etc.) but still provides a reasonable prognosis. This figure is also compared with the estimated time to actually get to the tanker; a faraway tanker may be very busy right now but may have finished servicing its queue by the time the requester gets there.

Applying this logic to the test scenario, all Hornets made good tanker picks and all tankers were utilized. No aircraft ran out of fuel.

Added in Build 729.
User avatar
wild_Willie2
Posts: 2934
Joined: Fri Oct 08, 2004 10:33 am
Location: Arnhem (holland) yes a bridge to far...

RE: Why use only one tanker for refueling?

Post by wild_Willie2 »

Thanks for the fix, this will make refueling of medium to large groups of AC go so much smoother in game.
The test scenario was specifically designed to show the scope of this issue, therefore I used a group of 60 AC v. a group of 25 tankers.
Although this scenario would never happen IRL., it did show the problem clearly.

Keep up the good work.

With regards.

William.
In vinum illic est sapientia , in matera illic est vires , in aqua illic es bacteria.

In wine there is wisdom, in beer there is strength, in water there are bacteria.
Post Reply

Return to “Command: Modern Operations series”