<?xml version="1.0"?>

<!-- Copyright (c) 2022 Jonathan Redpath (legoboyvdlp) and Josh Davidson (Octal450) -->

<turbine_engine name="APS3200">
	
	<milthrust>267</milthrust> <!-- For fuel flow -->
	<bypassratio>1</bypassratio>
	<tsfc>0.5</tsfc>
	<bleed>0.96</bleed> <!-- 16 / 400 KW exhaust energy -->
	<!-- self sustaining speed is 55.0 -->
	<ignitionn1>5</ignitionn1>
	<ignitionn2>26</ignitionn2> <!-- hack to make work -->
	<n1spinup>3</n1spinup>
	<n2spinup>8.666</n2spinup>  <!-- hack to make work -->
	<n1spindown>20</n1spindown>
	<n2spindown>20</n2spindown>
	<n1startrate>1.8222</n1startrate>
	<n2startrate>1.8222</n2startrate>
	<idlen1>99.9</idlen1>
	<idlen2>99.9</idlen2>
	<maxn1>100</maxn1>
	<maxn2>100</maxn2>
	<augmented>0</augmented>
	<injected>0</injected>
	<disable-windmill>1</disable-windmill>
	
	<function name="IdleThrust">
		<product>
			<value>0.00973</value>
			<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
					1.2  0.0000  0.0000  0.0000  0.0000  0.0000  0.0000  0.0000
				</tableData>
			</table>
		</product>
	</function>
	
	<function name="MilThrust">
		<product>
			<value>0.00974</value>
			<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
				</tableData>
			</table>
		</product>
	</function>

</turbine_engine>