TemperatureMsgPayload message.
Motor thermal
motorThermal
motorThermal
Computes the temperature of a reaction wheel motor accounting for mechanical power inefficiencies, friction heat generation, and radiative dissipation to the environment.Heat generation modelMechanical power from the motor:Power lost as heat (given mechanical efficiency η):Friction dissipation:Thermal dissipation to environment:Temperature update (Euler):Messages
Key parameters
Estimating parametersMotor heat capacity from mass and specific heat:Steel has a specific heat of approximately 466 J·kg⁻¹·°C⁻¹.Ambient thermal resistance from convection:For free convection in air,
| Message | Type | Direction | Description |
|---|---|---|---|
rwStateInMsg | RWConfigLogMsgPayload | Input | RW mechanical torque, friction torque, and wheel speed |
temperatureOutMsg | TemperatureMsgPayload | Output | Motor temperature |
| Parameter | Description |
|---|---|
currentTemperature | Initial motor temperature [°C] |
ambientTemperature | Ambient temperature [°C] |
efficiency | Mechanical efficiency η (0–1) |
ambientThermalResistance | Thermal resistance to environment [°C/W] |
motorHeatCapacity | Motor heat capacity C_motor [J/°C] |
h ≈ 100 W·m⁻²·°C⁻¹.Assumptions- Ambient temperature is constant
- Ambient thermal resistance does not vary with temperature or pressure
- Motor heat capacity is constant
Sensor thermal
sensorThermal
sensorThermal
Models the temperature of a flat-plate sensor accounting for radiative emission, solar absorption, and electrical power dissipation. The sensor is assumed to have an insulated backing (no conduction to the spacecraft).Energy balanceRadiative emission (Stefan–Boltzmann law):Solar absorption:Temperature update (Euler):Messages
Key parameters
Assumptions
| Message | Type | Direction | Description |
|---|---|---|---|
sunInMsg | SpicePlanetStateMsgPayload | Input | Sun state |
stateInMsg | SCStatesMsgPayload | Input | Spacecraft state |
sunEclipseInMsg | EclipseMsgPayload | Input (optional) | Eclipse illumination factor |
sensorStatusInMsg | DeviceStatusMsgPayload | Input (optional) | Sensor power on/off |
temperatureOutMsg | TemperatureMsgPayload | Output | Sensor temperature |
| Parameter | Default | Description |
|---|---|---|
nHat_B | [0,0,0] | Required. Normal vector of sensor face in body frame |
sensorArea | −1 | Required. Sensor area [m²] |
sensorAbsorptivity | −1 | Required. Solar absorptivity α |
sensorEmissivity | −1 | Required. Thermal emissivity ε |
sensorMass | 1.0 kg | Required. Sensor mass [kg] |
sensorSpecificHeat | 890 J/kg/K | Specific heat (aluminum default) |
T_0 | 0.0 °C | Initial temperature [°C] |
sensorPowerDraw | 0.0 W | Electrical power dissipated as heat [W] |
- Flat plate with insulated backing (no conduction to spacecraft)
- Earth albedo not included
- All electrical power converts to heat instantly