Description | Example | Return message | Group

SetState TLE (Satellites)

Set the orbit state of a satellite using a two-line element set.

Syntax

SetState <SatObjectPath> TLE "<TLECard1>" "<TLECard2>" [{Options}]

Related commands

Description

The SetState TLE command sets the orbit state of the specified satellite, using the input two-line element set, and propagates the orbit. When specifying the TLE Cards, use the entire card, including spaces, and enclose each card in double quotes.

Each TLE Card must be 69 characters long. Do not leave out any spaces.

The following {Options} can be included on the command line:

{Options}Description
TimePeriod {TimeInterval}The span of the ephemeris. If not entered, then the time period is obtained from the TLE card.

For valid {TimeInterval} values see Time Options.

TimeStep <StepSize>The interval between calculated ephemeris output points. Entered in seconds
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.

NoPropIf included on the command line the satellite's state will be set but it will not be propagated.

Examples

Set Satellite1 to use the specified two-line element set:

SetState */Satellite/Satellite1 TLE "1 10637U 78012A   04113.40484266  .00000000  00000-0  10000-3 0  9453" "2 10637 040.1939 040.6913 1575431 119.1582 257.4005 01.000538770048625"

Set Satellite2 to use the specified two-line element set, and propagate over the input time period:

SetState */Satellite/Satellite2 TLE "1 10637U 78012A   04113.40484266  .00000000  00000-0  10000-3 0  9453" "2 10637 040.1939 040.6913 1575431 119.1582 257.4005 01.000538770048625" TimePeriod "1 Jun 2004 12:00:00.00" "1 Jun 2004 18:00:00.00"

The end of this command uses SGP4. You can also use Default or AFSPC_SGP4_V8:

SetState */Satellite/tleSat TLE "1 01749U 07001001 10128.75694444 -.03323249 00000-0 -18674-1 0 00006" "2 01749 051.6331 137.0959 0010650 306.9123 299.1585 15.78609082000298" Routine SGP4

Return message

Group membership

This command belongs to the following group(s):

Vehicles

Version

10.1