<!--
Mig-21bis



Description  
Manufacturer: Mikoyan-Gurevich OKB 
Designation: Mig-21 
Version: MF 
NATO Code: Fishbed-J 
Type: Fighter (Interceptor and Recon.) 
Crew: Pilot 
First Flight: 1969 
Specifications 
Length: 51' 8.5" 15.76 M 
Height: 14' 9" 4.5 M 
Wignspan: 23' 5.5" 7.15 M 
Wingarea: 247.60 Sq Ft 23.00 Sq M 
Empty Weight: 12880 lbs 5842 Kg 
Max Weight: 20723.0lbs 9400 Kg 
Propulsion 
No. of Engines: 1 
Powerplant: Tumansky R-13-300 turbojet 
Thrust (each): 14550 6598 
Performance  
Range: 1118 miles 1800.00 Km 
Max Speed: 1300 Mph 2050 Km/H Mmax 2.1 
Ceiling: 57750 Ft 17000 M 


-->

<airplane mass="17195" version="YASIM_VERSION_CURRENT">

  <!-- Approach configuration -->
  <approach speed="178" aoa="7">
    <control-setting axis="/controls/engines/engine[0]/throttle" value="0.5"/>
    <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"/>
  </approach>

  <!-- Cruise configuration. TAS!  -->
  <cruise speed="1210" alt="29000">
    <control-setting axis="/controls/engines/engine[0]/throttle" value="1"/>
    <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"/>
  </cruise>

  <!-- pilot eyepoint -->
  <cockpit x="3.5" y="0.0" z="1.1"/>

  <!-- fuselage -->
  <fuselage ax="6.85" ay="0" az="0.15" 
            bx="-5.8" by="0" bz="0.1"
            width="1.2" taper= "0.8" midpoint= "0.13" idrag="0.5" />
			
	<fuselage ax="3.8" ay="0" az="0.85" 
            bx="-3.1" by="0" bz="0.5"
            width="0.8" taper= "0.8" midpoint= "0.33" idrag="0.5" />		

    <fuselage ax="6.6" ay="0" az="0.15" 
            bx="7.9" by="0" bz="0.15"
            width="0.65" taper= "0" midpoint= "0.13" idrag="0.5" />
	
	    <fuselage ax="3.5" ay="0" az="0.8" 
            bx="5" by="0" bz="0.65"
            width="0.75" taper= "0" midpoint= "0.13" idrag="0.5" />
	

  <wing x="-0.1" y="0.5" z="0.23"
        taper="0.1"
        incidence="0.25"
        length="4"
        chord="5.5"
        sweep="37"
	idrag="0.8"
        dihedral="-4">
    <stall aoa="21" width="8" peak="1.3"/>
    <flap0 start="0.0" end="0.414" lift="1.5" drag="1.75"/>
    <flap1 start="0.414" end="0.902" lift="1.25" drag="1.8"/>

    <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-output control="FLAP0" prop="/surface-positions/flap-pos-norm"/>
    <control-output control="FLAP1" prop="/surface-positions/left-aileron-pos-norm"/>
    <control-output control="FLAP1" prop="/surface-positions/right-aileron-pos-norm"/>

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

  </wing>
  
  <mstab x="3.3" y="0.5" z="-0.2"
        taper="1"
        incidence="0.25"
        length="0.22"
        chord="1"
        sweep="0"
        dihedral="0">
    <stall aoa="21" width="8" peak="1.3"/>
	<flap0 start="0.0" end="0.15" lift="-2" drag="2.3"/> 
	<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="-4.75" y="0.4" z="0.3"
         taper="0.41" 
         length="2.4"
         chord="2.7"
         sweep="52"
	 idrag="1.2"
        dihedral="0">
    <stall aoa="27" width="10" peak="1.5"/>
    <flap0 start="0" end="1" lift="1.5" drag="1.6"/>
    
    <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="1"/>
   

  </hstab>

  <vstab x="-3.4" y="0.0" z="0.604"
         taper="0.4"
         length="3.7"
         chord="4.6"
         sweep="55" >
    <stall aoa="27" width="10" peak="1.5"/>
    <flap0 start="0" end=".8" lift="1.2" drag="1.3"/>
    <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="-3.7" y="0" z="-0.404"
         taper="0.8"
         length="0.55"
         chord="2.9"
         sweep="15" 
		 dihedral="-90">
    <stall aoa="27" width="10" peak="1.5"/>
    
	
  </vstab>

  
  <!-- R25-300 turbojet -->
  <jet x="-1.2" y="0" z="0.3"
       mass="2670"
       thrust="9050"
	   afterburner="15650"
       n1-idle="55" n1-max="100" n2-idle="55" n2-max="105"
       exhaust-speed="1550"
       rotation="0">
    <actionpt x="-5.5" y="0" z="0.3"/>
    <control-input axis="/controls/engines/engine[0]/throttle" control="THROTTLE"/>
	<control-input axis="/controls/engines/engine[0]/throttle" src0="0.85" dst0="0.0" src1="1.0" dst1="1.0" control="REHEAT"/>
<control-output control="REHEAT" prop="engines/engine[0]/afterburner" />
  </jet>

  <!-- gear -->
  <!-- nose -->
  <gear x="4.1" y="0" z="-1.4" 
        retract-time="8"
        compression="0.8"
        spring="0.85"
        damp="2">
  <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-speed control="EXTEND" transition-time="4"/>
  </gear>

  <!-- left main -->
  <gear x="-0.7" y="1.5" z="-1.5"
        retract-time="8"
        compression="0.8"
        spring="0.85"
        damp="2">
    <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-speed control="EXTEND" transition-time="6"/>
    <control-speed control="BRAKE" transition-time="1"/>
  </gear>

  <!-- right main -->
  <gear x="-0.7" y="-1.5" z="-1.5" 
        retract-time="8" 
        compression="0.8"
        spring="0.85"
        damp="2">
    <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-speed control="EXTEND" transition-time="8"/>
    <control-speed control="BRAKE" transition-time="1"/>
  </gear>


 <!-- Fuel tanks- The internal fuel capacity totalled 2,800 litres. The fuel system consists of six Fuselage Tanks, four integral Wing Tanks, one Belly Drop Tank 
 http://www.topedge.com/panels/aircraft/sites/kraft/fuel.htm
 --> 
  
  <tank x="2.2" y="0" z="0" jet="true" capacity="735"/>
  <tank x="1.5" y="0" z="0" jet="true" capacity="735"/>

  <tank x="0.5" y="0" z="0" jet="true" capacity="735"/>

  <tank x="-0.5" y="0" z="0" jet="true" capacity="735"/>

 <tank x="0" y="2" z="0" jet="true" capacity="735"/>
 <tank x="0" y="-2" z="0" jet="true" capacity="735"/>


<ballast x="4" y="0" z="0" mass ="3300"/>
<!--
<ballast x="-8.0" y="0" z="-0.75" mass ="-1500"/>

-->



</airplane>
