Class MotorPowerModel
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
[Nominal] This model creates a map between motor voltage commands and the resulting load on the parent's electrical sub-system. It is a component model that can attach to a reaction wheel to provide the power draw from a system.
public class MotorPowerModel : ComponentModel<ReactionWheelArray>
- Inheritance
-
ComponentModel<ReactionWheelArray>MotorPowerModel
- Inherited Members
-
ComponentModel<ReactionWheelArray>.Target
Constructors
MotorPowerModel()
Construct a motor power model
public MotorPowerModel()
Fields
In_ArrayMotorVoltageMsg
Incoming array of voltage commands that map to torques
public ArrayMotorVoltageMessage In_ArrayMotorVoltageMsg
Field Value
Out_ArrayMotorVoltageMsg
Outgoing array of voltage commands that will map to torques
public ArrayMotorVoltageMessage Out_ArrayMotorVoltageMsg
Field Value
Methods
AddLookupTableEntry(double, double)
Add entry to lookup table.
public void AddLookupTableEntry(double voltageCmd, double powerDraw)
Parameters
OnBegin(double)
Called when 'ComponentModel' starts
protected override void OnBegin(double time)
Parameters
time
doublecurrent time (seconds)
OnUpdate(double, double)
Called each timestep during a event tick
protected override void OnUpdate(double time, double step)