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 AirspeedTypeThe airspeed type.
Public Property CeilingAltitudeThe maximum altitude above mean sea level.
Public Property DefaultCruiseAltitudeThe aircraft's default cruise altitude.
Public Property MaxAirspeedThe maximum cruisng airspeed.
Public Property MaxAirspeedFuelFlowThe fuel flow for the maximum cruising airspeed.
Public Property MaxEnduranceAirspeedThe cruising airspeed that will provide the maximum flying time for the aircraft.
Public Property MaxEnduranceFuelFlowThe fuel flow for the maximum endurance cruising airspeed.
Public Property MaxPerfAirspeedA custom performance airspeed that can be used to model specific flight conditions.
Public Property MaxPerfAirspeedFuelFlowThe fuel flow for the maximum performance cruising airspeed.
Public Property MaxRangeAirspeedThe maximum range cruising airspeed.
Public Property MaxRangeFuelFlowThe fuel flow for the maximum range cruising airspeed.
Public Property MinAirspeedThe minimum cruising airspeed.
Public Property MinAirspeedFuelFlowThe 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();


        
© 2023 Analytical Graphics, Inc. All Rights Reserved.