FGR-yasim.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- FGR2 Phantom II
  3. <airplane mass="31000" version="YASIM_VERSION_CURRENT">-->
  4. <airplane mass="31000" version="YASIM_VERSION_CURRENT">
  5. <!-- Approach configuration -->
  6. <approach speed="130" aoa="8" fuel="0.1">
  7. <control-setting axis="/controls/engines/engine[0]/throttle" value="0.2"/>
  8. <control-setting axis="/controls/engines/engine[1]/throttle" value="0.2"/>
  9. <control-setting axis="/controls/flight/flaps" value="1.0"/>
  10. <control-setting axis="/controls/flight/spoilers" value="0.5"/>
  11. <control-setting axis="/controls/gear/gear-down" value="1"/>
  12. </approach>
  13. <!-- Cruise configuration -->
  14. <!--
  15. <cruise speed="1204" alt="40000" fuel="0.41">
  16. -->
  17. <cruise speed="1100 " alt="40000" fuel="0.41">
  18. <control-setting axis="/controls/engines/engine[0]/throttle" value="1"/>
  19. <control-setting axis="/controls/engines/engine[1]/throttle" value="1"/>
  20. <control-setting axis="/controls/flight/flaps" value="0.0"/>
  21. <control-setting axis="/controls/gear/gear-down" value="0"/>
  22. </cruise>
  23. <!-- pilot eyepoint -->
  24. <cockpit x="5.5" y="0.0" z="1.0"/>
  25. <fuselage ax="9.3" ay="0" az="0" bx="4" by="0" bz="0.78" width="1.8" taper="0.2" midpoint="1" idrag="0.3"/>
  26. <fuselage ax="4" ay="0" az="0.78" bx="-4" by="0" bz="0.7" width="1.8" taper="1" midpoint="0" idrag="0.3"/>
  27. <fuselage ax="-4" ay="0" az="0.78" bx="-8.6" by="0" bz="1.3" width="1.8" taper="0.2" midpoint="0" idrag="0.2"/>
  28. <!-- Engines -->
  29. <fuselage ax="4.5" ay="0.9" az="0.7" bx="-4.7" by="0.6" bz="0.3" width="1.0" taper= "1" midpoint= "0.8" idrag="0.3" />
  30. <fuselage ax="4.5" ay="-0.9" az="0.7" bx="-4.7" by="-0.6" bz="0.3" width="1.0" taper= "1" midpoint= "0.8" idrag="0.3" />
  31. <wing x="0.4" y="1.2" z="-0.1"
  32. chord="5.75"
  33. length="3.53"
  34. taper="0.52"
  35. incidence="1.4"
  36. twist="-2.0"
  37. idrag="0.5"
  38. sweep="34"
  39. dihedral="0">
  40. <stall aoa="21" width="8" peak="1.3"/>
  41. <flap0 start="0.01" end="0.47" lift="1.9" drag="1.4"/>
  42. <flap1 start="0.47" end="0.813" lift="1.2" drag="1.2"/>
  43. <slat aoa="4" start="0.04" end="0.813" lift="1.4" drag="1.3"/>
  44. <control-input axis="/controls/flight/flaps" control="FLAP0"/>
  45. <control-input axis="/controls/flight/aileron" control="FLAP1" split="true"/>
  46. <control-input axis="/controls/flight/aileron-trim" control="FLAP1" split="true"/>
  47. <control-input axis="/controls/flight/flaps" control="SLAT"/>
  48. <control-output control="FLAP0" prop="/surface-positions/flap-pos-norm"/>
  49. <control-output control="FLAP1" prop="/surface-positions/aileron-pos-norm"/>
  50. <control-output control="SLAT" prop="surface-positions/slat-pos-norm"/>
  51. <control-speed control="SLAT" transition-time="1.9"/>
  52. <control-speed control="FLAP0" transition-time="15"/>
  53. <control-speed control="FLAP1" transition-time="0.25"/>
  54. </wing>
  55. <!-- Wing end -->
  56. <wing x="-1.55" y="4.13" z="-0.15"
  57. chord="3.15"
  58. length="2.2"
  59. taper="0.4"
  60. incidence="1.4"
  61. sweep="37"
  62. dihedral="11"
  63. camber="-0.05">
  64. <stall aoa="18" width="2" peak="1.3"/>
  65. </wing>
  66. <!-- body -->
  67. <mstab x="0" y="0" z="0.173" chord="7"
  68. length="1.025"
  69. taper="1"
  70. incidence="0"
  71. sweep="0"
  72. dihedral="0"
  73. camber="-0.05">
  74. <stall aoa="18" width="2" peak="1.3"/>
  75. <flap0 start="0.01" end="0.47" lift="1.1" drag="29.9"/>
  76. <control-input axis="/controls/flight/speedbrake" control="FLAP0"/>
  77. <control-output control="FLAP0" prop="/surface-positions/speedbrake-pos-norm"/>
  78. <control-speed control="FLAP0" transition-time="4"/>
  79. </mstab>
  80. <hstab x="-6.3" y="0.220" z="1.24"
  81. taper="0.23"
  82. length="2.65"
  83. chord="2.6"
  84. incidence="-1.7"
  85. sweep="27"
  86. dihedral="-19">
  87. <stall aoa="35" width="33" peak="2"/>
  88. <flap0 start="0.01" end="1.0" lift="2" drag="1.4"/>
  89. <control-input axis="/controls/flight/elevator" control="FLAP0"/>
  90. <control-input axis="/controls/flight/elevator-trim" control="FLAP0"/>
  91. <control-output control="FLAP0" prop="/surface-positions/elevator-pos-norm"/>
  92. <control-speed control="FLAP0" transition-time="0.4"/>
  93. </hstab>
  94. <vstab x="-5.45" y="0" z="1.5"
  95. chord="5.5"
  96. length="2.7"
  97. taper="0.29"
  98. incidence="0"
  99. sweep="48">
  100. <stall aoa="27" width="10" peak="1.5"/>
  101. <flap0 start="0.01" end=".94" lift="1.3" drag="1.3"/>
  102. <control-input axis="/controls/flight/rudder" control="FLAP0" invert="true"/>
  103. <control-input axis="/controls/flight/rudder-trim" control="FLAP0" invert="true"/>
  104. <control-output control="FLAP0" prop="/surface-positions/rudder-pos-norm"/>
  105. <control-speed control="FLAP0" transition-time="1"/>
  106. </vstab>
  107. <!-- Engines source : http://en.wikipedia.org/wiki/Rolls-Royce_Spey
  108. name : Rolls-Royce Spey
  109. type : Turbofan
  110. power cruise : 12150 lbf
  111. adterburner : 20515 lbf
  112. weight : 4093 lb
  113. -->
  114. <jet x="0" y="0.555" z="0.334"
  115. mass="4093"
  116. thrust="12140"
  117. afterburner="20515"
  118. n1-idle="1"
  119. n1-max="125" >
  120. <actionpt x="-4.561" y="0.483" z="-0.0"/>
  121. <control-input axis="/controls/engines/engine[0]/throttle" control="THROTTLE"/>
  122. <control-input axis="/controls/engines/engine[0]/throttle" src0="0.85" dst0="0.0" src1="1.0" dst1="1.0" control="REHEAT"/>
  123. <control-output control="REHEAT" prop="engines/engine[0]/afterburner" />
  124. </jet>
  125. <jet x="0" y="-0.555" z="0.334"
  126. mass="4093"
  127. thrust="12140"
  128. afterburner="20515"
  129. n1-idle="1"
  130. n1-max="125" >
  131. <actionpt x="-2.561" y="-0.483" z="-0.0"/>
  132. <control-input axis="/controls/engines/engine[1]/throttle" control="THROTTLE"/>
  133. <control-input axis="/controls/engines/engine[1]/throttle" src0="0.85" dst0="0.0" src1="1.0" dst1="1.0" control="REHEAT"/>
  134. <control-output control="REHEAT" prop="engines/engine[1]/afterburner" />
  135. </jet>
  136. <!-- nose -->
  137. <gear x="6.423" y="0" z="-1.970"
  138. retract-time="8"
  139. compression="0.7"
  140. spring="1.1"
  141. damp="1.4">
  142. <control-input axis="/controls/flight/rudder" control="STEER" square="false"/>
  143. <control-input axis="/controls/gear/gear-down" control="EXTEND"/>
  144. <control-output control="EXTEND" prop="/gear/gear[0]/position-norm"/>
  145. <control-speed control="EXTEND" transition-time="7"/>
  146. </gear>
  147. <!-- left main -->
  148. <gear x="-0.664" y="2.695" z="-2.060"
  149. retract-time="8"
  150. compression="0.8"
  151. spring="0.85"
  152. damp="2">
  153. <control-input axis="/controls/gear/brake-left" control="BRAKE"/><control-input axis="/controls/gear/brake-parking" control="BRAKE"/>
  154. <control-input axis="/controls/gear/gear-down" control="EXTEND"/>
  155. <control-output control="EXTEND" prop="gear/gear[1]/position-norm"/>
  156. <control-speed control="EXTEND" transition-time="7"/>
  157. </gear>
  158. <!-- right main -->
  159. <gear x="-0.664" y="-2.695" z="-2.060"
  160. retract-time="8"
  161. compression="0.8"
  162. spring="0.85"
  163. damp="2">
  164. <control-input axis="/controls/gear/brake-right" control="BRAKE"/>
  165. <control-input axis="/controls/gear/brake-parking" control="BRAKE"/>
  166. <control-input axis="/controls/gear/gear-down" control="EXTEND"/>
  167. <control-output control="EXTEND" prop="gear/gear[2]/position-norm"/>
  168. <control-speed control="EXTEND" transition-time="7"/>
  169. </gear>
  170. <!-- FUEL tank0 -->
  171. <tank x="2.5" y=" 0.0" z="1.5" jet="true" capacity="1674"/>
  172. <!-- FUEL tank1 -->
  173. <tank x="0" y=" 0.0" z="1.5" jet="true" capacity="1510"/>
  174. <!-- FUEL tank2 -->
  175. <tank x="-1" y=" 0.0" z="1.5" jet="true" capacity="1175"/>
  176. <!-- FUEL tank3 -->
  177. <tank x="-2" y=" 0.0" z="1.5" jet="true" capacity="1558"/>
  178. <!-- FUEL tank4 -->
  179. <tank x="-2.5" y=" 0.0" z="1.5" jet="true" capacity="1408"/>
  180. <!-- FUEL tank5 -->
  181. <tank x="-3" y=" 0.0" z="1.5" jet="true" capacity="1640"/>
  182. <!-- FUEL tank6 not used in the FGR2 -->
  183. <tank x="-3.5" y=" 0.0" z="1.5" jet="true" capacity="0"/>
  184. <!-- FUEL Wing -->
  185. <tank x="0" y=" 1.5" z="-0.2" jet="true" capacity="2200"/>
  186. <tank x="0" y=" -1.5" z="-0.2" jet="true" capacity="2200"/>
  187. <!-- EXT TANK -->
  188. <tank x="0.0" y= " 0.0" z="-0.8" jet="true" capacity="4114"/>
  189. <tank x="0.0" y= " 3.3" z="-0.8" jet="true" capacity="2542"/>
  190. <tank x="0.0" y= "-3.3" z="-0.8" jet="true" capacity="2542"/>
  191. <!-- ballast -->
  192. <ballast x="6.7" y="0" z="-1.59" mass="3000"/>
  193. <ballast x="5.74" y="0" z="-0.35" mass="1200"/>
  194. <ballast x="4" y="0" z="0.2" mass="4900"/>
  195. <!-- ballast -->
  196. <ballast x="5.05" y="0" z="-0.1" mass="200"/>
  197. <ballast x="-0.8" y="3" z="-1.59" mass="200"/>
  198. <ballast x="-0.8" y="-3" z="-1.59" mass="200"/>
  199. <!-- Parachute -->
  200. <!-- X axis - force forward -->
  201. <thruster x="-7.015" y="-0.108" z="0.720" vx="1" vy="0" vz="0"
  202. thrust="10000">
  203. <control-input axis="/controls/engines/thruster[1]/throttle" control="THROTTLE" src0="-1" src1="1" dst0="-1" dst1="1"/>
  204. </thruster>
  205. <!-- Y axis - force left -->
  206. <thruster x="-7.015" y="-0.108" z="0.720" vx="0" vy="1" vz="0"
  207. thrust="10000">
  208. <control-input axis="/controls/engines/thruster[2]/throttle" control="THROTTLE" src0="-1" src1="1" dst0="-1" dst1="1"/>
  209. </thruster>
  210. <!-- Z axis - force up -->
  211. <thruster x="-7.015" y="-0.108" z="0.720" vx="0" vy="0" vz="1"
  212. thrust="10000">
  213. <control-input axis="/controls/engines/thruster[3]/throttle" control="THROTTLE" src0="-1" src1="1" dst0="-1" dst1="1"/>
  214. </thruster>
  215. <!-- Hook -->
  216. <hook x="-4.8" y="0" z="-0.282"
  217. length="2.571"
  218. down-angle="60"
  219. up-angle="-18.6">
  220. <control-input axis="/controls/gear/tailhook" control="HEXTEND"/>
  221. <control-speed control="HEXTEND" transition-time="1.35"/>
  222. </hook>
  223. <!-- Launch-bar -0.780453-->
  224. <launchbar x="6.8"
  225. y="0.0"
  226. z="-1.0"
  227. length="3.5052">
  228. <!--down-angle="90"
  229. up-angle="0"
  230. holdback-x="-16.3"
  231. holdback-y="0.0"
  232. holdback-z="0.1175"
  233. holdback-length="2.0"-->
  234. <control-input axis="/controls/gear/launchbar"
  235. control="LEXTEND"/>
  236. <control-speed control="LEXTEND"
  237. transition-time="1"/>
  238. <control-input axis="/controls/gear/launchbar/acceleration-norm"
  239. control="LACCEL"/>
  240. </launchbar>
  241. <!-- Stores -->
  242. <weight x="0"
  243. y="3.65"
  244. z="0"
  245. size="0.9"
  246. mass-prop="sim/weight[0]/weight-lb"/>
  247. <weight x="1.5"
  248. y="2.17"
  249. z="-0.55"
  250. size="0.6"
  251. mass-prop="sim/weight[1]/weight-lb"/>
  252. <weight x="3.5"
  253. y="0.45"
  254. z="-0.25"
  255. size="0.3"
  256. mass-prop="sim/weight[2]/weight-lb"/>
  257. <weight x="-1.8"
  258. y="1.1"
  259. z="-0.36"
  260. size="0.3"
  261. mass-prop="sim/weight[3]/weight-lb"/>
  262. <weight x="0"
  263. y="0"
  264. z="-0.8"
  265. size="0.95"
  266. mass-prop="sim/weight[4]/weight-lb"/>
  267. <weight x="-1.8"
  268. y="-1.1"
  269. z="-0.36"
  270. size="0.3"
  271. mass-prop="sim/weight[5]/weight-lb"/>
  272. <weight x="3.5"
  273. y="0.45"
  274. z="-0.25"
  275. size="0.3"
  276. mass-prop="sim/weight[6]/weight-lb"/>
  277. <weight x="1.5"
  278. y="-2.17"
  279. z="-0.55"
  280. size="0.6"
  281. mass-prop="sim/weight[7]/weight-lb"/>
  282. <weight x="0"
  283. y="-3.65"
  284. z="0"
  285. size="0.9"
  286. mass-prop="sim/weight[8]/weight-lb"/>
  287. </airplane>