Description
Properties for a Propagate segment.
Object Model
Public Methods
Public Properties
ControlParametersAvailable |
Returns whether or not the
control parameters can be set. |
EnableMaxPropagationTime |
If true, the maximum
propagation time is enforced. |
EnableWarningMessage |
If true, Astrogator will
issue a warning message if propagation is stopped by the Maximum
Propagation Time parameter. |
MaxPropagationTime |
The maximum propagation
time, after which the segment will end regardless of whether the
stopping conditions have been satisfied. Uses Time Dimension. |
MinPropagationTime |
The minimum time that must
elapse from the beginning of the segment until Astrogator will
begin checking stopping conditions for satisfaction. Uses Time
Dimension. |
OverrideMaxPropagationTime |
Override Maximum
Propagation Time - if there is a duration or epoch stopping
condition that occurs after the maximum propagation time, ignore
the maximum propagation time. |
PropagatorName |
The propagator. |
StoppingConditions |
The list of stopping
conditions defined for the segment. |
Example
Configure propagate
segment
[C#] |
Copy Code
|
IAgVAMCSSegment segment = driver.MainSequence.Insert(AgEVASegmentType.eVASegmentTypePropagate, "Propagate", "-");
IAgVAMCSPropagate propagate = segment as IAgVAMCSPropagate;
propagate.PropagatorName = "Earth Point Mass";
propagate.MinPropagationTime = 0;
propagate.EnableMaxPropagationTime = true;
propagate.MaxPropagationTime = 72000000;
propagate.EnableWarningMessage = true;
IAgVAStoppingCondition duration = propagate.StoppingConditions["Duration"].Properties as IAgVAStoppingCondition;
duration.Trip = 7200;
duration.Tolerance = 0.00001;
IAgVAStoppingCondition lightning = propagate.StoppingConditions.Add("Lighting") as IAgVAStoppingCondition;
|
|
Configure propagate
segment
[Visual Basic .NET] |
Copy Code
|
Dim segment As IAgVAMCSSegment =
driver.MainSequence.Insert(AgEVASegmentType.eVASegmentTypePropagate,
"Propagate", "-")
Dim propagate As IAgVAMCSPropagate = TryCast(segment,
IAgVAMCSPropagate)
propagate.PropagatorName = "Earth Point
Mass"
propagate.MinPropagationTime = 0
propagate.EnableMaxPropagationTime = True
propagate.MaxPropagationTime = 72000000
propagate.EnableWarningMessage = True
Dim duration As IAgVAStoppingCondition =
TryCast(propagate.StoppingConditions("Duration").Properties, IAgVAStoppingCondition)
duration.Trip = 7200
duration.Tolerance = 1E-05
Dim lightning As IAgVAStoppingCondition =
TryCast(propagate.StoppingConditions.Add("Lighting"), IAgVAStoppingCondition)
|
|
Insert a
Propagate State Segment into the MCS and configure
[MATLAB] |
Copy Code
|
% IAgVADriverMCS driver: MCS driver interface
propagate = driver.MainSequence.Insert('eVASegmentTypePropagate', 'Propagate', '-');
propagate.PropagatorName = 'Earth Point Mass';
propagate.Properties.Color = 16711680; % Blue
propagate.StoppingConditions.Item('Duration').Properties.Trip = 7200;
|
|
Insert a
Propagate State Segment into the MCS and Add/Remove Stopping
Conditions
[MATLAB] |
Copy Code
|
% IAgVADriverMCS driver: MCS driver interface
transferEllipse = driver.MainSequence.Insert('eVASegmentTypePropagate', 'Transfer Ellipse', '-');
transferEllipse.Properties.Color = 255; % Red
transferEllipse.PropagatorName = 'Earth Point Mass';
transferEllipse.StoppingConditions.Add('Apoapsis');
transferEllipse.StoppingConditions.Remove('Duration');
|
|
CoClasses that Implement
IAgVAMCSPropagate