AGI STK Objects 11 Send comments on this topic.
IAgVePropagatorSGP4 Interface





Description

SGP4 propagator interface.

Object Model





Public Methods

Public Method Propagate Propagates the satellite's path using the specified time interval.

Public Properties

Public Property AutoUpdate Allows configuring the auto-update parameters and settings.
Public Property AutoUpdateEnabled Whether automatic update is enabled.
Public Property CommonTasks Most commonly used tasks such as importing of TLEs, etc.
Public Property EphemerisInterval The propagator's ephemeris interval.
Public Property Segments Get the element set list.
Public Property Settings Propagator settings.
Public Property StartTime This property is deprecated. Use EphemerisInterval to configure the propagation interval. Start time. Uses DateFormat Dimension.
Public Property Step Step size. Uses Time Dimension.
Public Property StopTime This property is deprecated. Use EphemerisInterval to configure the propagation interval. Stop time. Uses DateFormat Dimension.
Public Property UseScenarioAnalysisTime This property is deprecated. Use the new Timeline API components to configure the propagator's analysis time. Whether the scenario analysis start/stop times shall be used.

Interfaces

Implemented Interface
IAgVePropagator

Example

Configure the SGP4 propagator with file source
[C#] Copy Code
// Configure propagator's TLE file path 
propagator.CommonTasks.AddSegsFromFile("2215", tleFilePath); 
 
// Propagate 
propagator.Propagate(); 
 

Configure the SGP4 propagator with online source
[C#] Copy Code
// Configure time period 
propagator.EphemerisInterval.SetExplicitInterval("1 Jan 2012 12:00:00.000""2 Jan 2012 12:00:00.000"); 
propagator.Step = 60.0
 
// Add segments 
propagator.CommonTasks.AddSegsFromOnlineSource("25544"); 
 
// Propagate 
propagator.Propagate(); 
 

Set the satellite to use the SGP4 propagator
[C#] Copy Code
// Set propagator to SGP4 
satellite.SetPropagatorType(AgEVePropagatorType.ePropagatorSGP4); 
 
// Get the SGP4 propagator 
IAgVePropagatorSGP4 propagator = satellite.Propagator as IAgVePropagatorSGP4; 
 

Configure the SGP4 propagator with file source
[Visual Basic .NET] Copy Code
' Configure propagator's TLE file path
propagator.CommonTasks.AddSegsFromFile("2215", tleFilePath)

' Propagate
propagator.Propagate()

Configure the SGP4 propagator with online source
[Visual Basic .NET] Copy Code
' Configure time period
propagator.EphemerisInterval.SetExplicitInterval("1 Jan 2012 12:00:00.000", "2 Jan 2012 12:00:00.000")
propagator.[Step] = 60

' Add segments
propagator.CommonTasks.AddSegsFromOnlineSource("25544")

' Propagate
propagator.Propagate()

Set the satellite to use the SGP4 propagator
[Visual Basic .NET] Copy Code
' Set propagator to SGP4
satellite.SetPropagatorType(AgEVePropagatorType.ePropagatorSGP4)

' Get the SGP4 propagator
Dim propagator As IAgVePropagatorSGP4 = TryCast(satellite.Propagator, IAgVePropagatorSGP4)

Set satellite propagator to SGP4 and propagate
[MATLAB] Copy Code
% IAgSatellite satellite: Satellite object 
satellite.SetPropagatorType('ePropagatorSGP4'); 
propagator = satellite.Propagator; 
propagator.UseScenarioAnalysisTime; 
propagator.CommonTasks.AddSegsFromOnlineSource('25544'); % International Space Station 
propagator.AutoUpdateEnabled = true; 
propagator.Propagate; 
 
 

CoClasses that Implement IAgVePropagatorSGP4

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1