# Calculating PI Decay

**URL:** <https://forums.eveonline.com/t/calculating-pi-decay/188026>\
**Category:** Science & Industry\
**Tags:** planet-interaction\
**Created:** [September 5, 2019, 8:34pm UTC](https://forums.eveonline.com/t/calculating-pi-decay/188026 "2019-09-05T20:34:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![snipereagle1](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/snipereagle1/32/410299_2.png) [@snipereagle1](https://forums.eveonline.com/u/snipereagle1)\
**Post date:** [September 5, 2019, 8:34pm UTC](https://forums.eveonline.com/t/calculating-pi-decay/188026/1 "2019-09-05T20:34:50Z")

</div>

Does anyone know how you calculate the “decay” for PI cycles? the neocom iOS app does this quite nicely, and there’s a curve to the values:  
 ![image](https://global.discourse-cdn.com/eveonline/original/3X/3/a/3a3d6af3fcd89240a8b7d1c11b6851d1cf58dc8d.png)  
what i currently have looks like this:

 ![image](https://global.discourse-cdn.com/eveonline/original/3X/f/9/f9153b4c8d8cc365bed58cb2f9da73dd2264b2cd.png)  
it is depicting remaining extraction / cycle vs. the neocom one which depicts extraction amount / hr

each 30 min cycle i do `totalExtraction - (qty_per_cycle * cycleNumber)` to get the value. Each purple bar represents a 30 min cycle.  
as i understand it, the earlier cycles in an extraction schedule pull more. I’m not sure how I would calculate extraction rate / hr based on what comes back from ESI.

---

<div class="post-metadata">

**Author:** ![Gerard\_Amatin](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/gerard_amatin/32/481361_2.png) [@Gerard\_Amatin](https://forums.eveonline.com/u/Gerard_Amatin)\
**Post date:** [September 5, 2019, 10:03pm UTC](https://forums.eveonline.com/t/calculating-pi-decay/188026/2 "2019-09-05T22:03:04Z")

</div>

Try fitting it as an exponentially decaying line and not a linear decay.

As you noticed, there is a curve to the values: you’re not pulling a constant amount, but a decreasing amount that goes down as the total amount of resources available deminishes.

Or the easy way: just set up your planets and keep track of the amount you’re pulling. Or use the linear decaying line and keep in mind it may give answers that are too high for short periods and too low for higher periods. 😉

---

<div class="post-metadata">

**Author:** ![Do\_Little](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/do_little/32/411571_2.png) [@Do\_Little](https://forums.eveonline.com/u/Do_Little)\
**Post date:** [September 6, 2019, 8:05am UTC](https://forums.eveonline.com/t/calculating-pi-decay/188026/3 "2019-09-06T08:05:10Z")

</div>

Also bear in mind that this is an estimate based on current conditions. You may be competing with other players for that resource.

---

<div class="post-metadata">

**Author:** ![Anderson\_Geten](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/anderson_geten/32/390041_2.png) [@Anderson\_Geten](https://forums.eveonline.com/u/Anderson_Geten)\
**Post date:** [September 6, 2019, 11:52am UTC](https://forums.eveonline.com/t/calculating-pi-decay/188026/4 "2019-09-06T11:52:43Z")

</div>

> [@Gerard\_Amatin](#):
>
> Try fitting it as an exponentially decaying line and not a linear decay.

if it was exponential, the ratio from “start” to the white line, which is circa 0.5, would be the same that the ratio from white line to end, which is actually 2/3

hmm have you tried putting the local exceptions back in the average value ? without numbers it’s hard to make the curve.

---

<div class="post-metadata">

**Author:** ![snipereagle1](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/snipereagle1/32/410299_2.png) [@snipereagle1](https://forums.eveonline.com/u/snipereagle1)\
**Post date:** [September 6, 2019, 7:30pm UTC](https://forums.eveonline.com/t/calculating-pi-decay/188026/5 "2019-09-06T19:30:18Z")

</div>

I’m totally ok with an “ish” number vs. a hard calc. I’m just at a loss as to how to calculate the hourly extraction amount which decays over time. I realized after posting that my chart was not showing the same data.

---

<div class="post-metadata">

**Author:** ![Anderson\_Geten](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/anderson_geten/32/390041_2.png) [@Anderson\_Geten](https://forums.eveonline.com/u/Anderson_Geten)\
**Post date:** [September 6, 2019, 7:53pm UTC](https://forums.eveonline.com/t/calculating-pi-decay/188026/6 "2019-09-06T19:53:46Z")

</div>

looking at your image,  
vertical bar number : size of the column in pixels  
0 : 104  
1 : 88  
2 : noise  
3 : noise  
4 : 60  
5 : 54  
6 : noise  
7 : noise  
8 : noise  
9 : 40

regression in the form of f(x) = f(0)/(1+bx) is almost perfect with b=0.18  
so if each bar is 2 hours long, that means

extraction(h) =extraction(0)/(1+0.09h)

however it does not consider the noises.

---

<div class="post-metadata">

**Author:** ![snipereagle1](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/snipereagle1/32/410299_2.png) [@snipereagle1](https://forums.eveonline.com/u/snipereagle1)\
**Post date:** [September 7, 2019, 3:11am UTC](https://forums.eveonline.com/t/calculating-pi-decay/188026/7 "2019-09-07T03:11:16Z")

</div>

awesome, thanks!

 ![image](https://global.discourse-cdn.com/eveonline/original/3X/5/4/542b5f2a4c22591ea0abc1aadd7b0705b7995903.png)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [December 6, 2019, 3:11am UTC](https://forums.eveonline.com/t/calculating-pi-decay/188026/8 "2019-12-06T03:11:18Z")

</div>

Closed on December 6, 2019, 3:11am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
