STK ObjectsSend 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 file data, etc.
Public Property EphemerisIntervalGet the propagator's ephemeris interval.
Public Property SegmentsGet the element set list.
Public Property SettingsPropagator settings.
Public Property StepStep size. Uses Time Dimension.

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 - STK API]
# IAgSatellite satellite: Satellite object
satellite.SetPropagatorType(AgEVePropagatorType.ePropagatorSGP4)
propagator = satellite.Propagator
propagator.EphemerisInterval.SetImplicitInterval(
    root.CurrentScenario.Vgt.EventIntervals.Item("AnalysisInterval"))  # Link to scenario period
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.EphemerisInterval.SetImplicitInterval( ...
    root.CurrentScenario.Vgt.EventIntervals.Item("AnalysisInterval")) % Link to scenario period
propagator.CommonTasks.AddSegsFromOnlineSource('25544'); % International Space Station
propagator.AutoUpdateEnabled = true;
propagator.Propagate();


        
© 2024 Analytical Graphics, Inc. All Rights Reserved.