
metadata
Hello all, I'm trying to reverse engineer the formulas for resource Extraction/Production, but to no avail.
My data is as follows, for Promision:
Iron Production: 127.0/s (12.76K/s tot)
Planet Iron Production bonus: x1.00
Extraction Rate: 2.00 (from online HoG Tools)
Mining Plants Built: 100
Geology Research Leve:l 20
Geology Production bonus: 21.2%
By looking at the numbers, it's easy to see that 127.0/s multiplied by 100 gives us 12.76K/s tot, which explains total Iron Production. But how to get the 127.0/s
If I try 2.00 (1+21.2%)^20 (compounded rate) it gives me 93.55/s
If I try 2.00 (1+21.2%20 (simple rate) it gives me 10.48/s
How do I get to 127.0/s


metadata
iron bonus from geology is not constant. i think it starts at 25% for level 1 and goes down 0.2% each subsequent level. at a certain level geology stops giving bonus to iron.
not all techs function this way, their bonuses are generally constant with some notable exceptions: meissner cells from electronics (which caps very fast) and steel from material science.


metadata
well, turns out i am very rust in math..so it took couple hours (shame :D ) but you can approximate the value of geology bonus to iron with a closed formula (instead of needing a big table in excel).
exp( ln(1+r+k) k/(1+r+k) * (n+1)/2  1/12 * (k/(1+r+k))^2 * (n+1)(2n+1)) )
with r = 0.25 and k = 0.002
n is the level
in your example it would give 63.7979 instead of the "true" 63.794. And of course, for higher levels you get a bigger error, cause this is just a second order approximation centered around 1 +r +k
probably dont need a formula for iron when you have 100+ levels anyway :P
edit: double that number cause you produce 2 iron for each mine, forgot :P
