10. Thruster#

class Thruster(name: str, epochs_filename: str, thrust_filename: str, thrust_units: Units, mass_flow_filename: str, mass_flow_units: Units, wet_mass_filename: str, wet_mass_units: Units, Ux_filename: str, Uy_filename: str, Uz_filename: str, ref_frame: str, order: int = 6)#

Bases: object

WORK IN PROGRESS

Combines thruster properties and a finite burn model for spacecraft propulsion.

Parameters:
  • name (str) – The name of the thruster.

  • epochs_filename (str) – DESC

  • thrust_filename (str) – DESC

  • thrust_units (Units) – DESC

  • mass_flow_filename (str) – DESC

  • mass_flow_units (Units) – DESC

  • wet_mass_filename (str) – DESC

  • wet_mass_units (Units) – DESC

  • Ux_filename (str) – DESC

  • Uy_filename (str) – DESC

  • Uz_filename (str) – DESC

  • ref_frame (str) – DESC

  • order (int, optional) – DESC. Defaults to 6.

Raises:

REMOVE IF NO SPECIAL ERRORS

Notes

REMOVE IF NO NOTES

References

REMOVE IF NO REFERENCES

Examples

# initial setup
import scarabaeus as scb

Attributes

Methods

get_arc_initial_time(epoch)

Get the initial epoch of the arc corresponding to the input epoch.

get_coeff_at_time(coeff_type, epoch)

Retrieve coefficients for a given type and epoch.

get_m_dot(epoch)

Compute mass flow rate at a given epoch.

get_thrust(epoch)

Compute thrust at a given epoch.

get_thrust_unit_vector(epoch)

Compute the thrust unit vector at a given epoch.

get_wet_mass(epoch)

Compute wet mass at a given epoch.

get_arc_initial_time(epoch: ArrayWUnits) ArrayWUnits#

Get the initial epoch of the arc corresponding to the input epoch.

Parameters:

epoch (ArrayWUnits) – DESC

Returns:

epoch_0 – Initial epoch of the arc.

Return type:

ArrayWUnits

Notes

Examples

# initial setup
import scarabaeus as scb
get_coeff_at_time(coeff_type: Literal['thrust', 'mass flow', 'wet mass', 'unit x', 'unit y', 'unit z'], epoch: ArrayWUnits)#

Retrieve coefficients for a given type and epoch.

Parameters:
  • coeff_type (str) – Type of coefficient

  • epoch (ArrayWUnits) – Epoch for which coefficients are required

Returns:

Coefficients as a reversed list

Return type:

list

get_m_dot(epoch: ArrayWUnits) ArrayWUnits#

Compute mass flow rate at a given epoch.

Parameters:

epoch (ArrayWUnits) – Epoch for which to compute mass flow rate.

Returns:

mass_flow – Mass flow rate at the given epoch.

Return type:

ArrayWUnits

Notes

Examples

# initial setup
import scarabaeus as scb
get_thrust(epoch: ArrayWUnits) ArrayWUnits#

Compute thrust at a given epoch.

Parameters:

epoch (ArrayWUnits) – The epoch to compute thrust at.

Returns:

thrust – Thrust at the given epoch.

Return type:

ArrayWUnits

Raises:

ValueError – Explain

Notes

get_thrust_unit_vector(epoch: ArrayWUnits) ArrayWUnits#

Compute the thrust unit vector at a given epoch.

Parameters:

epoch (ArrayWUnits) – Epoch for which to compute the unit vector.

Returns:

u_vec – Thrust unit vector at the given epoch.

Return type:

ArrayWUnits

Notes

Examples

# initial setup
import scarabaeus as scb
get_wet_mass(epoch: ArrayWUnits) ArrayWUnits#

Compute wet mass at a given epoch.

Parameters:

epoch (ArrayWUnits) – Epoch for which to compute wet mass.

Returns:

wet_mass – Wet mass at the given epoch.

Return type:

ArrayWUnits

Notes

Examples

# initial setup
import scarabaeus as scb
property epochs#

DESC

property mass_flow_coeffs#

DESC

property mass_flow_units#

DESC

property name: str#

DESC

property ref_frame#

DESC

property thrust_coeffs#

DESC

property thrust_units: Units#

DESC

property ux_coeffs#

DESC

property uy_coeffs#

DESC

property uz_coeffs#

DESC

property wet_mass_coeffs#

DESC

property wet_mass_units#

DESC