ostk.astrodynamics.guidance_law.ConstantThrust

class ConstantThrust(
self: ostk.astrodynamics.guidance_law.ConstantThrust,
thrust_direction: ostk.astrodynamics.trajectory.LocalOrbitalFrameDirection,
)

Bases: GuidanceLaw

Constant Thrust, Constant Direction dynamics.

Constructor.

Parameters:

thrust_direction (LocalOrbitalFrameDirection) -- The thrust direction.

Methods

calculate_thrust_acceleration_at

Compute the acceleration due to constant thrust.

get_local_thrust_direction

Get the local thrust direction.

get_name

Get the name of the guidance law.

intrack

Create a constant thrust in the in-track direction.

calculate_thrust_acceleration_at(
self: ostk.astrodynamics.guidance_law.ConstantThrust,
instant: ostk.physics.time.Instant,
position_coordinates: numpy.ndarray[numpy.float64[3, 1]],
velocity_coordinates: numpy.ndarray[numpy.float64[3, 1]],
thrust_acceleration: ostk.core.type.Real,
output_frame: ostk.physics.coordinate.Frame,
) numpy.ndarray[numpy.float64[3, 1]]

Compute the acceleration due to constant thrust.

Parameters:
  • instant (Instant) -- The instant of the state vector.

  • position_coordinates (numpy.ndarray) -- The position coordinates.

  • velocity_coordinates (numpy.ndarray) -- The velocity coordinates.

  • thrust_acceleration (float) -- The thrust acceleration magnitude.

  • output_frame (Frame) -- The frame the acceleration will be expressed in.

Returns:

The contribution of the constant thrust to the state vector.

Return type:

numpy.ndarray

get_local_thrust_direction(
self: ostk.astrodynamics.guidance_law.ConstantThrust,
) ostk.astrodynamics.trajectory.LocalOrbitalFrameDirection

Get the local thrust direction.

Returns:

The local thrust direction.

Return type:

LocalOrbitalFrameDirection

get_name(self: ostk.astrodynamics.GuidanceLaw) ostk.core.type.String

Get the name of the guidance law.

Returns:

The name of the guidance law.

Return type:

str

static intrack(
velocity_direction: bool = True,
) ostk.astrodynamics.guidance_law.ConstantThrust

Create a constant thrust in the in-track direction.

Parameters:
  • satellite_system (SatelliteSystem) -- The satellite system.

  • velocity_direction (bool, optional) -- If True, the thrust is applied in the velocity direction. Otherwise, it is applied in the opposite direction.

  • frame (Frame, optional) -- The reference frame.

Returns:

The constant thrust.

Return type:

ConstantThrust