WSF
wsf::six_dof::FuelTank Class Reference

#include <WsfSixDOF_FuelTank.hpp>

Inheritance diagram for wsf::six_dof::FuelTank:
Collaboration diagram for wsf::six_dof::FuelTank:

Public Member Functions

 FuelTank ()
 ~FuelTank ()
FuelTankoperator= (const FuelTank &other)=delete
FuelTankClone () const
bool ProcessInput (UtInput &aInput)
bool Initialize (int64_t aSimTime_nanosec)
void Update (int64_t aSimTime_nanosec)
const MassPropertiesGetMassProperties () const
void SetPropulsionSystem (PropulsionSystem *aParent)
bool FuelFlowPathIntact (const PropulsionSystem *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 (const UtVec3dX &aCgLocation_ft)
void SetEmptyCgLocation_ft (const UtVec3dX &aCgLocation_ft)
UtVec3dX GetCurrentCgLocation_ft () const
UtVec3dX GetFullCgLocation_ft () const
UtVec3dX GetEmptyCgLocation_ft () const
void SetMaxFlowRate_pps (double aMaxFlowRate_pps)
void CalculateCurrentMassProperties ()
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 MoverGetParentVehicle () const
virtual void SetParentVehicle (Mover *aParentVehicle)

Protected Member Functions

 FuelTank (const FuelTank &aSrc)
UtVec3dX CalcCgLocation_ft (double aFuelQuantity_lbs)
Protected Member Functions inherited from wsf::six_dof::Object
 Object (const Object &)=default

Protected Attributes

PropulsionSystemmPropulsionSystem = nullptr
MassProperties mMassProperties
double mMaxFlowRate_pps = 0.0
double mMaxFillRate_pps = 0.0
double mMaxTransferRate_pps = 0.0
double mMaxQuantity_lbs = 0.0
double mCurrentFuelFlow_pps = 0.0
double mCurrentFillRate_pps = 0.0
double mCurrentTransferRate_pps = 0.0
double mCurrentQuantity_lbs = 0.0
double mTempCurrentFuelFlow_pps = 0.0
double mTempCurrentFillRate_pps = 0.0
double mTempCurrentTransferRate_pps = 0.0
UtVec3dX mCurrentCgLocation_ft
UtVec3dX mFullCgLocation_ft
UtVec3dX mEmptyCgLocation_ft
UtVec3dX mCgEmptyToFullVector
int64_t mLastSimTime_nanosec = 0
Protected Attributes inherited from wsf::six_dof::Object
std::string mObjName = ""
MovermParentVehicle = nullptr

Friends

class PropulsionSystem

Constructor & Destructor Documentation

◆ FuelTank() [1/2]

◆ ~FuelTank()

wsf::six_dof::FuelTank::~FuelTank ( )

◆ FuelTank() [2/2]

Member Function Documentation

◆ CalcCgLocation_ft()

UtVec3dX wsf::six_dof::FuelTank::CalcCgLocation_ft ( double aFuelQuantity_lbs)
protected

◆ CalculateCurrentMassProperties()

void wsf::six_dof::FuelTank::CalculateCurrentMassProperties ( )

◆ CalculateFuelBurn()

bool wsf::six_dof::FuelTank::CalculateFuelBurn ( double aDeltaT_sec,
double aFuelBurnRequest_lbs,
double & aFuelActuallyProvided_lbs,
double & aNewFuelMass_lbs,
UtVec3dX & aCgLocation_ft )

◆ CalculateFuelFill()

bool wsf::six_dof::FuelTank::CalculateFuelFill ( double aDeltaT_sec,
double aFuelAddRequest_lbs,
double & aFuelActuallyProvided_lbs,
double & aNewFuelMass_lbs,
UtVec3dX & aCgLocation_ft )

◆ CalculateFuelTransfer()

bool wsf::six_dof::FuelTank::CalculateFuelTransfer ( double aDeltaT_sec,
double aFuelAddRequest_lbs,
double & aFuelActuallyProvided_lbs,
double & aNewFuelMass_lbs,
UtVec3dX & aCgLocation_ft )

◆ Clone()

wsf::six_dof::FuelTank * wsf::six_dof::FuelTank::Clone ( ) const

References FuelTank().

Referenced by operator=().

◆ FuelFlowPathIntact()

◆ GetCurrentCgLocation_ft()

UtVec3dX wsf::six_dof::FuelTank::GetCurrentCgLocation_ft ( ) const

References mCurrentCgLocation_ft.

◆ GetCurrentFuelQuantity_lbs()

double wsf::six_dof::FuelTank::GetCurrentFuelQuantity_lbs ( ) const

◆ GetEmptyCgLocation_ft()

UtVec3dX wsf::six_dof::FuelTank::GetEmptyCgLocation_ft ( ) const

References mEmptyCgLocation_ft.

◆ GetFuelCapacity_lbs()

double wsf::six_dof::FuelTank::GetFuelCapacity_lbs ( ) const

◆ GetFuelFillRate_pph()

double wsf::six_dof::FuelTank::GetFuelFillRate_pph ( ) const

References mCurrentFillRate_pps.

◆ GetFuelFillRate_pps()

double wsf::six_dof::FuelTank::GetFuelFillRate_pps ( ) const

References mCurrentFillRate_pps.

◆ GetFuelFlow_pph()

double wsf::six_dof::FuelTank::GetFuelFlow_pph ( ) const

References mCurrentFuelFlow_pps.

◆ GetFuelFlow_pps()

double wsf::six_dof::FuelTank::GetFuelFlow_pps ( ) const

References mCurrentFuelFlow_pps.

◆ GetFuelFraction()

double wsf::six_dof::FuelTank::GetFuelFraction ( ) const

◆ GetFuelTransferRate_pph()

double wsf::six_dof::FuelTank::GetFuelTransferRate_pph ( ) const

◆ GetFuelTransferRate_pps()

double wsf::six_dof::FuelTank::GetFuelTransferRate_pps ( ) const

◆ GetFullCgLocation_ft()

UtVec3dX wsf::six_dof::FuelTank::GetFullCgLocation_ft ( ) const

References mFullCgLocation_ft.

◆ GetMassProperties()

const MassProperties & wsf::six_dof::FuelTank::GetMassProperties ( ) const
inline

◆ GetMaxFuelTransferRate_pps()

double wsf::six_dof::FuelTank::GetMaxFuelTransferRate_pps ( ) const

◆ GetPercentFull()

double wsf::six_dof::FuelTank::GetPercentFull ( ) const

◆ Initialize()

bool wsf::six_dof::FuelTank::Initialize ( int64_t aSimTime_nanosec)

◆ operator=()

FuelTank & wsf::six_dof::FuelTank::operator= ( const FuelTank & other)
delete

◆ ProcessInput()

◆ SetCurrentFuelQuantity()

void wsf::six_dof::FuelTank::SetCurrentFuelQuantity ( double aFuelQuantity_lbs)

◆ SetEmptyCgLocation_ft()

void wsf::six_dof::FuelTank::SetEmptyCgLocation_ft ( const UtVec3dX & aCgLocation_ft)

◆ SetFullCgLocation_ft()

void wsf::six_dof::FuelTank::SetFullCgLocation_ft ( const UtVec3dX & aCgLocation_ft)

◆ SetMaxFlowRate_pps()

void wsf::six_dof::FuelTank::SetMaxFlowRate_pps ( double aMaxFlowRate_pps)
inline

References mMaxFlowRate_pps.

◆ SetMaxFuelQuantity()

void wsf::six_dof::FuelTank::SetMaxFuelQuantity ( double aFuelQuantity_lbs)

References mMaxQuantity_lbs.

◆ SetPropulsionSystem()

void wsf::six_dof::FuelTank::SetPropulsionSystem ( PropulsionSystem * aParent)
inline

◆ Update()

◆ UpdateFuelBurn()

bool wsf::six_dof::FuelTank::UpdateFuelBurn ( double aDeltaT_sec,
double aFuelBurnRequest_lbs,
double & aFuelActuallyProvided_lbs,
double & aNewFuelMass_lbs,
UtVec3dX & aCgLocation_ft )

◆ UpdateFuelFill()

bool wsf::six_dof::FuelTank::UpdateFuelFill ( double aDeltaT_sec,
double aFuelAddRequest_lbs,
double & aFuelActuallyProvided_lbs,
double & aNewFuelMass_lbs,
UtVec3dX & aCgLocation_ft )

◆ UpdateFuelTransfer()

bool wsf::six_dof::FuelTank::UpdateFuelTransfer ( double aDeltaT_sec,
double aFuelAddRequest_lbs,
double & aFuelActuallyProvided_lbs,
double & aNewFuelMass_lbs,
UtVec3dX & aCgLocation_ft )

◆ PropulsionSystem

friend class PropulsionSystem
friend

Member Data Documentation

◆ mCgEmptyToFullVector

UtVec3dX wsf::six_dof::FuelTank::mCgEmptyToFullVector
protected

◆ mCurrentCgLocation_ft

◆ mCurrentFillRate_pps

double wsf::six_dof::FuelTank::mCurrentFillRate_pps = 0.0
protected

◆ mCurrentFuelFlow_pps

double wsf::six_dof::FuelTank::mCurrentFuelFlow_pps = 0.0
protected

◆ mCurrentQuantity_lbs

◆ mCurrentTransferRate_pps

double wsf::six_dof::FuelTank::mCurrentTransferRate_pps = 0.0
protected

◆ mEmptyCgLocation_ft

UtVec3dX wsf::six_dof::FuelTank::mEmptyCgLocation_ft
protected

◆ mFullCgLocation_ft

UtVec3dX wsf::six_dof::FuelTank::mFullCgLocation_ft
protected

◆ mLastSimTime_nanosec

int64_t wsf::six_dof::FuelTank::mLastSimTime_nanosec = 0
protected

Referenced by FuelTank(), Initialize(), and Update().

◆ mMassProperties

MassProperties wsf::six_dof::FuelTank::mMassProperties
protected

◆ mMaxFillRate_pps

double wsf::six_dof::FuelTank::mMaxFillRate_pps = 0.0
protected

◆ mMaxFlowRate_pps

double wsf::six_dof::FuelTank::mMaxFlowRate_pps = 0.0
protected

◆ mMaxQuantity_lbs

◆ mMaxTransferRate_pps

double wsf::six_dof::FuelTank::mMaxTransferRate_pps = 0.0
protected

◆ mPropulsionSystem

PropulsionSystem* wsf::six_dof::FuelTank::mPropulsionSystem = nullptr
protected

◆ mTempCurrentFillRate_pps

double wsf::six_dof::FuelTank::mTempCurrentFillRate_pps = 0.0
protected

Referenced by FuelTank(), Update(), and UpdateFuelFill().

◆ mTempCurrentFuelFlow_pps

double wsf::six_dof::FuelTank::mTempCurrentFuelFlow_pps = 0.0
protected

Referenced by FuelTank(), Update(), and UpdateFuelBurn().

◆ mTempCurrentTransferRate_pps

double wsf::six_dof::FuelTank::mTempCurrentTransferRate_pps = 0.0
protected

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