<?xml version="1.0" encoding="UTF-8"?>

<PropertyList>

    <filter>
        <name>EPR 1</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input> 
            <expression>
                <table>
                    <property>/engines/engine[0]/n1</property> 
                    <entry><ind>   18</ind><dep>0.988</dep></entry>
                    <entry><ind>   23</ind><dep>1.000</dep></entry>
                    <entry><ind>   35</ind><dep>1.060</dep></entry>
                    <entry><ind>105.8</ind><dep>1.322</dep></entry>
                </table>
            </expression>
        </input>
		<output>/engines/engine[0]/epr-actual</output>
    </filter>
	
    <filter>
        <name>EPR 2</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input> 
            <expression>
                <table>
                    <property>/engines/engine[1]/n1</property> 
                    <entry><ind>   18</ind><dep>0.988</dep></entry>
                    <entry><ind>   23</ind><dep>1.000</dep></entry>
                    <entry><ind>   35</ind><dep>1.060</dep></entry>
                    <entry><ind>105.8</ind><dep>1.322</dep></entry>
                </table>
            </expression>
        </input>
		<output>/engines/engine[1]/epr-actual</output>
    </filter>

    <filter>
        <name>EGT L</name>
        <type>gain</type>
        <gain>1</gain>
		<enable>
			<condition>
				<equals>
					<property>/engines/engine[0]/state</property>
					<value>3</value>
				</equals>
			</condition>
		</enable>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
			<condition>
				<equals>
					<property>/options/eng</property>
					<value>CFM</value>
				</equals>
			</condition>
            <expression>
                <table>
                    <property>/engines/engine[0]/n1</property> 
                    <entry><ind>0</ind><dep>0</dep></entry>
                    <entry><ind>6</ind><dep>0</dep></entry>
                    <entry><ind>23.4</ind><dep>323</dep></entry>
                    <entry><ind>110</ind><dep>760</dep></entry>
                </table>
            </expression>
        </input>
        <input>
			<condition>
				<equals>
					<property>/options/eng</property>
					<value>IAE</value>
				</equals>
			</condition>
            <expression>
                <table>
                    <property>/engines/engine[0]/n1</property> 
                    <entry><ind>0</ind><dep>0</dep></entry>
                    <entry><ind>6</ind><dep>0</dep></entry>
                    <entry><ind>23.4</ind><dep>323</dep></entry>
                    <entry><ind>110</ind><dep>680</dep></entry>
                </table>
            </expression>
        </input>
		<output>/engines/engine[0]/egt-actual</output>
    </filter>
	
    <filter>
        <name>EGT R</name>
        <type>gain</type>
        <gain>1</gain>
		<enable>
			<condition>
				<equals>
					<property>/engines/engine[1]/state</property>
					<value>3</value>
				</equals>
			</condition>
		</enable>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
			<condition>
				<equals>
					<property>/options/eng</property>
					<value>CFM</value>
				</equals>
			</condition>
            <expression>
                <table>
                    <property>/engines/engine[1]/n1</property> 
                    <entry><ind>0</ind><dep>0</dep></entry>
                    <entry><ind>6</ind><dep>0</dep></entry>
                    <entry><ind>23.4</ind><dep>323</dep></entry>
                    <entry><ind>110</ind><dep>760</dep></entry>
                </table>
            </expression>
        </input>
        <input>
			<condition>
				<equals>
					<property>/options/eng</property>
					<value>IAE</value>
				</equals>
			</condition>
            <expression>
                <table>
                    <property>/engines/engine[1]/n1</property> 
                    <entry><ind>0</ind><dep>0</dep></entry>
                    <entry><ind>6</ind><dep>0</dep></entry>
                    <entry><ind>23.4</ind><dep>323</dep></entry>
                    <entry><ind>110</ind><dep>680</dep></entry>
                </table>
            </expression>
        </input>
		<output>/engines/engine[1]/egt-actual</output>
    </filter>
	
    <filter>
        <name>FF 1</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input> 
            <expression>
                <table>
                    <property>/engines/engine[0]/fuel-flow_pph</property> 
	                <entry><ind>   0</ind><dep>    0</dep></entry>
                    <entry><ind>2000</ind><dep> 2387</dep></entry>
                    <entry><ind>9000</ind><dep>13847</dep></entry>
                </table>
            </expression>
        </input>
		<output>/engines/engine[0]/fuel-flow_actual</output>
    </filter>
	
    <filter>
        <name>FF 2</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input> 
            <expression>
                <table>
                    <property>/engines/engine[1]/fuel-flow_pph</property> 
	                <entry><ind>   0</ind><dep>    0</dep></entry>
                    <entry><ind>2000</ind><dep> 2359</dep></entry>
                    <entry><ind>9000</ind><dep>13831</dep></entry>
                </table>
            </expression>
        </input>
		<output>/engines/engine[1]/fuel-flow_actual</output>
    </filter>
	
    <filter>
        <name>Altitude PFD</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input> 
            <expression>
				<floor>
					<div>
						<property>/instrumentation/altimeter/indicated-altitude-ft</property> 
						<value>100</value>
					</div>
				</floor>
            </expression>
        </input>
		<output>/instrumentation/altimeter/indicated-altitude-ft-pfd</output>
    </filter>
	
	<filter>
        <name>V/S PFD</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input> 
            <expression>
				<floor>
					<div>
						<property>/instrumentation/vertical-speed-indicator/indicated-speed-fpm</property> 
						<value>100</value>
					</div>
				</floor>
            </expression>
        </input>
		<output>/instrumentation/vertical-speed-indicator/indicated-speed-fpm-pfd</output>
    </filter>
	
    <filter>
        <name>Throttle L</name>
        <type>gain</type>
        <gain>1</gain>
		<enable>
			<condition>
				<equals>
					<property>/controls/engines/engine[0]/reverser</property>
					<value>0</value>
				</equals>
			</condition>
		</enable>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>/controls/engines/engine[0]/throttle</input>
		<output>/controls/engines/engine[0]/throttle-pos</output>
    </filter>
	
    <filter>
        <name>Throttle R</name>
        <type>gain</type>
        <gain>1</gain>
		<enable>
			<condition>
				<equals>
					<property>/controls/engines/engine[1]/reverser</property>
					<value>0</value>
				</equals>
			</condition>
		</enable>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>/controls/engines/engine[1]/throttle</input>
		<output>/controls/engines/engine[1]/throttle-pos</output>
    </filter>

</PropertyList>