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.

You can include the following {Options} on the command line:

{Options}Description
TimePeriod {TimeInterval}Enter the span of the ephemeris. If not entered, then STK obtains the time period from the TLE card.

For valid {TimeInterval} values see Time Options.

TimeStep <StepSize>Enter the interval between calculated ephemeris output points, 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. ASTROSTDS_SGP4_V9.

Astro Standards routines may be available as an option if you properly configured STK to support it. It is only available if you have obtained the official SGP4 DLL (and related files) from USSF (US Space Force) and performed a minor install procedure. STK provides an interface to the USSF SGP4 routines; contact customer support for more information.

NoPropIf you include this on the command line, STK will set the satellite's state but will not propagate it.

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 the preinstalled STK SGP4 routine:

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