STK AviatorSend comments on this topic.
IAgAvtrClimbAndDescentTransitions Interface

Description

Interface used to access the Climb and Descent Transitions options found in the Basic Acceleration Model of an aircraft.

Public Properties

Public Property IgnoreFPAOpt whether to ignore the flight path angle.
Public Property ManeuverModeGets or sets the mode that the aircraft will adhere to the specified acceleration parameters. Scale by atmospheric density will cause the aircraft to consider dynamic pressure when calculating turn radius.
Public Property ManeuverModeHelperGet the interface for the Aero/Prop Maneuver Mode helper. The maneuver mode must be set to Aero/Prop to access this interface.
Public Property MaxPullUpGGets or sets the force normal to the velocity vector used to transition into a climb or to a transition out of a dive into the next flight segment.
Public Property MaxPushOverGGets or sets the force normal to the velocity vector used to transition into a descent or to a transition from a climb into the next flight segment.

CoClasses that Implement IAgAvtrClimbAndDescentTransitions

Example

Configure the basic acceleration performance model of an aircraft
[C#]
// Get the acceleration type
IAgAvtrAircraftAcceleration acceleration = aircraft.Acceleration;
// Get the build in performance model
IAgAvtrAircraftBasicAccelerationModel basicAccModel = acceleration.GetBuiltInModel();

// Get the level turns options
IAgAvtrLevelTurns levelTurns = basicAccModel.LevelTurns;
// Set a max bank angle of 25
levelTurns.SetLevelTurn(AgEAvtrTurnMode.eTurnModeBankAngle, 25);
// Get the climb and descent transition options
IAgAvtrClimbAndDescentTransitions climbAndDescent = basicAccModel.ClimbAndDescentTransitions;
// Set the max pull up G to 1
climbAndDescent.MaxPullUpG = 1.2;
// Get the attitude transition options
IAgAvtrAttitudeTransitions attitudeTransitions = basicAccModel.AttitudeTransitions;
// Set the max roll rate to 25
attitudeTransitions.RollRate = 25;

// Get the aerodynamics
IAgAvtrAircraftAero aero = basicAccModel.Aerodynamics;
// Use simple aerodynamics
aero.AeroStrategy = AgEAvtrAircraftAeroStrategy.eAircraftAeroSimple;
// Get the options for the simple aerodynamics and set some parameters
IAgAvtrAircraftSimpleAero simpleAero = aero.ModeAsSimple;
simpleAero.SRef = 5;
simpleAero.ClMax = 3.1;
simpleAero.Cd = 0.05;

// Get the propulsion
IAgAvtrAircraftProp prop = basicAccModel.Propulsion;
// Use simple propulsion
prop.PropStrategy = AgEAvtrAircraftPropStrategy.eAircraftPropSimple;
// Get the simple propulsion options and set some parameters
IAgAvtrAircraftSimpleProp simpleProp = prop.ModeAsSimple;
simpleProp.MaxThrustAccel = 0.6;
simpleProp.MinThrustDecel = 0.4;
simpleProp.SetDensityScaling(true, 0.02);

// Save the changes to the catalog
aircraft.GetAsCatalogItem().Save();
Configure the basic acceleration performance model of an aircraft
[Visual Basic .NET]
' Get the acceleration type
Dim acceleration As IAgAvtrAircraftAcceleration = aircraft.Acceleration
' Get the build in performance model
Dim basicAccModel As IAgAvtrAircraftBasicAccelerationModel = acceleration.GetBuiltInModel()

' Get the level turns options
Dim levelTurns As IAgAvtrLevelTurns = basicAccModel.LevelTurns
' Set a max bank angle of 25
levelTurns.SetLevelTurn(AgEAvtrTurnMode.eTurnModeBankAngle, 25)
' Get the climb and descent transition options
Dim climbAndDescent As IAgAvtrClimbAndDescentTransitions = basicAccModel.ClimbAndDescentTransitions
' Set the max pull up G to 1
climbAndDescent.MaxPullUpG = 1.2
' Get the attitude transition options
Dim attitudeTransitions As IAgAvtrAttitudeTransitions = basicAccModel.AttitudeTransitions
' Set the max roll rate to 25
attitudeTransitions.RollRate = 25

' Get the aerodynamics
Dim aero As IAgAvtrAircraftAero = basicAccModel.Aerodynamics
' Use simple aerodynamics
aero.AeroStrategy = AgEAvtrAircraftAeroStrategy.eAircraftAeroSimple
' Get the options for the simple aerodynamics and set some parameters
Dim simpleAero As IAgAvtrAircraftSimpleAero = aero.ModeAsSimple
simpleAero.SRef = 5
simpleAero.ClMax = 3.1
simpleAero.Cd = 0.05

' Get the propulsion
Dim prop As IAgAvtrAircraftProp = basicAccModel.Propulsion
' Use simple propulsion
prop.PropStrategy = AgEAvtrAircraftPropStrategy.eAircraftPropSimple
' Get the simple propulsion options and set some parameters
Dim simpleProp As IAgAvtrAircraftSimpleProp = prop.ModeAsSimple
simpleProp.MaxThrustAccel = 0.6
simpleProp.MinThrustDecel = 0.4
simpleProp.SetDensityScaling(True, 0.02)

' Save the changes to the catalog
aircraft.GetAsCatalogItem().Save()
Configure the basic acceleration performance model of an aircraft
[Python - STK API]
      # IAgAvtrAircraft aviatorAircraft: Aviator Aircraft object
# Get the acceleration type
acceleration = aviatorAircraft.Acceleration
# Get the build in performance model
basicAccModel = acceleration.GetBuiltInModel()

# Get the level turns options
levelTurns = basicAccModel.LevelTurns
# Set a max bank angle of 25
levelTurns.SetLevelTurn(AgEAvtrTurnMode.eTurnModeBankAngle, 25)
# Get the climb and descent transition options
climbAndDescent = basicAccModel.ClimbAndDescentTransitions
# Set the max pull up G to 1
climbAndDescent.MaxPullUpG = 1.2
# Get the attitude transition options
attitudeTransitions = basicAccModel.AttitudeTransitions
# Set the max roll rate to 25
attitudeTransitions.RollRate = 25

# Get the aerodynamics
aero = basicAccModel.Aerodynamics
# Use simple aerodynamics
aero.AeroStrategy = AgEAvtrAircraftAeroStrategy.eAircraftAeroSimple
# Get the options for the simple aerodynamics and set some parameters
simpleAero = aero.ModeAsSimple
simpleAero.SRef = 5
simpleAero.ClMax = 3.1
simpleAero.Cd = 0.05

# Get the propulsion
prop = basicAccModel.Propulsion
# Use simple propulsion
prop.PropStrategy = AgEAvtrAircraftPropStrategy.eAircraftPropSimple
# Get the simple propulsion options and set some parameters
simpleProp = prop.ModeAsSimple
simpleProp.MaxThrustAccel = 0.6
simpleProp.MinThrustDecel = 0.4
simpleProp.SetDensityScaling(True, 0.02)

# Save the changes to the catalog
aviatorAircraft.Save()

Configure the basic acceleration performance model of an aircraft
[MATLAB]
% IAgAvtrAircraft aviatorAircraft: Aviator Aircraft object
% Get the acceleration type
acceleration = aviatorAircraft.Acceleration;
% Get the build in performance model
basicAccModel = acceleration.GetBuiltInModel();

% Get the level turns options
levelTurns = basicAccModel.LevelTurns;
% Set a max bank angle of 25
levelTurns.SetLevelTurn('eTurnModeBankAngle', 25);
% Get the climb and descent transition options
climbAndDescent = basicAccModel.ClimbAndDescentTransitions;
% Set the max pull up G to 1
climbAndDescent.MaxPullUpG = 1.2;
% Get the attitude transition options
attitudeTransitions = basicAccModel.AttitudeTransitions;
% Set the max roll rate to 25
attitudeTransitions.RollRate = 25;

% Get the aerodynamics
aero = basicAccModel.Aerodynamics;
% Use simple aerodynamics
aero.AeroStrategy = 'eAircraftAeroSimple';
% Get the options for the simple aerodynamics and set some parameters
simpleAero = aero.ModeAsSimple;
simpleAero.SRef = 5;
simpleAero.ClMax = 3.1;
simpleAero.Cd = 0.05;

% Get the propulsion
prop = basicAccModel.Propulsion;
% Use simple propulsion
prop.PropStrategy = 'eAircraftPropSimple';
% Get the simple propulsion options and set some parameters
simpleProp = prop.ModeAsSimple;
simpleProp.MaxThrustAccel = 0.6;
simpleProp.MinThrustDecel = 0.4;
simpleProp.SetDensityScaling(true, 0.02);

% Save the changes to the catalog
aviatorAircraft.Save();


        
© 2024 Analytical Graphics, Inc. All Rights Reserved.