calculating change in eccentricity

It's really not on topic either, but I just noticed that I have no Idea how to calculate fuel consumption per second (in kg) for a given engine. Neither do I seem to be able to find it on the net...



I think it's Thrust/(Isp*g0)
Thrust is in Newtons.
Isp is in seconds. (as with Orbiter)
g0 is acceleration due to gravity at the surface of Earth (9.8m/s/s)
 
Thanks, that will come in handy.

Right now, I have run into a rather nasty problem completely unrelated with any math... The kost-datatypes and orbiter datatypes seem to have trouble getting along. Allthough the compiler doesn't complain about using kostElements and ELEMENTS interchangabely, Orbiter seems to mind a big deal and reacts with a just-in-time debug error and subsequent ctd.

The same happens even if I want to copy the types manualy (like, kostElements.e = ELEMENTS.e, same goes for the parameters). Orbiter seems unable to even convert a double into kost real, the same jit-debug error occurs. Any Idea what I'm missing?

there seems to be no problem with calling kost functions etc, but everytime I'm trying to get the orbital elements over from Orbiter to kost, disaster ensues...
 
Have a look at defines in the file KOST\examples\KOST_Orbiter\kost_settings.h. They will make the KOST types compatible with the Orbiter types.
 
I included the files from the kost-Orbiter sample. Defines in cost_settings.h look fine, and as I said, the compiler doesn't complain. I'm still using VS2005, but I don't think that could have anything to do with it?
 
It seems a strange one because the way it should compile it does not need to convert from a double to a kostReal - a double is a kostReal. Weird...
 
Back
Top