Please show MATLAB code and screenshot of Simulink. You have to develop the MATLAB program and Simulink program.
Fuel
Engine Te (Je.Tre)
Output (Te,we)
Input
Nonlinear Engine Equation
T=Kft-
Engine Produced Torque
Friction Induced Torque
dz +p=2 Fueling Time Delay We Je = Polar moment of inertia of engine TLe = External torque load t = time y = Engine parameters We = Engine rotational speed
Develop a Simulink model (called by a MATLAB program) to calculate and plot engine rotational speed (RPM) vs. time (0-5 seconds). The parameters are given below.
a = -0.0106; constant 1 of engine friction torque
b = 0.71248; constant 2 of engine friction torque
c = -1680.5; constant 3 of engine friction torque
d = 0.002996; constant 1 of Fueling Time Delay
e = 29.166; constant 2 of Fueling Time Delay
Fuelmax = 300; % mm^3/sec, Max. fuel limit
Fuelmin = 0; % mm^3/sec, Min. fuel limit
Fuel = 300; % mm^3/sec, Fuel supply
Je = % kg.m^2, Polar moment of inertia
K1 = 5.102; Engine torque constant
Tamax = 10; % max time delay in Variable Transport Delay
TLe = 200; % ft.lb, Engine torque load
Wi = 650; RPM, Initial engine speed
Wmax = 4000; RPM, Engine max speed
Wmin = 10; RPM, Engine min speed