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

Description

SGP4 propagator interface.

Public Methods

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

Public Properties

Public Property AutoUpdateAllows configuring the auto-update parameters and settings.
Public Property AutoUpdateEnabledWhether automatic update is enabled.
Public Property CommonTasksMost commonly used tasks such as importing of TLEs, etc.
Public Property EphemerisIntervalThe propagator's ephemeris interval.
Public Property SegmentsGet the element set list.
Public Property SettingsPropagator settings.
Public Property StartTimeThis property is deprecated. Use EphemerisInterval to configure the propagation interval. Start time. Uses DateFormat Dimension.
Public Property StepStep size. Uses Time Dimension.
Public Property StopTimeThis property is deprecated. Use EphemerisInterval to configure the propagation interval. Stop time. Uses DateFormat Dimension.
Public Property UseScenarioAnalysisTimeThis 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

CoClasses that Implement IAgVePropagatorSGP4

Example

Set the satellite to use the SGP4 propagator
[C#]
// 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
[C#]
// Configure propagator's TLE file path
propagator.CommonTasks.AddSegsFromFile("2215", tleFilePath);

// Propagate
propagator.Propagate();
Configure the SGP4 propagator with online source
[C#]
// 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();
Configure the SGP4 propagator with file source
[Visual Basic .NET]
' Configure propagator's TLE file path
propagator.CommonTasks.AddSegsFromFile("2215", tleFilePath)

' Propagate
propagator.Propagate()
Configure the SGP4 propagator with online source
[Visual Basic .NET]
' 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]
' 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
[Python]
# IAgSatellite satellite: Satellite object
satellite.SetPropagatorType(4) # ePropagatorSGP4
propagator = satellite.Propagator
propagator.UseScenarioAnalysisTime
propagator.CommonTasks.AddSegsFromOnlineSource('25544') # International Space Station
propagator.AutoUpdateEnabled = True
propagator.Propagate()

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

© 2019 Analytical Graphics, Inc. All Rights Reserved.