AGI STK Astrogator 11 Send comments on this topic.
IAgVAMCSLaunch Interface





Description

Properties for a Launch segment.

Object Model







Public Methods

Public Method DisableControlParameter Disables the specified control parameter.
Public Method EnableControlParameter Enables the specified control parameter.
Public Method IsControlParameterEnabled Sees if the specified control is enabled.
Public Method SetBurnoutType Sets the burnout type.
Public Method SetDisplaySystemType Sets the display system type.

Public Properties

Public Property AscentType The order of the spline used to generate the motion along the ellipse.
Public Property Burnout The burnout point definition.
Public Property BurnoutType The burnout type.
Public Property BurnoutVelocity The burnout velocity definition.
Public Property CentralBodyName The central body.
Public Property ControlParametersAvailable Returns whether or not the control parameters can be set.
Public Property DisplaySystem Gets the current Display System.
Public Property DisplaySystemType The launch coordinate type.
Public Property Epoch The date and time of the launch. Uses DateFormat Dimension.
Public Property FuelTank The spacecraft's fuel tank properties.
Public Property InitialAcceleration The initial acceleration, for the Quartic Motion Ascent Type. Uses Acceleration Dimension.
Public Property PreLaunchTime The amount of time before the spacecraft's launch that it will be created in the scenario. The vehicle will remain at the launch position until beginning of the launch epoch. Uses Time Dimension.
Public Property SetMetEpoch If true, the Mission Elapsed Time epoch will be set to the launch epoch.
Public Property SpacecraftParameters Satellite Properties - the spacecraft's physical properties.
Public Property StepSize The time interval between calculated ephemeris output points. Uses Time Dimension.
Public Property TimeOfFlight The time of flight (the time from launch to burnout). Uses Time Dimension.
Public Property UsePreviousSegmentState If true, the previous segment state is used to define the launch location parameters.
Public Property UserVariables Interface used to modify user variables for the launch segment.

Example

Configure launch segment
[C#] Copy Code
// Add launch sequence and retrieve the 
IAgVAMCSSegment segment = driver.MainSequence.Insert(AgEVASegmentType.eVASegmentTypeLaunch, "MyLaunch""-"); 
IAgVAMCSLaunch launch = segment as IAgVAMCSLaunch; 
 
// Configure launch properties 
launch.CentralBodyName = "Mars"
launch.Epoch = "1 Jan 2012 12:00:00.000"
launch.StepSize = 6
launch.UsePreviousSegmentState = false
launch.PreLaunchTime = 1
launch.TimeOfFlight = 500
launch.AscentType = AgEVAAscentType.eVAAscentTypeEllipseQuarticMotion; 
launch.InitialAcceleration = 0.02
 
// Configure display type 
launch.SetDisplaySystemType(AgEVALaunchDisplaySystem.eVADisplaySystemGeocentric); 
IAgVADisplaySystemGeocentric llr = (IAgVADisplaySystemGeocentric)launch.DisplaySystem; 
llr.Latitude = 35.581
llr.Longitude = -92.263
llr.Radius = 1000
 
// Configure launch type 
launch.AscentType = AgEVAAscentType.eVAAscentTypeEllipseQuarticMotion; 
launch.InitialAcceleration = 0.02
launch.AscentType = AgEVAAscentType.eVAAscentTypeEllipseCubicMotion; 
 
// Configure burnout type 
IAgVABurnoutVelocity velocity = launch.BurnoutVelocity; 
velocity.BurnoutOption = AgEVABurnoutOptions.eVABurnoutOptionsInertialVelocity; 
velocity.InertialVelocity = 20.0
velocity.InertialHorizontalFPA = 22
velocity.InertialVelocityAzimuth = 55
velocity.BurnoutOption = AgEVABurnoutOptions.eVABurnoutOptionsFixedVelocity; 
velocity.FixedVelocity = 20
 

Configure launch segment
[Visual Basic .NET] Copy Code
' Add launch sequence and retrieve the
Dim segment As IAgVAMCSSegment = driver.MainSequence.Insert(AgEVASegmentType.eVASegmentTypeLaunch, "MyLaunch", "-")
Dim launch As IAgVAMCSLaunch = TryCast(segment, IAgVAMCSLaunch)

' Configure launch properties
launch.CentralBodyName = "Mars"
launch.Epoch = "1 Jan 2012 12:00:00.000"
launch.StepSize = 6
launch.UsePreviousSegmentState = False
launch.PreLaunchTime = 1
launch.TimeOfFlight = 500
launch.AscentType = AgEVAAscentType.eVAAscentTypeEllipseQuarticMotion
launch.InitialAcceleration = 0.02

' Configure display type
launch.SetDisplaySystemType(AgEVALaunchDisplaySystem.eVADisplaySystemGeocentric)
Dim llr As IAgVADisplaySystemGeocentric = DirectCast(launch.DisplaySystem, IAgVADisplaySystemGeocentric)
llr.Latitude = 35.581
llr.Longitude = -92.263
llr.Radius = 1000

' Configure launch type
launch.AscentType = AgEVAAscentType.eVAAscentTypeEllipseQuarticMotion
launch.InitialAcceleration = 0.02
launch.AscentType = AgEVAAscentType.eVAAscentTypeEllipseCubicMotion

' Configure burnout type
Dim velocity As IAgVABurnoutVelocity = launch.BurnoutVelocity
velocity.BurnoutOption = AgEVABurnoutOptions.eVABurnoutOptionsInertialVelocity
velocity.InertialVelocity = 20
velocity.InertialHorizontalFPA = 22
velocity.InertialVelocityAzimuth = 55
velocity.BurnoutOption = AgEVABurnoutOptions.eVABurnoutOptionsFixedVelocity
velocity.FixedVelocity = 20

CoClasses that Implement IAgVAMCSLaunch

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1