Description | Example | Return message | Group

SetState Classical

Set the orbit state of a satellite or missile using classical coordinates

Syntax

SetState <VehObjectPath> Classical {Propagator} {NoProp | {TimeInterval}} <StepSize> {CoordSystem} "<OrbitEpoch>" <SemiMajorAxis> <Eccentricity> <Inclination> <ArgOfPerigee> <RAAN> <MeanAnom> ["<CoordEpoch>"]

Related commands

Description

The SetState Classical command sets the orbit state of the specified satellite or missile using the input classical element set and propagates the orbit over the specified time period. The propagated ephemeris data is spaced by the <StepSize> parameter.

The SetState Classical command is valid for Satellite and Missile only.

ParameterDescription
{Propagator}This parameter is case sensitive and the Propagator name must match the format used in the Satellite's Orbit page or Missile's Trajectory page under Basic properties.

Valid values for Satellite are TwoBody, J2Perturbation, J4Perturbation, HPOP, and LOP.

Valid values for Missile are TwoBody and HPOP.

{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>Enter this in seconds; it must be greater than or equal to 0.001 seconds.

If you select LOP propagator, the <StepSize> must be greater than or equal to one day (86164.09 seconds).

{CoordSystem}Enter any coordinate system supported by the vehicle's central body. All central bodies support Fixed, Inertial, J2000, ICRF, and TrueOfDate. TrueOfEpoch, TEMEOfDate, TEMEOfEpoch, MeanOfDate, MeanOfEpoch, B1950, AlignmentAtEpoch, ITRF2020, ITRF2014, ITRF2008, ITRF2005, and ITRF2000 are supported when the central body is Earth. MeanEarth, PrincipalAxes_440, PrincipalAxes_430, PrincipalAxes_421, etc. are supported when the central body is Moon.
"<OrbitEpoch>"For valid "<OrbitEpoch>" values, see Time Options.
<SemiMajorAxis>Enter this in Connect distance units.
<Eccentricity>Enter a real number greater than or equal to 0.0 and less than 1.0
<Inclination>Enter this in degrees.
<ArgOfPerigee>Enter this in degrees.
<RAAN>Enter this in degrees.
<MeanAnom>Enter this in degrees.
["<CoordEpoch>"]This parameter is only applicable, and is required, for {CoordSystem} based on an epoch, such as MeanOfEpoch, TrueOfEpoch, TEMEOfEpoch, and AlignmentAtEpoch.

For valid "<CoordEpoch>" values, see Time Options.

This command doesn't accept values of less than -180 degrees for orbital elements.

Propagator-specific parameters stored with the vehicle instance aren't affected. For example, when STK receives a SetState Classical command specifying HPOP for {Propagator}, STK uses the existing HPOP force model data. If you create a vehicle and modify the force model, or load a vehicle with a modified force model, that data isn't modified by this command. If you create a new vehicle via the Connect New Command, STK uses the default force model data.

The STK orbit propagator doesn't completely validate the correctness of the complete orbit state specified. This means that Connect may return a positive acknowledgment even when STK cannot display the orbit track. Connect performs the same validation that occurs from the entry of state data via the user interface.

Examples

To set the path for the ERS1 satellite using Classical coordinates and propagate the orbit:

SetState */Satellite/ERS1 Classical J2Perturbation "1 Nov 2000 00:00:00.00" "1 Nov 2000 04:00:00.00" 60 J2000 "1 Nov 2000 00:00:00.00" 7163000.137079 0.0 98.5 0.0 139.7299 360.0

To set the path for the ERS1 satellite using Classical coordinates and propagate the orbit:

SetState */Satellite/ERS1 Classical LOP "1 Oct 1999 00:00:00.00" "30 Nov 1999 00:00:00.00" 86400 J2000 "1 Oct 1999 00:00:00.00" 42164000.0 0.0 0.0 0.0 269.3 0.0

To set the path for a satellite, named Molniya, traveling in a Molniya orbit, and propagate the orbit:

SetState */Satellite/Molniya Classical J2Perturbation "1 Jun 2004 12:00:00.00" "2 Jun 2004 12:00:00.00" 60 J2000 "1 Jun 2004 12:00:00.00" 26553374.57 0.740969 63.4 270 -29.7859 0

To set the state for Missile1 using Classical coordinates and the TwoBody propagator:

SetState */Missile/Missile1 Classical TwoBody "1 Jul 2005 12:00:00.00" "2 Jul 2005 12:00:00.00" 60 J2000 "1 Jul 2005 12:00:00.00" 4582241.783614 0.89314490 0.658657 3.436269 1.737719 2.846995

To set the path for the ssClass6 satellite using Classical coordinates and propagate the orbit over the Scenario's analysis time period:

SetState */Satellite/ssClass6 Classical J4Perturbation UseScenarioInterval 60 J2000 "1 Jun 2004 12:00:00.00" 26553374.57 0.740969 63.4 270 -29.7859 0

Return message

Group membership

This command belongs to the following group(s):

Vehicles

Version

10.1