STK ObjectsSend comments on this topic.
IAgOrbitStateClassical Interface

Description

Classical (Keplerian) coordinate type.

Public Properties

Public Property CoordinateSystemGet the coordinate system and coordinate epoch.
Public Property CoordinateSystemTypeCoordinate system being used.
Public Property LocationGet the location of the spacecraft in the orbit at epoch.
Public Property LocationTypeGets or sets the element used for specifying spacecraft location in the orbit at epoch.
Public Property OrientationGet the orbit orientation.
Public Property SizeShapeGet the size and shape of the orbit.
Public Property SizeShapeTypeGets or sets the pair of elements used for specifying orbit size and shape.
Public Property StateEpochSmart epoch component allows the user to configure the state epoch explicitly or implicitly (using a pre-defined or custom time instant component).
Public Property SupportedCoordinateSystemTypesReturns an array of supported coordinate system types.

Interfaces

Implemented Interface
IAgOrbitState

CoClasses that Implement IAgOrbitStateClassical

Example

Set initial state of satellite and propagate
[Python - STK API]
# IAgSatellite satellite: Satellite object
keplerian = satellite.Propagator.InitialState.Representation.ConvertTo(AgEOrbitStateType.eOrbitStateClassical)
keplerian.SizeShapeType = AgEClassicalSizeShape.eSizeShapeAltitude
keplerian.LocationType = AgEClassicalLocation.eLocationTrueAnomaly
keplerian.Orientation.AscNodeType = AgEOrientationAscNode.eAscNodeLAN

# Assign the perigee and apogee altitude values:
keplerian.SizeShape.PerigeeAltitude = 500      # km
keplerian.SizeShape.ApogeeAltitude = 600       # km

# Assign the other desired orbital parameters:
keplerian.Orientation.Inclination = 90         # deg
keplerian.Orientation.ArgOfPerigee = 12        # deg
keplerian.Orientation.AscNode.Value = 24       # deg
keplerian.Location.Value = 180                 # deg

# Apply the changes made to the satellite's state and propagate:
satellite.Propagator.InitialState.Representation.Assign(keplerian)
satellite.Propagator.Propagate()

Set initial state of satellite and propagate
[MATLAB]
% IAgSatellite satellite: Satellite object
keplerian = satellite.Propagator.InitialState.Representation.ConvertTo('eOrbitStateClassical'); % Use the Classical Element interface
keplerian.SizeShapeType = 'eSizeShapeAltitude';  % Changes from Ecc/Inc to Perigee/Apogee Altitude
keplerian.LocationType = 'eLocationTrueAnomaly'; % Makes sure True Anomaly is being used
keplerian.Orientation.AscNodeType = 'eAscNodeLAN'; % Use LAN instead of RAAN for data entry

% Assign the perigee and apogee altitude values:
keplerian.SizeShape.PerigeeAltitude = 500;      % km
keplerian.SizeShape.ApogeeAltitude = 600;       % km

% Assign the other desired orbital parameters:
keplerian.Orientation.Inclination = 90;         % deg
keplerian.Orientation.ArgOfPerigee = 12;        % deg
keplerian.Orientation.AscNode.Value = 24;       % deg
keplerian.Location.Value = 180;                 % deg

% Apply the changes made to the satellite's state and propagate:
satellite.Propagator.InitialState.Representation.Assign(keplerian);
satellite.Propagator.Propagate();


        
© 2024 Analytical Graphics, Inc. All Rights Reserved.