DeltaDev

DCS Yak-52 SFM

Aug 2nd, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.53 KB | None | 0 0
  1. -- SFM Data
  2.     SFM_Data = {
  3.         aerodynamics = { -- Cx = Cx_0 + Cy^2*B2 +Cy^4*B4
  4.             Cy0         = 0.1, -- zero AoA lift coefficient
  5.             Mzalfa      = 4.355, -- coefficients for pitch agility
  6.             Mzalfadt    = 0.8, -- coefficients for pitch agility
  7.             kjx         = 2.25,
  8.             kjz         = 0.00125,
  9.             Czbe        = -0.016, -- coefficient, along Z axis (perpendicular), affects yaw, negative value means force orientation in FC coordinate system
  10.             cx_gear     = 0.0277, -- coefficient, drag, gear
  11.             cx_flap     = 0.095, -- coefficient, drag, full flaps
  12.             cy_flap     = 0.45, -- coefficient, normal force, lift, flaps
  13.             cx_brk      = 0.06, -- coefficient, drag, breaks
  14.             table_data  =
  15.             {   --      M       Cx0         Cya         B       B4      Omxmax  Aldop       Cymax
  16.                     {   0.0,    0.0242, 0.10,       0.0634,     0.0,    0.15,   20.0,       1.58,   },
  17.                     {   0.2,    0.0242, 0.10,       0.0634,     0.0,    1.606,  20.0,       1.58,   },
  18.                     {   0.342,  0.0245, 0.0787,     0.061,      0.017,  2.353,  18.0,       1.3,    },
  19.                     {   0.5,    0.0263, 0.0770,     0.057,      0.025,  1.145,  16.0,       0.95,   },
  20.                     {   0.59,   0.0268, 0.0768,     0.0514,     0.026,  0.761,  15.0,       0.75,   },
  21.                     {   0.67,   0.0331, 0.0784,     0.047,      0.021,  0.384,  14.5,       0.62,   },
  22.                     {   0.74,   0.0465, 0.0848,     0.08,       0.16,   0.206,  10.0,       0.46,   },
  23.                     {   0.76,   0.0527, 0.0813,     0.1,        0.25,   0.133,  9.0,        0.42,   },
  24.                     {   0.8,    0.0737, 0.0695,     0.2,        0.36,   0.077,  6.0,        0.38,   },
  25.                     {   0.83,   0.1006, 0.0993,     0.34,       2.4,    0.063,  4.5,        0.3,    },
  26.                     {   0.9,    0.1470, 0.073,      0.56,       3.0,    0.042,  3.0,        0.2,    },
  27.                 }, -- end of table_data
  28.             -- M - Mach number
  29.             -- Cx0 - Coefficient, drag, profile, of the airplane
  30.             -- Cya - Normal force coefficient of the wing and body of the aircraft in the normal direction to that of flight. Inversely proportional to the available G-loading at any Mach value. (lower the Cya value, higher G available) per 1 degree AOA
  31.             -- B - Polar quad coeff
  32.             -- B4 - Polar 4th power coeff
  33.             -- Omxmax - roll rate, rad/s
  34.             -- Aldop - Alfadop Max AOA at current M - departure threshold
  35.             -- Cymax - Coefficient, lift, maximum possible (ignores other calculations if current Cy > Cymax)
  36.         }, -- end of aerodynamics
  37.         engine = {
  38.             Nominal_RPM = 2920,
  39.             Nmg     = 26.027, -- RPM at idle
  40.             MinRUD  = 0, -- Min state of the throttle
  41.             MaxRUD  = 1, -- Max state of the throttle
  42.             MaksRUD = 1, -- Military power state of the throttle
  43.             ForsRUD = 1, -- Afterburner state of the throttle
  44.             type    = "Radial",
  45.             cylinder_firing_order = {1, 3, 5, 7, 9, 2, 4, 6, 8},
  46.  
  47.             hMaxEng = 12.5, -- Max altitude for safe engine operation in km
  48.             dcx_eng = 0.015, -- Engine drag coeficient
  49.             cemax   = 0.37, -- not used for fuel calulation , only for AI routines to check flight time ( fuel calculation algorithm is built in )
  50.             cefor   = 0.37, -- not used for fuel calulation , only for AI routines to check flight time ( fuel calculation algorithm is built in )
  51.             dpdh_m  = 1800, -- altitude coefficient for max thrust
  52.             dpdh_f  = 1800, -- altitude coefficient for AB thrust
  53.             k_adiab_1           = 0.037923,
  54.             k_adiab_2           = 0.0562,
  55.             MAX_Manifold_P_1    = 155774,      
  56.             MAX_Manifold_P_2    = 206570,      
  57.             MAX_Manifold_P_3    = 226648,      
  58.             k_after_cool        = 0.54,
  59.             Displ               = 27,
  60.             k_Eps               = 6,
  61.             Stroke              = 0.152,
  62.             V_pist_0            = 12,
  63.             Nu_0                = 1.2,
  64.             Nu_1                = 0.9,
  65.             Nu_2                = 0.001,
  66.             N_indic_0           = 1023040,
  67.             N_fr_0              = 0.072,
  68.             N_fr_1              = 0.02,
  69.             Init_Mom            = 220,
  70.             D_prop              = 3.28,
  71.             MOI_prop            = 65,
  72.             k_gearbox           = 2.096,
  73.             P_oil               = 495438,
  74.             k_boost             = 3,
  75.             k_cfug              = 0.003,
  76.             k_oil               = 0.00004,
  77.             k_piston            = 3000,
  78.             k_reg               = 0.003,
  79.             k_vel               = 0.017,
  80.             table_data =
  81.             {
  82.             --   M          Pmax
  83.                 {0.0,       16620.0},
  84.                 {0.1,       15600.0},
  85.                 {0.2,       14340.0},
  86.                 {0.3,       13320.0},
  87.                 {0.4,       12230.0},
  88.                 {0.5,       11300.0},
  89.                 {0.6,       10600.0},
  90.                 {0.7,       10050.0},
  91.                 {0.8,        9820.0},
  92.                 {0.9,        5902.0},
  93.                 {1.9,        3469.0}
  94.             },
  95.             -- M - Mach number
  96.             -- Pmax - Engine thrust at military power
  97.             -- Pfor - Engine thrust at AFB
  98.             --cylinder_firing_order = {1,3,4,2},
  99.         }, -- end of engine
  100.     },
Advertisement
Add Comment
Please, Sign In to add comment