47 #include "math/FGTable.h"
103 enum phaseType { tpOff, tpRun, tpSpinUp, tpStart, tpTrim };
108 double GetPowerAvailable(
void)
const {
return (HP * hptoftlbssec); }
109 double GetRPM(
void)
const {
return RPM; }
110 double GetIeluThrottle(
void)
const {
return (ThrottlePos); }
111 bool GetIeluIntervent(
void)
const {
return Ielu_intervent; }
113 double Seek(
double* var,
double target,
double accel,
double decel);
114 double ExpSeek(
double* var,
double target,
double accel,
double decel);
116 phaseType GetPhase(
void)
const {
return phase; }
118 bool GetReversed(
void)
const {
return Reversed; }
119 bool GetCutoff(
void)
const {
return Cutoff; }
121 double GetN1(
void)
const {
return N1;}
122 double GetITT(
void)
const {
return Eng_ITT_degC;}
123 double GetEngStarting(
void)
const {
return EngStarting; }
125 double getOilPressure_psi ()
const {
return OilPressure_psi;}
128 inline bool GetGeneratorPower(
void)
const {
return GeneratorPower; }
129 inline int GetCondition(
void)
const {
return Condition; }
131 void SetPhase( phaseType p ) { phase = p; }
132 void SetReverse(
bool reversed) { Reversed = reversed; }
133 void SetCutoff(
bool cutoff) { Cutoff = cutoff; }
135 inline void SetGeneratorPower(
bool gp) { GeneratorPower=gp; }
136 inline void SetCondition(
bool c) { Condition=c; }
137 int InitRunning(
void);
138 std::string GetEngineLabels(
const std::string& delimiter);
139 std::string GetEngineValues(
const std::string& delimiter);
153 double OilPressure_psi;
156 double Ielu_max_torque;
160 double BetaRangeThrottleEnd;
161 double ReverseMaxPower;
163 double Idle_Max_Delay;
166 double MaxStartingTime;
169 double CombustionEfficiency;
177 double Eng_Temperature;
189 void SetDefaults(
void);
192 void Debug(
int from);
197 FGTable* CombustionEfficiency_N1;