Optimization 047049
Optimization 047049
OPTIMIZATION REPORT
Submitted by:
Aero 18-B
Submitted to:
Assistant Professor
2022
i
Copyright © 2020
This document is jointly copyrighted by the author and the Institute of Space
Technology (IST). Both the author and IST can use, publish, or reproduce this
document in any form. Under the copyright law no part of this document can be
reproduced by anyone, except copyright holders, without the permission of the author.
ii
ABSTRACT
resources and cost. Optimization at conceptual stage allows us to achieve our design
requirements with the minimum allowable cost while keeping track of the available
“Ozzie berry 4749” we will optimize our aircraft to achieve the design requirements
with minimum error. We will follow the approach explained by Raymer to develop
constraints cross plots for thrust to weight ratio vs wing loading. The point where two
or more constraint intersect is the point with optimum wing loading and thrust to weight
ratio. We will draw constraint plots by varying T/W and W/S ±25% resulting in 9
different aircrafts. Once the final T/W and W/S are extracted we will evaluate its
geometry parameter and perform performance analysis for the last time.
iii
Table of Contents
19 Optimization ............................................................................................................. 1
iv
List of figures
Figure 19-2 Ps vs Mach cross plots ............................. Error! Bookmark not defined.
Figure 19-3 Landing distance cross plot ...................... Error! Bookmark not defined.
Figure 19-4 Max Mach cross plot ................................ Error! Bookmark not defined.
Figure 19-5 Take-off distance cross plots .................... Error! Bookmark not defined.
v
List of Tables
vi
19 Optimization
19.1 Introduction
A full circle in design process is now complete. The design began with a rough
conceptual sketch and first-order estimation of the Thrust to weight ratio and wing
loading to meet the performance requirements. A rough sizing method and then refined
sizing method was used to estimate the takeoff weight and fuel weight required to meet
the mission requirements. This flow chart below obtained from Anderson’s book on
performance gives a clear idea about our current position in the design process.
We are currently at point 6. The as-drawn aircraft does not meet all the performance
and mission requirements with negligible error. Thus, it is time to advance to step 7
which is “optimization”. The optimal Aircraft is the one that meets all performance and
mission requirements.
1
19.2 Methodology
This process of refining the design is known as optimization. In order to determine the
size and characteristics of the optimal aircraft we perform the sizing again by changing.
1. Constructing the Sizing matrix with variations in Thrust to weight ratio (±25%)
2. Resize all aircrafts including the base aircraft (as drawn), based upon the greater
4. Plot these performance parameters against W/S for different T/W on a single
graph. Also plot the required value of the parameter as the reference line
5. For each performance parameter plot the intersection point for the reference line
and the performance parameter line marks the coordinates (W/S, T/W) for the
constraint line.
6. Construct Weight contours and the constraint lines on a W/S and T/W plot to
7. Redo the sizing (weight and geometry), aerodynamics and performance (as
8. On the W/S vs T/W sizing cross plot, choose a suitable intersecting point of the
constraint lines as the 10th Aircraft. Then redo the entire AVD for this aircraft,
as the base aircraft performance. Ideal scenario would mean that all
2
19.3 Errors in required parameters
Here is the table from the summary of performance analysis done in the previous report.
Max Mach No 2 2 0%
Take-off
1500 ft 1757 lb 14.6 %
Distance(ft)
The errors involved are all less than 20% which can be accepted but there is always
room for improvement. It we can bring all the errors below 10% then our design can be
qualified as optimized.
So, to minimize the errors we select the following parameters for optimization:
• Landing distance
• Takeoff distance
• Max Mach
3
• Rate of climb (Ps vs Mach curves)
We have not included range and ceiling in our list of parameters for optimization
because we know that for these two the equations involved in evaluating these
parameters are based on assumptions that always give overestimate. The detailed
reasons for the overestimates are provided in the performance analysis section for both
parameters.
As far as maximum Mach number is concerned, although it has zero error but we know
altering T/W and W/S will surely change the maximum Mach. So, we will also plot its
constraint to allow us to choose T/W and W/S that does not force us to compromise on
Proceeding with the selected parameters, we use classical two parameter optimization
method called as Sizing Matrix Plot to determine the optimal parameters for our
aircraft.
In the sizing matrix method, the thrust-to-weight ratio T/W and wing loading W/S are
arbitrarily varied from the as-drawn values (typically ±25%). Each combination of T/W
and W/S produces a different airplane with different characteristics. These aircrafts are
separately sized to determine the takeoff weight of each to perform the design mission.
They are separately analyzed for performance. If the T/W and W/S variations are wide
enough, at least one aircraft will meet all performance requirements. The drawn values
W/S T/W
61.97 lb/ft2 1.02
4
The following matrix shows the variation of T/W and W/S shown for the optimization
process.
W/S
46.4775 61.97 77.4625
TW
The above 3 x 3 matrix produces 9 unique combinations of T/W and W/S. These 9
combinations produce 9 different aircrafts each with different gross weight and
performance. These aircrafts are separately sized to determine the take-off weight of
each to perform the design mission. The results of the sizing are shown in the following
5
Table 19-2 MTOW Variation Matrix
T/W
These airplanes are also separately analyzed for performance. There are five main
performance parameters that have been chosen to optimize and with the gross weight.
These parameters are weight, landing distance, take-off distance, Rate of climb (Ps vs
Mach), and Maximum Mach No. The requirements for these parameters are given
below:
Maximum Mach = 2
6
The performance of these aircrafts was analyzed, and the results are displayed in the
→Landing distance
Aircraft 1 1575.466
Aircraft 2 1816.959
Aircraft 3 2055.004
Aircraft 4 1575.554
Aircraft 6 2055.238
Aircraft 7 1575.650
Aircraft 8 1817.269
Aircraft 9 2055.478
Aircraft 1 1554.375
Aircraft 2 1939.529
Aircraft 3 2311.802
Aircraft 4 1344.773
Aircraft 5 1658.904
Aircraft 6 1959.609
7
Aircraft 7 1222.603
Aircraft 8 1495.509
Aircraft 9 1754.757
Aircraft 1 1.556
Aircraft 2 1.796
Aircraft 3 2.009
Aircraft 4 1.805
Aircraft 5 2.085
Aircraft 6 2.331
Aircraft 7 2.023
Aircraft 8 2.336
Aircraft 9 2.612
8
→Rate of Climb
T/W 0.765
9
T/W=1.02
W/S=46.4775 Ps=578.8ft/s
10
T/W =1.275
11
19.5 Summary of matrices of different parameters
W/S
46.4775 61.97 77.4625
T/W
12
19.6 Sizing Matrix Cross plots
The data from the sizing matrix given in the tables above is used to draw the following
cross plots
13
This plot highlights how gross weight varies with wing loading for a certain thrust to
weight ratio. We observe that with increasing wing loading the gross weight of aircraft
reduces. This is opposite to what one would have expected. Also, the gross weight is
greater at higher thrust to weight ratios for a fixed wing loading. The red line marks the
design requirement for weight. Our goal is to achieve the design requirements with
minimum weight possible. Looking at this graph we see that with our current T/W ratio
any value of wing loading greater than 66 lb/ft2 will allow us to have weight less than
35000 lb.
To develop the weight contour plot, horizontal lines at arbitrary values are plotted and
the corresponding value of T/W and W/S is noted as shown in the figure below.
Now, the weight contour plot is drawn with T/W on the y axis and W/S on the x axis.
Each line on the weight contour plot represents a constant value of weight. This graph
is shown below.
For our analysis we have plotted graph for the following range of gross weights.
50000 lb to 35000 lb
14
19.6.2 Rate of Climb Constraint
Same procedure is followed to plot the Rate of climb constraint on the Sizing cross plot.
First, ROC is plotted against wing loading for different T/W and then the limit ROC is
cross plotted along with the weight constraint on a W/S vs T/W plot.
15
For a supersonic aircraft it is desired to have high ROC as possible. Keeping the design
requirement in our mind, we can say that an ROC greater or equal to 51500 ft/min is
acceptable for us, but it should not be less than 51500 ft/min. Looking at the figure
above we observe that for ROC to be greater than the limit, T/W should be lower at
16
Any combination of T/W and W/S below the green line will give an ROC that is greater
17
Same procedure is adopted to find the Maximum Mach number cross plot. The
18
TW
Wing loading
For maximum we cannot define an allowable area because we must design an aircraft
that has a maximum Mach of 2. Thus, we can only operate on this line to get exactly
Mach 2.
19
19.6.4 Landing constraint
The graph below shows the landing distance vs wing loading for different T/W ratios.
One thing we notice here is that the landing distance remains same if the wing loading
is kept constant and T/w is varied. However, an increase in wing loading increases the
landing distance.
20
A closer look at the graph highlights the slight difference in landing distance with wing
loading.
21
For the landing constraint any combination to the left of the pink line gives landing
22
19.6.5 Takeoff distance constraint
23
For takeoff distance, any combination of T/W and W/S above the blue line gives the
This is the cross plot with all the constraints. Detailed analysis is done in the next
section.
24
19.7 Final Constraint plot
Looking at the sizing cross plots we have two options at our disposal.
Choice 1
Choice 2
25
Option T/W W/S
Analyzing the two options, the first option lies on the intersection of Mach number
constraint and the Rate of climb constraint and is also near the desired gross weight of
the aircraft. The landing distance and the takeoff distance at this point will be greater
The second option lies on the intersection point of landing distance and maximum Mach
number while being within the range of takeoff distance. The only constraint it violates
is the rate of climb constraint also the gross weight is above 40000 lb.
The first option satisfies 2 constraints while the later satisfies 3 constraints.
Maximum Mach ✓ ✓
Landing distance × ✓
Takeoff distance × ✓
Rate of Climb ✓ ×
Despite option 2 satisfying three constraints we will choose option 1 as our final
optimized aircraft. The decision is based on the fact that for a supersonic fighter aircraft,
the Rate of climb is one of the most decisive factors in combat. Thus, we cannot
compromise on ROC. However, landing and takeoff distance can be made very short
(STOL) by using 2D thrust vectoring which in 10 years will be common for 5th
generation aircrafts.
26
The two figures below show a colour coded view of the sizing matrix plot.
For the figure below, the darker the colour the more constraint it satisfies. Whit means
27
19.8 Optimized Aircraft
So, the selected wing loading and thrust to weight ratios are as follows.
19.8.1 Weight
Refined weight
28
Initial Gross weight 36380 lb
19.8.2 Airfoil
2𝑊
𝐶𝐿 =
𝜌𝑉 2 𝑆
2 ∗ 57.01
𝐶𝐿 =
0.0005851 ∗ 871.292
𝐶𝐿 = 0.25
We can use any airfoil with design CL approximately equal to 0.2. The previously
Geometry Parameters are calculated using MATLAB. The fuselage geometry is kept
same. Also, the Aspect ratio and the leading-edge sweep are kept same for the wing and
29
--------------------- WING -----------------------
Wingspan 46.703
30
--------------- HORIZONTAL TAIL ------------------
31
19.8.4 Model
Top
Bottom
32
Side
Front
Rear
33
19.8.5 Aerodynamics
→Subsonic
→Supersonic
CD 0 Subsonic 0.020493
CD 0 Supersonic 0.029114
34
19.8.6 Performance
35
The figure above highlights the maximum Mach achieved by our aircraft i.e., Mach=2.
It is assumed that the thrust is constant with Mach number and an approximated
variation function is used to depict the variation in thrust with altitude. Also till 0.9
Mach the aircraft flies with dry thrust while it is uses maximum thrust with afterburner
This figure also verifies the maximum Mach achieved by the aircraft.
36
19.8.6.3 Climbing Performance
The hodograph clearly shows that ROC at sea level is around 867 ft/s. Converting it to
ft/min gives,
→For Range
1/2
2 2 𝐶 1 1
𝑅𝑚𝑎𝑥 = √ ( 𝐿 ) (𝑊0 2 − 𝑊1 2 )
𝑐𝑡 𝜌𝑆 𝐶𝐷
𝑚𝑎𝑥
1/2
𝐶
For ( 𝐶𝐿 ) we can plot the graph for aerodynamic relations
𝐷 𝑚𝑎𝑥
37
Wo=36410 lb
W1=20742.7 lb
1/2
2 2 𝐶 1 1
𝑅𝑚𝑎𝑥 = √ ( 𝐿 ) (𝑊0 2 − 𝑊1 2 )
𝑐𝑡 𝜌𝑆 𝐶𝐷
𝑚𝑎𝑥
2 2 1 1
𝑅𝑚𝑎𝑥 = √ × 19.21 × (36410 2 − 20742.72 )
2.972 × 10−4 5.851 ∗ 10−4 × 619.66
𝑅𝑚𝑎𝑥 = 14199267.96 𝑓𝑡
𝑅𝑚𝑎𝑥 = 2336.94 𝑛𝑚
→For Endurance
1 𝐿 𝑊0
𝐸𝑚𝑎𝑥 = ( ) 𝑙𝑛 ( )
𝑐𝑡 𝐷 𝑚𝑎𝑥 𝑊1
38
where,
𝐿
( ) = 11.64
𝐷 𝑚𝑎𝑥
Now
1 𝐿 𝑊0 1 36410
𝐸𝑚𝑎𝑥 = ( ) 𝑙𝑛 ( ) = −4
× 11.64 𝑙𝑛 ( )
𝑐𝑡 𝐷 𝑚𝑎𝑥 𝑊1 2.972 × 10 20742.7
22036.4 𝑠𝑒𝑐
𝐸𝑚𝑎𝑥 =
3600
𝑬𝒎𝒂𝒙 = 𝟔. 𝟏𝟐 𝒉𝒓𝒔
19.8.6.5 Ps Contours
The figure below shows the Ps vs Mach plot for our aircraft.
39
Here we can observe that the maximum ROC at sea level is around 860 ft/s. Also, the
The PS contours verify the maximum Mach and max rate of climb at sea level.
40
19.8.7 Summary
The table below shows the summary of performance parameters of the designed aircraft
and the results after optimization. Previously, we stated that if we are able to reduce
errors to less than 10% then we will be in a position to say that, we have optimized our
aircraft.
All the errors in the table are below 10% and some our even below 5%. This proves
Lastly, commenting on the landing and takeoff distance, modern supersonic aircrafts
usually use 2D thrust vectoring to reduce the distances. Although the calculated
distance have negligible error but for STOL we can employ engines with 2D thrust
vectoring. This will be a plus point in our design. Also it would help to maximize ROC
All in all, we have successfully presented a conceptual design for a 5th generation
combat aircraft which meets the given requirements while keeping track of cost and
resources.
41
Appendix
Aircraft 1 Aircraft 2
42
Aircraft 3 Aircraft 4
43
Aircraft 6 Aircraft 7
44
Aircraft 8 Aircraft 9
45
MATLAB CODES
% REQUIRED DATA%
% TSFC
c_dry = 0.8/3600;
c_average = 1.0/3600;
c_cruise = 0.8/3600;
c_combat=1.08/3600; %from chapter 13
c_dash=1.9/3600; %from chapter 13
% Time of segment
d_combat=200; %from chapter 6
d_dash=272.7; %from chapter 6
% VELOCITIES
V_cruise = 0.9*968.1;
V_stall = 192;
V_takeoff = 1.1 * V_stall;
V_average = (V_takeoff + V_cruise)/2;
% L by D
LD_max = sqrt(1/(4*Cd0*K));
LD_climb=(((rho_average*(V_average^2)*Cd0)/(2*WS))+((2*K*WS)/(rho_average*
V_average^2)))^-1 ;
LD_cruise
=(((rho_cruise*(V_cruise^2)*Cd0)/(2*WS))+((2*K*WS)/(rho_cruise*V_cruise^2)
))^-1 ;
H_cruise = 40000;
46
% CRUISE BACK
cruise2 = exp((-(Range/2)*c_cruise)/(V_cruise*LD_cruise));
% LOITER
E = 10*60;
segment34 =exp((-E*c_dry)/(LD_max)) ;
% DESCENT
descent_rate = V_cruise*TW - ((rho_average*(V_cruise^3)*Cd0)/(2*WS))-
((2*K*WS)/(rho_average*V_cruise));
time_descent = H_cruise/descent_rate;
segment45 = 1-(c_dry * abs(time_descent) * TW);
% LANDING
segment56 = 0.995; %assumed
47
C_exponent = -0.1;
K_vs = 1;
Empty_weight_Asdrawn = (1.02 * K_vs *((W_gross_Asdrawn) ^
C_exponent))*W_gross_Asdrawn;
% ---- Iterative process to get adjusted Gross weight Eq 19.13 ----
counter_2 = 0;
for j = 10000:10:70000
counter_2 = counter_2 + 1;
% Assuming Gross Weight
W_gross_assumed(counter_2) = j;
% Empty Weight Estimation/ Adjustment
Empty_weight_calculated(counter_2) = Empty_weight_Asdrawn *
(W_gross_assumed(counter_2)/W_gross_Asdrawn)^(1 + C_exponent);
% Gross Weight calculations
W_gross_calculated(counter_2) = (0.90*Empty_weight_calculated(counter_2))
+ (Fuel_Fraction*W_gross_assumed(counter_2)) + w_pay_crew;
end
figure(2);
plot(W_gross_assumed,W_gross_assumed,'r','linewidth',1)
hold on ;grid on;grid minor;
plot(W_gross_assumed,W_gross_calculated,'b','linewidth',1)
xlabel('W_{o}, assumed')
ylabel('W_{o}, calculated')
title('Refined Sizing')
legend ('Guessed weight','Refined Weight')
Maximum Mach
for i = 1:9
TW_corrected(i)=TW(i)*((rho/rho_0)^0.7);
V(i)=sqrt(
((TW_corrected(i)*WS(i))+(WS(i)*sqrt((TW_corrected(i)^2)-
(4*Cd0(i)*K))))/(rho*Cd0(i)) );
M(i)=V(i)/a;
end
fprintf("\n\n\n\n\n");
disp('------------------------------------------------')
disp('------------------------------------------------')
disp('Aircraft No. Max Mach')
fprintf(" AIRCRAFT 1 %8.3f \n",M(1))
fprintf(" AIRCRAFT 2 %8.3f \n",M(2))
fprintf(" AIRCRAFT 3 %8.3f \n",M(3))
fprintf(" AIRCRAFT 4 %8.3f \n",M(4))
fprintf(" AIRCRAFT 5 %8.3f \n",M(5))
fprintf(" AIRCRAFT 6 %8.3f \n",M(6))
48
fprintf(" AIRCRAFT 7 %8.3f \n",M(7))
fprintf(" AIRCRAFT 8 %8.3f \n",M(8))
fprintf(" AIRCRAFT 9 %8.3f \n",M(9))
Ps plots
%P SUB S PLOT
clear;clc;
49
Landing Distance
% LANDING DISTANCE
clc;clear;
Weight = [36410 30810 27880 46810 36300 32730 57350 43480 38790];
WS = [57.01 61.97 77.4625 46.4775 61.97 77.4625 46.4775 61.97
77.4625];
TW = [1.02 0.765 0.765 1.02 1.02 1.02 1.275 1.275 1.275];
Cd0 = [0.020493 0.01964 0.01964 0.01964 0.01964 0.01964 0.01964
0.01964 0.01964];
g = 32.2;
theeta = 3;
rho_sealevel = 0.002377;
CL_max_land = 1.416; % Maximum Lift coefficient of Low AR delta
wings at low speeds due to the generation of vortex lift.
for i = 1:9
V_stall_landing(i) =
sqrt((2/rho_sealevel)*(WS(i))*(1/CL_max_land));
V_touchdown(i) = 1.15 * V_stall_landing(i);
V_flare(i) = 1.23 * V_stall_landing(i);
R(i) = (V_flare(i)^2)/(0.2*g);
Height_flare(i) = R(i)*(1-cosd(theeta));
% APPROACH DISTANCE
Distance_approach(i) = 0.8*(50-Height_flare(i))/(tand(theeta));
% FLARE DISTANCE
Distance_flare(i) =0.8* R(i) * sind(theeta);
% GROUND ROLL
mass_kg(i) = Weight(i) * 0.4536;
mui = 0.4 ; % dry concrete brakes on
Kuc = 3.16 *10^-5;
WS_mkt(i) = 47.88*WS(i);
delta_Cd0(i) = WS_mkt(i) * Kuc * mass_kg(i)^-0.215;
e= 0.8423; AR = 3.52;
K1 = 1/(3.14*e*AR);
K3 = (1/3)*K1;
% h = 10; b = 75.57;
G = 0.7486; % Ground Effect
CL = 0.1;
N = 1; % Free roll time
% TW_rev(i) = 0.30*(TW(i))
JA(i) = (rho_sealevel/(2*WS(i)))*(Cd0(i) + delta_Cd0(i) +
(K3+(G*(1/(3.14*e*AR))))*(CL^2) - (mui * CL));
JT(i) = 0.9;
Distance_groundroll(i) = 0.82*((N*V_touchdown(i)) +
((1/(2*g*JA(i))))*log((1 + ((JA(i)/JT(i))*V_touchdown(i)^2))));
% TOTAL LANDING DISTANCE
Landing_Distance(i) = Distance_groundroll(i) + Distance_approach(i)
+ Distance_flare(i);
end
fprintf("\n\n\n\n\n");
disp('------------------------------------------------')
disp('------------------------------------------------')
disp('Aircraft Number Landing Distance')
fprintf(" AIRCRAFT 1 %8.3f \n",Landing_Distance(1))
fprintf(" AIRCRAFT 2 %8.3f \n",Landing_Distance(2))
fprintf(" AIRCRAFT 3 %8.3f \n",Landing_Distance(3))
50
fprintf(" AIRCRAFT 4 %8.3f \n",Landing_Distance(4))
fprintf(" AIRCRAFT 5 %8.3f \n",Landing_Distance(5))
fprintf(" AIRCRAFT 6 %8.3f \n",Landing_Distance(6))
fprintf(" AIRCRAFT 7 %8.3f \n",Landing_Distance(7))
fprintf(" AIRCRAFT 8 %8.3f \n",Landing_Distance(8))
fprintf(" AIRCRAFT 9 %8.3f \n",Landing_Distance(9))
Takeoff distance
for i = 1:9
V_stall_TO(i) = sqrt((2/rho_sealevel)*(WS(i))*(1/CL_max_TO));
V_liftoff(i) = 1.15 * V_stall_TO(i);
% GROUND ROLL
mass_kg(i) = Weight(i) * 0.4536;
mui = 0.04 ; % dry concrete
Kuc = 3.16 *10^-5;
WS_mkt(i) = 47.88*WS(i);
delta_Cd0(i) = WS_mkt(i) * Kuc * mass_kg(i)^-0.215;
e= 0.8423; AR = 3.52;
K1 = 1/(3.14*e*AR);
K3 = (1/3)*K1;
% h = 10; b = 75.57;
G = 0.7486; % Ground Effect
CL = 0.1;
N = 1; % Free roll time
KA(i) = (-rho_sealevel/(2*WS(i)))*(Cd0(i) + delta_Cd0(i) +
(K3+G*(1/(3.14*e*AR)))*(CL^2) - (mui * CL));
KT(i) = TW(i) - mui;
Distance_groundroll(i) = ((N*V_liftoff(i)) +
((1/(2*g*KA(i))))*log((1 +((KA(i)/KT(i))*V_liftoff(i)^2))));
% AIRBORNE DISTANCE
H_obstacle = 30;
R(i) = ((6.96*(V_stall_TO(i)^2))/g);
theeta_TO(i) = 0.95*(acosd(1 - (H_obstacle/R(i))));
Distance_airborne(i) = (R(i) * sind(theeta_TO(i)));
% TOTAL TAKE OFF DISTANCE
TakeOff_Distance(i) = Distance_groundroll(i) + Distance_airborne(i)
end
51
fprintf("\n\n\n\n\n");
disp('------------------------------------------------')
disp('------------------------------------------------')
disp('Aircraft No. Take off Distance')
fprintf(" AIRCRAFT 1 | %8.3f \n",TakeOff_Distance(1))
fprintf(" AIRCRAFT 2 | %8.3f \n",TakeOff_Distance(2))
fprintf(" AIRCRAFT 3 | %8.3f \n",TakeOff_Distance(3))
fprintf(" AIRCRAFT 4 | %8.3f \n",TakeOff_Distance(4))
fprintf(" AIRCRAFT 5 | %8.3f \n",TakeOff_Distance(5))
fprintf(" AIRCRAFT 6 | %8.3f \n",TakeOff_Distance(6))
fprintf(" AIRCRAFT 7 | %8.3f \n",TakeOff_Distance(7))
fprintf(" AIRCRAFT 8 | %8.3f \n",TakeOff_Distance(8))
fprintf(" AIRCRAFT 9 | %8.3f \n",TakeOff_Distance(9))
%*******************Parameters Crossplots*******************
clear;
clc;
subplot(3,1,2)
W0_100 = [46810 36300 32730]; % y value
vq = interpn(WS,W0_100,xq,'spline');
plot(WS,W0_100,'o',xq,vq,'-','color','b');
hold on
line([40 80], [35000 35000],'color','r');
legend ('100% T/W','Spline','Ref Value')
xlabel 'W/S'
ylabel 'W0'
title 'Takeoff Weight vs W/S'
grid on;
% ylim([200000 350000]);
% xlim([60 95]);
subplot(3,1,3)
W0_125 = [57350 43480 38790]; % y value
vq = interpn(WS,W0_125,xq,'spline');
plot(WS,W0_125,'o',xq,vq,'-','color','b');
hold on
line([40 80], [35000 35000],'color','r');
legend ('125% T/W','Spline','Ref Value')
xlabel 'W/S'
ylabel 'W0'
title 'Takeoff Weight vs W/S'
52
grid on;
ylim([34000 60000]);
% xlim([60 95]);
% SPECIFIC POWER
figure()
xq = (40:0.5:80);
WS=[44.4775 61.97 77.4625]; % x value
Ps_75 = [733.8 1213 1578]; % y value
vq = interpn(WS,Ps_75,xq,'spline');
subplot(3,1,1)
plot(WS,Ps_75,'o',xq,vq,'-','color','b');
hold on
line([40 80], [858 858],'color','r');
legend ('75% T/W','Spline','Ref Value')
xlabel 'W/S'
ylabel 'Ps'
title 'Ps vs W/S'
grid on
% LANDING DISTANCE
figure()
xq = (40:0.5:80);
WS=[44.4775 61.97 77.4625]; % x value
TD_75 = [1575.5 1817 2055]; % y value
vq = interpn(WS,TD_75,xq,'spline');
subplot(3,1,1)
plot(WS,TD_75,'o',xq,vq,'-','color','b');
hold on
line([40 80], [1700 1700],'color','r','linewidth',1.5);
legend ('75% T/W','Spline','Ref Value')
xlabel 'W/S'
ylabel 'LD'
title 'Landing Distance vs W/S'
grid on
53
xlabel 'W/S'; ylabel 'LD'
title 'Landing Distance vs W/S'
grid on
% Maximum Mach
figure
xq = (40:0.5:80);
WS=[44.4775 61.97 77.4625]; % x value
M_max_75 = [1.556 1.796 2.009]; % y value
vq = interpn(WS,M_max_75,xq,'spline');
subplot(3,1,1)
plot(WS,M_max_75,'o',xq,vq,'-','color','b');
hold on
line([40 80], [2 2],'color','r');
legend ('75% T/W','Spline','Ref Value')
xlabel 'W/S'
ylabel 'Maximum Mach'
title 'M_{max} vs W/S'
grid on
% TAKEOFF DISTANCE
figure()
xq = (40:0.5:80);
WS=[44.4775 61.97 77.4625]; % x value
TD_75 = [1554.4 1939.5 2311.8]; % y value
vq = interpn(WS,TD_75,xq,'spline');
subplot(3,1,1)
plot(WS,TD_75,'o',xq,vq,'-','color','b');
hold on
line([40 80], [1500 1500],'color','r','linewidth',1.5);
legend ('75% T/W','Spline','Ref Value')
54
xlabel 'W/S'
ylabel 'TD'
title 'Takeoff Distance vs W/S'
grid on
Cross plots
clear;
clc;
55
% Maximum Mach
figure
xq = (40:0.5:80);
WS=[44.4775 61.97 77.4625]; % x value
M_max_75 = [1.556 1.796 2.009]; % y value
vq = interpn(WS,M_max_75,xq,'spline');
plot(WS,M_max_75,'o',xq,vq,'-','color','b');
hold on
M_max_100 = [1.805 2.085 2.331]; % y value
vq = interpn(WS,M_max_100,xq,'spline');
plot(WS,M_max_100,'o',xq,vq,'-','color','g');
hold on
M_max_125 = [2.023 2.336 2.612]; % y value
vq = interpn(WS,M_max_125,xq,'spline');
plot(WS,M_max_125,'o',xq,vq,'-','color','m');
hold on
line([40 80], [2 2],'color','r');
legend ('75% T/W','Spline','100% T/W','Spline','125% T/W','Spline','Ref
Value')
xlabel 'W/S'
ylabel 'Maximum Mach'
title 'M_{max} vs W/S'
grid on
% SPECIFIC POWER
figure()
xq = (40:0.5:80);
WS=[44.4775 61.97 77.4625]; % x value
Ps_75 = [733.8 1213 1578]; % y value
vq = interpn(WS,Ps_75,xq,'spline');
plot(WS,Ps_75,'o',xq,vq,'-','color','b');
hold on
Ps_100 = [578.8 948 1239]; % y value
vq = interpn(WS,Ps_100,xq,'spline');
plot(WS,Ps_100,'o',xq,vq,'-','color','g');
hold on
Ps_125 = [402 721 958.7]; % y value
vq = interpn(WS,Ps_125,xq,'spline');
plot(WS,Ps_125,'o',xq,vq,'-','color','m');
hold on
line([40 80], [858 858],'color','r');
legend ('75% T/W','Spline','100% T/W','Spline','125% T/W','Spline','Ref
Value')
xlabel 'W/S'
ylabel 'Ps'
title 'Ps vs W/S'
grid on
grid minor
% LANDING DISTANCE
figure()
xq = (40:0.5:80);
WS=[44.4775 61.97 77.4625]; % x value
TD_75 = [1575.5 1817 2055]; % y value
vq = interpn(WS,TD_75,xq,'spline');
plot(WS,TD_75,'o',xq,vq,'-','color','b');
hold on
WS=[44.4775 61.97 77.4625]; % x value
TD_100 = [1575.6 1817.1 2055.2]; % y value
vq = interpn(WS,TD_100,xq,'spline');
plot(WS,TD_100,'o',xq,vq,'-','color','g');
hold on
WS=[44.4775 61.97 77.4625]; % x value
TD_125 = [1575.7 1817.3 2055.5]; % y value
vq = interpn(WS,TD_125,xq,'spline');
plot(WS,TD_125,'o',xq,vq,'-','color','m');
line([40 80], [1700 1700],'color','r','linewidth',1.5);
56
legend ('75% T/W','Spline','100% T/W','Spline','125% T/W','Spline','Ref
Value')
xlabel 'W/S'
ylabel 'LD'
title 'Landing Distance vs W/S'
grid on
% TAKEOFF DISTANCE
figure()
xq = (40:0.5:80);
WS=[44.4775 61.97 77.4625]; % x value
TD_75 = [1554.4 1939.5 2311.8]; % y value
vq = interpn(WS,TD_75,xq,'spline');
plot(WS,TD_75,'o',xq,vq,'-','color','b');
hold on
WS=[44.4775 61.97 77.4625]; % x value
TD_100 = [1344.8 1658.9 1959.6]; % y value
vq = interpn(WS,TD_100,xq,'spline');
plot(WS,TD_100,'o',xq,vq,'-','color','g');
hold on
WS=[44.4775 61.97 77.4625]; % x value
TD_125 = [1222.6 1495.5 1754.7]; % y value
vq = interpn(WS,TD_125,xq,'spline');
plot(WS,TD_125,'o',xq,vq,'-','color','m');
hold on
line([40 80], [1500 1500],'color','r','linewidth',1.5);
legend ('75% T/W','Spline','100% T/W','Spline','125% T/W','Spline','Ref
Value')
xlabel 'W/S'
ylabel 'TD'
title 'Takeoff Distance vs W/S'
grid on
clear all;
clc;
%weight contours
W=[50000 45000 40000 35000]
W_S = [ 40.5 52]; % x value
T_W = [1.02 1.275]; % y value
P = polyfit(W_S,T_W,2);
xfit = 40:0.01:80;
yfit = polyval(P,xfit);
plot(xfit,yfit,'linewidth',1,'color','k')
hold on
W_S = [ 46.5 59]; % x value
T_W = [1.02 1.275]; % y value
P = polyfit(W_S,T_W,2);
xfit = 40:0.01:80;
yfit = polyval(P,xfit);
plot(xfit,yfit,'linewidth',1,'color','k')
hold on
W_S = [43 54.5 70.5]; % x value
T_W = [0.765 1.02 1.275]; % y value
P = polyfit(W_S,T_W,2);
xfit = 40:0.01:80;
yfit = polyval(P,xfit);
plot(xfit,yfit,'linewidth',1,'color','k')
hold on
W_S = [51.5 65.5]; % x value
57
T_W = [0.765 1.02]; % y value
P = polyfit(W_S,T_W,2);
xfit = 40:0.01:80;
yfit = polyval(P,xfit);
plot(xfit,yfit,'linewidth',1,'color','k')
title ('Sizing cross plots');
xlabel ('Thrust to weight ratio')
ylabel ('wing loading')
ylim([0.4 1.5]);
hold on
% Maximum Mach No
W_S=[43 56.5 76.5]; % x value
T_W=[1.275 1.02 0.765];
P = polyfit(W_S,T_W,2);
xfit = 40:0.01:80;
yfit = polyval(P,xfit);
plot(xfit,yfit,'r-','linewidth',1.5)
hold on
% PS (ROC)
W_S=[70.5 57 48.5]; % x value
T_W=[1.275 1.02 0.765];
P = polyfit(W_S,T_W,2);
xfit = 40:0.01:80;
yfit = polyval(P,xfit);
plot(xfit,yfit,'g-','linewidth',1.5)
hold on
% landing
W_S=[53.74 53.74 53.74 53.75 53.755 53.74]; % x value
T_W=[2.2 2 1.275 1.02 0.765 0.4];
% P = polyfit(W_S,T_W,0.1);
% xfit = 40:0.01:80;
% yfit = polyval(P,xfit);
plot(W_S,T_W,'m-','linewidth',1.5)
% legend('Weight constrant 50000lb','Weight constrant
45000lb','Weight constrant 40000lb','Weight constrant 35000lb','Max
Mach constraint','ROC constraint','landing constraint')
% grid minor
hold on
% takeoff
W_S=[62 53.5 42]; % x value
T_W=[1.275 1.02 0.765];
P = polyfit(W_S,T_W,2);
xfit = 40:0.01:80;
yfit = polyval(P,xfit);
plot(xfit,yfit,'b-','linewidth',1.5)
% ylim=([0.6 1.4]);
grid on
grid minor
xlabel('W/S (lb/ft^2)')
ylabel('T/W')
title('Sizing matrix plot')
legend('Weight constrant 50000lb','Weight constrant
45000lb','Weight constrant 40000lb','Weight constrant 35000lb','Max
Mach constraint','ROC constraint','landing distance
constraint','takeoff constraint')
58
Geometry sizing
% -----------------------------WING CHARACTERISTICS----------------
-----------------------------------------------
% WING AREA
Wing_Area = GrossWeight/(WS);
% WING SPAN
Span = sqrt(AspectRatio * Wing_Area);
% ROOT CHORD
Root_chord = 2*(Wing_Area/(Span*(1 + Taper)));
% TIP CHORD
Tip_chord = Root_chord * Taper;
% MEAN AERODYNAMIC CHORD
MAC = (2/3)*(Root_chord)*((1 + Taper + Taper^2)/(1 + Taper));
% LOCATION MAC
MAC_location = (Span/3)*((1 + 2*Taper)/(1 + Taper));
% -----------------------------TAIL CHARACTERISTICS----------------
-----------------------------------------------
% VERTICAL TAIL PRORTIES
Volume_coefficient_tail = 0.07; % Raymer Table 6.4
Tail_moment_arm = 0.450 * Fuselage_length; % Raymer 45-60% of
fuselage
Taper_tail = 0.3;
% TAIL AREA
Tail_Area = (Volume_coefficient_tail * Span *
Wing_Area)/Tail_moment_arm;
% TAIL SPAN
AspectRatio_tail = 1.2; %Chapter 4
Span_tail = sqrt(AspectRatio_tail * Tail_Area);
% TAIL ROOT CHORD
Root_chord_tail = 2*(Tail_Area/(Span_tail*(1 + Taper_tail)));
% TIP CHORD
Tip_chord_tail = Root_chord_tail * Taper_tail;
% MEAN AERODYNAMIC CHORD
MAC_tail = (2/3)*(Root_chord_tail)*((1 + Taper_tail +
Taper_tail^2)/(1 + Taper_tail));
% LOCATION MAC
MAC_location_tail = (Span_tail/3)*((1 + 2*Taper_tail)/(1 +
Taper_tail));
59
% HORIZONTAL TAIL PRORTIES
Volume_coefficient_Htail = 0.3; % Raymer Table 6.4
Tail_moment_armH = 0.50 * Fuselage_length; % Raymer 45-60% of
fuselage
Taper_Htail = 0.3;
% TAIL AREA
Tail_AreaH = (Volume_coefficient_Htail * MAC *
Wing_Area)/Tail_moment_armH;
% TAIL SPAN
AspectRatio_Htail = 2.35; %Chapter 4
Span_Htail = sqrt(AspectRatio_Htail * Tail_AreaH);
% TAIL ROOT CHORD
Root_chord_Htail = 2*(Tail_AreaH/(Span_Htail*(1 + Taper_Htail)));
% TIP CHORD
Tip_chord_Htail = Root_chord_Htail * Taper_Htail;
% MEAN AERODYNAMIC CHORD
MAC_Htail = (2/3)*(Root_chord_Htail)*((1 + Taper_Htail +
Taper_Htail^2)/(1 + Taper_Htail));
% LOCATION MAC
MAC_location_Htail = (Span_Htail/3)*((1 + 2*Taper_Htail)/(1 +
Taper_Htail));
60
fprintf("Location MAC %8.3f \n",MAC_location)
fprintf("\n\n");
disp('--------------- VERTICAL TAIL ------------------')
fprintf("Aspect Ratio Tail %8.3f \n",AspectRatio_tail)
fprintf("Taper Ratio Tail %8.3f \n",Taper_tail)
fprintf("Tail Span %8.3f \n",Span_tail)
fprintf("Tail Area %8.3f \n",Tail_Area)
fprintf("Root Chord Tail %8.3f \n",Root_chord_tail)
fprintf("Tip Chord Tail %8.3f \n",Tip_chord_tail)
fprintf("MAC Tail %8.3f \n",MAC_tail)
fprintf("Location MAC Tail %8.3f \n",MAC_location_tail)
fprintf("\n\n");
disp('--------------- HORIZONTAL TAIL ------------------')
fprintf("Aspect Ratio Tail %8.3f \n",AspectRatio_Htail)
fprintf("Taper Ratio Tail %8.3f \n",Taper_Htail)
fprintf("Tail Span %8.3f \n",Span_Htail)
fprintf("Tail Area %8.3f \n",Tail_AreaH)
fprintf("Root Chord Tail %8.3f \n",Root_chord_Htail)
fprintf("Tip Chord Tail %8.3f \n",Tip_chord_Htail)
fprintf("MAC Tail %8.3f \n",MAC_Htail)
fprintf("Location MAC Tail %8.3f \n",MAC_location_Htail)
fprintf("\n\n");
disp('-------------------- RUDDER --------------------')
fprintf("Rudder Span %8.3f \n",Span_rudder)
fprintf("Rudder Chord %8.3f \n",MAC_rudder)
fprintf("\n\n");
disp('-------------------- ELEVAtOR ------------------')
fprintf("Elevator Span %8.3f \n",Span_elevator)
fprintf("Elevator Chord %8.3f \n",MAC_elevator)
disp('-------------------- AILERON ------------------')
fprintf("Aileron Span %8.3f \n",Span_aileron)
fprintf("Aileron Chord %8.3f \n",MAC_aileron)
61