ostk.astrodynamics.dynamics.Thruster

class Thruster(
self: ostk.astrodynamics.dynamics.Thruster,
satellite_system: ostk.astrodynamics.flight.system.SatelliteSystem,
guidance_law: ostk::astrodynamics::GuidanceLaw,
name: ostk.core.type.String =,
)

Bases: Dynamics

Abstract Thruster Class.

Base class to derive other thruster classes from. Cannot be instantiated.

Constructor.

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

  • guidance_law (GuidanceLaw) -- The guidance law used to compute the acceleration vector.

  • name (str) -- The name of the thruster.

Methods

compute_contribution

Compute the contribution of the thruster to the state vector.

from_environment

Create a list of Dynamics objects from an environment.

get_guidance_law

Get the guidance law of the thruster.

get_name

Get the name of the dynamics.

get_read_coordinate_subsets

Get the coordinate subsets that the dynamics reads.

get_satellite_system

Get the satellite system of the thruster.

get_write_coordinate_subsets

Get the coordinate subsets that the dynamics writes.

is_defined

Check if the thruster is defined.

compute_contribution(
self: ostk.astrodynamics.dynamics.Thruster,
instant: ostk.physics.time.Instant,
state_vector: numpy.ndarray[numpy.float64[m, 1]],
frame: ostk.physics.coordinate.Frame,
) numpy.ndarray[numpy.float64[m, 1]]

Compute the contribution of the thruster to the state vector.

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

  • state_vector (numpy.ndarray) -- The state vector.

  • frame (Frame) -- The reference frame.

Returns:

The contribution of the thruster to the state vector.

Return type:

numpy.ndarray

static from_environment(
environment: ostk.physics.Environment,
) list[ostk.astrodynamics.Dynamics]

Create a list of Dynamics objects from an environment.

Parameters:

environment (Environment) -- The environment to create the dynamics from.

Returns:

The list of Dynamics objects created from the environment.

Return type:

dynamics (list[Dynamics])

get_guidance_law(
self: ostk.astrodynamics.dynamics.Thruster,
) ostk::astrodynamics::GuidanceLaw

Get the guidance law of the thruster.

Returns:

The guidance law.

Return type:

GuidanceLaw

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

Get the name of the dynamics.

Returns:

The name of the dynamics.

Return type:

name (str)

get_read_coordinate_subsets(
self: ostk.astrodynamics.Dynamics,
) list[ostk.astrodynamics.trajectory.state.CoordinateSubset]

Get the coordinate subsets that the dynamics reads.

Returns:

The coordinate subsets that the dynamics reads.

Return type:

read_coordinate_subsets (Array<CoordinateSubset>)

get_satellite_system(
self: ostk.astrodynamics.dynamics.Thruster,
) ostk.astrodynamics.flight.system.SatelliteSystem

Get the satellite system of the thruster.

Returns:

The satellite system.

Return type:

SatelliteSystem

get_write_coordinate_subsets(
self: ostk.astrodynamics.Dynamics,
) list[ostk.astrodynamics.trajectory.state.CoordinateSubset]

Get the coordinate subsets that the dynamics writes.

Returns:

The coordinate subsets that the dynamics writes.

Return type:

write_coordinate_subsets (Array<CoordinateSubset>)

is_defined(self: ostk.astrodynamics.dynamics.Thruster) bool

Check if the thruster is defined.

Returns:

True if the thruster is defined, False otherwise.

Return type:

bool