Archived from groups: alt.games.vgaplanets4 (
More info?)
The calculation should hold even is the distance needs more than one turn...
"Gabor Törö" <gfm@gtoeroe.de> schrieb im Newsbeitrag news:d5r13h$l88$00$1@news.t-online.com...
> Björn and Dave fighting a light saber duel...in the meanwhile I'm trying to guess:
>
> Call DF(s) the change in fuel after travelling a distance of s.
> Call F(s) the amount of fuel in the ships's tank after traveling a distance of s
> Call M(s) the net tonnage after traveling a distance of s and assume no cargo leaves or enters the ship on its way.
> Call H the mass of the ship include all cargo but excluded the fuel. We have M(s)=H+F(s)
> Call q(v) the amount of fuel burned at given speed v per kT net tonnage and travelled lj.
>
> Then dF/ds = - q(v) M(s) = -q(v) ( H+F(s) ) or dF(s) / ( H+F(s) ) = - q(v) ds
>
> The solution is F(s) = ( H + F(0) ) Exp[-q(v) s] - H. Minus F(0) on both sides yields
>
> DF(s)= M(0) ( Exp[-q(v)s] - 1 )
>
> For small q(v) one can use the first estimation of the taylor series which leads to
>
> DF(s) = - q(v) M(0) s
>
>
> So for small values of q(v) s one can use a simple formula to calculate the fuel change.
>
> On the other side at max one can have
>
> -F(0)=M(0) (Exp[-q(v) smax] -1) = (H+F(0)) (Exp[-q(v) smax] -1) which leads to
>
> sMax = 1/q(v) ln[1+F(0)/H]
>
> For small values of F(0)/H one can again use the first order terms:
>
> sMax = 1/q(v) F(0)/H
> ________________________________________________________________
> Summary:
>
> Usage:
>
> DF(s)= M(0) ( Exp[-q(v)s] - 1 )
> DF(s) = - q(v) M(0) s
>
> Range:
>
> sMax = 1/q(v) ln[1+F(0)/H]
> sMax = 1/q(v) F(0)/H
>
> What is left ist q(v).
>
> From the help files:
>
> MaxV = Maximum Speed (of the engines)
>
> vC-K = Fuel Burn to move 1000 kt of ship at maximum speed a distance of 100 ly
>
> vC/2 - K = Fuel Burn to move 1000 kt of ship at one half maximum speed a distance of 100 ly
>
> vC/4 - K = Fuel Burn to move 1000 kt of ship at one quarter maximum speed a distance of 100 ly
>
>
> Let us introduce B(0)=vC-k / 100,000 kTlj, B(1)=vC/2-k / 100,000 kTlj and B(2)=vC/4-k / 100,000 kTlj
>
> Looking at the burn profile of the engines ( press F5 in the client and select the engines) one sees that q(v) is of the form
>
> q(v) = B(i) ( 2^i v/MaxV) ^2 * warpdrag factor/100 * (100% - PMBonus) (exotech)
>
> in the intervals [0, MaxV/4] (MaxV/4, MaxV/2] and (MaxV/2,MaxV]
> which are choosed as i takes the values 0,1 and 2.
>
> Now we have all to explain the display of fuel usage in the client for normal movement. First to know is that the client shows
> the usage for the next turn at given speed.
>
> Let's take a LDSF of weight 4735kT with fuel of 579 at speed 90 with FTL-5 for a distance of 44. The client displays a burn of
23
> and we have no exotechs.
>
> FTL-5 vC-K = 50 MaxV= 120 Warpdrag= 40
>
> q(90)=B(0)(2^0 * (90/120))^2*40/100 * 100% =50/100,000*9/16*0.4 = 0,0001125
>
>
> "Exact":
> DF(44)= 4735 * (Exp[-0,0001125*44]-1)=-23,4
> "Linear":
> DF(44)= -4735*0,0001125*44= -23,4
>
> And now the range:
>
> sMax = 1/0,0001125 * ln[1+579/(4735-579)] =1159
> or
> sMax = 1/0,0001125 * 579/(4735-579) = 1238
>
> So for long range travelling I would take the exact formula.
>
> I guess the for ships with a high warp drag factor and ships with a huge fuel tank one could mess up with the clients display
> when fueling the ship due to the client's display.
>
> GFM GToeroe
>
> BTW: Nameless I know the host hacks the movement into a discrete one of 200 single steps where then a discrete sum is needed
> rather than a continuous integral. But this here came at first into my mind and I could write down it immediately as I have
> already made this calculation in the past in a neighboured subject.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> "nospam" <j_schwarze_@freenet.de> schrieb im Newsbeitrag news:4278d992$0$3949$9b622d9e@news.freenet.de...
> > nuffersp@yahoo.com schrieb:
> > > I'm playing the Solorians for the first time. They definelty have fuel
> > > problems in the beginning of the game.
> > >
> > > I'm trying to calculate how much fuel is needed to travel ~300 lyrs
> > > away using Warp and the Corona with FTL-3.
> > >
> > > Setting WP1 only I saw the following:
> > >
> > > Distance Fuel Usage
> > > 305 1548
> > > 127 1548
> > >
> > > Both distances are showing the same amount of fuel. Can anyone explain
> > > this?
> > >
> > > I am also finding that Solorians wings show more gas then wings can
> > > hold.
> > >
> > > Have the latest client as well as race pack. eg. fuel of 50/11 for a
> > > 9/0/1 Wing
> > >
> > > Porthos
> >
> > The client show only the fuel used in the first turn and only calculate
> > with the mass the ship have before any action (transfer, ..) happens.
> >
> > And in my feeling, not sure about, it seems that the host subtracts the
> > fuel at the end of turn using the speed, length of the way and the
> > actual mass (at the end of turn) to calculate it.
> >
> > Have seen the same with other races wings (RCS), but that at mixed wings
> > and the fighter can share their fuel. My poor T1 wings show the correct
> > fuel.
> > Oopps, see that pure Bird wings of the Typ 3 have fuel of 200 but only a
> > range / speed of 150 (before some time that was equal to the fuel). See
> > no corresponding stat which have to do with the fuel there.
> > Bug ???
> >
> > Hope it helps.
> >
> > Bye-Bye JoSch.
>