STK AstrogatorSend comments on this topic.
IAgVAMCSLaunch Interface

Description

Properties for a Launch segment.

Public Methods

Public Method DisableControlParameterDisables the specified control parameter.
Public Method EnableControlParameterEnables the specified control parameter.
Public Method IsControlParameterEnabledSees if the specified control is enabled.
Public Method SetBurnoutTypeSets the burnout type.
Public Method SetDisplaySystemTypeSets the display system type.

Public Properties

Public Property AscentTypeThe order of the spline used to generate the motion along the ellipse.
Public Property BurnoutThe burnout point definition.
Public Property BurnoutTypeThe burnout type.
Public Property BurnoutVelocityThe burnout velocity definition.
Public Property CentralBodyNameThe central body.
Public Property ControlParametersAvailableReturns whether or not the control parameters can be set.
Public Property DisplaySystemGets the current Display System.
Public Property DisplaySystemTypeThe launch coordinate type.
Public Property EpochThe date and time of the launch. Uses DateFormat Dimension.
Public Property FuelTankThe spacecraft's fuel tank properties.
Public Property InitialAccelerationThe initial acceleration, for the Quartic Motion Ascent Type. Uses Acceleration Dimension.
Public Property PreLaunchTimeThe 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 SetMetEpochIf true, the Mission Elapsed Time epoch will be set to the launch epoch.
Public Property SpacecraftParametersSatellite Properties - the spacecraft's physical properties.
Public Property StepSizeThe time interval between calculated ephemeris output points. Uses Time Dimension.
Public Property TimeOfFlightThe time of flight (the time from launch to burnout). Uses Time Dimension.
Public Property UsePreviousSegmentStateIf true, the previous segment state is used to define the launch location parameters.
Public Property UserVariablesInterface used to modify user variables for the launch segment.

Interfaces

CoClasses that Implement IAgVAMCSLaunch

Example

Configure launch segment
[C#]
// 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]
' 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
© 2024 Analytical Graphics, Inc. All Rights Reserved.