AircraftSimplePropulsion#

class ansys.stk.core.stkobjects.aviator.AircraftSimplePropulsion#

Class defining the basic fixed wing propulsion options for a basic acceleration performance model of an Aviator aircraft.

Overview#

set_density_scaling

Set the option to use density scaling and set the density ratio exponent.

max_thrust_acceleration

Get or set the rate at which the aircraft speeds up at max throttle.

min_thrust_deceleration

Get or set the rate at which the aircraft slows down at minimum throttle setting.

use_density_scaling

Opt whether to scale the accel/decel performance by the density ratio.

density_ratio_exponent

Get the relative impace of atmospheric density on the aircraft’s performance.

Examples#

Configure the basic acceleration performance model of an aircraft

# AircraftModel aviatorAircraft: Aviator Aircraft object
# Get the acceleration type
acceleration = aviatorAircraft.acceleration
# Get the build in performance model
basicAccModel = acceleration.get_built_in_model()

# Get the level turns options
levelTurns = basicAccModel.level_turns
# Set a max bank angle of 25
levelTurns.set_level_turn(TurnMode.TURN_MODE_BANK_ANGLE, 25)
# Get the climb and descent transition options
climbAndDescent = basicAccModel.climb_and_descent_transitions
# Set the max pull up G to 1
climbAndDescent.max_pull_up_g = 1.2
# Get the attitude transition options
attitudeTransitions = basicAccModel.attitude_transitions
# Set the max roll rate to 25
attitudeTransitions.roll_rate = 25

# Get the aerodynamics
aero = basicAccModel.aerodynamics
# Use simple aerodynamics
aero.aerodynamic_strategy = AircraftAerodynamicStrategy.AIRCRAFT_AERODYNAMIC_SIMPLE
# Get the options for the simple aerodynamics and set some parameters
simpleAero = aero.mode_as_simple
simpleAero.s_reference = 5
simpleAero.cl_max = 3.1
simpleAero.cd = 0.05

# Get the propulsion
prop = basicAccModel.propulsion
# Use simple propulsion
prop.propulsion_strategy = AircraftPropulsionStrategy.AIRCRAFT_PROPULSION_SIMPLE
# Get the simple propulsion options and set some parameters
simpleProp = prop.mode_as_simple
simpleProp.max_thrust_acceleration = 0.6
simpleProp.min_thrust_deceleration = 0.4
simpleProp.set_density_scaling(True, 0.02)

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

Import detail#

from ansys.stk.core.stkobjects.aviator import AircraftSimplePropulsion

Property detail#

property AircraftSimplePropulsion.max_thrust_acceleration: float#

Get or set the rate at which the aircraft speeds up at max throttle.

property AircraftSimplePropulsion.min_thrust_deceleration: float#

Get or set the rate at which the aircraft slows down at minimum throttle setting.

property AircraftSimplePropulsion.use_density_scaling: bool#

Opt whether to scale the accel/decel performance by the density ratio.

property AircraftSimplePropulsion.density_ratio_exponent: float#

Get the relative impace of atmospheric density on the aircraft’s performance.

Method detail#

AircraftSimplePropulsion.set_density_scaling(self, use_scaling: bool, exponent: float) None#

Set the option to use density scaling and set the density ratio exponent.

Parameters:

use_scaling : bool

exponent : float

Returns:

None