STK AviatorSend comments on this topic.
IAgAvtrAircraftBasicCruiseModel Interface

Description

Interface used to access the basic cruise model options for a cruise model of an aircraft in the Aviator catalog.

Public Methods

Public Method GetAsCatalogItemGet the catalog item interface for this object.

Public Properties

Public Property AirspeedTypeGets or sets the airspeed type.
Public Property CeilingAltitudeGets or sets the maximum altitude above mean sea level.
Public Property DefaultCruiseAltitudeGets or sets the aircraft's default cruise altitude.
Public Property MaxAirspeedGets or sets the maximum cruisng airspeed.
Public Property MaxAirspeedFuelFlowGets or sets the fuel flow for the maximum cruising airspeed.
Public Property MaxEnduranceAirspeedGets or sets the cruising airspeed that will provide the maximum flying time for the aircraft.
Public Property MaxEnduranceFuelFlowGets or sets the fuel flow for the maximum endurance cruising airspeed.
Public Property MaxPerfAirspeedGets or sets the custom performance airspeed that can be used to model specific flight conditions.
Public Property MaxPerfAirspeedFuelFlowGets or sets the fuel flow for the maximum performance cruising airspeed.
Public Property MaxRangeAirspeedGets or sets the maximum range cruising airspeed.
Public Property MaxRangeFuelFlowGets or sets the fuel flow for the maximum range cruising airspeed.
Public Property MinAirspeedGets or sets the minimum cruising airspeed.
Public Property MinAirspeedFuelFlowGets or sets the fuel flow for the minimum cruising airspeed.
Public Property ScaleFuelFlowByNonStdDensityOpt to scale the fuel flow by the aircraft's actual altitude.
Public Property UseAeroPropFuelOpt to use the fuel flow calculated by the acceleration performance model.

Interfaces

CoClasses that Implement IAgAvtrAircraftBasicCruiseModel

Example

Configure the basic cruise performance model of an aircraft
[C#]
// Get the cruise type
IAgAvtrAircraftCruise cruise = aircraft.Cruise;
// Get the build in performance model
IAgAvtrAircraftBasicCruiseModel basicCruiseModel = cruise.GetBuiltInModel();

// Set the ceiling altitude
basicCruiseModel.CeilingAltitude = 50000;
// Set the default cruise altitude
basicCruiseModel.DefaultCruiseAltitude = 10000;
// Set the airspeed type
basicCruiseModel.AirspeedType = AgEAvtrAirspeedType.eTAS;
// Opt to not use the fuel flow calculated by the aero/prop model and instead specify the values
basicCruiseModel.UseAeroPropFuel = false;

// Set the various airspeeds and fuel flows
basicCruiseModel.MinAirspeed = 110;
basicCruiseModel.MinAirspeedFuelFlow = 10000;

basicCruiseModel.MaxEnduranceAirspeed = 135;
basicCruiseModel.MaxEnduranceFuelFlow = 8000;

basicCruiseModel.MaxAirspeed = 570;
basicCruiseModel.MaxAirspeedFuelFlow = 30000;

basicCruiseModel.MaxRangeAirspeed = 140;
basicCruiseModel.MaxRangeFuelFlow = 9000;

basicCruiseModel.MaxPerfAirspeed = 150;
basicCruiseModel.MaxPerfAirspeedFuelFlow = 12000;

// Save the changes to the catalog
aircraft.GetAsCatalogItem().Save();
Configure the basic cruise performance model of an aircraft
[Visual Basic .NET]
' Get the cruise type
Dim cruise As IAgAvtrAircraftCruise = aircraft.Cruise
' Get the build in performance model
Dim basicCruiseModel As IAgAvtrAircraftBasicCruiseModel = cruise.GetBuiltInModel()

' Set the ceiling altitude
basicCruiseModel.CeilingAltitude = 50000
' Set the default cruise altitude
basicCruiseModel.DefaultCruiseAltitude = 10000
' Set the airspeed type
basicCruiseModel.AirspeedType = AgEAvtrAirspeedType.eTAS
' Opt to not use the fuel flow calculated by the aero/prop model and instead specify the values
basicCruiseModel.UseAeroPropFuel = False

' Set the various airspeeds and fuel flows
basicCruiseModel.MinAirspeed = 110
basicCruiseModel.MinAirspeedFuelFlow = 10000

basicCruiseModel.MaxEnduranceAirspeed = 135
basicCruiseModel.MaxEnduranceFuelFlow = 8000

basicCruiseModel.MaxAirspeed = 570
basicCruiseModel.MaxAirspeedFuelFlow = 30000

basicCruiseModel.MaxRangeAirspeed = 140
basicCruiseModel.MaxRangeFuelFlow = 9000

basicCruiseModel.MaxPerfAirspeed = 150
basicCruiseModel.MaxPerfAirspeedFuelFlow = 12000

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

# Set the ceiling altitude
basicCruiseModel.CeilingAltitude = 50000
# Set the default cruise altitude
basicCruiseModel.DefaultCruiseAltitude = 10000
# Set the airspeed type
basicCruiseModel.AirspeedType = AgEAvtrAirspeedType.eTAS
# Opt to not use the fuel flow calculated by the aero/prop model and instead specify the values
basicCruiseModel.UseAeroPropFuel = False

# Set the various airspeeds and fuel flows
basicCruiseModel.MinAirspeed = 110
basicCruiseModel.MinAirspeedFuelFlow = 10000

basicCruiseModel.MaxEnduranceAirspeed = 135
basicCruiseModel.MaxEnduranceFuelFlow = 8000

basicCruiseModel.MaxAirspeed = 570
basicCruiseModel.MaxAirspeedFuelFlow = 30000

basicCruiseModel.MaxRangeAirspeed = 140
basicCruiseModel.MaxRangeFuelFlow = 9000

basicCruiseModel.MaxPerfAirspeed = 150
basicCruiseModel.MaxPerfAirspeedFuelFlow = 12000

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

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

% Set the ceiling altitude
basicCruiseModel.CeilingAltitude = 50000;
% Set the default cruise altitude
basicCruiseModel.DefaultCruiseAltitude = 10000;
% Set the airspeed type
basicCruiseModel.AirspeedType = 'eTAS';
% Opt to not use the fuel flow calculated by the aero/prop model and instead specify the values
basicCruiseModel.UseAeroPropFuel = 0;

% Set the various airspeeds and fuel flows
basicCruiseModel.MinAirspeed = 110;
basicCruiseModel.MinAirspeedFuelFlow = 10000;

basicCruiseModel.MaxEnduranceAirspeed = 135;
basicCruiseModel.MaxEnduranceFuelFlow = 8000;

basicCruiseModel.MaxAirspeed = 570;
basicCruiseModel.MaxAirspeedFuelFlow = 30000;

basicCruiseModel.MaxRangeAirspeed = 140;
basicCruiseModel.MaxRangeFuelFlow = 9000;

basicCruiseModel.MaxPerfAirspeed = 150;
basicCruiseModel.MaxPerfAirspeedFuelFlow = 12000;

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


        
© 2024 Analytical Graphics, Inc. All Rights Reserved.