Sie sind auf Seite 1von 4

FSEJ1.

m
function dX = FSEJ1(t,X)
% Input: values of magnitude of velocity vector V (ft/s)
% and flight path angle gamma (rad) stored in the vector X
% Output: values of time derivative of magnitude of velocity vector dV (ft/s2) and time
derivative
% of flight path angle dgamma (rad/s) stored in the vector dX
% Organize function input data into scalar components
V=X(1); gamma=X(2);
% Enter parameter data for executive jet aircraft
W=73000.0; CD0=0.015; K=0.05; CL0=0.02; CLa=0.12; S=950.0;
% Enter air density (slugs/ft3), assumed constant depending on the approximate
% flight altitude
rho=1.7553E-3;
% Specify input functions: thrust magnitude (lbs), angle of attack (rad)
T=7961.7;
alpha=1.37*3.14159/180;
% Compute lift and drag on executive jet aircraft; angle of attack in degrees here
CL=CL0+CLa*180*alpha/3.14159;
CD=CD0+K*CL*CL;
L=0.5*rho*V*V*S*CL;
D=0..5*rho*V*V*S*CD;
% Compute time derivatives of magnitude of aircraft velocity vector and flight path
% angle based on performance differential equations
dV=-32.2*sin(gamma)-D*32.2/W+T*32.2*cos(alpha)/W;
dgamma=-32.2*cos(gamma)/V+L*32.2/(W*V)+T*32.2*sin(alpha)/(W*V);
%Organize function output time derivative data into a column vector
dX =[dV;dgamma];
FSEJ2.m
function dX = FSEJ2(t,X)
% Input: values of magnitude of velocity vector V (ft/s), heading angle sigma (rad),
% and flight path angle gamma (rad) stored in the vector X
% Output: values of time derivative of magnitude of velocity vector dV (ft/s2), time
derivative of
% heading angle dsigma (rad/s), and time derivative of flight path angle dgamma (rad/s)
stored in

% the vector dX
% Organize function input data into scalar components
V=X(1); sigma=X(2); gamma=X(3);
% Enter parameter data for executive jet aircraft
W=73000.0; CD0=0.015; K=0.05; CL0=0.02; CLa=0.12; S=950.0;
% Enter air density (slugs/ft3), assumed constant depending on the approximate
% flight altitude
rho=1.7553E-3;
% Specify input functions: thrust magnitude (lbs), angle of attack (rad) and bank angle
% about velocity vector (rad)
T=7961.7;
alpha=4.40*3.14159/180;
mu=15*3.14159/180;
% Compute lift and drag on executive jet aircraft; angle of attack in degrees here
CL=CL0+CLa*180*alpha/3.14159;
CD=CD0+K*CL*CL;
L=0.5*rho*V*V*S*CL;
D=0..5*rho*V*V*S*CD;
% Compute time derivatives of magnitude of aircraft velocity vector, heading angle,
% and flight path angle based on performance differential equations
dV=-32.2*sin(gamma)-D*32.2/W+T*32.2*cos(alpha)/W;
dsigma=L*32.2*sin(mu)*sec(gamma)/(W*V)+T*32.2*sin(alpha)*sin(mu)*sec(gamma)/
(W*V);
dgamma=-32.2*cos(gamma)/V+L*32.2*cos(mu)/(W*V)+T*32.2*sin(alpha)*cos(mu)/
(W*V);
%Organize function output time derivative data into a column vector
dX =[dV;dsigma;dgamma];
FSGA1.m
function dX = FSGA1(t,X)
% Input: values of magnitude of velocity vector V (ft/s), flight path angle gamma (rad),
% horizontal displacement (ft), and vertical displacement (ft) stored in the vector X
% Output: values of time derivative of magnitude of velocity vector dV (ft/s2), time
derivative
% of flight path angle dgamma (rad/s), time derivative of horizontal displacement dx (ft),
and time

% derivative of vertical displacement dz (ft) stored in the vector dX


% Organize function input data into scalar components
V=X(1); gamma=X(2);
% Enter parameter data for general aviation aircraft
W=2900.0; CD0=0.026; K=0.054; CL0=0.02; CLa=0.12; S=175.0;
% Enter air density (slugs/ft3), assumed constant depending on the approximate
% flight altitude
rho=1.7553E-3;
% Specify input functions: engine power (ft lbs/s) and angle of attack (rad)
P=31454;
alpha=9.849*3.14159/180;
% Compute lift and drag on general aviation aircraft; angle of attack in degrees here
CL=CL0+CLa*180*alpha/3.14159;
CD=CD0+K*CL*CL;
L=0.5*rho*V*V*S*CL;
D=0..5*rho*V*V*S*CD;
% Compute time derivatives of magnitude of aircraft velocity vector and flight path
% angle based on performance differential equations
dV=-32.2*sin(gamma)-D*32.2/W+P*32.2*cos(alpha)/(W*V);
dgamma=-32.2*cos(gamma)/V+L*32.2/(W*V)+P*32.2*sin(alpha)/(W*V2);
dx=V*cos(gamma);
dz=V*sin(gamma);
%Organize function output time derivative data into a column vector
dX =[dV;dgamma;dx;dz];
FSGA2.m
function dX = FSGA2(t,X)
% Input: values of magnitude of velocity vector V (ft/s), heading angle sigma (rad),
% and flight path angle gamma (rad) stored in the vector X
% Output: values of time derivative of magnitude of velocity vector dV (ft/s2), time
derivative of
% heading angle dsigma (rad/s), time derivative of flight path angle dgamma (rad/s),
and time
% derivatives of x, y, and z displacements of the aircraft stored in the vector dX
% Organize function input data into scalar components

V=X(1); sigma=X(2); gamma=X(3);


% Enter parameter data for general aviation aircraft
W=2900.0; CD0=0.026; K=0.054; CL0=0.02; CLa=0.12; S=175.0;
% Enter air density (slugs/ft3), assumed constant depending on the approximate
% flight altitude
rho=1.7553E-3;
% Specify input functions: engine power (ft lbs/s), angle of attack (rad) and
% bank angle about velocity vector (rad)
P=102170.0;
alpha=19.8*3.14159/180;
mu=60*3.14159/180;
% Compute lift and drag on general aviation aircraft; angle of attack in degrees here
CL=CL0+CLa*180*alpha/3.14159;
CD=CD0+K*CL*CL;
L=0.5*rho*V*V*S*CL;
D=0..5*rho*V*V*S*CD;
% Compute time derivatives of magnitude of aircraft velocity vector, heading angle,
% flight path angle and x, y, z displacements based on performance differential
equations
dV=-32.2*sin(gamma)-D*32.2/W+P*32.2*cos(alpha)/(W*V);
dsigma=L*32.2*sin(mu)*sec(gamma)/(W*V)+P*32.2*sin(alpha)*sin(mu)*sec(gamma)/
(W*V2);
dgamma=-32.2*cos(gamma)/V+L*32.2*cos(mu)/(W*V)+P*32.2*sin(alpha)*cos(mu)/
(W*V2);
dx=V*cos(sigma)*cos(gamma);
dy=V*sin(sigma)*cos(gamma);
dz=V*sin(gamma);
%Organize function output time derivative data into a column vector
dX =[dV;dsigma;dgamma;dx,dy,dz];

Das könnte Ihnen auch gefallen