SetState SGP4 (Satellites)
Set the orbit state of a satellite and propagate an SGP4 orbit
Syntax
SetState <SatObjectPath> SGP4 {NoProp | {TimeInterval}} <StepSize> <SSCNumber> TLESource {Automatic | DefineElements} [<Parameters>]
Related commands
Description
The SetState SGP4 command sets the orbit state of the specified satellite and propagates the orbit over the specified time period. The propagated ephemeris data is spaced by the <StepSize> parameter.
The STK orbit propagator doesn't completely validate the correctness of the orbit state specified. This means that Connect may return a positive acknowledgment even if the orbit track can't be displayed. Connect performs the same validation that occurs from the entry of state data via the user interface.
Parameter | Description |
---|---|
{NoProp | {TimeInterval}} | Enter NoProp to set the state of the vehicle but not propagate it. Enter {TimeInterval} to define the beginning and end of the satellite's time period for propagation. For valid {TimeInterval} values see Time Options. |
<StepSize> | The interval between calculated ephemeris output points. Entered in seconds and must be greater or equal to 0.001 seconds. |
<SSCNumber> | The catalog number of the spacecraft. |
TLESource {Automatic | DefineElements} | Indicate where the parameters to define the orbit state will originate. The following tables describe the additional parameters for each source. |
If TLESource is Automatic, then the following <Parameters> are valid:
Parameter | Description |
---|---|
Source {AGIServer | File "<Filename>"} | The default value is AGIServer. If File is entered then a "<Filename>", including the file path, containing element sets for the <SSCNumber> must be entered. Any file containing GP element data may be used, including TLE files and files containing CCSDS OMM content in XML, KVN, (using file extension .omm), and CSV formats. "<FilePath>" can be the path to a file on your local drive or the path to a file on an SDF server. See Specifying Paths for "<SDFFilePath>" syntax information. |
UseTLE {All | First} | Set the method for retrieving elements. The default value is All. |
SwitchMethod {Epoch | Midpoint | TCA} | Set the method for switching between elements. The default value is Epoch. The SwitchMethod option is ignored if UseTLE is set to First. |
UseCatalogModel | Enter this keyword to load a satellite model based on the SSC number. If not entered then the default satellite model is used. |
Routine {SGP4 | Default | <Name>} | Specify the implementation of the SGP4 propagator to be used, where SGP4 is the internal SGP4 routine implemented by STK, Default is the propagator selected in the Edit Preferences panel, and <Name> is an installed SGP4 plugin routine, e.g. AFSPC_SGP4_V8.
The AFSPC_SGP4 routine may be available as an option if STK has been properly configured to support it. It is only available if you have obtained the official SGP4 dll (and related files) from AFSPC (Air Force Space Command) and performed some minor install procedure. STK provides an interface to the AFSPC SGP4 routine - contact customer support. |
If TLESource is DefineElements, then the following <Parameters> are valid:
Parameter | Description |
---|---|
Source {AGIServer | File "<Filename>" | DefaultFile | Elements <Parameters>} | Specify the source of the elements. The default AGIServer.
If File is entered then one or more "<Filename>" must be entered. The file(s) should contain element sets for the <SSCNumber> specified. Any file containing GP element data may be used, including TLE files and files containing CCSDS OMM content in XML, KVN, (using file extension .omm), and CSV formats. "<FilePath>" can be the path to a file on your local drive or the path to a file on an SDF server. See Specifying Paths for "<SDFFilePath>" syntax information. If DefaultFile is entered then the current default source file will be set as the Source. See SetPropagatorDefaults command. The tables below describe the <Parameters> for the Elements option. |
SwitchMethod {Epoch | Midpoint | TCA} | Set the method for switching between elements. The default value is Epoch. The SwitchMethod option is ignored if UseTLE is set to First. |
UseCatalogModel | Enter this keyword to load a satellite model based on the SSC number. If not entered then the default satellite model is used. |
If Source is Elements then the following <Parameters> are valid.
Parameter | Description |
---|---|
ElementSet <MeanMotion> <Eccentricity> <Inclination> <ArgOfPerigee> <RAAN> <MeanAnomaly> <BStar> | Specify the elements that describe the orbit state. These values are described in the table below. The ElementSet is required if Source Elements is entered. |
OrbitEpoch <Date> | The universal date and time at which the specified orbit elements are true. The <Date> is entered in Connect Date units. |
OrbitEpochYYDDD <Date> | The universal date and time at which the specified orbit elements are true. The format for <Date> is YYDDD.DDDDDDDD. |
RevNumber <Value> | An integer representing the current number of revolutions, or passes, of the vehicle. If RevNumber <Value> is not included, it is assumed to be the first pass. |
Classification <Value> | A one-letter classification indicator. |
IntlDesignator <Value> | 1-8 characters representing the international designation of the satellite. |
MeanMotionDot <Value> | The first time derivative of mean motion. |
MeanMotionDotDot <Value> | The second time derivative of mean motion. |
The following table describes the values used in Source Elements ElementSet.
Element | Description |
---|---|
<MeanMotion> | A measure of the osculating period of the orbit, expressed as an angular rate. |
<Eccentricity> | Describes the shape of the ellipse. A value of 0 represents a circular orbit; values greater than 0 but less than 1 represent ellipses of varying degrees of ellipticality. |
<Inclination> | The angle between the angular momentum vector (perpendicular to the plane of the orbit) and the inertial Z-axis. Entered in degrees. |
<ArgOfPerigee> | The angle from the ascending node to the eccentricity vector (lowest point of orbit) measured in the direction of the satellite's motion. The eccentricity vector points from the center of the Earth to perigee with a magnitude equal to the eccentricity of the orbit. Entered in degrees. |
<RAAN> | The angle from the inertial X-axis to perigee. The ascending node is the point where the satellite passes through the inertial equator moving from south to north. Right ascension is measured as a right-handed rotation about the inertial Z-axis. Entered in degrees. |
<MeanAnomaly> | The angle from the eccentricity vector to a position vector where the satellite would be if it were always moving at its average angular rate. Entered in degrees. |
<BStar> | The drag term for the satellite. |
Examples
To set the state of the Shuttle in SGP4 coordinates automatically from the online AGIServer:
To set the state of the Shuttle in SGP4 coordinates automatically from the file specified:
To set the state of the Shuttle in SGP4 coordinates, obtaining the elements from the online AGIServer:
To set the state of the Shuttle in SGP4 coordinates using the specified element set:
To set the state of the Shuttle in SGP4 coordinates using the specified element set:
To set the state in SGP4 coordinates using the elements from the default source file:
The end of this cmd uses SGP4. You can also use Default or AFSPC_SGP4_V8:
Return message
Group membership
This command belongs to the following group(s):
Version
11.5