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





Description

Properties for a Differential Corrector profile.

Object Model





Public Properties

Public Property ClearCorrectionsBeforeRun Clear Corrections Before Each Run - if true, the differential corrector is automatically reset each time that it is run, discarding information that was computed the last time it was run.
Public Property ControlParameters The list of control parameters defined for the profile.
Public Property ConvergenceCriteria The convergence criteria.
Public Property DerivativeCalcMethod The derivative calculation method.
Public Property DrawPerturbation Defines the display of perturbations in the 2D and 3D Graphics windows, if you have set Astrogator to draw while calculating.
Public Property EnableBPlaneNominal If true, Astrogator will update the display of B-Planes for the nominal run of each iteration during the targeting process.
Public Property EnableBPlanePerturbations If true, Astrogator will update the display of B-Planes for both of the perturbations of each iteration during the targeting process.
Public Property EnableDisplayStatus If true, a page will appear during the targeting run to report the status of the targeting effort in terms of proximity to the desired value for each dependent variable in the profile.
Public Property EnableHomotopy If true, the profile will divide the problem into steps to solve it.
Public Property EnableLineSearch If true, the profile will perform a line search.
Public Property HomotopySteps The number of steps to divide a problem into for a homotopic calculation. Dimensionless - .
Public Property LineSearchLowerBound The low boundary for the line search. Dimensionless.
Public Property LineSearchTolerance The tolerance for the line search. Dimensionless.
Public Property LineSearchUpperBound The high boundary for the line search. Dimensionless.
Public Property MaxIterations The number of complete iterations of the profile to try before stopping. Dimensionless.
Public Property MaxLineSearchIterations The number of line search iterations to try before stopping. Dimensionless.
Public Property NumIterations The number of iterations of the last run
Public Property Results The list of results defined for the profile.
Public Property RootFindingAlgorithm The root-finding algorithm to use.
Public Property ScriptingTool Returns the Scripting tool for the sequence.
Public Property StopOnLimitCycleDetection If true, Astrogator will stop targeting if a limit cycle is detected.
Public Property TargeterGraphs Graphs

Interfaces

Implemented Interface
IAgVAProfile

Example

Configure target sequence with Differential Corrector profile
[C#] Copy Code
IAgVAMCSTargetSequence startTransfer = driver.MainSequence["Start Transfer"as IAgVAMCSTargetSequence; 
 
string dcString = "Differential Corrector"
 
if (Array.IndexOf(startTransfer.Profiles.AvailableProfiles, dcString) != -1

    IAgVAProfileDifferentialCorrector dc = startTransfer.Profiles.Add(dcString) as IAgVAProfileDifferentialCorrector; 
 
    // Configure differential corrector 
    dc.ClearCorrectionsBeforeRun = true
    dc.ConvergenceCriteria = AgEVAConvergenceCriteria.eVAConvervenceCriteriaEitherEqualityConstraintsOrControlParams; 
    dc.EnableBPlaneNominal = false
    dc.EnableBPlanePerturbations = false
    dc.EnableDisplayStatus = true
    dc.EnableHomotopy = true
    dc.HomotopySteps = 2
    dc.EnableHomotopy = false
    dc.EnableLineSearch = true
    dc.LineSearchLowerBound = 0.001
    dc.LineSearchTolerance = 0.001
    dc.LineSearchUpperBound = 5.0
    dc.MaxLineSearchIterations = 5
    dc.MaxIterations = 20
 
    // Apply 
    startTransfer.ApplyProfiles(); 

 

Configure target sequence with Differential Corrector profile
[Visual Basic .NET] Copy Code
Dim startTransfer As IAgVAMCSTargetSequence = TryCast(driver.MainSequence("Start Transfer"), IAgVAMCSTargetSequence)

Dim dcString As String = "Differential Corrector"

If Array.IndexOf(startTransfer.Profiles.AvailableProfiles, dcString) <> -1 Then
    Dim dc As IAgVAProfileDifferentialCorrector = TryCast(startTransfer.Profiles.Add(dcString), IAgVAProfileDifferentialCorrector)

    ' Configure differential corrector
    dc.ClearCorrectionsBeforeRun = True
    dc.ConvergenceCriteria = AgEVAConvergenceCriteria.eVAConvervenceCriteriaEitherEqualityConstraintsOrControlParams
    dc.EnableBPlaneNominal = False
    dc.EnableBPlanePerturbations = False
    dc.EnableDisplayStatus = True
    dc.EnableHomotopy = True
    dc.HomotopySteps = 2
    dc.EnableHomotopy = False
    dc.EnableLineSearch = True
    dc.LineSearchLowerBound = 0.001
    dc.LineSearchTolerance = 0.001
    dc.LineSearchUpperBound = 5
    dc.MaxLineSearchIterations = 5
    dc.MaxIterations = 20

    ' Apply
    startTransfer.ApplyProfiles()
End If

CoClasses that Implement IAgVAProfileDifferentialCorrector

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1