Differential_Corrector

This attribute defines the Differential_Corrector targeting profile.

Syntax

Astrogator <Satellite Object Path> SetValue <Attribute Path>.Profiles.Differential_Corrector.{Attribute} <Value> [{Unit}]

Astrogator_RM <Satellite Object Path> GetValue <Attribute Path>.Profiles.Differential_Corrector.{Attribute}

Astrogator_RM <Satellite Object Path> GetMCSConstraintValue <Attribute Path>.Profiles.Differential_Corrector <ParentObjectName> <ResultName> <Attribute>

Astrogator_RM <Satellite Object Path> GetMCSControlValue <Attribute Path>.Profiles.Differential_Corrector <ParentObjectName> <ControlName> <Attribute>

Astrogator <Satellite Object Path> SetMCSConstraintValue <Attribute Path>.Profiles.Differential_Corrector <ParentObjectName> <ResultName> <Attribute> <Value> [<Unit>]

Astrogator <Satellite Object Path> SetMCSControlValue <Attribute Path>.Profiles.Differential_Corrector <ParentObjectName> <ControlName> <Attribute> <Value> [<Unit>]

Description

The Differential Corrector profile targets specific values, defined as independent variables. The target sequence will change the value of independent variables as needed to achieve the goal defined by the dependent variables, using a differential correction algorithm (for more information see Astrogator - Technical Notes - Differential Corrector in the STK Help).

Examples

Variables | Convergence | Advanced | Log | Graphs | Scripting

Setting the Targeter Mode

Available targeter modes are:

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Mode Iterate

Variables

Control Parameters (Independent Variables)

Note: If an element of a linked component is selected as an independent variable, the changed value that is produced will only be applied to subsequent segments nested within the same target sequence. Segments that are outside of the target sequence will use the value that the element held at the beginning of the MCS. If you apply corrections after running the MCS, then on the next run, all segments within the MCS will use the value produced by the target sequence.

Setting Control Parameters to Active/Inactive

Set Active to true to use a control parameter.

Astrogator */Satellite/Satellite1 SetMCSControlValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Maneuver ImpulsiveMnvr.Cartesian.X Active true

Retrieving Final Value

FinalValue only works with GetMCSControlValue because it is read only.

Astrogator_RM */Satellite/Satellite1 GetMCSControlValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate StoppingConditions.Duration.TripValue FinalValue

Retrieving Last Update

LastUpdate only works with GetMCSControlValue because it is read only.

Astrogator_RM */Satellite/Satellite1 GetMCSControlValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate StoppingConditions.Duration.TripValue LastUpdate

Retrieving Values for Every Iteration

Values only works with GetMCSControlValue because it is read only. It returns a list of the variable's values at every iteration.

Astrogator_RM */Satellite/Satellite1 GetMCSControlValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate StoppingConditions.Duration.TripValue Values

Retrieving Object

Object only works with GetMCSControlValue because it is read only.

Astrogator_RM */Satellite/Satellite1 GetMCSControlValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate StoppingConditions.Duration.TripValue ParentSegmentName

Setting Custom Display Unit to Active/Inactive

Set UseCustomUnit to true to use a custom display unit.

Astrogator */Satellite/Satellite1 SetMCSControlValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate StoppingConditions.Duration.TripValue UseCustomUnit true

Defining Custom Display Unit

Specify the custom display unit.

Astrogator */Satellite/Satellite1 SetMCSControlValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate StoppingConditions.Duration.TripValue Unit day

Defining Correction

Correction works with SetMCSControlValue and GetMCSControlValue.

Astrogator */Satellite/Satellite1 SetMCSControlValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate StoppingConditions.Duration.TripValue Correction 1.00 km

Defining Tolerance

Tolerance is the smallest update to the parameter to be made before the targeter stops. Tolerance is only used if the convergence criteria is set to "Either equality constraints or last control parameter updates within tolerance".

Astrogator */Satellite/Satellite1 SetMCSControlValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate StoppingConditions.Duration.TripValue Tolerance 0.01 sec

Defining Perturbation

Enter the value to be used in calculating numerical derivatives.

Astrogator */Satellite/Satellite1 SetMCSControlValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate StoppingConditions.Duration.TripValue Perturbation 0.1 sec

Defining Max. Step

Enter the maximum increment to make to the value of the parameter in any one step.

Astrogator */Satellite/Satellite1 SetMCSControlValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate StoppingConditions.Duration.TripValue MaxStep 600 sec

Defining Scaling Method

Select among:

This attribute allows better numerical behavior if the parameters have very different magnitudes. The same scaling method is applied to all parameters.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScaleControls By initial value

Defining Scaling Value

Enter a specified scale value if this attribute has been selected for Scaling Method.

Astrogator */Satellite/Satellite1 SetMCSControlValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate StoppingConditions.Duration.TripValue Scale 1 sec

Equality Constraints (Dependent Variables)

Setting Equality Constraints to Active/Inactive

Set Active to true to use an equality constraint.

Astrogator */Satellite/Satellite1 SetMCSConstraintValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate Delta_Declination Active true

Specifying Desired Value

Astrogator */Satellite/Satellite1 SetMCSConstraintValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate Delta_Declination Desired 100.0 deg

Retrieving Current Value

CurrentValue only works with GetMCSConstraintValue because it is read only.

Astrogator_RM */Satellite/Satellite1 GetMCSConstraintValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate Delta_Declination Achieved

Retrieving Values for Every Iteration

Values only works with GetMCSConstraintValue because it is read only. It returns a list of the variable's values at every iteration.

Astrogator_RM */Satellite/Satellite1 GetMCSConstraintValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate R_Mag Values

Retrieving Object

Object only works with GetMCSConstraintValue because it is read only.

Astrogator_RM */Satellite/Satellite1 GetMCSConstraintValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate Delta_Declination ParentSegmentName

Setting Custom Display Unit to Active/Inactive

Set UseCustomUnit to true to use a custom display unit.

Astrogator */Satellite/Satellite1 SetMCSConstraintValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate R_Mag UseCustomUnit true

Defining Custom Display Unit

Specify the custom display unit.

Astrogator */Satellite/Satellite1 SetMCSConstraintValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate R_Mag Unit m

Defining Tolerance

Specify how close the targeter should come to the desired value before stopping.

Astrogator */Satellite/Satellite1 SetMCSConstraintValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate R_Mag Tolerance 0.005 km

Defining Scaling Method

Select from these options:

This attribute allows better numerical behavior if the constraints have very different magnitudes. The same scaling method is applied to all constraints.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScaleGoals By desired value

Defining Scaling Value

Enter a scale value if the Scaling Method has been set to a 'By' specified value.

Astrogator */Satellite/Satellite1 SetMCSConstraintValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate R_Mag Scale 1 km

Defining Weight

This attribute is the factor by which the constraint error is to be multiplied. This value is used to emphasize or de-emphasize the importance of one constraint relative to the others.

Astrogator */Satellite/Satellite1 SetMCSConstraintValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector Propagate R_Mag Weight 1

Convergence

Setting Convergence Criteria

Select from these options:

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ConvergenceCriteria Equality constraints within tolerance

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ConvergenceCriteria Either equality constraints or last control parameter updates within tolerance

Setting Maximum Number of Iterations

This attribute is the number of complete iterations of the profile to try before stopping.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.MaxIterations 100

Specifying Display of Convergence Status Window

Set this attribute to true to have a page 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 (Equality Constraint) in the profile; otherwise, set it to false.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.DisplayPopup false

Advanced

Setting Root-Finding Algorithm

Select from these options

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.RootFindingAlgorithm "Newton-Raphson Method"

Setting Derivative Calculation Method

Select from these options:

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.FiniteDifferenceMethod Signed Difference

Setting Line Search Option

Set this attribute to true to perform a line search; otherwise, set it to false. A line search will not necessarily help the targeter converge, but it may speed up the process by taking several steps before recalculating the numerical partial derivatives.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.UseLineSearch true

Specify Line Search Maximum Iterations

Specify the maximum number of functions the targeter should call before stopping the line search and continuing.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.LineSearchMaxNumCalls 15

Setting Line Search Lower Bound

Enter a value for the lower bound of the line search.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.LineSearchLowerBound 0.1

Setting Line Search Upper Bound

Enter a value for the upper bound of the line search.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.LineSearchUpperBound 10

Setting Line Search Tolerance

Enter a value for the desired tolerance for the line search.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.LineSearchTolerance 0.0001

Select Homotopy

Set this attribute to true to use this option; otherwise, set it to false.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.UseHomotopy true

Specify Homotopy Number of Steps

Enter an integer that represents the number of steps into which the problem should be divided. The targeter will then try up to that maximum number of iterations for each homotopy step.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.NumHomotopySteps 2

Setting Clear Corrections Option

Set this attribute to true if you want the differential corrector to automatically reset each time that it is run, discarding the information that was computed the last time it was run. Otherwise, set it to false.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ClearCorrectionsBeforeRun true

Setting Limit Cycle Detection

Set this attribute to true if you want the differential corrector to stop iterating when it detects a limit cycle. Otherwise, set it to false.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.StopOnLimitCycleDetection true

Specifying B-Plane Updates

Set the appropriate attribute to true, selecting from these options:

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.AddBPlanePointsForNominals true

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.AddBPlanePointsForPerturbations true

Perturbation Draw Color

This attribute defines the display of perturbations in the 2D and 3D Graphics windows, if you have set Astrogator to draw while calculating (Draw Trajectory in 2D, Draw Trajectory in 3D).

Select from these options:

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.PerturbationColor Targeter Color

Log

The Targeter Log contains a log of each iteration for previous runs of the differential corrector. The following information is on each listed run:

Cost is a simple cost function computed as the square root of the sum of the squares of the scaled differences between the achieved and desired values of the equality constraints (dependent variables).

Retrieving the Number of Iterations

This attribute retrieves the number of iterations of the last run.

Astrogator_RM */Satellite/Satellite1 GetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.NumIterations

Setting Maximum Number of Runs to Keep in the Log

This attribute helps prevent the log file from growing too large. Its default value is 25. However, the log is only generated if the SatLevelLog attribute is set to true for one or more target sequences.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.MaximumRunsToLog 30

Graphs

Defining the Graphs List

Add a Graph component for each graph needed. The graph names will automatically be changed to be unique.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs Graph Graph Graph

To keep an existing graph while adding new ones to the list, include the name of the existing graph in the list.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs "My Graph" Graph Graph

Graph Properties

To retrieve or set the value of the properties of a graph, you must append the graph name after "Graphs".

Graph Name

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs.Graph1.ComponentName "My Graph"

Graph Generation

The value is a boolean.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs.Graph1.GraphWhileRunning true

User Comment

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs.Graph1.UserComment "This graph shows x"

Independent Variable

The value can be "Iteration" or the name of an active control or result.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs.Graph1.IndependentVariable Maneuver_:_Semimajor_Axis

Label Iterations

The value is a boolean.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs.Graph1.LabelIterations false

Show Desired Value

The value is a boolean.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs.Graph1.ShowDesired true

Show Tolerance Band

The value is a boolean.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs.Graph1.ShowTolerance true

Active Controls

To retrieve or set the value of the graph properties of an active control, you must append "ActiveControlOptions" and the name of the control after the graph name.

Graph Value

The value is a boolean.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs.Graph1.ActiveControlOptions.Maneuver_:_ImpulsiveMnvr_Cartesian_X.GraphValue true

Line Color

The color is defined in hexadecimal format, as 0x00BBGGRR, where BB is blue, GG is green, and RR is red. Connect does not acknowledge hexadecimal numbers, so once you have chosen the hexadecimal expression of the desired color, you will have to convert it to a decimal number.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs.Graph1.ActiveControlOptions.Maneuver_:_ImpulsiveMnvr_Cartesian_X.GraphLineColor 1

Point Style

The value can be Circle, Cross, Diamond, Down Triangle, None, Plus, Solid Diamond, Solid Dot, Solid Down Triangle, Solid Square, Solid Triangle, Square, or Triangle.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs.Graph1.ActiveControlOptions.Maneuver_:_ImpulsiveMnvr_Cartesian_X.GraphPointStyle "Solid Down Triangle"

Y Axis

The value can be Y1 or Y2.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs.Graph1.ActiveControlOptions.Maneuver_:_ImpulsiveMnvr_Cartesian_X.GraphYAxis Y2

Results

To retrieve or set the value of the graph properties of a result, you must append "ResultOptions" and the name of the result after the graph name.

Graph Option

The value can be "Don't graph", "Graph difference", or "Graph value".

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs.Graph1.ResultOptions.Maneuver_:_Semimajor_Axis.GraphOption "Graph difference"

Show Desired Value

The value is a boolean.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs.Graph1.ResultOptions.Maneuver_:_Semimajor_Axis.GraphDesired true

Line Color

The color is defined in hexadecimal format, as 0x00BBGGRR, where BB is blue, GG is green, and RR is red. Connect does not acknowledge hexadecimal numbers, so once you have chosen the hexadecimal expression of the desired color, you will have to convert it to a decimal number.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs.Graph1.ResultOptions.Maneuver_:_Semimajor_Axis.GraphLineColor 1

Point Style

The value can be Circle, Cross, Diamond, Down Triangle, None, Plus, Solid Diamond, Solid Dot, Solid Down Triangle, Solid Square, Solid Triangle, Square, or Triangle.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs.Graph1.ResultOptions.Maneuver_:_Semimajor_Axis.GraphPointStyle "Solid Down Triangle"

Y Axis

The value can be Y1 or Y2.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs.Graph1.ResultOptions.Maneuver_:_Semimajor_Axis.GraphYAxis Y2

Show Tolerance Band

The value is a boolean.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.Graphs.Graph1.ResultOptions.Maneuver_:_Semimajor_Axis.GraphTolerance true

Scripting

Setting to Enabled/Disabled

Set Enabled to true to use the Scripting Tool.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Enabled true

Defining Object Property List

Add an Attribute component in the list for each object property needed.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Attributes Attribute Attribute

Specifying Object

Enter the object that the attribute component will be associated with.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Attributes.Attribute.Object Propagate

Specifying Attribute

Enter the specific attribute of the object that the attribute component uses.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Attributes.Attribute.Attribute StoppingConditions.Duration.TripValue

Specifying Unit

Enter the unit in which the object property will be used in the script.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Attributes.Attribute.Unit min

Selecting Editable or Read-Only Attributes

Set ReadOnlyProperty to true to select from read-only attributes or false to select from editable attributes.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Attributes.Attribute.ReadOnlyProperty true

Defining Calc Object List

Enter a Calc Object component for each calculation object needed.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.CalcObjects CalcObject CalcObject

Specifying Calc Object

Enter the name of the calculation object the component should use.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.CalcObjects.CalcObject.CalcObject Altitude

To set a property of the calc object, add that property to the attribute path (this example sets the altitude calc object to be lunar altitude).

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.CalcObjects.CalcObject.CalcObject.CentralBody Moon

Specifying Unit

Enter the unit in which the calculation object will be used in the script.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.CalcObjects.CalcObject.Unit m

Specifying Parameter List

Enter a Parameter component for each parameter needed.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Parameters Parameter Parameter

Setting a Parameter to Inherit Its Value

Set InheritValue to true to have the parameter inherit its value from a previous search profile that has the same parameter or false to define the value (and unit dimension and unit) manually.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Parameters.Parameter.InheritValue true

Setting a User Comment

Enter a user comment.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Parameters.Parameter.UserComment This parameter is my favorite

Selecting a Minimum Value

Set UseMinValue to true to give the parameter a minimum value.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Parameters.Parameter.UseMinValue true

Setting a Minimum Value

If UseMinValue is true, define a minimum value for the parameter.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Parameters.Parameter.MinValue 0

Selecting a Maximum Value

Set UseMaxValue to true to give the parameter a maximum value.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Parameters.Parameter.UseMaxValue true

Setting a Maximum Value

If UseMaxValue is true, define a maximum value for the parameter.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Parameters.Parameter.MaxValue 10

Defining Parameter Value

Enter the value of the parameter.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Parameters.Parameter.ParamValue 20

Defining Parameter Type

Enter "Boolean", "Date", "Double", "Enumeration", "Integer", "Quantity", or "String".

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Parameters.Parameter.ParamType Boolean

Defining Parameter Unit

Enter a unit.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Parameters.Parameter.Unit m/sec

Defining Parameter Unit Dimension

Enter a unit dimension.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Parameters.Parameter.UnitDimension Rate

Specifying Language

Enter the desired scripting language.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Language JScript

or

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Language VBScript

or

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.Language MATLAB

Specifying Script

Enter the text of the script.

Astrogator */Satellite/Satellite1 SetValue MainSequence.SegmentList.Target_Sequence.Profiles.Differential_Corrector.ScriptingTool.ScriptStatements "Attribute = 2 * Parameter"

STK Programming Interface 11.0.1