1
0
Fork 0

Force fuel flow to zero when the engine isn't running.

This commit is contained in:
andy 2005-11-06 17:11:50 +00:00
parent 63f5947afc
commit 55ab973df1

View file

@ -30,7 +30,7 @@ void TurbineEngine::setOutputFromN2()
{
float frac = (_n2 - _n2Min) / (_n2Max - _n2Min);
_torque = frac * _maxTorque * (_rho / _rho0);
_fuelFlow = _bsfc * _torque * _omega;
_fuelFlow = _running ? _bsfc * _torque * _omega : 0;
}
void TurbineEngine::stabilize()