Details of fuel consumption and AR pop decay |
Sat, 06 January 2018 13:54 |
|
mrvan | | Officer Cadet 1st Year | Messages: 220
Registered: May 2014 | |
|
I was playing a bit with fuel consumption and AR in-flight pop decay and somehow couldn't quite match the numbers I see in-game.
Assuming the following formula (from the wiki):
- fuel = weight/200 * distance * efficiency * (0.85 if IFE else 1)
It turns out I needed to make the following extra assumptions to make it work:
- distance is rounded UP (e.g. 79.1 -> 80)
- fractional distances larger than warp^2 are rounded DOWN (e.g. 81.54 -> 81)
- consumption per turn is rounded UP
- AR pop death happens BEFORE fuel consumption*, but the interface doesn't know this
Example 1: taking 2 medium freighters with fuel mizer and 420 pop 41.44 ly, real consumption is 171, but interface 'estimates' at 175.
Assuming weight = 138 + 420 - 12 (losses) = 408 and fuel efficiency 1.75 (warp 7 mizer)
ceil((138+420-12) / 200 * ceil(41.44) * 1.75 * 0.85) = 171
The interface seems to calculate without losses:
ceil((138+420) / 200 * ceil(41.44) * 1.75 * 0.85) = 175
Example 2: Taking the same fleet 64.56 ly actually consumes 350 fuel:
ceil((138+420-12) / 200 * floor(64.56) * 2.35 * 0.85) = 350
interface predicts 364, which seems to miss both rounding down 64.6 and the losses:
ceil((138+420) / 200 * ceil(64.56) * 2.35 * 0.85) = 364
It means that the interface fuel estimate cannot be trusted even for single year jumps for AR, which was new to me at least.
Not sure of all of this is known, and it might not be 100% correct, but this seems to make the formula match real world results on my test cases.
About AR pop death, it's obviously 3% rather than the 2% mentioned here [ https://wiki.starsautohost.org/wiki/AR_Guide_by_Leonard_Dick ens_-_Revised:_21st_September_2000]. However, I still don't quite understand why at 2200 colonists you don't lose one (22*.03=.66, 23*.03=.69), how is that rounded?
*) so it's not the warp itself that kills AR, but really their fear of the warp, a bit like in the I, Robot story -- although that doesn't explain why a stalled cheap engine doesn't kill...
[Updated on: Sat, 06 January 2018 13:54] Report message to a moderator
|
|
|
|
|
|
|
|