Spacecraft.OrbitWizardSunSyncSetup(Variable, TimeSpan, Variable, String, Variable) Method

Top 

Description

Initializes the state of a Spacecraft with a sun-synchronous orbit around the Earth. The user specifies the desired eccentricity and semi-major axis or inclination, and whether these are evaluated at the ascending or descending node. The Spacecraft's previous Argument of Perigee and True Anomaly are maintained.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

Spacecraft.OrbitWizardSunSyncSetup(

Variable setupOption,


TimeSpan epoch,


Variable eccentricity,


String mltOfAscendingOrDescendingNode,


Variable semiMajorAxisOrInclination)

 

 

Arguments

setupOption


Description:

Specify whether to define Semi-Major Axis or Inclination, and whether to use Ascending or Descending Node

Valid Values:

Value

Label

1

Define SMA, Calculate Inclination. Evaluate MLT at Ascending Node

2

Define SMA, Calculate Inclination. Evaluate MLT at Descending Node

3

Define Inclination, Calculate SMA. Evaluate MLT at Ascending Node

4

Define Inclination, Calculate SMA. Evaluate MLT at Descending Node

 

 

 

epoch


Description:

Epoch of the orbit state.

 

 

eccentricity


Description:

Eccentricity of the orbit.

Valid Range:

0 ≤ eccentricity ≤ 1

 

 

mltOfAscendingOrDescendingNode


Description:

Mean Local Time at the Node Crossing in the format hh:mm:ss.

 

 

semiMajorAxisOrInclination


Description:

Semi-Major axis or Inclination of the orbit.

Valid Range:

semiMajorAxisOrInclination ≥ 0

 

 

 

Return Value

Type:

number

 

 

Returns a 1 if the sun-synchronous orbit was initialized successfully. Returns a 0 if orbit initialization failed.

 

Syntax

myVariable1 = mySpacecraft1.OrbitWizardSunSyncSetup(myVariable2, myTimeSpan1, myVariable3, myString1, myVariable4);

 

 

See also

Spacecraft Object

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide