Class in Zendir.Classes | Inherits from PhysicalObject

Declaration

class ReactionWheel;

Description

This component models a singular reaction wheel. These reaction wheels can be added as children of Reaction Wheel Arrays.


Properties

DeclaredDescription
AOmegaParameter used in coupled jitter back substitution.
ArrayIndexThe index of this Reaction Wheel within the Reaction Wheel Array.
BetaStaticStribeck friction coefficient. For stribeck friction to be activated,user must change this variable to a positive non-zero number.
BOmegaParameter used in coupled jitter back substitution.
COmegaParameter used in coupled jitter back substitution.
CurrentTorqueCurrent motor torque.
DWheel center of mass offset from wheel frame origin.
DCM_BLDCM matrix of the wheel to body frame
DynamicImbalanceDynamic imbalance.
FrictionCoulombCoulomb friction torque magnitude.
FrictionStaticStatic friction torque magnitude.
FrictionStribeckBoolean to determine if Stribeck friction model is used or not,0 is non-Stribeck, 1 is Stribeck/ Parameter is set internally.
FrictionTorqueFriction torque, this is a computed value, don’t set it directly.
FrictionViscousViscous friction coefficient.
Inertia_BRW inertia about point Wc in B frame components. Also knownas ‘IRWPntWc_B’. This is the inertia of the center of massof the RW in the body frame.
Inertia_CReaction Wheel Moment of inertia in the Wheel frame
InertiaPrime_BRW inertia B-frame derivative. Also known as ‘IPrimeRWPntWc_B’, whichis the inertia rate of change of the center of mass of the RW in thebody frame.
J13X-Z inertia of wheel about wheel center in wheel frame (imbalance).
JgGgHat axis rotor moment of inertia.
JsSpin axis gsHat rotor moment of inertia.
JtGtHat axis rotor moment of inertia.
MaxMomentumMaximum RW wheel momentum in Nms.
MaxTorqueMax torque, negative value turns off saturating the wheel.
MinTorqueMin torque of the wheel.
NetTorque_BTorque command for individual RW in the body frame.
OmegaWheel speed.
OmegaBeforeWheel speed one time step before.
OmegaLimitCycleWheel speed that avoids limit cycle with friction.
OmegaMaxMax wheel speed, negative values turn off wheel saturation.
Out_RWConfigMsgThe output message that defines this Reaction Wheel’s configuration data.
Out_RWTorqueMsgThe output message representing motor torque commands.
Position_CB_BPosition of the reaction wheel center of mass Wc relative to Bin B-frame components. Also known as ‘r_WcB_B’.
PositionPrime_CB_BB-frame derivative of r_WcB_B. Also known as ‘rPrime_WcB_B’.
PositionTilde_CB_BTilde matrix of r_WcB_B. This is the skew symmetric matrix of theposition of the reaction wheel center of mass Wc relative. This isalso known as ‘RTildeWcB_B’.
RWStatusType of operating model.
SpinRateRatioThe ratio of the current reaction wheel speed to the maximum reaction wheel speed. This is a convenient way tomeasure the degree of saturation for the reaction wheel.
StaticImbalanceStatic imbalance.
ThetaWheel angle.
W2Hat_BCurrent torque axis unit vector in body frame.
W2Hat0_BInitial torque axis unit vector in body frame.
W3Hat_BCurrent gimbal axis unit vector in body frame.
W3Hat0_BInitial gimbal axis unit vector in body frame.
WheelModelTypeType of imbalance model to use.
WheelPosition_BPosition vector of the RW relative to the spacecraft body frame. Thisis the ‘RWB_B’ parameter.
WheelSpinAxis_BSpin axis unit vector gsHat in B-frame components.
InheritedDescription
BehavioursA collection of behaviours attached to this object.
CenterOfMassB_BThe center of mass of the component in respect to the bodyframe (B) of the component. This is isolated from any childrenand exists in isolation.
CenterOfMassDot_LB_BThe center of mass time-derivative of the component within itsown local coordinates. This does not include any of the sub-componentsand exists in isolation.
CenterOfMassDotB_BThe center of mass time-derivative of the component relative tothe body frame (B). This does not include any of the sub-componentsand exists in isolation.
CenterOfMassL_LThe center of mass of the component within its own localcoordinates. This does not include any of the sub-components andexists in isolation.
CenterOfMassPrime_LB_BThe center of mass general-derivative of the component within itsown local coordinates. This does not include any of the sub-componentsand exists in isolation.
CenterOfMassPrimeB_B[m/s] The center of mass general-derivative of the component relativeto the body frame (B). This does not include any of the sub-componentsand exists in isolation.
ChildrenA collection of children attached to this object.
DCM_BNThe rotational DCM matrix between the body frame (B) at the topof this component chain and the inertial frame (N).
DCM_LBThe rotational DCM matrix between the component frame of thisobject (L) relative to the body frame (B).
DCM_LNThe DCM rotational matrix of the component relative to theinertial origin (N) of the world.
DCM_LPThe DCM matrix of the component in the parent’s frame (P), takenfrom the Component Transform (PL).
IsEnabledIs true if the object is currently enabled.
LocalForwardThe direction of the transform frame’s forward vector, which is along the Y axis.
LocalRightThe direction of the transform frame’s right vector, which is along the X axis.
LocalUpThe direction of the transform frame’s up vector, which is along the Z axis.
MassDotThe component mass time-derivative defined in the object. Thisis independent of any parent or children objects and exists in isolation.
ModelsA collection of models attached to this object.
MomentOfInertia_LBThe moment of inertia of the component, measured at thelocal center of mass, represented with its own local coordinates.This does not include any of the sub-components and exists inisolation.
MomentOfInertiaB_BThe moment of inertia of this component, measured inthe body frame relative to the parented body. This is independentof any children and exists in isolation.
MomentOfInertiaPrime_LBThe derivative of the moment of inertia of the component,measured at the local center of mass, represented with its own localcoordinates. This does not include any of the sub-components andexists in isolation.
MomentOfInertiaPrimeB_BThe derivative of the moment of inertia of the component,represented in the body frame (B). This is independent and exists inisolation.
NameThe display name or tag of this object.
Out_ComponentMassMsgThe component mass message defines the set of mass properties andstates of the system within this component locally. This is independentof any parent or children properties or objects.
Out_TransformMsgThis defines the base transform message that stores the state of the transform of this object.
ParentThe currently attached parent object (if any).
Position[m] The position of the object relative to the parent or to world origin, if no parent exists.
Position_BN_NThe position of the body (the root parent B) in theinertial frame relative to the inertial point (N).
Position_LB_BThe position of the component relative to the rootobject of this hierarchy. This is in the inertial frameand if the component is the root object, then there willbe no position.
Position_LN_NThe position of the inertial world space. This position isderived from the world’s transform (N).
Position_LP_PThe position of the object relative to the parented object (P).If there is no parent object, then this will be in the inertialframe.
RootThe root object in the parent chain.
Rotation[-] The rotation of the object relative to the parent or to the world origin, if no parent exists.
ThermalA reference to the thermal model that is attached to this object.This will allow the object to have thermal properties and be ableto be used in thermal simulations.

Methods

InheritedDescription
AddObjectReturns a new simulation object with the specified type.
AttachAttempts to attach this object to a new parent. This will only work if the current object is no parented to anyother object.
ContainsModelWithIDReturns true if an attached model satisfies the specified ID.
ContainsModelWithTypeReturns true if an attached model satisfies the specified type.
DestroyRemoves the current object from the simulation.
DetachThis is an action to detach the current object from its parent, if it exists and move it to another object or tojust exist within the simulation.
FindBehavioursWithTypeReturns all attached behaviours that satisfies the specified type.
FindBehaviourWithIDReturns an attached behaviour that satisfies the specified ID.
FindBehaviourWithTypeReturns an attached behaviour that satisfies the specified type.
FindChildrenWithTypeReturns all attached children that satisfies the specified type.
FindChildWithIDReturns an attached child that satisfies the specified ID.
FindChildWithTypeReturns an attached child that satisfies the specified type.
FindModelsWithTypeReturns all attached models that satisfies the specified type.
FindModelWithIDReturns an attached model that satisfies the specified ID.
FindModelWithTypeReturns an attached model that satisfies the specified type.
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.
GetModelReturns a valid assigned model with the specified type.
GetWorldTransformReturns the world transform of the object which is relative to the parent. If no parent exists, this will be thetransform of the object in world space.
ReadBodyTransformThis method will reset the dirty flag on the mass so thatit has been read successfully and is valid.
UpdateMassPropertiesUpdates the mass properties of the current physical object ata particular time.