|
WSF
|
#include <WsfRigidBodySixDOF_PropulsionSystem.hpp>


Public Member Functions | |
| RigidBodyPropulsionSystem ()=default | |
| RigidBodyPropulsionSystem & | operator= (const RigidBodyPropulsionSystem &other)=delete |
| RigidBodyPropulsionSystem * | Clone () const |
| void | SetParentVehicle (Mover *aParentVehicle) override |
| bool | ProcessInput (UtInput &aInput, const TypeManager *aTypeManager) |
| bool | Initialize (int64_t aSimTime_nanosec) override |
| const std::vector< std::unique_ptr< RigidBodyThrustProducerObject > > & | GetThrustProducerList () const |
| void | CalculatePropulsionFM (double aDeltaT_sec, double aAlt_ft, double aDynPress_lbsqft, double aStatPress_lbssqft, double aSpeed_fps, double aMach, double aAlpha_rad, double aBeta_rad, ForceAndMomentsObject &aForceAndMoment, double &aFuelBurnRate_pps, double &aFuelBurned_lbs) |
| void | UpdatePropulsionFM (double aDeltaT_sec, double aAlt_ft, double aDynPress_lbsqft, double aStatPress_lbssqft, double aSpeed_fps, double aMach, double aAlpha_rad, double aBeta_rad, ForceAndMomentsObject &aForceAndMoment, double &aFuelBurnRate_pps, double &aFuelBurned_lbs) |
| void | SetControlInputHandles (const RigidBodyFlightControlSystem *aFlightControlSystem) |
| void | SetControlInputValues (const RigidBodyFlightControlSystem *aFlightControlSystem) |
| ThrustProducerObject * | GetThrustProducerObjectByName (const std::string &aName) const override |
| ThrustProducerObject * | GetThrustProducerByIndex (size_t aIndex) const override |
| void | SetThrottleLeverPosition (double aThrottleLeverPosition) override |
| void | EnableThrustVectoring (bool aEnableThrustVectoring) override |
| void | SetThrustVectoringYaw_deg (double aThrustVectoringAngle_deg) |
| void | SetThrustVectoringPitch_deg (double aThrustVectoringAngle_deg) |
| void | SetThrustReverser (double aThrustReverserSetting) |
| void | EnableThrustReverser (bool aEnableThrustReverser) |
| bool | ThrustReverserEnabled () const |
| bool | AfterburnerIsPresent () const override |
| size_t | GetNumThrustProducers () const override |
| void | Ignite (int64_t aIgniteTimeInFrame_nanosec) override |
| void | Shutdown (int64_t aTerminateTime_nanosec=0) override |
| bool | IsProducingThrust () const override |
| bool | SetFuelFeed (std::string &aEngineName, std::string aFuelTankName) override |
| bool | SetFuelFeed (std::string aFuelTankName) override |
| bool | AnEngineIsOperating (bool aTestSubobjects=false) const override |
| bool | AnEngineIsSmoking (bool aTestSubobjects=false) const override |
| bool | AnEngineHasAfterburnerOn (bool aTestSubobjects=false) const override |
| bool | AnEngineIsContrailing (bool aTestSubobjects=false) const override |
| bool | AnEngineIsEmittingSmokeTrail (bool aTestSubobjects=false) const override |
| void | MakeAnEngineSmoke (int aEngineIndex) override |
| Public Member Functions inherited from wsf::six_dof::PropulsionSystem | |
| PropulsionSystem ()=default | |
| PropulsionSystem & | operator= (const PropulsionSystem &other)=delete |
| virtual void | Update (int64_t aSimTime_nanosec) |
| void | SetLastSimTime (int64_t aLastSimTime_nanosec) |
| const std::unordered_map< std::string, UtCloneablePtr< FuelTank > > & | GetFuelTanks () const |
| FuelTank * | GetFuelTank (const std::string &aName) const |
| bool | ThrustVectoringEnabled () const |
| size_t | GetNumFuelTanks () const |
| bool | RemoveFuelTankByName (std::string aName) |
| bool | AddFuelTank (std::unique_ptr< FuelTank > aFuelTank) |
| bool | AddFuelTransfer (const std::string &aTransferName, const std::string &aSourceTankName, const std::string &aTargetTankName) |
| bool | AddFuelTransferAndConnect (const std::string &aTransferName, const std::string &aSourceTankName, const std::string &aTargetTankName) |
| bool | RemoveFuelTransfer (const std::string &aTransferName) |
| bool | ModifyFuelQuantity (const std::string &aTankName, double aQty_lbs) |
| bool | FuelTransferNameUnique (const std::string &aName) const |
| double | GetInternalFuelTankCapacity_lbs () const |
| double | GetCurrentInternalFuelTankQuantity_lbs () const |
| double | AddFuelQuantity_lbs (double aFuelToAdd_lbs) |
| double | FillAllTanks (double aPercentFull) |
| void | EmptyAllTanks () |
| const MassProperties | GetMassProperties () const |
| Public Member Functions inherited from wsf::six_dof::Object | |
| Object ()=default | |
| virtual | ~Object ()=default |
| virtual std::string | GetName () const |
| virtual void | SetName (const std::string &aName) |
| virtual Mover * | GetParentVehicle () const |
Protected Member Functions | |
| RigidBodyPropulsionSystem (const RigidBodyPropulsionSystem &aSrc) | |
| void | PropulsionCalculationsFM (double aDeltaT_sec, double aAlt_ft, double aDynPress_lbsqft, double aStatPress_lbssqft, double aSpeed_fps, double aMach, double aAlpha_rad, double aBeta_rad, ForceAndMomentsObject &aForceAndMoment, double &aFuelBurnRate_pps, double &aFuelBurned_lbs, bool aUpdateData) |
| Protected Member Functions inherited from wsf::six_dof::PropulsionSystem | |
| PropulsionSystem (const PropulsionSystem &aSrc) | |
| void | RemoveInvalidFuelTransfers () |
| Protected Member Functions inherited from wsf::six_dof::Object | |
| Object (const Object &)=default | |
|
default |
Referenced by Clone(), operator=(), and RigidBodyPropulsionSystem().
|
protected |
References if(), mEnableThrustReverser, mThrottleSettingAB, mThrottleSettingMIL, mThrottleSettingPitch, mThrottleSettingReverser, mThrottleSettingYaw, mThrustControlInputValueDataList, mThrustReverserSet, mThrustReverserSetting, mThrustVectoringAnglePitch_deg, mThrustVectoringAngleYaw_deg, mThrustVectorPitchSet, mThrustVectorYawSet, wsf::six_dof::PropulsionSystem::PropulsionSystem(), and RigidBodyPropulsionSystem().
|
overridevirtual |
Implements wsf::six_dof::PropulsionSystem.
References mEngineList.
Referenced by PropulsionCalculationsFM(), and SetThrottleLeverPosition().
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
| void wsf::six_dof::RigidBodyPropulsionSystem::CalculatePropulsionFM | ( | double | aDeltaT_sec, |
| double | aAlt_ft, | ||
| double | aDynPress_lbsqft, | ||
| double | aStatPress_lbssqft, | ||
| double | aSpeed_fps, | ||
| double | aMach, | ||
| double | aAlpha_rad, | ||
| double | aBeta_rad, | ||
| ForceAndMomentsObject & | aForceAndMoment, | ||
| double & | aFuelBurnRate_pps, | ||
| double & | aFuelBurned_lbs ) |
References PropulsionCalculationsFM().
| wsf::six_dof::RigidBodyPropulsionSystem * wsf::six_dof::RigidBodyPropulsionSystem::Clone | ( | ) | const |
References RigidBodyPropulsionSystem().
Referenced by operator=().
| void wsf::six_dof::RigidBodyPropulsionSystem::EnableThrustReverser | ( | bool | aEnableThrustReverser | ) |
References mEnableThrustReverser, and mEngineList.
|
overridevirtual |
Implements wsf::six_dof::PropulsionSystem.
References wsf::six_dof::PropulsionSystem::mEnableThrustVectoring, and mEngineList.
|
overridevirtual |
Implements wsf::six_dof::PropulsionSystem.
References mEngineList.
|
overridevirtual |
Implements wsf::six_dof::PropulsionSystem.
References mEngineList.
Referenced by MakeAnEngineSmoke().
|
inline |
References mEngineList.
Referenced by wsf::six_dof::RigidBodyMover::CalculateStickBackForZeroMoment().
|
overridevirtual |
Implements wsf::six_dof::PropulsionSystem.
References mEngineList.
|
overridevirtual |
Implements wsf::six_dof::PropulsionSystem.
References mEngineList, and wsf::six_dof::PropulsionSystem::mPropulsionSystemThrottleLeverPosition.
|
overridevirtual |
|
overridevirtual |
Implements wsf::six_dof::PropulsionSystem.
References mEngineList.
|
overridevirtual |
Implements wsf::six_dof::PropulsionSystem.
References GetThrustProducerByIndex(), wsf::six_dof::ThrustProducerObject::MakeEngineSmoke(), and mEngineList.
|
delete |
References Clone(), Initialize(), ProcessInput(), RigidBodyPropulsionSystem(), and SetParentVehicle().
| bool wsf::six_dof::RigidBodyPropulsionSystem::ProcessInput | ( | UtInput & | aInput, |
| const TypeManager * | aTypeManager ) |
References wsf::six_dof::PropulsionSystem::AddFuelTank(), wsf::six_dof::ThrustProducerObject::Clone(), wsf::six_dof::PropulsionSystem::ThrustProducerInfo::fuelFeedName, wsf::six_dof::PropulsionSystem::FuelTransferNameUnique(), wsf::six_dof::TypeManager::GetThrustProducerObjectType(), wsf::six_dof::PropulsionSystem::mEnableThrustVectoring, mEngineList, wsf::six_dof::PropulsionSystem::mFuelTransferList, wsf::six_dof::Object::mParentVehicle, mThrottleSettingAB, mThrottleSettingMIL, mThrottleSettingPitch, mThrottleSettingReverser, mThrottleSettingYaw, mThrustControlInputValueDataList, wsf::six_dof::PropulsionSystem::ThrustProducerInfo::relativePosition, wsf::six_dof::PropulsionSystem::ThrustProducerInfo::relativeYawPitchRoll, and wsf::six_dof::Object::SetName().
Referenced by operator=().
|
protected |
References AfterburnerIsPresent(), wsf::six_dof::ForceAndMomentsObject::ClearReferenceAndForceAndMoment(), mEnableThrustReverser, wsf::six_dof::PropulsionSystem::mEnableThrustVectoring, mEngineList, wsf::six_dof::PropulsionSystem::mThrottleLeverPositionSet, mThrottleSettingAB, mThrottleSettingMIL, mThrottleSettingPitch, mThrottleSettingReverser, mThrottleSettingYaw, mThrustReverserSet, mThrustVectorPitchSet, and mThrustVectorYawSet.
Referenced by CalculatePropulsionFM(), and UpdatePropulsionFM().
| void wsf::six_dof::RigidBodyPropulsionSystem::SetControlInputHandles | ( | const RigidBodyFlightControlSystem * | aFlightControlSystem | ) |
| void wsf::six_dof::RigidBodyPropulsionSystem::SetControlInputValues | ( | const RigidBodyFlightControlSystem * | aFlightControlSystem | ) |
|
overridevirtual |
Implements wsf::six_dof::PropulsionSystem.
References mEngineList.
|
overridevirtual |
Implements wsf::six_dof::PropulsionSystem.
References mEngineList.
|
overridevirtual |
Reimplemented from wsf::six_dof::PropulsionSystem.
References mEngineList, and wsf::six_dof::PropulsionSystem::SetParentVehicle().
Referenced by operator=().
|
overridevirtual |
Implements wsf::six_dof::PropulsionSystem.
References AfterburnerIsPresent(), wsf::six_dof::utils::LimitThrottleAfterburner(), wsf::six_dof::utils::LimitThrottleNormalized(), mEngineList, wsf::six_dof::PropulsionSystem::mPropulsionSystemThrottleLeverPosition, and wsf::six_dof::PropulsionSystem::mThrottleLeverPositionSet.
| void wsf::six_dof::RigidBodyPropulsionSystem::SetThrustReverser | ( | double | aThrustReverserSetting | ) |
References mEngineList, mThrustReverserSet, and mThrustReverserSetting.
| void wsf::six_dof::RigidBodyPropulsionSystem::SetThrustVectoringPitch_deg | ( | double | aThrustVectoringAngle_deg | ) |
References mEngineList, mThrustVectoringAnglePitch_deg, and mThrustVectorPitchSet.
Referenced by wsf::six_dof::RigidBodyMover::ZeroKinematicsDuringTesting().
| void wsf::six_dof::RigidBodyPropulsionSystem::SetThrustVectoringYaw_deg | ( | double | aThrustVectoringAngle_deg | ) |
References mEngineList, mThrustVectoringAngleYaw_deg, and mThrustVectorYawSet.
Referenced by wsf::six_dof::RigidBodyMover::ZeroKinematicsDuringTesting().
|
overridevirtual |
Implements wsf::six_dof::PropulsionSystem.
References mEngineList, and wsf::six_dof::PropulsionSystem::mPropulsionSystemThrottleLeverPosition.
|
inline |
References mEnableThrustReverser.
| void wsf::six_dof::RigidBodyPropulsionSystem::UpdatePropulsionFM | ( | double | aDeltaT_sec, |
| double | aAlt_ft, | ||
| double | aDynPress_lbsqft, | ||
| double | aStatPress_lbssqft, | ||
| double | aSpeed_fps, | ||
| double | aMach, | ||
| double | aAlpha_rad, | ||
| double | aBeta_rad, | ||
| ForceAndMomentsObject & | aForceAndMoment, | ||
| double & | aFuelBurnRate_pps, | ||
| double & | aFuelBurned_lbs ) |
References PropulsionCalculationsFM().
|
protected |
Referenced by EnableThrustReverser(), PropulsionCalculationsFM(), RigidBodyPropulsionSystem(), and ThrustReverserEnabled().
|
protected |
Referenced by AfterburnerIsPresent(), AnEngineHasAfterburnerOn(), AnEngineIsContrailing(), AnEngineIsEmittingSmokeTrail(), AnEngineIsOperating(), AnEngineIsSmoking(), EnableThrustReverser(), EnableThrustVectoring(), GetNumThrustProducers(), GetThrustProducerByIndex(), GetThrustProducerList(), GetThrustProducerObjectByName(), Ignite(), Initialize(), IsProducingThrust(), MakeAnEngineSmoke(), ProcessInput(), PropulsionCalculationsFM(), SetControlInputHandles(), SetControlInputValues(), SetFuelFeed(), SetFuelFeed(), SetParentVehicle(), SetThrottleLeverPosition(), SetThrustReverser(), SetThrustVectoringPitch_deg(), SetThrustVectoringYaw_deg(), and Shutdown().
|
protected |
Referenced by ProcessInput(), PropulsionCalculationsFM(), and RigidBodyPropulsionSystem().
|
protected |
Referenced by ProcessInput(), PropulsionCalculationsFM(), and RigidBodyPropulsionSystem().
|
protected |
Referenced by ProcessInput(), PropulsionCalculationsFM(), and RigidBodyPropulsionSystem().
|
protected |
Referenced by ProcessInput(), PropulsionCalculationsFM(), and RigidBodyPropulsionSystem().
|
protected |
Referenced by ProcessInput(), PropulsionCalculationsFM(), and RigidBodyPropulsionSystem().
|
protected |
Referenced by ProcessInput(), RigidBodyPropulsionSystem(), SetControlInputHandles(), and SetControlInputValues().
|
protected |
Referenced by PropulsionCalculationsFM(), RigidBodyPropulsionSystem(), and SetThrustReverser().
|
protected |
Referenced by RigidBodyPropulsionSystem(), and SetThrustReverser().
|
protected |
Referenced by RigidBodyPropulsionSystem(), and SetThrustVectoringPitch_deg().
|
protected |
Referenced by RigidBodyPropulsionSystem(), and SetThrustVectoringYaw_deg().
|
protected |
Referenced by PropulsionCalculationsFM(), RigidBodyPropulsionSystem(), and SetThrustVectoringPitch_deg().
|
protected |
Referenced by PropulsionCalculationsFM(), RigidBodyPropulsionSystem(), and SetThrustVectoringYaw_deg().