class Engine


Public Methods

[more] Engine()
[more] ~Engine()
[more]inline void setName(const string &n)
[more]inline string getName() const
[more]inline void setPosition(const Vector3D &pos)
[more]inline void setDirection(const Vector3D &dir)
[more]inline Vector3D getPosition() const
[more]inline Vector3D getDirection() const
[more]void Compute(double dT, double M, double h, double deltaT_commanded)
This method computes the thrust and TSFC for current t
[more]inline double getThrust() const
[more]virtual int LoadXML(char* file_name)
double getTSFC() const {return TSFC;}
[more]virtual int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
[more]virtual int LoadXMLdatafile(char* file_name)
[more]virtual int ParseXMLdatafile(xmlDocPtr doc, xmlNodePtr cur)
[more]void OutProperties() const

Private Fields

[more]string name
[more]Vector3D Position
[more]Vector3D Direction
[more]Table3 thrust_table
[more]Function01 Tc
Curve T_constant; // wit table or with bezier?
[more]Lag lag
Time constant for lead-lag.
[more]double deltaT_comm
lag to simulate inertia in response.
[more]double deltaT_effec
commanded %thrust (value to achieve).
[more]double Thrust
effective (actual) %thrust.


Documentation

o Engine()

o ~Engine()

oinline void setName(const string &n)

oinline string getName() const

oinline void setPosition(const Vector3D &pos)

oinline void setDirection(const Vector3D &dir)

oinline Vector3D getPosition() const

oinline Vector3D getDirection() const

ovoid Compute(double dT, double M, double h, double deltaT_commanded)
This method computes the thrust and TSFC for current t

oinline double getThrust() const

ovirtual int LoadXML(char* file_name)
double getTSFC() const {return TSFC;}

ovirtual int ParseXML(xmlDocPtr doc, xmlNodePtr cur)

ovirtual int LoadXMLdatafile(char* file_name)

ovirtual int ParseXMLdatafile(xmlDocPtr doc, xmlNodePtr cur)

ovoid OutProperties() const

ostring name

oVector3D Position

oVector3D Direction

oTable3 thrust_table

oFunction01 Tc
Curve T_constant; wit table or with bezier?

oLag lag
Time constant for lead-lag. Tc=Tc(%RPM)

odouble deltaT_comm
lag to simulate inertia in response. This is the same of control library, but here used to model physic phenomena

odouble deltaT_effec
commanded %thrust (value to achieve). The input of lag.

odouble Thrust
effective (actual) %thrust. The output of lag


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.