FGTurboProp Class Reference

#include <FGTurboProp.h>

Inherits FGEngine.

List of all members.


Detailed Description

For an example of this model in use see the file: engine/engtm601.xml

Configuration parameters:

milthrust   [LBS]
idlen1      [%]
maxn1       [%]
betarangeend[%]
    if ThrottleCmd < betarangeend/100.0 then engine power=idle, propeller pitch
    is controled by ThrottleCmd (between MINPITCH and  REVERSEPITCH).
    if ThrottleCmd > betarangeend/100.0 then engine power increases up to max reverse power
reversemaxpower [%]
    max engine power in reverse mode
maxpower    [HP]
psfc power specific fuel consumption [pph/HP] for N1=100%
n1idle_max_delay [-] time constant for N1 change
maxstartenginetime [sec]
    after this time the automatic starting cycle is interrupted when the engine
    doesn't start (0=automatic starting not present)
startern1   [%]
    when starting starter spin up engine to this spin
ielumaxtorque [lb.ft]
    if torque>ielumaxtorque limiters decrease the throttle
    (ielu = Integrated Electronic Limiter Unit)
itt_delay [-] time constant for ITT change
    (ITT = Inter Turbine Temperature)

Definition at line 94 of file FGTurboProp.h.


Public Types

enum  phaseType {
  tpOff, tpRun, tpSpinUp, tpStart,
  tpStall, tpSeize, tpTrim
}

Public Member Functions

double CalcFuelNeed (void)
 The fuel need is calculated based on power levels and flow rate for that power level.
double Calculate (void)
 Calculates the thrust of the engine, and other engine functions.
double ExpSeek (double *var, double target, double accel, double decel)
 FGTurboProp (FGFDMExec *Executive, Element *el, int engine_number)
 Constructor.
int GetCondition (void) const
bool GetCutoff (void) const
string GetEngineLabels (string delimeter)
string GetEngineValues (string delimeter)
double GetEngStarting (void) const
double GetEPR (void) const
bool GetFire (void) const
bool GetGeneratorPower (void) const
bool GetIeluIntervent (void) const
int GetIgnition (void) const
double GetInlet (void) const
double GetITT (void) const
double GetN1 (void) const
double GetN2 (void) const
double GetNozzle (void) const
double getOilPressure_psi () const
double getOilTemp_degF (void)
bool GetOvertemp (void) const
phaseType GetPhase (void) const
double GetPowerAvailable (void) const
double GetPowerAvailable_HP (void) const
double GetPropRPM (void) const
bool GetReversed (void) const
double GetThrottleCmd (void) const
int InitRunning (void)
double Seek (double *var, double target, double accel, double decel)
void SetCondition (bool c)
void SetCutoff (bool cutoff)
void SetEPR (double epr)
void SetGeneratorPower (bool gp)
void SetIgnition (int ignition)
void SetPhase (phaseType p)
void SetReverse (bool reversed)
 ~FGTurboProp ()
 Destructor.

Constructor & Destructor Documentation

FGTurboProp ( FGFDMExec Executive,
Element el,
int  engine_number 
)

Parameters:
Executive pointer to executive structure
el pointer to the XML element representing the turbine engine
engine_number engine number

Definition at line 59 of file FGTurboProp.cpp.


Member Function Documentation

double CalcFuelNeed ( void   )  [virtual]

It is also turned from a rate into an actual amount (pounds) by multiplying it by the delta T and the rate.

Returns:
Total fuel requirement for this engine in pounds.

Reimplemented from FGEngine.

Definition at line 400 of file FGTurboProp.cpp.

double Calculate ( void   )  [virtual]

Returns:
Thrust in pounds

Reimplemented from FGEngine.

Definition at line 158 of file FGTurboProp.cpp.


The documentation for this class was generated from the following files:

Generated on Tue May 26 00:55:13 2009 for JSBSim Flight Dynamics Model by  doxygen 1.5.5