Description | Example | Return Message | Group

SetPropagatorDefaults

Set default values for SGP4 and GPS propagators.

Syntax

SetPropagatorDefaults <ApplicationPath> {Propagator} {PropOptions}

Related Commands

Description

The SetPropagatorDefaults command sets default values used when creating satellites with the SGP4 or GPS propagator.

{Propagator} can be SGP4 or GPS.

If {Propagator} is SGP4 the valid values for {PropOptions} are described in the following table.

SGP4 {PropOptions} Description
Use1PtInterpolation {On | Off} Indicate whether to use 1-point interpolation for SGP4.
ValidateEphemeris {On | Off} If On is entered validates that the SGP4 routine computes a good state.
Output1PtWarning {On | Off} If Off is entered STK will suppress any warnings from the 1-point interpolation.
Module {SGP4 | <ModuleName>} Specify the module for propagation. SGP4 is the default and indicates that the internal SGP4 routine implemented by STK will be used. Otherwise, enter the name of any external routine that has been made available to STK.
UpdateMode {None | OnlineAGI | FromFiles} Specify the mode that will be used to update the tle for satellites using the SGP4 propagator.
RetrieveMethod {First | All} Specify whether all tles for a satellite or only the first should be retrieved.
SwitchMethod {Midpoint | TCA | Epoch} Specify the method for switching between tles when the RetrieveMethod has been set to All.
SourceFile "<FilePath>" Specify the source file to be used if UpdateMode is FromFiles.

If {Propagator} is GPS the valid values for {PropOptions} are described in the following table.

GPS {PropOptions} Description
UpdateMode {None | Online | FromFiles} Specify the mode that will be used to update the tle for satellites using the GPS propagator.
RetrieveMethod {First | All} Specify whether all tles for a satellite or only the first should be retrieved.
SwitchMethod {Midpoint | TCA | Epoch} Specify the method for switching between tles when the RetrieveMethod has been set to All.
SourceFile "<FilePath>" Specify the source file to be used if UpdateMode is FromFiles.

Example

To set defaults for SGP4 propagator:

SetPropagatorDefaults / SGP4 Use1PtInterpolation On Output1PtWarning On

To set defaults for GPS propagator:

SetPropagatorDefaults / GPS UpdateMode Online RetrieveMethod First

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Application Options

Vehicles

Version

9.0

STK Programming Interface 11.0.1