PropagatorHPOP#
- class ansys.stk.core.stkobjects.PropagatorHPOP#
Bases:
IPropagator
Class defining the High Precision Orbit Propagator (HPOP).
Overview#
Propagates the satelliteβs path using the specified time interval. |
Step size. Uses Time Dimension. |
|
Get the satelliteβs initial state. |
|
Get the force model parameters. |
|
Get the integrator parameters. |
|
Get the covariance parameters. |
|
Get the propagatorβs ephemeris interval. |
|
The propagatorβs display coordinate type. |
Examples#
Set satellite propagator to HPOP and set force model properties
# Satellite satellite: Satellite object
satellite.set_propagator_type(PropagatorType.HPOP)
satellite.propagator.step = 60
satellite.propagator.initial_state.representation.assign_cartesian(
CoordinateSystem.FIXED, 6406.92, -1787.59, -506.422, 2.10185, 6.48871, 3.64041
)
forceModel = satellite.propagator.force_model
if os.name == "nt":
installPath = r"C:\Program Files\AGI\STK 12"
else:
installPath = os.environ["STK_INSTALL_DIR"]
grv_path = ["STKData", "CentralBodies", "Earth", "WGS84_EGM96.grv"]
forceModel.central_body_gravity.file = os.path.join(installPath, *grv_path)
forceModel.central_body_gravity.maximum_degree = 21
forceModel.central_body_gravity.maximum_order = 21
forceModel.drag.use = True
forceModel.drag.drag_model.cd = 0.01
forceModel.drag.drag_model.area_mass_ratio = 0.01
forceModel.solar_radiation_pressure.use = False
integrator = satellite.propagator.integrator
integrator.do_not_propagate_below_altitude = -1e6
integrator.integration_model = VehicleIntegrationModel.RUNGE_KUTTA_FEHLBERG_78
integrator.step_size_control.method = VehicleMethod.RELATIVE_ERROR
integrator.step_size_control.error_tolerance = 1e-13
integrator.step_size_control.minimum_step_size = 0.1
integrator.step_size_control.maximum_step_size = 30
integrator.interpolation.method = VehicleInterpolationMethod.LAGRANGE
integrator.interpolation.order = 7
satellite.propagator.propagate()
Import detail#
from ansys.stk.core.stkobjects import PropagatorHPOP
Property detail#
- property PropagatorHPOP.initial_state: VehicleInitialState#
Get the satelliteβs initial state.
- property PropagatorHPOP.force_model: VehicleHPOPForceModel#
Get the force model parameters.
- property PropagatorHPOP.integrator: VehicleIntegrator#
Get the integrator parameters.
- property PropagatorHPOP.covariance: VehicleCovariance#
Get the covariance parameters.
- property PropagatorHPOP.ephemeris_interval: ITimeToolTimeIntervalSmartInterval#
Get the propagatorβs ephemeris interval.
- property PropagatorHPOP.display_coordinate_type: PropagatorDisplayCoordinateType#
The propagatorβs display coordinate type.