Jon Bernt writes:

I added this in last night to JSBSim. Don't know if it's correct or 
not, it
just "felt" right. Do you have something already in LaRCSim that 
we might
steal? Or is what I put in OK:

void FGPiston::doManifoldPressure(void)
{
  if (Running ) {
    ManifoldPressure_inHg = MinManifoldPressure_inHg +
            (Throttle * (MaxManifoldPressure_inHg -
             MinManifoldPressure_inHg));
  } else if (Cranking) {
    ManifoldPressure_inHg += dt*(ManifoldPressure_inHg -
                              MinManifoldPressure_inHg / 6.0)/2.0;
  } else {
    ManifoldPressure_inHg = 0.0;
  }
}

It was a quick and dirty fix. Comments?

Jon,

If its not running or cranking, manifold pressure = ambient (~29.92 
in HG), NOT zero.  (see LaRCsim)  

If its running or cranking leave it as it is.

There should be a better handling of the manifold pressure at 
different rpms (pressure drop across the throttle is mostly a 
function of throttle position, but partly a function of the flow rate 
past the throttle) - this is on my todo list.

Right now I'm wobbly after the Christmas Do so this is my last 
comment on this for a while.

Cheers - Dave

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to