<?xml version="1.0"?>

<!-- Copyright (c) 2021 Josh Davidson (Octal450) -->

<turbine_engine name="V2527-A5">
	
	<milthrust>26600</milthrust> <!-- @ 0.2 Mach, 24800 at 0 Mach, handled in fadec file -->
	<tsfc>0.335</tsfc>
	<bleed>0.03</bleed>
	<ignitionn1>4.8</ignitionn1>
	<ignitionn2>23.9</ignitionn2>
	<n1spinup>0.2</n1spinup>
	<n2spinup>1.0</n2spinup>
	<n1startrate>0.365</n1startrate>
	<n2startrate>1.724</n2startrate>
	<idlen1>22.4</idlen1>
	<idlen2>60.9</idlen2>
	<maxn1>100.0</maxn1>
	<maxn2>100.0</maxn2>
	<augmented>0</augmented>
	<injected>0</injected>
	
	<function name="N1SpoolUp">
		<table>
			<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
			<tableData>
				 24   1.1
				 28   2.9
				 46   9.7
				 68  15.4
				 80  19.6
				 94  21.4
				103  23.6
			</tableData>
		</table>
	</function>
	
	<function name="N1SpoolDown">
		<table>
			<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
			<tableData>
				 24   1.1
				 28   2.9
				 46   9.7
				 68  15.4
				 80  19.6
				 94  21.4
				103  23.6
			</tableData>
		</table>
	</function>
	
	<function name="N2SpoolUp"> <!-- N1 to N2 factor 0.503865979381443 -->
		<table>
			<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
			<tableData>
				 24   0.6
				 28   1.5
				 46   4.9
				 68   7.8
				 80   9.9
				 94  10.8
				103  11.9
			</tableData>
		</table>
	</function>
	
	<function name="N2SpoolDown"> <!-- N1 to N2 factor 0.503865979381443 -->
		<table>
			<independentVar lookup="row">/engines/engine[0]/n1</independentVar>
			<tableData>
				 24   0.6
				 28   1.5
				 46   4.9
				 68   7.8
				 80   9.9
				 94  10.8
				103  11.9
			</tableData>
		</table>
	</function>
	
	<function name="IdleThrust">
		<table>
			<independentVar lookup="row">velocities/mach</independentVar>
			<independentVar lookup="column">atmosphere/density-altitude</independentVar>
			<tableData>
				    -10000   0       10000   20000   30000   43000   50000
				0.0  0.0430  0.0458  0.0378  0.0684  0.0654  0.0623  0.0000
				0.2  0.0500  0.0291  0.0205  0.0514  0.0539  0.0563  0.0000
				0.4  0.0040  0.0047  0.0012  0.0412  0.0460  0.0507  0.0000
				0.6  0.0000  0.0000  0.0000  0.0000  0.0181  0.0362  0.0000
				0.8  0.0000  0.0000  0.0000  0.0000  0.0158  0.0315  0.0000
				1.0  0.0000  0.0000  0.0000  0.0000  0.0000  0.0204  0.0000
			</tableData>
		</table>
	</function>
	
	<function name="MilThrust"> <!-- If you change this, make sure you update the table in the engine system file -->
		<product>
			<table>
				<independentVar lookup="row">velocities/mach</independentVar>
				<independentVar lookup="column">atmosphere/density-altitude</independentVar>
				<tableData>
					    -10000   0       10000   20000   30000   43000   50000
					0.0  1.2600  1.0000  0.7400  0.5640  0.3920  0.2840  0.0000
					0.2  1.1710  0.9740  0.6970  0.5360  0.3850  0.2740  0.0000
					0.4  1.1500  0.9570  0.6920  0.5460  0.3870  0.2670  0.0000
					0.6  1.1810  0.9410  0.7210  0.5660  0.3580  0.2310  0.0000
					0.8  1.2290  1.0200  0.7820  0.5570  0.3040  0.2060  0.0000
					0.9  1.2580  1.0200  0.7820  0.5220  0.2710  0.1270  0.0000
					1.0  1.1810  0.9510  0.7210  0.4410  0.1740  0.0580  0.0000
					1.2  0.0000  0.0000  0.0000  0.0000  0.0000  0.0000  0.0000
					1.4  0.0000  0.0000  0.0000  0.0000  0.0000  0.0000  0.0000
				</tableData>
			</table>
			<property>fadec/limit/rated-thrust-factor</property>
			<table> <!-- Thrust loss due to reverser angle -->
				<independentVar lookup="row">/engines/engine[0]/reverser-pos-norm</independentVar>
				<tableData>
					0.01  1.00
					1.00  0.65
				</tableData>
			</table>
		</product>
	</function>

</turbine_engine>