ok, happy news!
i've succeeded in my first trial of simulating the engine thrust-altitude-mach envelopes :thumbup:
i figured instead of running complicated calculations and whatnot, i could just use a calibrated lookup table with value pairs for sample positions, then interpolate the in-betweens (it's like how the eletronic injection in your car works :hmm
this allows for finer tuning of the dynamics as well...
for instance, look at this mess:
Code:
int MainEff_MachAlt[8][8] =
/* AGL */ {{ 75, 70, 65, 50, 0, 0 },
/* */
/* 4k */ { 60, 72, 75, 52, 10, 0 },
/* 8k */ { 50, 90, 78, 62, 35, 10 },
/* 12k */ { 45, 60, 95, 80, 50, 25 },
/* 16k */ { 30, 55, 90, 95, 85, 45 },
/* 20k */ { 10, 30, 65, 78, 70, 55 }};
// MACH 0 .5 .1 1.5 2 2.5
that ball of apparent nonsense, is the sample matrix for how the main engines react to mach and altitude, expressed in efficiency percent...
how realistic this is, you tell me :shifty:
the values there are roughly based on a NASA engine simulator applet....
i have another similar table for the engine compressor temperatures... i've tuned it to kinda correspond to the efficiency curve, as the compressor heats up, it's efficiency decays, thus, less thrust...
there'll be other tables for the RAMCASTER in both Hi and Low setups, and finally, once in internal-O2 mode, i'll just default to the stock Isp simulation thingy....
getting 'er up to space will require careful managing of the engines...
think of it like changing gears in your car, you don't ride the first gear into a highway, right? just like you don't drive off from stopped in the 5th gear either...
similarly, if you try to ride the main engines over mach 3, they'll overheat and stall... or fly it too high, then pressure drops and down she goes
i think i'll have someone more math-savvy than myself have a look at the tables later... any volunteers?
now i'm still thinking the details for the engine-switch procedures... i want it to be more fun than just flipping a switch:hmm:
i'm not uploading any WIPs just yet because now it's kinda impossible to fly... i'll have it tuned up some more then i'll release another sneak-peek