	<!-- T/SU-50 FDM Based on the following data:-
	
Performance

Maximum speed: Mach 2+, 2,100-2,600 km/h (1,300-1,560 mph) ; at 17,000 m (55774.3 ft) altitude 
Cruise speed: 1,300-1,800 km/h[106] (808-1,118 mph) 
Ferry range: 5,500 km[65] (3,417 mi) 
Service ceiling: 20,000 m (65,000 ft) 
Rate of climb: 350 m/s (68,900 ft/min) 
Wing loading: 330-470 kg/m2 (67-96 lb/ft2) 
Thrust/weight: 1.19[104]

Maximum g-load: 9+ g[104] 
-->

	<airplane mass="40785">

	<!-- Approach configuration -->
	<approach speed="145" aoa="8" fuel="1">
		<control-setting axis="/controls/engines/engine[0]/throttle" value="0.4"/>
				<control-setting axis="/controls/engines/engine[0]/afterburner" value="0"/>
						<control-setting axis="/controls/engines/engine[1]/throttle" value="0.4"/>
							<control-setting axis="/controls/engines/engine[1]/afterburner" value="0"/>
							<control-setting axis="/controls/flight/flaps" value="1"/>
						<control-setting axis="/controls/gear/gear-down" value="1"/>
					<control-setting axis="/controls/flight/speedbrake" value="1"/>
			<control-setting axis="/controls/flight/slats" value="1"/>
	</approach>

	<!-- Cruise configuration.   -->
	<cruise speed="950" alt="42750" fuel="0.855">	
		<control-setting axis="/controls/engines/engine[0]/throttle" value="0.87"/>
			<control-setting axis="/controls/engines/engine[0]/afterburner" value="0"/>
				<control-setting axis="/controls/engines/engine[1]/throttle" value="0.87"/>
					<control-setting axis="/controls/engines/engine[1]/afterburner" value="0"/>
					<control-setting axis="/controls/flight/flaps" value="0.0"/>
				<control-setting axis="/controls/gear/gear-down" value="0"/>
			<control-setting axis="/controls/flight/speedbrake" value="0"/>
		<control-setting axis="/controls/flight/slats" value="0"/>
	</cruise>

	<cockpit x="-5.30" y="0.00" z="1.42"/>

<!-- Fuselage entries for the fuselage proper and the two
     engine housings.
-->
<!-- Fuselage -->
  <fuselage ax="-0.5" ay="0.00" az="-0.8"
            bx="-12.40" by="0.00" bz="0.3"
            width="1.8"
            taper="0.2"
            midpoint="0.4"/>

<!-- Left engine housing -->

  <fuselage ax="-8.50" ay="1.00" az="-0.7"
            bx="-18.00" by="1.15" bz="0"
            width="1.2"
            taper="1"
            midpoint="0.3"/>

<!-- Right engine housing -->

  <fuselage ax="-8.50" ay="-1.00" az="-0.7"
            bx="-18.00" by="-1.15" bz="0"
            width="1.2"
            taper="1"
            midpoint="0.3"/>

		 <wing x="-13.9" y="3" z="0"
        length="4.65"
        chord="7"
        sweep="25.0"
        taper="0.2"
        dihedral="0"
        camber="0.00"
        incidence="0.0">
			
		<stall aoa="21" width="8" peak="1.3"/>
		<flap0 start="0.0" end="1" lift="1.4" drag="1.8"/>
		<flap1 start="0.47" end="0.8" lift="1.8" drag="1.2"/>
		<slat aoa="4" start="0.1" end="0.813" lift="1.4" drag="1.3"/>
		
		<control-input axis="/controls/flight/flaps" control="FLAP0"/>
		<control-input axis="/controls/flight/aileron" control="FLAP1" split="true"/>
		<control-input axis="/controls/flight/aileron-trim" control="FLAP1" split="true"/>
		<control-input axis="/controls/flight/flaps" control="SLAT"/>

		<control-output control="FLAP0" prop="/surface-positions/left-flap-pos-norm"/>
		<control-output control="FLAP0" prop="/surface-positions/right-flap-pos-norm"/>
		<control-output control="FLAP1" side="left" prop="/surface-positions/left-aileron-pos-norm"/>
		<control-output control="FLAP1" side="right" prop="/surface-positions/right-aileron-pos-norm"/>
		<control-output control="SLAT" prop="/surface-positions/slat-pos-norm"/>

		<control-speed control="SLAT" transition-time="1.1"/>
		<control-speed control="FLAP0" transition-time="1.5"/>
		<control-speed control="FLAP1" transition-time="1.5"/>

	</wing>
	
	<mstab x="-12.39" y="0.00" z="0"
         length="3.35"
         chord="10.16"
         sweep="20.0"
         taper="0.64"
         dihedral="0"
         camber="0.0"
         incidence="0.0">
			
		<flap0 start="0.0" end="0.5" lift="0.25" drag="2"/>
		
		<control-input axis="/controls/flight/speedbrake" control="FLAP0"/>

		<control-output control="FLAP0" prop="/surface-positions/speedbrake-pos-norm"/>

		<control-speed control="FLAP0" transition-time="3.0"/>

	</mstab>

	 <hstab x="-17.5" y="2.50" z="0.16"
         length="2.7"
         chord="3.48"
         sweep="25"
         taper="0.19"
         dihedral="0"
         camber="0.00"
         idrag="0.1"
         effectiveness="1">
		 
		<stall aoa="40.0" width="2" peak="1.2"/>
		<flap0 start="0" end="1.4" lift="2.5" drag="0.8"/>
		<flap1 start="0.0" end="0.15" lift="0.0" drag="10"/>

		<control-input axis="/controls/flight/elevator" control="FLAP0"/>
		<control-input axis="/controls/flight/elevator-trim" control="FLAP0"/>
		<control-input axis="/controls/flight/aileron" control="FLAP0" split="true"/>
		<control-input axis="/controls/flight/aileron-trim" control="FLAP0" split="true"/>
		<control-input axis="/controls/flight/speedbrake" control="FLAP1"/>

		<control-output control="FLAP0" side="left" prop="/surface-positions/left-taileron-pos-norm"/>
		<control-output control="FLAP0" side="right" prop="/surface-positions/right-taileron-pos-norm"/>
		<control-output control="FLAP0" prop="/surface-positions/taileron-pos-norm"/>
		<control-output control="FLAP0" side="left" prop="surface-positions/left-elevator-pos-norm"/>
		<control-output control="FLAP0" side="right" prop="surface-positions/right-elevator-pos-norm"/>
		<control-output control="FLAP1" prop="/surface-positions/speedbrake-pos-norm"/>

		<control-speed control="FLAP0" transition-time="0.5"/>
		<control-speed control="FLAP1" transition-time="3.0"/>
		
		</hstab>

	<vstab x="-16.4" y="2.5" z="0.30"
         length="2.55"
         chord="2.8"
         sweep="22"
		 dihedral="65"
         taper="0.23"
         effectiveness="1">
			
		<stall aoa="27" width="10" peak="1.5"/>
		<flap0 start="0" end=".8" lift="1.3" drag="1.3"/>
		<flap1 start="0.0" end="0.15" lift="0.0" drag="0.8"/>
		
		<control-input axis="/controls/flight/rudder" control="FLAP0" invert="true"/>
		<control-input axis="/controls/flight/rudder-trim" control="FLAP0" invert="true"/>

		<control-output control="FLAP0" prop="/surface-positions/rudder-pos-norm"/>

		<control-speed control="FLAP0" transition-time="1"/>

	</vstab>
	
	<vstab x="-16.4" y="-2.5" z="0.30"
         length="2.55"
         chord="2.8"
         sweep="22"
		 dihedral="115"
         taper="0.23"
         effectiveness="1">
			
		<stall aoa="27" width="10" peak="1.5"/>
		<flap0 start="0" end=".8" lift="1.3" drag="1.3"/>
		<flap1 start="0.0" end="0.15" lift="0.0" drag="0.8"/>
		
		<control-input axis="/controls/flight/rudder" control="FLAP0" invert="true"/>
		<control-input axis="/controls/flight/rudder-trim" control="FLAP0" invert="true"/>

		<control-output control="FLAP0" prop="/surface-positions/rudder-pos-norm"/>

		<control-speed control="FLAP0" transition-time="1"/>

	</vstab>
	
	
	
	<!-- Canards -->
<!-- The incidence control appears to be non-functional -->
  <mstab x="-7.2" y="1.0" z="-0.21"
         length="1.90"
         chord="1.50"
         sweep="41.0"
         taper="0.30"
         dihedral="-10"
         camber="0.00"
         idrag="1.6">

    <stall aoa="40"
           width="3"
           peak="1.3"/>
<flap0 start="0.001" end="1" lift="1.2" drag="0.4"/>
<control-input axis="/controls/flight/elevator" control="FLAP0"/>
<control-input axis="/controls/flight/elevator-trim" control="FLAP0"/>
<control-output control="FLAP0" prop="/surface-positions/elevator-pos-norm"/>
<control-speed control="FLAP0" transition-time="0.8"/>
    
  </mstab>

	
	
<!--The vectors should be setting to more than 20 degrees for a really vertical climb. I think 
If the vectors would be setting to more than 20 degrees You must to change this (src0="-0.75" dst0="0.0" src1="1" dst1="1.0" control="VECTOR")
 as this example  If you increase the vectors for example 10 degrees so you must to decrease  (src0="-0.75") minus 10 degress so it will be like this 
(src0="-0.65" dst0="0.0" src1="1" dst1="1.0" control="VECTOR") SRC0="minus zero dot six five   (pay attention)
If dont, the animation of the vectors will be wrong 
PM for me if you have doubt -->
	 <jet x="-16.90" y="1.14" z="-0.26"
       mass="3527"
       thrust="19434"
       afterburner="34620"
       rotate="720"
	   exhaust-speed="2440">

    <actionpt x="-19.00" y="1.14" z="-0.20"/>
	
	<control-input axis="/controls/engines/engine[0]/throttle" src0="0.0" dst0="0.0" src1="0.86" dst1="1.0" control="THROTTLE"/>
	<control-input axis="/controls/engines/engine[0]/throttle" src0="0.88" dst0="0.0" src1="1.0" dst1="1.0" control="REHEAT"/>
	<control-input axis="/surface-positions/left-elevon-pos-norm" control="VECTOR" src0="-1" src1="1" dst0="0.52083" dst1="0.47916"/>
	<control-output control="REHEAT" prop="engines/engine[0]/afterburner" />
	<control-output control="VECTOR" prop="/engines/engine[0]/vector-norm"/>
	<control-speed control="THROTTLE" transition-time="1.0"/>
	<!--<control-speed control="REHEAT" transition-time="8.0"/> -->


  </jet>

  <jet x="-16.90" y="-1.14" z="-0.26"
       mass="3527"
       thrust="19434"
       afterburner="34620"
       rotate="720"
	   exhaust-speed="2440">

    <actionpt x="-19.00" y="-1.14" z="-0.20"/>
	
	<control-input axis="/controls/engines/engine[1]/throttle" src0="0.0" dst0="0.0" src1="0.86" dst1="1.0" control="THROTTLE"/>
	<control-input axis="/controls/engines/engine[1]/throttle" src0="0.88" dst0="0.0" src1="1.0" dst1="1.0" control="REHEAT"/>
	<control-input axis="/surface-positions/left-elevon-pos-norm" control="VECTOR" src0="-1" src1="1" dst0="0.52083" dst1="0.47916"/>
	<control-output control="REHEAT" prop="engines/engine[1]/afterburner" />
	<control-output control="VECTOR" prop="/engines/engine[1]/vector-norm"/>
	<control-speed control="THROTTLE" transition-time="1.0"/>
	<!--<control-speed control="REHEAT" transition-time="8.0"/> -->


  </jet>

	<!-- U/C - Nose -->
  <gear x="-7.55" y="0.00" z="-2.49" compression="0.5" spring="0.4">

    <control-input axis="/controls/flight/rudder" control="STEER" square="true"/>
						<control-input axis="/controls/gear/gear-down" control="EXTEND"/>
					<control-output control="EXTEND" prop="/gear/gear[0]/position-norm"/>
				<control-output control="STEER" prop="/gear/gear[0]/steering-norm"/>
			<control-speed control="EXTEND" transition-time="7"/>
  </gear>

<!-- U/C - Left main -->
  <gear x="-13.21" y="2.13" z="-2.5" compression="0.8" spring="1.0">

    <control-input axis="/controls/gear/brake-left" control="BRAKE"/>
							<control-input axis="/controls/gear/brake-parking" control="BRAKE" />
						<control-input axis="/controls/gear/gear-down" control="EXTEND"/>
					<control-output control="EXTEND" prop="/gear/gear[1]/position-norm"/>
				<control-output control="BRAKE" prop="/gear/gear[1]/brake-position-norm"/>
			<control-speed control="EXTEND" transition-time="8"/>
		<control-speed control="BRAKE" transition-time="1"/>
  </gear>

<!-- U/C - Right main -->
  <gear x="-13.21" y="-2.13" z="-2.5" compression="0.8" spring="1.0">
<control-input axis="/controls/gear/brake-right" control="BRAKE"/>
						<control-input axis="/controls/gear/brake-parking" control="BRAKE" />
						<control-input axis="/controls/gear/gear-down" control="EXTEND"/>
					<control-output control="EXTEND" prop="/gear/gear[2]/position-norm"/>
				<control-output control="BRAKE" prop="/gear/gear[2]/brake-position-norm"/>
			<control-speed control="EXTEND" transition-time="8"/>
		<control-speed control="BRAKE" transition-time="1"/>
  </gear>
  
  
<!-- The locations and capcities are guesswork. -->
<!-- Fuselage tanks -->
  <tank x="-10.7" y="0" z="0.70" jet="true" capacity="5908"/>
  <tank x="-12" y="0" z="0.10" jet="true" capacity="7908"/>
<!-- Left wing tank -->
  <tank x="-14.0" y="4" z="0.0" jet="true" capacity="6308"/>
<!-- Right wing tank -->
  <tank x="-14.0" y="-4" z="0.0" jet="true" capacity="6308"/>
  
  <!-- Left tail tank -->
  <tank x="-16.0" y="2" z="0.0" jet="true" capacity="1000"/>
<!-- Right tail tank -->
  <tank x="-16.0" y="-2" z="0.0" jet="true" capacity="1000"/>
  
  
  
  

<!-- Avionics -->
  <ballast x="-2.8" y="0" z="0.26" mass="3000"/>

<!-- Cockpit and radar -->
  <ballast x="-5.1" y="0" z="0.83" mass="1500"/>

<!-- Pilot -->
  <ballast x="-5.05" y="0" z="0.65" mass="200"/>

<!-- Trim ballast -->
  <ballast x="-6" y="0" z="0.0" mass="3000"/>

	</airplane>
