virtual TurbineEngine* isTurbineEngine() { return this; }
TurbineEngine(float power, float omega, float alt, float flatRating);
- void setN2Range(float min, float max) { _n2Min = min; _n2Max = max; }
+ void setN2Range(float low_idle, float high_idle, float max) {
+ _n2LowIdle = low_idle;
+ _n2HighIdle = high_idle;
+ _n2Max = max;
+ }
void setFuelConsumption(float bsfc) { _bsfc = bsfc; }
virtual void calc(float pressure, float temp, float speed);
float _flatRating;
float _rho0;
float _bsfc; // SI units! kg/s per watt
- float _n2Min;
+ float _n2LowIdle;
+ float _n2HighIdle;
float _n2Max;
+ float _n2Min;
float _n2Target;
- float _torqueTarget;
- float _fuelFlowTarget;
+ //float _torqueTarget;
+ //float _fuelFlowTarget;
float _n2;
float _rho;