% Aircraft file to model a 150 passenger transport aircraft
%
% A. Trani
% Fall 2010

global A e S neng tsfc macht Cdoct 
global mass thrust_table mach_table lapse_rate_factor 
global Vclimb Vdescent altc g tcRatio sweepAngle

A = 8.6;                                    % aspect ratio
e = 0.84;                                   % Oswald's efficiency factor
S = 125;                                  % wing area in m^2
tcRatio = 0.10;                          % thickness to chord ratio (dimansionless)
sweepAngle = 28;                       % sweep angle of the wing (degrees)
g = 9.81;                                   % gravity constant
neng = 2;                                  % number of engines
tsfc = 0.000190;                             % TSFC in N/s / Newton

% Aircraft mass limitations

OEW = 41400;               % Operating empty mass (kg)
Max_fuel = 21000;          % Maximum fuel mass (kg)
Max_payload = 21300;	% Maximum payload (kg)
MTOGW = 79000;			% Maximum gross takeoff mass (kg)
mass = 79000;              % mass at operating point (kg) DTW

% Drag characterictics - CDO function (zero lift
% drag function)

Cdoct 	= [0.0175  0.0175  0.0180  0.0183 0.0185 0.0190 0.0200 0.0220 0.0280];
macht 	= [0.0        0.7000  0.7800  0.8000 0.8050 0.8100 0.8200 0.8350 0.8500];

% Thrust parameters for regional jet aircraft (at sea level) - per engine

thrust_table = [117400  77200];           % Thrust limits (sea level in Newtons)	
mach_table = [0.0 0.9];                         % mach number limits to bound thrust
lapse_rate_factor = 1.10;                            % thrust lapse rate factor - corrects thrust for altitude changes

% Computes the aircraft climb and descent profiles given altitude (VCAS given) - typical for
% a tyical 150 seat transport aircraft

Vclimb = [230 230 230 230 230];                 % knots indicated (near optiimum for ROC)
%Vclimb = [180 195 222 230 230];              % knots indicated
Vdescent = [200 220 240 240 210];           % knots indicated
altc = [ 0 1000 3000 6000 14000];             % meters
