mass_rate

This module provides the functionality for creating mass rate settings.

Functions

from_thrust([use_all_thrust_models, ...])

Creates the settings for a mass rate model defined from a thrust model.

custom_mass_rate(mass_rate_function)

Creates the settings for a mass rate model defined from a thrust model.

from_thrust(use_all_thrust_models: bool = 1, associated_thrust_source: str = '') tudatpy.kernel.numerical_simulation.propagation_setup.mass_rate.MassRateModelSettings

Creates the settings for a mass rate model defined from a thrust model.

Creates the settings for a mass rate model defined from a thrust model. The mass rate model is derived from the associated body’s engine model. It is possible to consider only a specific engine or all engines.

Parameters:
  • use_all_thrust_models (bool, default=true) – Denotes whether all engines of the associated body are to be combined into a single thrust model.

  • associated_thrust_source (str, default="") – Name of engine model from which thrust is to be derived (must be empty if the first argument is set to true).

Returns:

From thrust mass rate settings object.

Return type:

FromThrustMassRateSettings

custom_mass_rate(mass_rate_function: Callable[[float], float]) tudatpy.kernel.numerical_simulation.propagation_setup.mass_rate.MassRateModelSettings

Creates the settings for a mass rate model defined from a thrust model.

Creates the settings for a custom mass rate model defined through a mass rate function. The function must have time as an independent variable.

Parameters:

mass_rate_function (callable[[float], float]) – Function of time defining the custom mass rate.

Returns:

Custom mass rate settings object.

Return type:

CustomMassRateSettings

Enumerations

AvailableMassRateModels

Enumeration of available mass rate models.

class AvailableMassRateModels

Enumeration of available mass rate models.

Enumeration of mass rate models supported by tudat.

Members:

undefined_mass_rate_type :

custom_mass_rate_type :

from_thrust_mass_rate_type :

property name

Classes

MassRateModelSettings

Functional base class to define settings for mass rates.

FromThrustMassRateSettings

MassRateModelSettings-derived class to define settings for a mass rate model derived from a thrust model.

CustomMassRateSettings

MassRateModelSettings-derived class to define settings for a custom mass rate model.

class MassRateModelSettings

Functional base class to define settings for mass rates.

Base class for providing settings for a mass rate model, that defines the models to be used to numerically propagate the mass of a body during a simulation. If any additional information (besides the type of the mass rate model) is required, these must be implemented in a derived class (dedicated for each mass rate model type).

class FromThrustMassRateSettings

MassRateModelSettings-derived class to define settings for a mass rate model derived from a thrust model.

MassRateModelSettings-derived class to define settings for a mass rate model derived from a thrust model.

class CustomMassRateSettings

MassRateModelSettings-derived class to define settings for a custom mass rate model.

MassRateModelSettings-derived class to define settings for a custom mass rate model.