AircraftExternalPropulsion#

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

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

Overview#

set_propulsion_filepath

Set the filepath for the prop file.

reload_propulsion_file

Reload the prop file.

set_density_scaling

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

propulsion_filepath

Get the filepath for the prop file.

is_valid

Check if the prop file is valid.

can_set_acceleration_deceleration

Check whether you can set the acceleration and deceleration values or whether they are specified in the file.

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.

Import detail#

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

Property detail#

property AircraftExternalPropulsion.propulsion_filepath: str#

Get the filepath for the prop file.

property AircraftExternalPropulsion.is_valid: bool#

Check if the prop file is valid.

property AircraftExternalPropulsion.can_set_acceleration_deceleration: bool#

Check whether you can set the acceleration and deceleration values or whether they are specified in the file.

property AircraftExternalPropulsion.max_thrust_acceleration: float#

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

property AircraftExternalPropulsion.min_thrust_deceleration: float#

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

property AircraftExternalPropulsion.use_density_scaling: bool#

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

property AircraftExternalPropulsion.density_ratio_exponent: float#

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

Method detail#

AircraftExternalPropulsion.set_propulsion_filepath(self, filepath: str) str#

Set the filepath for the prop file.

Parameters:

filepath : str

Returns:

str

AircraftExternalPropulsion.reload_propulsion_file(self) str#

Reload the prop file.

Returns:

str

AircraftExternalPropulsion.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