Table of Contents

Class ReactionWheelArrayThermalModel

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

[Nominal] This particular thermal model is able to attach to a thermal model on the reaction wheel array and is able to set the thermal properties of the wheels based on the wheel speeds.


public class ReactionWheelArrayThermalModel : UniverseModel<ReactionWheelArray>
Inheritance
ReactionWheelArrayThermalModel

Constructors

ReactionWheelArrayThermalModel()

Default constructor

protected ReactionWheelArrayThermalModel()

Fields

In_RWSpeedMsg

A reference to the reaction wheel speed message that has been added to the reaction wheel array attached.

public RWArraySpeedMessage? In_RWSpeedMsg

Field Value

RWArraySpeedMessage

Properties

ThermalAnalysis

Controls the thermal analysis type.

[ReadOnly]
public ThermalAnalysisType ThermalAnalysis { get; set; }

Property Value

ThermalAnalysisType

Methods

Initialise(string)

Loads the thermal model from a CSV file and stores the data in the model. This will be able to use a lookup based on some parameter that is configured.

public bool Initialise(string filePath)

Parameters

filePath string

The full file path to the particular lookup table

Returns

bool

A successful load flag

OnCreate()

Called when the object is created from the controller and has been attached to the parent object. By this point, it has been registered to the simulation and will run after the constructor.

protected override void OnCreate()

OnLoad(double)

Called after all of the data has been loaded from a save state on this object. This enables any post-load operations to be performed and extra data to be loaded from the metadata.

protected override void OnLoad(double time)

Parameters

time double

[s] The current clock time of the simulation

OnUpdate(double, double)

Called when the object should update from the simulation tick. This will take in a time and a step, where the time is the time of the clock before updating the object.

protected override void OnUpdate(double time, double step)

Parameters

time double

[s] Current time of the simulation before the update

step double

[s] The time-step to update during this tick