WSF
P6DofFuelTank Class Reference

#include <P6DofFuelTank.hpp>

Inheritance diagram for P6DofFuelTank:
Collaboration diagram for P6DofFuelTank:

Public Member Functions

 P6DofFuelTank (P6DofScenario *aScenario)
 ~P6DofFuelTank () override
P6DofFuelTankoperator= (const P6DofFuelTank &other)=delete
P6DofFuelTankClone () 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 P6DofMassPropertiesGetMassProperties () const
void CalculateCurrentMassProperties ()
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

 P6DofFuelTank (const P6DofFuelTank &aSrc)
UtVec3dX CalcCgLocation_ft (double aFuelQuantity_lbs)
Protected Member Functions inherited from P6DofObject
 P6DofObject (const P6DofObject &aSrc)=default
P6DofObjectoperator= (const P6DofObject &other)=default

Protected Attributes

P6DofPropulsionSystemmPropulsionSystem
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
P6DofScenariomScenario
P6DofVehiclemParentVehicle
std::string mObjName

Friends

class P6DofPropulsionSystem

Constructor & Destructor Documentation

◆ P6DofFuelTank() [1/2]

◆ ~P6DofFuelTank()

P6DofFuelTank::~P6DofFuelTank ( )
override

◆ P6DofFuelTank() [2/2]

Member Function Documentation

◆ CalcCgLocation_ft()

UtVec3dX P6DofFuelTank::CalcCgLocation_ft ( double aFuelQuantity_lbs)
protected

◆ CalculateCurrentMassProperties()

void P6DofFuelTank::CalculateCurrentMassProperties ( )

◆ CalculateFuelBurn()

bool P6DofFuelTank::CalculateFuelBurn ( double aDeltaT_sec,
double aFuelBurnRequest_lbs,
double & aFuelActuallyProvided_lbs,
double & aNewFuelMass_lbs,
UtVec3dX & aCgLocation_ft )

◆ CalculateFuelFill()

bool P6DofFuelTank::CalculateFuelFill ( double aDeltaT_sec,
double aFuelAddRequest_lbs,
double & aFuelActuallyProvided_lbs,
double & aNewFuelMass_lbs,
UtVec3dX & aCgLocation_ft )

◆ CalculateFuelTransfer()

bool P6DofFuelTank::CalculateFuelTransfer ( double aDeltaT_sec,
double aFuelAddRequest_lbs,
double & aFuelActuallyProvided_lbs,
double & aNewFuelMass_lbs,
UtVec3dX & aCgLocation_ft )

◆ Clone()

P6DofFuelTank * P6DofFuelTank::Clone ( ) const

References P6DofFuelTank().

◆ FuelFlowPathIntact()

◆ GetCurrentCgLocation_ft()

UtVec3dX P6DofFuelTank::GetCurrentCgLocation_ft ( ) const

References mCurrentCgLocation_ft.

◆ GetCurrentFuelQuantity_lbs()

double P6DofFuelTank::GetCurrentFuelQuantity_lbs ( ) const

◆ GetEmptyCgLocation_ft()

UtVec3dX P6DofFuelTank::GetEmptyCgLocation_ft ( ) const

References mEmptyCgLocation_ft.

◆ GetFuelCapacity_lbs()

double P6DofFuelTank::GetFuelCapacity_lbs ( ) const

◆ GetFuelFillRate_pph()

double P6DofFuelTank::GetFuelFillRate_pph ( ) const

References mCurrentFillRate_pps.

◆ GetFuelFillRate_pps()

double P6DofFuelTank::GetFuelFillRate_pps ( ) const

References mCurrentFillRate_pps.

◆ GetFuelFlow_pph()

double P6DofFuelTank::GetFuelFlow_pph ( ) const

References mCurrentFuelFlow_pps.

◆ GetFuelFlow_pps()

double P6DofFuelTank::GetFuelFlow_pps ( ) const

References mCurrentFuelFlow_pps.

◆ GetFuelFraction()

double P6DofFuelTank::GetFuelFraction ( ) const

◆ GetFuelTransferRate_pph()

double P6DofFuelTank::GetFuelTransferRate_pph ( ) const

◆ GetFuelTransferRate_pps()

double P6DofFuelTank::GetFuelTransferRate_pps ( ) const

◆ GetFullCgLocation_ft()

UtVec3dX P6DofFuelTank::GetFullCgLocation_ft ( ) const

References mFullCgLocation_ft.

◆ GetMassProperties()

const P6DofMassProperties & P6DofFuelTank::GetMassProperties ( ) const
inline

◆ GetMaxFuelTransferRate_pps()

double P6DofFuelTank::GetMaxFuelTransferRate_pps ( ) const

◆ GetPercentFull()

double P6DofFuelTank::GetPercentFull ( ) const

◆ Initialize()

bool P6DofFuelTank::Initialize ( int64_t aSimTime_nanosec)

◆ operator=()

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

◆ ProcessInput()

◆ SetCurrentFuelQuantity()

void P6DofFuelTank::SetCurrentFuelQuantity ( double aFuelQuantity_lbs)

◆ SetEmptyCgLocation_ft()

void P6DofFuelTank::SetEmptyCgLocation_ft ( UtVec3dX & aCgLocation_ft)

◆ SetFullCgLocation_ft()

void P6DofFuelTank::SetFullCgLocation_ft ( UtVec3dX & aCgLocation_ft)

◆ SetMaxFlowRate_pps()

void P6DofFuelTank::SetMaxFlowRate_pps ( double aMaxFlowRate_pps)
inline

References mMaxFlowRate_pps.

◆ SetMaxFuelQuantity()

void P6DofFuelTank::SetMaxFuelQuantity ( double aFuelQuantity_lbs)

References mMaxQuantity_lbs.

◆ SetPropulsionSystem()

void P6DofFuelTank::SetPropulsionSystem ( P6DofPropulsionSystem * aParent)
inline

◆ Update()

◆ UpdateFuelBurn()

bool P6DofFuelTank::UpdateFuelBurn ( double aDeltaT_sec,
double aFuelBurnRequest_lbs,
double & aFuelActuallyProvided_lbs,
double & aNewFuelMass_lbs,
UtVec3dX & aCgLocation_ft )

◆ UpdateFuelFill()

bool P6DofFuelTank::UpdateFuelFill ( double aDeltaT_sec,
double aFuelAddRequest_lbs,
double & aFuelActuallyProvided_lbs,
double & aNewFuelMass_lbs,
UtVec3dX & aCgLocation_ft )

◆ UpdateFuelTransfer()

bool P6DofFuelTank::UpdateFuelTransfer ( double aDeltaT_sec,
double aFuelAddRequest_lbs,
double & aFuelActuallyProvided_lbs,
double & aNewFuelMass_lbs,
UtVec3dX & aCgLocation_ft )

◆ P6DofPropulsionSystem

Member Data Documentation

◆ mCgEmptyToFullVector

UtVec3dX P6DofFuelTank::mCgEmptyToFullVector
protected

◆ mCurrentCgLocation_ft

◆ mCurrentFillRate_pps

double P6DofFuelTank::mCurrentFillRate_pps
protected

◆ mCurrentFuelFlow_pps

double P6DofFuelTank::mCurrentFuelFlow_pps
protected

◆ mCurrentQuantity_lbs

◆ mCurrentTransferRate_pps

double P6DofFuelTank::mCurrentTransferRate_pps
protected

◆ mEmptyCgLocation_ft

◆ mFullCgLocation_ft

UtVec3dX P6DofFuelTank::mFullCgLocation_ft
protected

◆ mLastSimTime_nanosec

int64_t P6DofFuelTank::mLastSimTime_nanosec
protected

◆ mMassProperties

P6DofMassProperties P6DofFuelTank::mMassProperties
protected

◆ mMaxFillRate_pps

double P6DofFuelTank::mMaxFillRate_pps
protected

◆ mMaxFlowRate_pps

double P6DofFuelTank::mMaxFlowRate_pps
protected

◆ mMaxQuantity_lbs

◆ mMaxTransferRate_pps

double P6DofFuelTank::mMaxTransferRate_pps
protected

◆ mPropulsionSystem

P6DofPropulsionSystem* P6DofFuelTank::mPropulsionSystem
protected

◆ mTempCurrentFillRate_pps

double P6DofFuelTank::mTempCurrentFillRate_pps
protected

◆ mTempCurrentFuelFlow_pps

double P6DofFuelTank::mTempCurrentFuelFlow_pps
protected

◆ mTempCurrentTransferRate_pps

double P6DofFuelTank::mTempCurrentTransferRate_pps
protected

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