101 enum phaseType { tpOff, tpRun, tpSpinUp, tpStart, tpTrim };
106 double GetPowerAvailable(
void)
const {
return (HP * hptoftlbssec); }
107 double GetRPM(
void)
const {
return RPM; }
108 double GetIeluThrottle(
void)
const {
return (ThrottlePos); }
109 bool GetIeluIntervent(
void)
const {
return Ielu_intervent; }
111 double Seek(
double* var,
double target,
double accel,
double decel);
112 double ExpSeek(
double* var,
double target,
double accel,
double decel);
114 phaseType GetPhase(
void)
const {
return phase; }
116 bool GetReversed(
void)
const {
return Reversed; }
117 bool GetCutoff(
void)
const {
return Cutoff; }
119 double GetN1(
void)
const {
return N1;}
120 double GetITT(
void)
const {
return Eng_ITT_degC;}
121 double GetEngStarting(
void)
const {
return EngStarting; }
123 double getOilPressure_psi ()
const {
return OilPressure_psi;}
126 inline bool GetGeneratorPower(
void)
const {
return GeneratorPower; }
127 inline int GetCondition(
void)
const {
return Condition; }
129 void SetPhase( phaseType p ) { phase = p; }
130 void SetReverse(
bool reversed) { Reversed = reversed; }
131 void SetCutoff(
bool cutoff) { Cutoff = cutoff; }
133 inline void SetGeneratorPower(
bool gp) { GeneratorPower=gp; }
134 inline void SetCondition(
bool c) { Condition=c; }
135 int InitRunning(
void);
136 std::string GetEngineLabels(
const std::string& delimiter);
137 std::string GetEngineValues(
const std::string& delimiter);
151 double OilPressure_psi;
154 double Ielu_max_torque;
158 double BetaRangeThrottleEnd;
159 double ReverseMaxPower;
161 double Idle_Max_Delay;
164 double MaxStartingTime;
167 double CombustionEfficiency;
175 double Eng_Temperature;
187 void SetDefaults(
void);
190 void Debug(
int from);
192 std::unique_ptr<FGTable> ITT_N1;
193 std::unique_ptr<FGTable> EnginePowerRPM_N1;
194 std::shared_ptr<FGParameter> EnginePowerVC;
195 std::unique_ptr<FGTable> CombustionEfficiency_N1;