Class MagneticTorqueBarArrayHysteresisErrorModel
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
[Nominal] The hysteresis error model creates a timed history error on the magnetic torque bars.
public class MagneticTorqueBarArrayHysteresisErrorModel : UniverseModel<MagneticTorqueBarArray>
- Inheritance
-
MagneticTorqueBarArrayHysteresisErrorModel
Constructors
MagneticTorqueBarArrayHysteresisErrorModel()
Default constructor
protected MagneticTorqueBarArrayHysteresisErrorModel()
Fields
Alpha
Controls the influence of the History of Torque Values for the Time Windowed History Error Model. Locked to a value between 0 and 1.
[Unit(UnitType.NONE)]
[Range(0, 1)]
public double Alpha
Field Value
TimeWindowSize
The number of values to keep in the history for the Time Windowed History Error Model
[Unit(UnitType.NONE)]
[Range(1, 1000)]
public int TimeWindowSize
Field Value
TorqueHistory
The History of Torque values for the Time Windowed History Error Model
[Unit(UnitType.NEWTON_METRE)]
[Hidden]
public List<Vector3> TorqueHistory
Field Value
Methods
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