ADCS.satellite_hardware.disturbances.thrust_disturbance module¶
- class ADCS.satellite_hardware.disturbances.thrust_disturbance.Thrust_Disturbance(force_nominal, location=None, noise=None)[source]¶
Bases:
DisturbanceA body-fixed thrust: a force at a point, with the torque it implies.
A thruster (or a leak, or an outgassing vent) pushes on the spacecraft with a force \(\mathbf{F}\) applied at a body-frame point \(\mathbf{r}_t\). That one physical quantity produces both a force on the centre of mass and a torque about it:
\[\mathbf{F}_{\mathrm{thrust}} = \mathbf{F}_0 + \mathbf{n}(t), \qquad \mathbf{T}_{\mathrm{thrust}} = (\mathbf{r}_t - \mathbf{r}_{\mathrm{COM}}) \times \mathbf{F}_{\mathrm{thrust}},\]where \(\mathbf{F}_0\) is the nominal thrust vector [N] and \(\mathbf{n}(t)\) an optional additive noise drawn once per plant step by
update()(seeNoise). A thrust that acts through the centre of mass produces no torque.This differs from
Prop_Disturbance, which models a propulsion torque directly with no force. Use this class when the thrust itself matters (orbit changes, thrust misalignment torque that scales with the thrust level); useProp_Disturbancewhen only a torque is known.Because the force is fixed in the body frame it does not depend on the attitude quaternion, so every attitude Jacobian and Hessian is zero.
- Parameters:
force_nominal (numpy.ndarray) – Nominal thrust vector in the body frame [N], shape
(3,).location (numpy.ndarray | None) – Point of application in the body frame [m], shape
(3,).Nonemeans the thrust acts through the centre of mass (no torque).noise (
Noise| None) – Noise model for the additive force noise [N]. Broadcast to three axes.
- force(sat, x, os)[source]¶
Current thrust force in the body frame [N], shape
(3,).sat,xandosare accepted for interface consistency and are unused: the thrust is body-fixed.- Parameters:
sat (Satellite)
x (State)
os (Orbital_State)
- Return type:
ndarray
- torque(sat, x, os)[source]¶
Torque of the thrust about the centre of mass [N·m], shape
(3,).\((\mathbf{r}_t - \mathbf{r}_{\mathrm{COM}}) \times \mathbf{F}_{\mathrm{thrust}}\), or zero when the thrust acts through the centre of mass.
- Parameters:
sat (Satellite)
x (State)
os (Orbital_State)
- Return type:
ndarray
- torque_qjac(*args, **kwargs)[source]¶
Zero: the thrust is body-fixed and does not depend on attitude. Shape
(4, 3).- Return type:
ndarray