|
WSF
|
#include <P6DofFuelTank.hpp>


Public Member Functions | |
| P6DofFuelTank (P6DofScenario *aScenario) | |
| ~P6DofFuelTank () override | |
| P6DofFuelTank & | operator= (const P6DofFuelTank &other)=delete |
| P6DofFuelTank * | Clone () const |
| bool | ProcessInput (UtInput &aInput) |
| bool | Initialize (int64_t aSimTime_nanosec) |
| void | Update (int64_t aSimTime_nanosec) |
| void | SetPropulsionSystem (P6DofPropulsionSystem *aParent) |
| bool | FuelFlowPathIntact (P6DofPropulsionSystem *aSystemDrawingFuel) |
| bool | CalculateFuelBurn (double aDeltaT_sec, double aFuelBurnRequest_lbs, double &aFuelActuallyProvided_lbs, double &aNewFuelMass_lbs, UtVec3dX &aCgLocation_ft) |
| bool | UpdateFuelBurn (double aDeltaT_sec, double aFuelBurnRequest_lbs, double &aFuelActuallyProvided_lbs, double &aNewFuelMass_lbs, UtVec3dX &aCgLocation_ft) |
| bool | CalculateFuelFill (double aDeltaT_sec, double aFuelAddRequest_lbs, double &aFuelActuallyProvided_lbs, double &aNewFuelMass_lbs, UtVec3dX &aCgLocation_ft) |
| bool | UpdateFuelFill (double aDeltaT_sec, double aFuelAddRequest_lbs, double &aFuelActuallyProvided_lbs, double &aNewFuelMass_lbs, UtVec3dX &aCgLocation_ft) |
| bool | CalculateFuelTransfer (double aDeltaT_sec, double aFuelAddRequest_lbs, double &aFuelActuallyProvided_lbs, double &aNewFuelMass_lbs, UtVec3dX &aCgLocation_ft) |
| bool | UpdateFuelTransfer (double aDeltaT_sec, double aFuelAddRequest_lbs, double &aFuelActuallyProvided_lbs, double &aNewFuelMass_lbs, UtVec3dX &aCgLocation_ft) |
| void | SetMaxFuelQuantity (double aFuelQuantity_lbs) |
| double | GetFuelCapacity_lbs () const |
| double | GetPercentFull () const |
| void | SetCurrentFuelQuantity (double aFuelQuantity_lbs) |
| double | GetCurrentFuelQuantity_lbs () const |
| double | GetFuelFraction () const |
| double | GetFuelFlow_pps () const |
| double | GetFuelFlow_pph () const |
| double | GetFuelFillRate_pps () const |
| double | GetFuelFillRate_pph () const |
| double | GetMaxFuelTransferRate_pps () const |
| double | GetFuelTransferRate_pps () const |
| double | GetFuelTransferRate_pph () const |
| void | SetFullCgLocation_ft (UtVec3dX &aCgLocation_ft) |
| void | SetEmptyCgLocation_ft (UtVec3dX &aCgLocation_ft) |
| UtVec3dX | GetCurrentCgLocation_ft () const |
| UtVec3dX | GetFullCgLocation_ft () const |
| UtVec3dX | GetEmptyCgLocation_ft () const |
| void | SetMaxFlowRate_pps (double aMaxFlowRate_pps) |
| const P6DofMassProperties & | GetMassProperties () const |
| void | CalculateCurrentMassProperties () |
| Public Member Functions inherited from P6DofObject | |
| P6DofObject (P6DofScenario *aScenario) | |
| virtual | ~P6DofObject ()=default |
| P6DofObject * | Clone () const |
| P6DofScenario * | GetScenario () const |
| std::string | GetName () const |
| void | SetName (const std::string &aName) |
| P6DofVehicle * | GetParentVehicle () const |
| virtual void | SetParentVehicle (P6DofVehicle *aParentVehicle) |
Protected Member Functions | |
| P6DofFuelTank (const P6DofFuelTank &aSrc) | |
| UtVec3dX | CalcCgLocation_ft (double aFuelQuantity_lbs) |
| Protected Member Functions inherited from P6DofObject | |
| P6DofObject (const P6DofObject &aSrc)=default | |
| P6DofObject & | operator= (const P6DofObject &other)=default |
Protected Attributes | |
| P6DofPropulsionSystem * | mPropulsionSystem |
| double | mMaxFlowRate_pps |
| double | mMaxFillRate_pps |
| double | mMaxTransferRate_pps |
| double | mMaxQuantity_lbs |
| double | mCurrentQuantity_lbs |
| double | mCurrentFuelFlow_pps |
| double | mCurrentFillRate_pps |
| double | mCurrentTransferRate_pps |
| double | mTempCurrentFuelFlow_pps |
| double | mTempCurrentFillRate_pps |
| double | mTempCurrentTransferRate_pps |
| UtVec3dX | mCurrentCgLocation_ft |
| UtVec3dX | mFullCgLocation_ft |
| UtVec3dX | mEmptyCgLocation_ft |
| UtVec3dX | mCgEmptyToFullVector |
| int64_t | mLastSimTime_nanosec |
| P6DofMassProperties | mMassProperties |
| Protected Attributes inherited from P6DofObject | |
| P6DofScenario * | mScenario |
| P6DofVehicle * | mParentVehicle |
| std::string | mObjName |
Friends | |
| class | P6DofPropulsionSystem |
|
explicit |
References mCurrentCgLocation_ft, mCurrentFillRate_pps, mCurrentFuelFlow_pps, mCurrentQuantity_lbs, mCurrentTransferRate_pps, mEmptyCgLocation_ft, mFullCgLocation_ft, mLastSimTime_nanosec, mMassProperties, mMaxFillRate_pps, mMaxFlowRate_pps, mMaxQuantity_lbs, mMaxTransferRate_pps, mPropulsionSystem, mTempCurrentFillRate_pps, mTempCurrentFuelFlow_pps, mTempCurrentTransferRate_pps, P6DofObject::P6DofObject(), SetEmptyCgLocation_ft(), and SetFullCgLocation_ft().
Referenced by Clone(), operator=(), P6DofFuelTank(), and P6DofPropulsionSystem.
|
override |
|
protected |
References mCurrentCgLocation_ft, mCurrentFillRate_pps, mCurrentFuelFlow_pps, mCurrentQuantity_lbs, mCurrentTransferRate_pps, mEmptyCgLocation_ft, mFullCgLocation_ft, mLastSimTime_nanosec, mMassProperties, mMaxFillRate_pps, mMaxFlowRate_pps, mMaxQuantity_lbs, mMaxTransferRate_pps, mPropulsionSystem, mTempCurrentFillRate_pps, mTempCurrentFuelFlow_pps, mTempCurrentTransferRate_pps, P6DofFuelTank(), P6DofObject::P6DofObject(), SetEmptyCgLocation_ft(), and SetFullCgLocation_ft().
|
protected |
References mCgEmptyToFullVector, mEmptyCgLocation_ft, and mMaxQuantity_lbs.
Referenced by CalculateCurrentMassProperties(), CalculateFuelBurn(), CalculateFuelFill(), CalculateFuelTransfer(), and ProcessInput().
| void P6DofFuelTank::CalculateCurrentMassProperties | ( | ) |
References CalcCgLocation_ft(), mCurrentQuantity_lbs, and mMassProperties.
Referenced by P6DofPropulsionSystem::CalculateCurrentMassProperties(), and Initialize().
| bool P6DofFuelTank::CalculateFuelBurn | ( | double | aDeltaT_sec, |
| double | aFuelBurnRequest_lbs, | ||
| double & | aFuelActuallyProvided_lbs, | ||
| double & | aNewFuelMass_lbs, | ||
| UtVec3dX & | aCgLocation_ft ) |
References CalcCgLocation_ft(), P6DofUtils::cEPSILON_SIMTIME_SEC, mCurrentCgLocation_ft, mCurrentQuantity_lbs, and mMaxFlowRate_pps.
Referenced by UpdateFuelBurn().
| bool P6DofFuelTank::CalculateFuelFill | ( | double | aDeltaT_sec, |
| double | aFuelAddRequest_lbs, | ||
| double & | aFuelActuallyProvided_lbs, | ||
| double & | aNewFuelMass_lbs, | ||
| UtVec3dX & | aCgLocation_ft ) |
References CalcCgLocation_ft(), P6DofUtils::cEPSILON_SIMTIME_SEC, mCurrentCgLocation_ft, mCurrentQuantity_lbs, mMaxFillRate_pps, and mMaxQuantity_lbs.
Referenced by UpdateFuelFill().
| bool P6DofFuelTank::CalculateFuelTransfer | ( | double | aDeltaT_sec, |
| double | aFuelAddRequest_lbs, | ||
| double & | aFuelActuallyProvided_lbs, | ||
| double & | aNewFuelMass_lbs, | ||
| UtVec3dX & | aCgLocation_ft ) |
References CalcCgLocation_ft(), P6DofUtils::cEPSILON_SIMTIME_SEC, mCurrentCgLocation_ft, mCurrentQuantity_lbs, mMaxQuantity_lbs, and mMaxTransferRate_pps.
Referenced by P6DofPropulsionSystem::Update(), and UpdateFuelTransfer().
| P6DofFuelTank * P6DofFuelTank::Clone | ( | ) | const |
References P6DofFuelTank().
| bool P6DofFuelTank::FuelFlowPathIntact | ( | P6DofPropulsionSystem * | aSystemDrawingFuel | ) |
| UtVec3dX P6DofFuelTank::GetCurrentCgLocation_ft | ( | ) | const |
References mCurrentCgLocation_ft.
| double P6DofFuelTank::GetCurrentFuelQuantity_lbs | ( | ) | const |
References mCurrentQuantity_lbs.
Referenced by WsfP6DOF_Mover::GetFuelInTank(), and P6DofPropulsionSystem::Update().
| UtVec3dX P6DofFuelTank::GetEmptyCgLocation_ft | ( | ) | const |
References mEmptyCgLocation_ft.
| double P6DofFuelTank::GetFuelCapacity_lbs | ( | ) | const |
References mMaxQuantity_lbs.
Referenced by WsfP6DOF_Mover::GetFuelTankCapacity(), P6DofVehicle::SetFuelInTank_lbs(), and P6DofPropulsionSystem::Update().
| double P6DofFuelTank::GetFuelFillRate_pph | ( | ) | const |
References mCurrentFillRate_pps.
| double P6DofFuelTank::GetFuelFillRate_pps | ( | ) | const |
References mCurrentFillRate_pps.
| double P6DofFuelTank::GetFuelFlow_pph | ( | ) | const |
References mCurrentFuelFlow_pps.
| double P6DofFuelTank::GetFuelFlow_pps | ( | ) | const |
References mCurrentFuelFlow_pps.
| double P6DofFuelTank::GetFuelFraction | ( | ) | const |
References mCurrentQuantity_lbs, and mMaxQuantity_lbs.
| double P6DofFuelTank::GetFuelTransferRate_pph | ( | ) | const |
References mCurrentTransferRate_pps.
| double P6DofFuelTank::GetFuelTransferRate_pps | ( | ) | const |
References mCurrentTransferRate_pps.
| UtVec3dX P6DofFuelTank::GetFullCgLocation_ft | ( | ) | const |
References mFullCgLocation_ft.
|
inline |
References mMassProperties.
Referenced by P6DofPropulsionSystem::CalculateCurrentMassProperties().
| double P6DofFuelTank::GetMaxFuelTransferRate_pps | ( | ) | const |
References mMaxTransferRate_pps.
Referenced by P6DofPropulsionSystem::Update().
| double P6DofFuelTank::GetPercentFull | ( | ) | const |
References mCurrentQuantity_lbs, and mMaxQuantity_lbs.
| bool P6DofFuelTank::Initialize | ( | int64_t | aSimTime_nanosec | ) |
References CalculateCurrentMassProperties(), and mLastSimTime_nanosec.
Referenced by operator=().
|
delete |
References Initialize(), P6DofFuelTank(), and ProcessInput().
| bool P6DofFuelTank::ProcessInput | ( | UtInput & | aInput | ) |
References CalcCgLocation_ft(), mCurrentCgLocation_ft, mCurrentQuantity_lbs, mEmptyCgLocation_ft, mFullCgLocation_ft, mMaxFillRate_pps, mMaxFlowRate_pps, mMaxQuantity_lbs, mMaxTransferRate_pps, SetEmptyCgLocation_ft(), SetFullCgLocation_ft(), and P6DofObject::SetName().
Referenced by operator=(), and P6DofPropulsionSystem::ProcessInput().
| void P6DofFuelTank::SetCurrentFuelQuantity | ( | double | aFuelQuantity_lbs | ) |
References mCurrentQuantity_lbs.
Referenced by P6DofPropulsionSystem::ModifyFuelQuantity(), and P6DofVehicle::SetFuelInTank_lbs().
| void P6DofFuelTank::SetEmptyCgLocation_ft | ( | UtVec3dX & | aCgLocation_ft | ) |
References mCgEmptyToFullVector, mEmptyCgLocation_ft, and mFullCgLocation_ft.
Referenced by P6DofFuelTank(), P6DofFuelTank(), and ProcessInput().
| void P6DofFuelTank::SetFullCgLocation_ft | ( | UtVec3dX & | aCgLocation_ft | ) |
References mCgEmptyToFullVector, mEmptyCgLocation_ft, and mFullCgLocation_ft.
Referenced by P6DofFuelTank(), P6DofFuelTank(), and ProcessInput().
|
inline |
References mMaxFlowRate_pps.
| void P6DofFuelTank::SetMaxFuelQuantity | ( | double | aFuelQuantity_lbs | ) |
References mMaxQuantity_lbs.
|
inline |
References mPropulsionSystem, and P6DofPropulsionSystem.
Referenced by P6DofPropulsionSystem::ProcessInput().
| void P6DofFuelTank::Update | ( | int64_t | aSimTime_nanosec | ) |
| bool P6DofFuelTank::UpdateFuelBurn | ( | double | aDeltaT_sec, |
| double | aFuelBurnRequest_lbs, | ||
| double & | aFuelActuallyProvided_lbs, | ||
| double & | aNewFuelMass_lbs, | ||
| UtVec3dX & | aCgLocation_ft ) |
| bool P6DofFuelTank::UpdateFuelFill | ( | double | aDeltaT_sec, |
| double | aFuelAddRequest_lbs, | ||
| double & | aFuelActuallyProvided_lbs, | ||
| double & | aNewFuelMass_lbs, | ||
| UtVec3dX & | aCgLocation_ft ) |
| bool P6DofFuelTank::UpdateFuelTransfer | ( | double | aDeltaT_sec, |
| double | aFuelAddRequest_lbs, | ||
| double & | aFuelActuallyProvided_lbs, | ||
| double & | aNewFuelMass_lbs, | ||
| UtVec3dX & | aCgLocation_ft ) |
|
friend |
References P6DofFuelTank(), and P6DofPropulsionSystem.
Referenced by FuelFlowPathIntact(), P6DofPropulsionSystem, and SetPropulsionSystem().
|
protected |
Referenced by CalcCgLocation_ft(), SetEmptyCgLocation_ft(), and SetFullCgLocation_ft().
|
protected |
|
protected |
Referenced by GetFuelFillRate_pph(), GetFuelFillRate_pps(), P6DofFuelTank(), P6DofFuelTank(), and Update().
|
protected |
Referenced by GetFuelFlow_pph(), GetFuelFlow_pps(), P6DofFuelTank(), P6DofFuelTank(), and Update().
|
protected |
Referenced by CalculateCurrentMassProperties(), CalculateFuelBurn(), CalculateFuelFill(), CalculateFuelTransfer(), GetCurrentFuelQuantity_lbs(), GetFuelFraction(), GetPercentFull(), P6DofFuelTank(), P6DofFuelTank(), ProcessInput(), SetCurrentFuelQuantity(), Update(), UpdateFuelBurn(), UpdateFuelFill(), and UpdateFuelTransfer().
|
protected |
Referenced by GetFuelTransferRate_pph(), GetFuelTransferRate_pps(), P6DofFuelTank(), P6DofFuelTank(), and Update().
|
protected |
|
protected |
Referenced by GetFullCgLocation_ft(), P6DofFuelTank(), P6DofFuelTank(), ProcessInput(), SetEmptyCgLocation_ft(), and SetFullCgLocation_ft().
|
protected |
Referenced by Initialize(), P6DofFuelTank(), P6DofFuelTank(), and Update().
|
protected |
Referenced by CalculateCurrentMassProperties(), GetMassProperties(), P6DofFuelTank(), and P6DofFuelTank().
|
protected |
Referenced by CalculateFuelFill(), P6DofFuelTank(), P6DofFuelTank(), and ProcessInput().
|
protected |
Referenced by CalculateFuelBurn(), P6DofFuelTank(), P6DofFuelTank(), ProcessInput(), and SetMaxFlowRate_pps().
|
protected |
|
protected |
Referenced by CalculateFuelTransfer(), GetMaxFuelTransferRate_pps(), P6DofFuelTank(), P6DofFuelTank(), and ProcessInput().
|
protected |
Referenced by FuelFlowPathIntact(), P6DofFuelTank(), P6DofFuelTank(), and SetPropulsionSystem().
|
protected |
Referenced by P6DofFuelTank(), P6DofFuelTank(), Update(), and UpdateFuelFill().
|
protected |
Referenced by P6DofFuelTank(), P6DofFuelTank(), Update(), and UpdateFuelBurn().
|
protected |
Referenced by P6DofFuelTank(), P6DofFuelTank(), Update(), and UpdateFuelTransfer().