Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » The Academy » Details of fuel consumption and AR pop decay
Details of fuel consumption and AR pop decay Sat, 06 January 2018 13:54 Go to next message
mrvan is currently offline mrvan

 
Chief Warrant Officer 1

Messages: 140
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

Re: Details of fuel consumption and AR pop decay Tue, 16 January 2018 08:19 Go to previous message
XAPBob is currently offline XAPBob

 
Lt. Commander

Messages: 906
Registered: August 2012
Does that work for IS as well (i.e. pop change before fuel consumption calculated)?

Report message to a moderator

Previous Topic: 3 neat tricks for bombing/invasion and gathering intel
Next Topic: Miniaturization
Goto Forum:
  


Current Time: Tue Jan 23 12:55:21 EST 2018