JSBSim Flight Dynamics Model 1.2.2 (22 Mar 2025)
An Open Source Flight Dynamics and Control Software Library in C++
Loading...
Searching...
No Matches
FGSimplifiedTSFC Class Reference

Detailed Description

Definition at line 342 of file FGTurbine.h.

+ Inheritance diagram for FGSimplifiedTSFC:
+ Collaboration diagram for FGSimplifiedTSFC:

Public Member Functions

 FGSimplifiedTSFC (FGTurbine *_turb, double tsfcVal)
 
std::string GetName (void) const
 
double GetValue (void) const
 
- Public Member Functions inherited from FGParameter
double getDoubleValue (void) const
 
virtual bool IsConstant (void) const
 

Constructor & Destructor Documentation

◆ FGSimplifiedTSFC()

FGSimplifiedTSFC ( FGTurbine _turb,
double  tsfcVal 
)
inline

Definition at line 345 of file FGTurbine.h.

346 : turb(_turb), tsfc(tsfcVal) {}

Member Function Documentation

◆ GetName()

std::string GetName ( void  ) const
inlinevirtual

Implements FGParameter.

Definition at line 348 of file FGTurbine.h.

348{ return std::string(); }

◆ GetValue()

double GetValue ( void  ) const
inlinevirtual

Implements FGParameter.

Definition at line 350 of file FGTurbine.h.

350 {
351 // Correction/denormalisation for temp and thrust
352 double T = turb->in.Temperature;
353 double N2norm = turb->N2norm;
354 return tsfc * sqrt(T / 389.7) * (0.84 + (1 - N2norm) * (1 - N2norm));
355 }

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