<?xml version="1.0"?>

<!--
  File:     CF34-8C.xml
  Author:   AeromatiC++ v 3.3.10

  See: http://wiki.flightgear.org/JSBSim_Engines#FGTurbine

  Inputs:
    name:                    CF34-8C
    type:                    Turbine Engine
    thrust:                  14500.0 lbf
    bypass ratio:            5.000:1
    overall pressure ratio:  28.5:1
    augmented?               no
    injected?                no

  Outputs
    tsfc:                    0.6
    engine weight:           2878.9 lbs
    engine length:           8.2 ft
    engine diameter:         4.7 ft
-->

<!--
    Copyright 2018, Daniel Meissner (daniel_hl.83@googlemail.com)
 
    This file is part of the Flightgear CRJ700-family.

    The Flightgear CRJ700-family is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 2 of the License, or
    (at your option) any later version.

    The Flightgear CRJ700-family is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with the Flightgear CRJ700-family.  If not, see <http://www.gnu.org/licenses/>.
 -->

<turbine_engine name="CF34-8C">
  <milthrust> 14500.0 </milthrust>
  <bypassratio>     5.000 </bypassratio>
  <tsfc>            0.600 </tsfc>
  <bleed>           0.03</bleed>
  <idlen1>         30.0 </idlen1>
  <idlen2>         60.0 </idlen2>
  <maxn1>         100.0 </maxn1>
  <maxn2>         100.0 </maxn2>
  <augmented>         0 </augmented>
  <injected>          0 </injected>

  <function name="IdleThrust">
   <table>
    <independentVar lookup="row">velocities/mach</independentVar>
    <independentVar lookup="column">atmosphere/density-altitude</independentVar>
    <tableData>
         -10000     0     10000   20000   30000   40000   50000   90000
     0.0  0.0430  0.0488  0.0528  0.0694  0.0899  0.1183  0.1467  0
     0.2  0.0500  0.0501  0.0335  0.0544  0.0797  0.1049  0.1342  0
     0.4  0.0040  0.0047  0.0020  0.0272  0.0595  0.0891  0.1203  0
     0.6 -0.0804 -0.0804 -0.0560 -0.0237  0.0276  0.0718  0.1073  0
     0.8 -0.2129 -0.2129 -0.1498 -0.1025  0.0474  0.0868  0.0900  0
     1.0 -0.2839 -0.2839 -0.1104 -0.0469 -0.0270  0.0552  0.0800  0
    </tableData>
   </table>
  </function>

  <function name="MilThrust">
   <table>
    <independentVar lookup="row">velocities/mach</independentVar>
    <independentVar lookup="column">atmosphere/density-altitude</independentVar>
    <tableData>
          -10000       0   10000   20000   30000   40000   50000   60000   90000
      0.0  1.2600  1.0000  0.7400  0.5340  0.3720  0.2410  0.1490  0.0580  0
      0.2  1.0422  0.8313  0.6203  0.4503  0.3159  0.2056  0.1273  0.0356  0
      0.4  0.8970  0.7184  0.5398  0.3947  0.2785  0.1817  0.1131  0.0335  0
      0.6  0.7913  0.6372  0.4831  0.3564  0.2533  0.1662  0.1032  0.0315  0
      0.8  0.7045  0.5712  0.4379  0.3259  0.2335  0.1540  0.0952  0.0297  0
      1.0  0.6160  0.5040  0.3919  0.2930  0.2137  0.1417  0.0877  0.0284  0
      1.2  0.5049  0.4182  0.3315  0.2530  0.1853  0.1238  0.0765  0.0252  0
      1.4  0.3666  0.3082  0.2498  0.1944  0.1444  0.0975  0.0605  0.0207  0
    </tableData>
   </table>
  </function>

</turbine_engine>
