Class in Zendir.Classes | Inherits from Software

Declaration

class FuelTransferSoftware;

Description

Manages fuel transfer between tanks by coordinating valves, pumps, and destination tank demand. Supports same-spacecraft and cross-spacecraft paths via an optional .


Properties

DeclaredDescription
AbortOnLinkBrokenWhen true, abort cross-spacecraft transfers if the interconnect link cannot flow.
AbortOnThermalShutoffWhen true, abort if the destination tank enters thermal shutoff.
CurrentStateCurrent state of the transfer state machine.
DesiredFlowRateRequested flow rate into the destination tank [kg/s].
DestinationTankTank that receives propellant.
MinSourceAmountMinimum source tank mass to retain [kg]. Transfer stops when source reaches this level.
Out_FuelTransferMsgTransfer status telemetry.
SourceTankTank from which propellant is drawn.
TargetAmountTarget mass to transfer [kg] when is .
TargetPercentTarget fill percentage (0–100) when is .
TransferInterconnectOptional interconnect for cross-spacecraft transfers.
TransferModeHow the transfer completes or runs.
TransferPumpOptional pump in the transfer path. Required for active transfer against pressure.
TransferredAmountPropellant mass transferred during the current session [kg].
TransferValveOptional valve in the transfer path.
InheritedDescription
IsEnabledIs true if the object is currently enabled.
NameThe display name or tag of this object.
ParentThe currently attached parent object (if any).

Methods

DeclaredDescription
AbortTransferImmediately stops an active transfer.
SetDestinationSets the destination tank for transfer.
SetPathConfigures optional path components for the transfer.
SetSourceSets the source tank for transfer.
StartTransferBegins a fuel transfer sequence when idle.
StopTransferRequests a graceful shutdown of an active transfer.
InheritedDescription
EnableEnable the software component
FindParentWithIDReturns an attached parent that satisfies the specified ID.
FindParentWithTypeReturns an attached parent that satisfies the specified type.
FindRootWithIDReturns a root object that satisfies the specified ID.
FindRootWithTypeReturns a root object that satisfies the specified type.
InitialiseThis method is called whenever some key parameters are changedand any new local variables are required to be recalculated. Thiscan be called by the software chains if a configuration of somevalues are updated.