|
WSF
|
#include <WsfSixDOF_JetEngine.hpp>


Public Member Functions | |
| JetEngine (ThrustProducerObject *aParentObject) | |
| ~JetEngine ()=default | |
| JetEngine & | operator= (const JetEngine &other)=delete |
| bool | ProcessInput (UtInput &aInput, TypeManager *aTypeManager) override |
| bool | Initialize (int64_t aSimTime_nanosec) override |
| Engine * | Clone () const override |
| void | DeriveFrom (const Engine *aSrc) override |
| void | InjectFuel (bool aInjectFuel) |
| double | GetEnginePercentRPM () const |
| double | GetNozzlePosition () const |
| double | GetFuelBurnRate_pph () const override |
| double | GetMaximumPotentialThrust_lbs (double aAlt_ft, double aDynPress_lbsqft, double aStatPress_lbssqft, double aSpeed_fps, double aMach, double aAlpha_rad, double aBeta_rad) override |
| double | GetMinimumPotentialThrust_lbs (double aAlt_ft, double aDynPress_lbsqft, double aStatPress_lbssqft, double aSpeed_fps, double aMach, double aAlpha_rad, double aBeta_rad) override |
| void | SetThrottlePosition (double aThrottleLeverPosition) override |
| double | GetThrottlePosition () const override |
| void | Ignite (int64_t aIgniteTimeInFrame_nanosec) override |
| void | Shutdown (int64_t aTerminateTime_nanosec=0) override |
| Public Member Functions inherited from wsf::six_dof::Engine | |
| Engine (ThrustProducerObject *aParentObject) | |
| virtual | ~Engine ()=default |
| Engine & | operator= (const Engine &other)=delete |
| ThrustProducerObject * | GetParentThrustProducer () |
| void | SetParentThrustProducer (ThrustProducerObject *aThrustProducerPtr) |
| double | GetThrust_lbs () const |
| void | CalculateThrust (double aDeltaT_sec, double aAlt_ft, double aDynPress_lbsqft, double aStatPress_lbssqft, double aSpeed_fps, double aMach, double aAlpha_rad, double aBeta_rad, double &aForce_lbs, double &aFuelBurnRate_pps, double &aFuelBurned_lbs) |
| void | UpdateThrust (double aDeltaT_sec, double aAlt_ft, double aDynPress_lbsqft, double aStatPress_lbssqft, double aSpeed_fps, double aMach, double aAlpha_rad, double aBeta_rad, double &aForce_lbs, double &aFuelBurnRate_pps, double &aFuelBurned_lbs) |
| bool | CheckCurrentFuelTank () |
| virtual bool | SetFuelTank (const std::string &aFuelTankName) |
| const FuelTank * | GetFuelTank () const |
| bool | EngineOperating () const |
| virtual bool | MayHaveEngineOperating () const |
| virtual bool | MayProduceEngineSmoke () const |
| virtual bool | MayContrail () const |
| bool | ProducingSmokeTrail () const |
| virtual bool | MayProduceSmokeTrail () const |
| bool | AfterburnerOn () const |
| bool | Contrailing () const |
| bool | EngineSmoking () const |
| void | MakeEngineSmoke (bool aSmoking) |
| virtual bool | AfterburnerIsPresent () const |
Protected Member Functions | |
| JetEngine (const JetEngine &aSrc) | |
| void | CalculateThrust (double aDeltaT_sec, double aAlt_ft, double aDynPress_lbsqft, double aStatPress_lbssqft, double aSpeed_fps, double aMach, double aAlpha_rad, double aBeta_rad, double &aForce_lbs, double &aFuelBurnRate_pps, double &aFuelBurned_lbs, bool aUpdateData) override |
| bool | DetermineIfAfterburnerIsPresent () |
| Protected Member Functions inherited from wsf::six_dof::Engine | |
| Engine (const Engine &aSrc) | |
Protected Attributes | |
| double | mThrottleLeverPosition = 0.0 |
| UtCloneablePtr< UtTable::Curve > | mIdleThrustTable {nullptr} |
| UtCloneablePtr< UtTable::Curve > | mMilThrustTable {nullptr} |
| UtCloneablePtr< UtTable::Curve > | mABThrustTable {nullptr} |
| UtCloneablePtr< UtTable::Table > | mIdleThrustMachAltTable {nullptr} |
| UtCloneablePtr< UtTable::Table > | mMilThrustMachAltTable {nullptr} |
| UtCloneablePtr< UtTable::Table > | mABThrustMachAltTable {nullptr} |
| UtCloneablePtr< UtTable::Table > | mIdleThrustAltMachTable {nullptr} |
| UtCloneablePtr< UtTable::Table > | mMilThrustAltMachTable {nullptr} |
| UtCloneablePtr< UtTable::Table > | mABThrustAltMachTable {nullptr} |
| double | mTSFC_Idle_pph = 0.0 |
| double | mTSFC_Mil_pph = 0.0 |
| double | mTSFC_AB_pph = 0.0 |
| double | mRatedThrustIdle_lbs = 0.0 |
| double | mRatedThrustMil_lbs = 0.0 |
| double | mRatedThrustAB_lbs = 0.0 |
| double | mEffectiveTSFC_Idle_pps = 0.0 |
| double | mEffectiveTSFC_Mil_pps = 0.0 |
| double | mEffectiveTSFC_AB_pps = 0.0 |
| double | mLastThrottleLeverPosition = 0.0 |
| double | mEnginePercentRPM = 0.0 |
| double | mNozzlePosition = 0.0 |
| double | mSpinUpMil_per_sec = 0.0 |
| double | mSpinDownMil_per_sec = 0.0 |
| double | mSpinUpAB_per_sec = 0.0 |
| double | mSpinDownAB_per_sec = 0.0 |
| UtCloneablePtr< UtTable::Curve > | mSpinUpMilTable {nullptr} |
| UtCloneablePtr< UtTable::Curve > | mSpinDownMilTable {nullptr} |
| UtCloneablePtr< UtTable::Curve > | mSpinUpABTable {nullptr} |
| UtCloneablePtr< UtTable::Curve > | mSpinDownABTable {nullptr} |
| double | mCurrentFuelBurnRate_pph = 0.0 |
| bool | mThrottleLeverPositionSet = false |
| bool | mInjectFuel = true |
| bool | mEngineMaySmoke = false |
| double | mEngineSmokesAboveLevel = 1.0 |
| Protected Attributes inherited from wsf::six_dof::Engine | |
| ThrustProducerObject * | mParentThrustProducerPtr = nullptr |
| std::string | mTypeOfEngine |
| FuelTank * | mCurrentFuelTank = nullptr |
| double | mCurrentThrust_lbs = 0.0 |
| bool | mShutdownInProgress = false |
| int64_t | mShutdownFraction_nanosec = 0 |
| int64_t | mIgniteTimeInFrame_nanosec = 0 |
| bool | mEngineOperating = false |
| bool | mContrailing = false |
| bool | mAfterburnerPresent = false |
| bool | mAfterburnerOn = false |
| bool | mProducingSmokeTrail = false |
| bool | mEngineDamageSmokeActivated = false |
| bool | mEngineSmoking = false |
|
explicit |
References wsf::six_dof::Engine::Engine(), and wsf::six_dof::Engine::mTypeOfEngine.
Referenced by Clone(), DeriveFrom(), JetEngine(), and operator=().
|
default |
|
protected |
References wsf::six_dof::Engine::Engine(), JetEngine(), mABThrustAltMachTable, mABThrustMachAltTable, mABThrustTable, mCurrentFuelBurnRate_pph, mEffectiveTSFC_AB_pps, mEffectiveTSFC_Idle_pps, mEffectiveTSFC_Mil_pps, mEngineMaySmoke, mEnginePercentRPM, mEngineSmokesAboveLevel, mIdleThrustAltMachTable, mIdleThrustMachAltTable, mIdleThrustTable, mInjectFuel, mLastThrottleLeverPosition, mMilThrustAltMachTable, mMilThrustMachAltTable, mMilThrustTable, mNozzlePosition, mRatedThrustAB_lbs, mRatedThrustIdle_lbs, mRatedThrustMil_lbs, mSpinDownAB_per_sec, mSpinDownABTable, mSpinDownMil_per_sec, mSpinDownMilTable, mSpinUpAB_per_sec, mSpinUpABTable, mSpinUpMil_per_sec, mSpinUpMilTable, mThrottleLeverPosition, mThrottleLeverPositionSet, mTSFC_AB_pph, mTSFC_Idle_pph, and mTSFC_Mil_pph.
|
overrideprotectedvirtual |
Implements wsf::six_dof::Engine.
References wsf::six_dof::utils::cEPSILON_SIMTIME_SEC, wsf::six_dof::utils::LimitThrottleAfterburner(), wsf::six_dof::utils::LimitThrottleNormalized(), mABThrustAltMachTable, mABThrustMachAltTable, mABThrustTable, wsf::six_dof::Engine::mAfterburnerOn, wsf::six_dof::Engine::mAfterburnerPresent, wsf::six_dof::Engine::mContrailing, mCurrentFuelBurnRate_pph, wsf::six_dof::Engine::mCurrentFuelTank, wsf::six_dof::Engine::mCurrentThrust_lbs, mEffectiveTSFC_AB_pps, mEffectiveTSFC_Idle_pps, mEffectiveTSFC_Mil_pps, wsf::six_dof::Engine::mEngineDamageSmokeActivated, mEngineMaySmoke, wsf::six_dof::Engine::mEngineOperating, mEnginePercentRPM, mEngineSmokesAboveLevel, wsf::six_dof::Engine::mEngineSmoking, mIdleThrustAltMachTable, mIdleThrustMachAltTable, mIdleThrustTable, mInjectFuel, mLastThrottleLeverPosition, mMilThrustAltMachTable, mMilThrustMachAltTable, mMilThrustTable, mNozzlePosition, wsf::six_dof::Engine::mParentThrustProducerPtr, wsf::six_dof::Engine::mProducingSmokeTrail, mSpinDownAB_per_sec, mSpinDownABTable, mSpinDownMil_per_sec, mSpinDownMilTable, mSpinUpAB_per_sec, mSpinUpABTable, mSpinUpMil_per_sec, mSpinUpMilTable, mThrottleLeverPosition, mThrottleLeverPositionSet, and wsf::six_dof::Mover::WithinContrailAltitudeBand().
|
overridevirtual |
|
overridevirtual |
Reimplemented from wsf::six_dof::Engine.
References wsf::six_dof::Engine::DeriveFrom(), DetermineIfAfterburnerIsPresent(), wsf::six_dof::Engine::Engine(), JetEngine(), mABThrustAltMachTable, mABThrustMachAltTable, mABThrustTable, mCurrentFuelBurnRate_pph, mEffectiveTSFC_AB_pps, mEffectiveTSFC_Idle_pps, mEffectiveTSFC_Mil_pps, mEngineMaySmoke, mEnginePercentRPM, mEngineSmokesAboveLevel, mIdleThrustAltMachTable, mIdleThrustMachAltTable, mIdleThrustTable, mLastThrottleLeverPosition, mMilThrustAltMachTable, mMilThrustMachAltTable, mMilThrustTable, mNozzlePosition, mRatedThrustAB_lbs, mRatedThrustIdle_lbs, mRatedThrustMil_lbs, mSpinDownAB_per_sec, mSpinDownABTable, mSpinDownMil_per_sec, mSpinDownMilTable, mSpinUpAB_per_sec, mSpinUpABTable, mSpinUpMil_per_sec, mSpinUpMilTable, mThrottleLeverPosition, mThrottleLeverPositionSet, mTSFC_AB_pph, mTSFC_Idle_pph, and mTSFC_Mil_pph.
Referenced by operator=().
|
protected |
References mABThrustAltMachTable, mABThrustMachAltTable, mABThrustTable, and wsf::six_dof::Engine::mAfterburnerPresent.
Referenced by DeriveFrom(), Initialize(), and ProcessInput().
| double wsf::six_dof::JetEngine::GetEnginePercentRPM | ( | ) | const |
References mEnginePercentRPM.
|
overridevirtual |
Implements wsf::six_dof::Engine.
References mCurrentFuelBurnRate_pph.
|
overridevirtual |
Implements wsf::six_dof::Engine.
References mABThrustAltMachTable, mABThrustMachAltTable, mABThrustTable, mMilThrustAltMachTable, mMilThrustMachAltTable, and mMilThrustTable.
|
overridevirtual |
Implements wsf::six_dof::Engine.
References mIdleThrustAltMachTable, mIdleThrustMachAltTable, and mIdleThrustTable.
| double wsf::six_dof::JetEngine::GetNozzlePosition | ( | ) | const |
References mNozzlePosition.
|
overridevirtual |
Implements wsf::six_dof::Engine.
References mThrottleLeverPosition, and mThrottleLeverPositionSet.
|
overridevirtual |
Implements wsf::six_dof::Engine.
References wsf::six_dof::Engine::AfterburnerIsPresent(), InjectFuel(), mThrottleLeverPosition, and mThrottleLeverPositionSet.
|
overridevirtual |
Implements wsf::six_dof::Engine.
References DetermineIfAfterburnerIsPresent(), mEffectiveTSFC_AB_pps, mEffectiveTSFC_Idle_pps, mEffectiveTSFC_Mil_pps, mRatedThrustAB_lbs, mRatedThrustIdle_lbs, mRatedThrustMil_lbs, mTSFC_AB_pph, mTSFC_Idle_pph, and mTSFC_Mil_pph.
Referenced by operator=().
|
inline |
References mInjectFuel.
Referenced by Ignite(), and Shutdown().
References Clone(), DeriveFrom(), wsf::six_dof::Engine::Engine(), Initialize(), JetEngine(), and ProcessInput().
|
overridevirtual |
Implements wsf::six_dof::Engine.
References DetermineIfAfterburnerIsPresent(), mABThrustAltMachTable, mABThrustMachAltTable, mABThrustTable, mEffectiveTSFC_AB_pps, mEffectiveTSFC_Idle_pps, mEffectiveTSFC_Mil_pps, mEngineMaySmoke, mEngineSmokesAboveLevel, mIdleThrustAltMachTable, mIdleThrustMachAltTable, mIdleThrustTable, mMilThrustAltMachTable, mMilThrustMachAltTable, mMilThrustTable, mRatedThrustAB_lbs, mRatedThrustIdle_lbs, mRatedThrustMil_lbs, mSpinDownAB_per_sec, mSpinDownABTable, mSpinDownMil_per_sec, mSpinDownMilTable, mSpinUpAB_per_sec, mSpinUpABTable, mSpinUpMil_per_sec, mSpinUpMilTable, mTSFC_AB_pph, mTSFC_Idle_pph, and mTSFC_Mil_pph.
Referenced by operator=().
|
overridevirtual |
|
overridevirtual |
Implements wsf::six_dof::Engine.
References InjectFuel().
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), GetFuelBurnRate_pph(), and JetEngine().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), Initialize(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), Initialize(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), Initialize(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), GetEnginePercentRPM(), and JetEngine().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), GetMinimumPotentialThrust_lbs(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), GetMinimumPotentialThrust_lbs(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), GetMinimumPotentialThrust_lbs(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), InjectFuel(), and JetEngine().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), and JetEngine().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), GetMaximumPotentialThrust_lbs(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), GetMaximumPotentialThrust_lbs(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), GetMaximumPotentialThrust_lbs(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), GetNozzlePosition(), and JetEngine().
|
protected |
Referenced by DeriveFrom(), Initialize(), JetEngine(), and ProcessInput().
|
protected |
Referenced by DeriveFrom(), Initialize(), JetEngine(), and ProcessInput().
|
protected |
Referenced by DeriveFrom(), Initialize(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), JetEngine(), and ProcessInput().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), GetThrottlePosition(), Ignite(), JetEngine(), and SetThrottlePosition().
|
protected |
Referenced by CalculateThrust(), DeriveFrom(), GetThrottlePosition(), Ignite(), JetEngine(), and SetThrottlePosition().
|
protected |
Referenced by DeriveFrom(), Initialize(), JetEngine(), and ProcessInput().
|
protected |
Referenced by DeriveFrom(), Initialize(), JetEngine(), and ProcessInput().
|
protected |
Referenced by DeriveFrom(), Initialize(), JetEngine(), and ProcessInput().