Table of Contents

Class FuelSourceEmptyingModel

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

[Nominal] A Emptying 'FuelSource' Model


public class FuelSourceEmptyingModel : FuelSourceModel
Inheritance
FuelSourceEmptyingModel

Constructors

FuelSourceEmptyingModel()

Default constructor

protected FuelSourceEmptyingModel()

Fields

InitialMass

[kg] Initial amount of mass

[Unit(UnitType.KILOGRAM)]
public double InitialMass

Field Value

double

Methods

ComputeMatrices(ref BackSubstitutionMatrices)

Computes the back substitution matrices based on the referenced matrices for the current fuel model.

[Hidden]
public override void ComputeMatrices(ref BackSubstitutionMatrices backMatrices)

Parameters

backMatrices BackSubstitutionMatrices

[-] The back contributions

ComputeTankProperties(double)

Calculate the model's properties.

public override void ComputeTankProperties(double mass)

Parameters

mass double

[kg] The fuel mass

ComputeTankPropertiesDerivatives(double, double)

Calculate the model's derivative properties.

public override void ComputeTankPropertiesDerivatives(double mass, double massDot)

Parameters

mass double

[kg] The fuel mass

massDot double

[kg/s] The fuel mass derivative

OnBegin(double)

Called when the object is beginning ticking for the first time. This is when the simulation calls the very first tick and will run before the update call.

protected override void OnBegin(double time)

Parameters

time double

[s] Current time of the simulation before the tick

OnSave()

Called before the object is saved into the save state. This ensures that any additional metadata can be saved on the object before it is automatically serialized.

protected override void OnSave()