mass_rate¶
This module provides the functionality for creating mass rate settings.
Functions¶
|
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. |
- from_thrust(use_all_thrust_models: bool = 1, associated_thrust_source: str = '') tudatpy.kernel.dynamics.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:
- custom_mass_rate(mass_rate_function: collections.abc.Callable[[SupportsFloat], float]) tudatpy.kernel.dynamics.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[[astro.time_representation.Time], float]) – Function of time defining the custom mass rate.
- Returns:
Custom mass rate settings object.
- Return type:
Enumerations¶
Enumeration of available mass rate models. |
Classes¶
Functional base class to define settings for mass rates. |
|
MassRateModelSettings-derived class to define settings for a mass rate model derived from a thrust model. |
|
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.