These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Planetary Interaction API - How to work out extractor head output

Author
Celebrin Dragonheart
White Dragons
#1 - 2015-03-22 23:18:10 UTC  |  Edited by: Celebrin Dragonheart
Hey all,

I'm hoping someone can point out the obvious to me (as it's currently hiding somewhere and I feel I might be going down a very dark path with my code... Ugh)

I'm looking at the PI APIs and trying to work out the amount of a resource that an extractor will obtain from when it starts to when it depletes.

To do this I'm looking at the planetary pins and routing APIs but the numbers don't seem to make sense....


Let's start with the game client.

I have an extractor on a 3 day cycle extracting base metals. I have a link from said extractor to a warehouse.

According to the Eve client I can expect..

From the surveying program (after starting the program and then reopening the window to make sure I get actual results)
Per hour: 31,287
Total: 2,252,684

From the extractor head routing info
Routed: 116,104


According to the planetary pins API;
Cycle Time: 60
QuantityPerCycle: 16,126

So this should mean that I can work out the total amount by using duration / cycle time * quantity per cycle. This gives 1,161,072 so we be a bit short here :(

According to the planetary routing API;
Quantity: 116,104

So this matches what the API says - but can I use it for anything useful?


So alas I'm left with various numbers but none of them seem to correlate to anything useful.

The closest I've come is using what I am affectionately calling the fiddle factor.

This gives me;
duration / cycle time * quantity per cycle * fiddle factor = approximately the right amount.

The fiddle factor came from looking at a number of planets in Eve and comparing them to the API data and working out the percentage difference and averaging it. Not very scientific and no idea how reliable this would be with different cycle times/durations. The fiddle factor is approx. 1.94.


So I'm hoping someone out their is laughing at me and can say just use this value..... or is the fiddle factor the way to go :)

Thanks in advance!
Celebrin