Tutorials 4.0 Maneuvers : Différence entre versions
m (Admin a déplacé la page ManeuversTutorials vers Tutorials 4.0 Maneuvers sans laisser de redirection) |
|||
(Une révision intermédiaire par le même utilisateur non affichée) | |||
Ligne 39 : | Ligne 39 : | ||
'''Code example:''' [[SequenceOfManeuvers|Sequence of maneuvers]] | '''Code example:''' [[SequenceOfManeuvers|Sequence of maneuvers]] | ||
− | [[Category:Tutorials]] | + | [[Category:Tutorials 4.0]] |
Version actuelle en date du 27 mars 2018 à 14:02
Impulsive maneuvers
This kind of maneuver consists in modelizing a maneuver as an instantaneous modification of the velocity. So, to define it, we must set, at least:
- an event that will determine that the maneuver will occur;
- three components, corresponding to the velocity increment;
- the specific impulse in order to be able to calculate the mass decrease due to the maneuver (we do not use here the PropulsiveProperty);
- as a consequence of the mass evolution, a MassModel and the part of this model where we will use ergols mass (here a specific tank).
Be careful that, when the maneuver direction is expressed in the vehicle frame, it will be mandatory to define an attitude when propagating the orbit !
In the example below, we will define a 20 m/s ΔV activated at the apogee of the orbit.
Code examples:
- Impulsive maneuver defined versus a vehicle frame
- Impulsive maneuver defined versus a specific frame (GCRF)
- Impulsive maneuver defined versus a LOF frame (TNW)
Continuous maneuvers
This time, a continuous thrust maneuver is no more considered as an impulsive one but as a more realistic one with a given duration. So to define it, we must set, at least:
- information about the start and the end of the maneuver
- the thrust direction
- the thrust level and the specific impulse via PropulsiveProperty
- as a consequence of the mass evolution, a MassModel and the part of this model where we will use ergols mass (here a specific tank)
Code examples:
Sequence of maneuvers
Such a sequence allows to group several maneuvers (impulsive or continuous ones) in a single object synthetizing a maneuver strategy. In fact, it is actually very simple to build it once each maneuver has been defined. We only have:
- to set a value in seconds for the minimum allowed time between a continuous maneuver and the next maneuver
- to set a value in seconds for the minimum allowed time between an impulse maneuver and the next maneuver
- to add each maneuver by using the add() method
In the example below, we have taken the impulsive maneuver build in the Impulsive maneuvers tutorial and the continuous maneuver taken from the Continuous maneuvers tutorial , putting them together in a sequence.
Code example: Sequence of maneuvers