AGI STK Astrogator 11 Send comments on this topic.
IAgVAMCSPropagate Interface





Description

Properties for a Propagate segment.

Object Model


Public Methods

Public Method DisableControlParameter Disables the specified control parameter.
Public Method EnableControlParameter Enables or disables the specified control parameter.
Public Method IsControlParameterEnabled Sees if the specified control is enabled.

Public Properties

Public Property ControlParametersAvailable Returns whether or not the control parameters can be set.
Public Property EnableMaxPropagationTime If true, the maximum propagation time is enforced.
Public Property EnableWarningMessage If true, Astrogator will issue a warning message if propagation is stopped by the Maximum Propagation Time parameter.
Public Property MaxPropagationTime The maximum propagation time, after which the segment will end regardless of whether the stopping conditions have been satisfied. Uses Time Dimension.
Public Property 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.
Public Property 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.
Public Property PropagatorName The propagator.
Public Property StoppingConditions The list of stopping conditions defined for the segment.

Example

Configure propagate segment
[C#] Copy Code
// Add a propagate segment to our sequence 
IAgVAMCSSegment segment = driver.MainSequence.Insert(AgEVASegmentType.eVASegmentTypePropagate, "Propagate""-"); 
IAgVAMCSPropagate propagate = segment as IAgVAMCSPropagate; 
propagate.PropagatorName = "Earth Point Mass"
 
// Configure propagtor advanced properties 
propagate.MinPropagationTime = 0
propagate.EnableMaxPropagationTime = true
propagate.MaxPropagationTime = 72000000
propagate.EnableWarningMessage = true
 
// Configure stopping conditions 
IAgVAStoppingCondition duration = propagate.StoppingConditions["Duration"].Properties as IAgVAStoppingCondition; 
duration.Trip = 7200
duration.Tolerance = 0.00001
 
// Add any addition stopping conditions 
IAgVAStoppingCondition lightning = propagate.StoppingConditions.Add("Lighting"as IAgVAStoppingCondition; 
 

Configure propagate segment
[Visual Basic .NET] Copy Code
' Add a propagate segment to our sequence
Dim segment As IAgVAMCSSegment = driver.MainSequence.Insert(AgEVASegmentType.eVASegmentTypePropagate, "Propagate", "-")
Dim propagate As IAgVAMCSPropagate = TryCast(segment, IAgVAMCSPropagate)
propagate.PropagatorName = "Earth Point Mass"

' Configure propagtor advanced properties
propagate.MinPropagationTime = 0
propagate.EnableMaxPropagationTime = True
propagate.MaxPropagationTime = 72000000
propagate.EnableWarningMessage = True

' Configure stopping conditions
Dim duration As IAgVAStoppingCondition = TryCast(propagate.StoppingConditions("Duration").Properties, IAgVAStoppingCondition)
duration.Trip = 7200
duration.Tolerance = 1E-05

' Add any addition stopping conditions
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

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1