WSF
P6DofRamjetEngineObject Class Reference

#include <P6DofRamjetEngineObject.hpp>

Inheritance diagram for P6DofRamjetEngineObject:
Collaboration diagram for P6DofRamjetEngineObject:

Public Member Functions

 P6DofRamjetEngineObject (P6DofScenario *aScenario)
 ~P6DofRamjetEngineObject () override
P6DofRamjetEngineObjectoperator= (const P6DofRamjetEngineObject &other)=delete
std::string GetClassType () override
bool ProcessInput (UtInput &aInput) override
bool Initialize (int64_t aSimTime_nanosec) override
P6DofRamjetEngineObjectClone () const
void DeriveFrom (const P6DofRamjetEngineObject *aSrc)
void SetControlInputHandles (const P6DofFlightControlSystem *aFlightControls) override
void SetControlInputValues (const P6DofFlightControlSystem *aFlightControls) override
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, P6DofForceAndMomentsObject &aForceAndMoment, double &aFuelBurnRate_pps, double &aFuelBurned_lbs) override
void InjectFuel (bool aInjectFuel)
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, P6DofForceAndMomentsObject &aForceAndMoment, double &aFuelBurnRate_pps, double &aFuelBurned_lbs) override
void SetFuelTank (const std::string &aFuelTankName)
P6DofFuelTankGetFuelTank () 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 CalculateCurrentMassProperties () 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 P6DofThrustProducerObject
 P6DofThrustProducerObject (P6DofScenario *aScenario)
 ~P6DofThrustProducerObject () override
P6DofThrustProducerObjectoperator= (const P6DofThrustProducerObject &other)=delete
void SetParentPropulsionSystem (P6DofPropulsionSystem *aParent)
double GetThrust_lbs () const
double GetForwardThrust_lbs () const
void SetThrustReferenceOffsetAttitude (const UtVec3dX &aReferenceLocation_ft, UtVec3dX &aThrustYPR_rad)
void SetThrustVectoringEnabled (bool aThrustVectoringEnabled)
bool ThrustVectoringEnabled () const
void SetThrustVectoringYaw_deg (double aThrustVectoringYaw_deg)
void SetThrustVectoringPitch_deg (double aThrustVectoringPitch_deg)
double GetThrustVectoringYaw_deg () const
double GetThrustVectoringPitch_deg () const
void SetThrustReverserEnabled (bool aThrustReverserEnabled)
bool ThrustReverserEnabled () const
void SetThrustReverserSetting (double aThrustReverserSetting)
double GetThrustReverserSetting () const
void GetThrustLocation (UtVec3dX &aThrustLocation_ft) const
void GetThrustInstalledAnglesYPR (UtVec3dX &aThrustYPR_rad) const
void GetCurrentThrustVectorDirection (UtVec3dX &aDirection) const
void CalcCurrentThrustVectors ()
const P6DofForceAndMomentsObjectGetThrustForceAndAndMoment () const
P6DofMassPropertiesGetMassProperties () const
virtual bool AfterburnerIsPresent () const
bool EngineOperating () const
virtual bool MayHaveEngineOperating () const
bool EngineSmoking () const
virtual bool MayProduceEngineSmoke () const
bool AfterburnerOn () const
bool Contrailing () const
virtual bool MayContrail () const
bool ProducingSmokeTrail () const
virtual bool MayProduceSmokeTrail () const
void MakeEngineSmoke (bool aSmoking)
Public Member Functions inherited from P6DofObject
 P6DofObject (P6DofScenario *aScenario)
virtual ~P6DofObject ()=default
P6DofObjectClone () const
P6DofScenarioGetScenario () const
std::string GetName () const
void SetName (const std::string &aName)
P6DofVehicleGetParentVehicle () const
virtual void SetParentVehicle (P6DofVehicle *aParentVehicle)

Protected Member Functions

 P6DofRamjetEngineObject (const P6DofRamjetEngineObject &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, P6DofForceAndMomentsObject &aForceAndMoment, double &aFuelBurnRate_pps, double &aFuelBurned_lbs, bool aUpdateData)
bool CalcThrustMultiplier (bool aDeadEngine, double &aFuelBurnRequest_lbs, double &aThrust_lbs)
Protected Member Functions inherited from P6DofThrustProducerObject
 P6DofThrustProducerObject (const P6DofThrustProducerObject &aSrc)
void DeriveFrom (const P6DofThrustProducerObject *aSrc)
void SetMassProperties (P6DofMassProperties *aMassProperties)
UtVec3dX CalcThrustVectorFromThrust (double aThrust_lbs)
void CalcThrustProducerFM (double aThrustMagnitude_lbs, P6DofForceAndMomentsObject &aForceAndMoment)
Protected Member Functions inherited from P6DofObject
 P6DofObject (const P6DofObject &aSrc)=default
P6DofObjectoperator= (const P6DofObject &other)=default

Protected Attributes

P6DofFuelTankmCurrentFuelTank = nullptr
std::shared_ptr< UtTable::Table > mThrustAltMachTable_lbs = nullptr
std::shared_ptr< UtTable::Table > mTsfcAltMachTable_pph = nullptr
double mCurrentFuelBurnRate_pph = 0.0
ThrustControlInputValueDatamThrottleSettingYaw = nullptr
ThrustControlInputValueDatamThrottleSettingPitch = nullptr
bool mAfterburnerAppearanceWhenOperating = false
bool mInjectFuel = false
bool mLatchFuelInjection = false
bool mInjectFuelTriggered = false
bool mUseProportionalThrottle = false
double mMinProportionalThrust = 0.0
double mThrottleLeverPosition = 0.0
double mOverallThrustMultiplier = 0.0
Protected Attributes inherited from P6DofThrustProducerObject
P6DofPropulsionSystemmParentPropulsionSystemPtr
std::string mTypeOfThrustProducer
UtVec3dX mNominalThrustVectorDirection
UtVec3dX mCurrentThrustVectorDirection
UtVec3dX mReferenceLocation_ft
UtVec3dX mThrustLocation_ft
P6DofForceAndMomentsObject mCurrentThrustFM_lbs_ftlbs
UtVec3dX mThrustInstalledAnglesYPR_rad
double mThrustOffset_ft
bool mThrustVectoringEnabled
double mThrustVectorYaw_rad
double mThrustVectorPitch_rad
bool mThrustReverserEnabled
double mThrustReverserSetting
bool mShutdownInProgress
int64_t mShutdownFraction_nanosec
int64_t mIgniteTimeInFrame_nanosec
bool mInOpRefAreaValid
double mInOpRefArea_ft2
P6DofMassPropertiesmMassPropertiesPtr
double mCurrentThrustFactor
bool mAfterburnerPresent
bool mEngineOperating
bool mEngineSmoking
bool mAfterburnerOn
bool mContrailing
bool mProducingSmokeTrail
bool mEngineDamageSmokeActivated
Protected Attributes inherited from P6DofObject
P6DofScenariomScenario
P6DofVehiclemParentVehicle
std::string mObjName

Additional Inherited Members

Static Public Member Functions inherited from P6DofThrustProducerObject
static void SetControlInputHandle (const P6DofFlightControlSystem *aFlightControls, ThrustControlInputValueData *aControlInput)
static void SetControlInputValue (const P6DofFlightControlSystem *aFlightControls, ThrustControlInputValueData *aControlInput)

Constructor & Destructor Documentation

◆ P6DofRamjetEngineObject() [1/2]

◆ ~P6DofRamjetEngineObject()

P6DofRamjetEngineObject::~P6DofRamjetEngineObject ( )
override

◆ P6DofRamjetEngineObject() [2/2]

Member Function Documentation

◆ CalcThrustMultiplier()

bool P6DofRamjetEngineObject::CalcThrustMultiplier ( bool aDeadEngine,
double & aFuelBurnRequest_lbs,
double & aThrust_lbs )
protected

◆ CalculateCurrentMassProperties()

void P6DofRamjetEngineObject::CalculateCurrentMassProperties ( )
inlineoverridevirtual

◆ CalculateThrust() [1/2]

void P6DofRamjetEngineObject::CalculateThrust ( double aDeltaT_sec,
double aAlt_ft,
double aDynPress_lbsqft,
double aStatPress_lbssqft,
double aSpeed_fps,
double aMach,
double aAlpha_rad,
double aBeta_rad,
P6DofForceAndMomentsObject & aForceAndMoment,
double & aFuelBurnRate_pps,
double & aFuelBurned_lbs )
overridevirtual

◆ CalculateThrust() [2/2]

◆ Clone()

P6DofRamjetEngineObject * P6DofRamjetEngineObject::Clone ( ) const

◆ DeriveFrom()

◆ GetClassType()

std::string P6DofRamjetEngineObject::GetClassType ( )
inlineoverridevirtual

◆ GetFuelBurnRate_pph()

double P6DofRamjetEngineObject::GetFuelBurnRate_pph ( ) const
overridevirtual

◆ GetFuelTank()

P6DofFuelTank * P6DofRamjetEngineObject::GetFuelTank ( ) const

References mCurrentFuelTank.

◆ GetMaximumPotentialThrust_lbs()

double P6DofRamjetEngineObject::GetMaximumPotentialThrust_lbs ( double aAlt_ft,
double aDynPress_lbsqft,
double aStatPress_lbssqft,
double aSpeed_fps,
double aMach,
double aAlpha_rad,
double aBeta_rad )
overridevirtual

◆ GetMinimumPotentialThrust_lbs()

double P6DofRamjetEngineObject::GetMinimumPotentialThrust_lbs ( double aAlt_ft,
double aDynPress_lbsqft,
double aStatPress_lbssqft,
double aSpeed_fps,
double aMach,
double aAlpha_rad,
double aBeta_rad )
overridevirtual

◆ GetThrottlePosition()

double P6DofRamjetEngineObject::GetThrottlePosition ( ) const
overridevirtual

◆ Ignite()

void P6DofRamjetEngineObject::Ignite ( int64_t aIgniteTimeInFrame_nanosec)
overridevirtual

◆ Initialize()

bool P6DofRamjetEngineObject::Initialize ( int64_t aSimTime_nanosec)
overridevirtual

◆ InjectFuel()

void P6DofRamjetEngineObject::InjectFuel ( bool aInjectFuel)
inline

References mInjectFuel.

◆ operator=()

P6DofRamjetEngineObject & P6DofRamjetEngineObject::operator= ( const P6DofRamjetEngineObject & other)
delete

◆ ProcessInput()

◆ SetControlInputHandles()

void P6DofRamjetEngineObject::SetControlInputHandles ( const P6DofFlightControlSystem * aFlightControls)
overridevirtual

◆ SetControlInputValues()

void P6DofRamjetEngineObject::SetControlInputValues ( const P6DofFlightControlSystem * aFlightControls)
overridevirtual

◆ SetFuelTank()

void P6DofRamjetEngineObject::SetFuelTank ( const std::string & aFuelTankName)

◆ SetThrottlePosition()

void P6DofRamjetEngineObject::SetThrottlePosition ( double aThrottleLeverPosition)
overridevirtual

◆ Shutdown()

void P6DofRamjetEngineObject::Shutdown ( int64_t aTerminateTime_nanosec = 0)
overridevirtual

◆ UpdateThrust()

void P6DofRamjetEngineObject::UpdateThrust ( double aDeltaT_sec,
double aAlt_ft,
double aDynPress_lbsqft,
double aStatPress_lbssqft,
double aSpeed_fps,
double aMach,
double aAlpha_rad,
double aBeta_rad,
P6DofForceAndMomentsObject & aForceAndMoment,
double & aFuelBurnRate_pps,
double & aFuelBurned_lbs )
overridevirtual

Member Data Documentation

◆ mAfterburnerAppearanceWhenOperating

bool P6DofRamjetEngineObject::mAfterburnerAppearanceWhenOperating = false
protected

◆ mCurrentFuelBurnRate_pph

double P6DofRamjetEngineObject::mCurrentFuelBurnRate_pph = 0.0
protected

◆ mCurrentFuelTank

P6DofFuelTank* P6DofRamjetEngineObject::mCurrentFuelTank = nullptr
protected

◆ mInjectFuel

bool P6DofRamjetEngineObject::mInjectFuel = false
protected

◆ mInjectFuelTriggered

bool P6DofRamjetEngineObject::mInjectFuelTriggered = false
protected

◆ mLatchFuelInjection

bool P6DofRamjetEngineObject::mLatchFuelInjection = false
protected

◆ mMinProportionalThrust

double P6DofRamjetEngineObject::mMinProportionalThrust = 0.0
protected

◆ mOverallThrustMultiplier

double P6DofRamjetEngineObject::mOverallThrustMultiplier = 0.0
protected

◆ mThrottleLeverPosition

double P6DofRamjetEngineObject::mThrottleLeverPosition = 0.0
protected

◆ mThrottleSettingPitch

◆ mThrottleSettingYaw

◆ mThrustAltMachTable_lbs

std::shared_ptr<UtTable::Table> P6DofRamjetEngineObject::mThrustAltMachTable_lbs = nullptr
protected

◆ mTsfcAltMachTable_pph

std::shared_ptr<UtTable::Table> P6DofRamjetEngineObject::mTsfcAltMachTable_pph = nullptr
protected

◆ mUseProportionalThrottle

bool P6DofRamjetEngineObject::mUseProportionalThrottle = false
protected

The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved