Advertisement
Guest User

Untitled

a guest
Mar 28th, 2020
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 2.49 KB | None | 0 0
  1. % The following data are obtained from the design requirements:
  2. Vs = 31.381; % The stall speed according to the requirements in
  3.  % certification specification EASA CS VLA, m/s
  4. Vc = 77.1667; % The cruising speed according to the design requirements, m/s
  5. Vmax = Vc*1.1; % Calculated maximum speed, m/s
  6. Vto = Vs*1.3; %takeoff speed
  7. Vr = Vto; % Take-off rotation speed, m/s
  8. hC = 350; % Normal service altitude/ceiling above sea level, m
  9. hac = 3962.4; % Absolute ceiling altitude, m
  10. Clmax = 1.3; % Maximum lift coefficient for the preliminary design phase
  11. e = 0.75; % Oswald efficiency factor
  12. AR = 8; % Wing aspect ratio for the preliminary design phase
  13. K = 0.02; % Calculated induced drag coefficient
  14. g = 9.81; % Gravitational acceleration, m/s^2
  15. Cd0 = 0.0245; % Zero lift-drag coefficient
  16. Cd0to = 0.0835; % Zero lift-drag coefficient at take-off
  17. Clto = 0.85; % Aircraft lift coefficient at take-off
  18. Cdto = 0.10747; % Aircraft drag coefficient at take-off
  19. Cdg = 0.03947; % Coefficient
  20. Clr = Clto; % Lift coefficient at take-off rotation
  21. nu = 0.08; % Drag coefficient for the launch unit
  22. Sto = 2; % Launch unit length
  23. rhosl = 1.225; % Air density at sea level
  24. rhoc = 1.184; % Air density at a cruising altitude of 350 m above sea level
  25. rhoac = 0.736; % Air density at absolute ceiling altitude
  26. mupto = 0.55; % Propeller efficiency coefficient at take-off
  27. mupac = 0.8; % Propeller efficiency coefficient at cruising altitude
  28. LDmax = 11.5; % Lift drag value for the preliminary design faze
  29. ROCAC = 0; % Rate of climb at absolute ceiling, m/s
  30. ROCSC = .9; % Rate of climb at service ceiling, m/s
  31. ROCCrC = 3.048; % Rate of climb at cruise ceiling, m/s
  32. ROCCoC = 6.096; % Rate of climb at combat ceiling, m/s
  33. % Stall speed.
  34. WS = 1/2*rhosl*Vs^2*Clmax;
  35. x1 = WS;
  36. x2 = WS;
  37. y1 = 0;
  38. y2 = 1.5;
  39. plot([x1,x2],[y1,y2],'-b')
  40. axis([0 30 -0.5 1.2])
  41. xlabel('W/S, N/m^2')
  42. ylabel('W/P, N/W')
  43. grid on
  44. hold on
  45. % Maximum speed.
  46. WSms = 1:1:30;
  47. WPvmax =mupac./((0.5*rhosl*Vmax^3*Cd0./WSms)+(((2*K)./(rhoc*(rhoc/rhosl)*Vmax)).*WSms));
  48. plot(WSms,WPvmax,'--y')
  49.  
  50. % Take-off run.
  51. WPsto = (((1-exp(0.6*rhosl*g*Cdg*Sto)./WSms))./(nu-(nu+Cdg/Clr).*(exp(0.6*rhosl*g*Cdg*Sto)./WSms))).*(mupto/Vto);
  52. disp(WPsto)
  53. plot(WSms,WPsto,'r--o')
  54. % Rate of Climb.
  55. WProc = 1./(3.6363+(sqrt(1.0969.*WSms)*0.1826));
  56. plot(WSms,WProc,'*-c')
  57. % Cruise ceiling.
  58. WPslc =(rhoc/rhosl)./((ROCCrC/mupac)+sqrt((2/(rhoc*sqrt(3*Cd0/K)))*WSms)*(1.115/(LDmax*mupac)));
  59. plot(WSms,WPslc,'*-g')
  60. legend(["stall","Maximum speed","Power","Rate of Climb","Ceiling"])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement