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

<PropertyList>

    <filter>
        <name>MAN One</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input> 
            <expression>
                <table>
                    <property>/controls/engines/engine[0]/throttle-pos</property>
                    <entry><ind>0.00</ind><dep>0.00</dep></entry>
                    <entry><ind>0.01</ind><dep>0.00</dep></entry>
                    <entry><ind>0.60</ind><dep>0.83</dep></entry>
                    <entry><ind>0.65</ind><dep>0.83</dep></entry>
                    <entry><ind>0.78</ind><dep>0.90</dep></entry>
                    <entry><ind>0.83</ind><dep>0.90</dep></entry>
                    <entry><ind>0.95</ind><dep>0.95</dep></entry>
                </table>
            </expression>
        </input>
		<output>/controls/engines/engine[0]/throttle-man</output>
    </filter>
	
    <filter>
        <name>MAN Two</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input> 
            <expression>
                <table>
                    <property>/controls/engines/engine[1]/throttle-pos</property>
                    <entry><ind>0.00</ind><dep>0.00</dep></entry>
                    <entry><ind>0.01</ind><dep>0.00</dep></entry>
                    <entry><ind>0.60</ind><dep>0.83</dep></entry>
                    <entry><ind>0.65</ind><dep>0.83</dep></entry>
                    <entry><ind>0.78</ind><dep>0.90</dep></entry>
                    <entry><ind>0.83</ind><dep>0.90</dep></entry>
                    <entry><ind>0.95</ind><dep>0.95</dep></entry>
                </table>
            </expression>
        </input>
		<output>/controls/engines/engine[1]/throttle-man</output>
    </filter>

    <filter>
        <name>EPR Scale</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input> 
            <expression>
                <table>
                    <property>/position/altitude-ft</property> 
                    <entry><ind>    0</ind><dep>0.441</dep></entry>
                    <entry><ind>42000</ind><dep>0.671</dep></entry>
                </table>
            </expression>
        </input>
		<output>/engines/epr-scale</output>
    </filter>
	
    <filter>
        <name>EPR Scale 2</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input> 
            <expression>
                <table>
                    <property>/position/altitude-ft</property> 
                    <entry><ind>    0</ind><dep>0.992</dep></entry>
                    <entry><ind>13000</ind><dep>0.979</dep></entry>
                    <entry><ind>42000</ind><dep>0.969</dep></entry>
                </table>
            </expression>
        </input>
		<output>/engines/epr-scale-b</output>
    </filter>

    <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.0</ind><dep>0.00</dep></entry>
                    <entry><ind> 23.4</ind><dep>0.03</dep></entry>
                    <entry><ind> 35.0</ind><dep>0.20</dep></entry>
                    <entry><ind>105.8</ind><dep>1.00</dep></entry>
                </table>
            </expression>
			<scale>/engines/epr-scale</scale>
        </input>
		<output>/engines/engine[0]/epr-actual-cmd</output>
    </filter>
	
    <filter>
        <name>EPR 1</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
            <expression>
				<sum>
					<property>/engines/engine[0]/epr-actual-cmd</property>
					<property>/engines/epr-scale-b</property>
				</sum>
            </expression>
        </input>
		<output>/engines/engine[0]/epr-actual</output>
    </filter>
	
    <filter>
        <name>EPR CMD 1</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
            <expression>
                <table>
                    <property>/controls/engines/engine[0]/throttle-man</property>
                    <entry><ind>0.000</ind><dep>0.03</dep></entry>
                    <entry><ind>0.141</ind><dep>0.20</dep></entry>
                    <entry><ind>1.000</ind><dep>1.00</dep></entry>
                </table>
            </expression>
			<scale>/engines/epr-scale</scale>
        </input>
		<output>/engines/engine[0]/epr-cmd-cmd</output>
    </filter>
	
    <filter>
        <name>EPR CMD 1</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
            <expression>
				<sum>
					<property>/engines/engine[0]/epr-cmd-cmd</property>
					<property>/engines/epr-scale-b</property>
				</sum>
            </expression>
        </input>
		<output>/engines/engine[0]/epr-cmd</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.0</ind><dep>0.00</dep></entry>
                    <entry><ind> 23.4</ind><dep>0.03</dep></entry>
                    <entry><ind> 35.0</ind><dep>0.20</dep></entry>
                    <entry><ind>105.8</ind><dep>1.00</dep></entry>
                </table>
            </expression>
			<scale>/engines/epr-scale</scale>
        </input>
		<output>/engines/engine[1]/epr-actual-cmd</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>
				<sum>
					<property>/engines/engine[1]/epr-actual-cmd</property>
					<property>/engines/epr-scale-b</property>
				</sum>
            </expression>
        </input>
		<output>/engines/engine[1]/epr-actual</output>
    </filter>
	
    <filter>
        <name>EPR CMD 2</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
            <expression>
                <table>
                    <property>/controls/engines/engine[1]/throttle-man</property>
                    <entry><ind>0.000</ind><dep>0.03</dep></entry>
                    <entry><ind>0.141</ind><dep>0.20</dep></entry>
                    <entry><ind>1.000</ind><dep>1.00</dep></entry>
                </table>
            </expression>
			<scale>/engines/epr-scale</scale>
        </input>
		<output>/engines/engine[1]/epr-cmd-cmd</output>
    </filter>
	
    <filter>
        <name>EPR CMD 2</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
            <expression>
				<sum>
					<property>/engines/engine[1]/epr-cmd-cmd</property>
					<property>/engines/epr-scale-b</property>
				</sum>
            </expression>
        </input>
		<output>/engines/engine[1]/epr-cmd</output>
    </filter>
	
	<filter>
		<name>Throttle 1</name>
		<debug>false</debug>
		<feedback-if-disabled>true</feedback-if-disabled>
		<initialize-to>output</initialize-to>
		<enable>
			<condition>
				<and>
					<equals>
						<property>/systems/thrust/alpha-floor</property>
						<value>0</value>
					</equals>
					<equals>
						<property>/systems/thrust/toga-lk</property>
						<value>0</value>
					</equals>
					<or>
						<equals>
							<property>/systems/thrust/state1</property>
							<value>MAN THR</value>
						</equals>
						<equals>
							<property>/systems/thrust/state1</property>
							<value>CL</value>
						</equals>
						<equals>
							<property>/systems/thrust/state1</property>
							<value>MAN</value>
						</equals>
						<equals>
							<property>/systems/thrust/state1</property>
							<value>IDLE</value>
						</equals>
					</or>
				</and>
			</condition>
		</enable>
		<input>
			<condition>
				<or>
					<equals>
						<property>/systems/thrust/state1</property>
						<value>MAN THR</value>
					</equals>
					<and>
						<equals>
							<property>/it-autoflight/output/athr</property>
							<value>0</value>
						</equals>
						<or>
							<equals>
								<property>/systems/thrust/state1</property>
								<value>CL</value>
							</equals>
							<equals>
								<property>/systems/thrust/state1</property>
								<value>MAN</value>
							</equals>
							<equals>
								<property>/systems/thrust/state1</property>
								<value>IDLE</value>
							</equals>
						</or>
					</and>
				</or>
			</condition>
			<property>/controls/engines/engine[0]/throttle-man</property>
		</input>
		<input>
			<condition>
				<and>
					<equals>
						<property>/it-autoflight/output/athr</property>
						<value>1</value>
					</equals>
					<or>
						<equals>
							<property>/systems/thrust/state1</property>
							<value>CL</value>
						</equals>
						<equals>
							<property>/systems/thrust/state1</property>
							<value>MAN</value>
						</equals>
					</or>
				</and>
			</condition>
			<property>/controls/engines/engine[0]/throttle-cmd</property>
		</input>
		<output>
			<property>/controls/engines/engine[0]/throttle-fdm</property>
		</output>
		<type>noise-spike</type>
		<max-rate-of-change>
			<condition>
				<equals>
					<property>/systems/thrust/state1</property>
					<value>MAN THR</value>
				</equals>
			</condition>
			<value>1</value>
		</max-rate-of-change>
		<max-rate-of-change>
			<condition>
				<and>
					<or>
						<equals>
							<property>/systems/thrust/state1</property>
							<value>CL</value>
						</equals>
						<equals>
							<property>/systems/thrust/state1</property>
							<value>MAN</value>
						</equals>
					</or>
					<equals>
						<property>/it-autoflight/output/athr</property>
						<value>1</value>
					</equals>
					<equals>
						<property>/it-autoflight/output/thr-mode</property>
						<value>0</value>
					</equals>
				</and>
			</condition>
			<value>0.40</value>
		</max-rate-of-change>
		<max-rate-of-change>
			<condition>
				<and>
					<or>
						<equals>
							<property>/systems/thrust/state1</property>
							<value>CL</value>
						</equals>
						<equals>
							<property>/systems/thrust/state1</property>
							<value>MAN</value>
						</equals>
					</or>
					<equals>
						<property>/it-autoflight/output/athr</property>
						<value>1</value>
					</equals>
					<not-equals>
						<property>/it-autoflight/output/thr-mode</property>
						<value>0</value>
					</not-equals>
				</and>
			</condition>
			<value>0.2</value>
		</max-rate-of-change>
		<max-rate-of-change>
			<condition>
				<equals>
					<property>/it-autoflight/output/athr</property>
					<value>0</value>
				</equals>
			</condition>
			<value>1</value>
		</max-rate-of-change>
	</filter>
	
	<filter>
		<name>Throttle 2</name>
		<debug>false</debug>
		<feedback-if-disabled>true</feedback-if-disabled>
		<initialize-to>output</initialize-to>
		<enable>
			<condition>
				<and>
					<equals>
						<property>/systems/thrust/alpha-floor</property>
						<value>0</value>
					</equals>
					<equals>
						<property>/systems/thrust/toga-lk</property>
						<value>0</value>
					</equals>
					<or>
						<equals>
							<property>/systems/thrust/state2</property>
							<value>MAN THR</value>
						</equals>
						<equals>
							<property>/systems/thrust/state2</property>
							<value>CL</value>
						</equals>
						<equals>
							<property>/systems/thrust/state2</property>
							<value>MAN</value>
						</equals>
						<equals>
							<property>/systems/thrust/state2</property>
							<value>IDLE</value>
						</equals>
					</or>
				</and>
			</condition>
		</enable>
		<input>
			<condition>
				<or>
					<equals>
						<property>/systems/thrust/state2</property>
						<value>MAN THR</value>
					</equals>
					<and>
						<equals>
							<property>/it-autoflight/output/athr</property>
							<value>0</value>
						</equals>
						<or>
							<equals>
								<property>/systems/thrust/state2</property>
								<value>CL</value>
							</equals>
							<equals>
								<property>/systems/thrust/state2</property>
								<value>MAN</value>
							</equals>
							<equals>
								<property>/systems/thrust/state2</property>
								<value>IDLE</value>
							</equals>
						</or>
					</and>
				</or>
			</condition>
			<property>/controls/engines/engine[1]/throttle-man</property>
		</input>
		<input>
			<condition>
				<and>
					<equals>
						<property>/it-autoflight/output/athr</property>
						<value>1</value>
					</equals>
					<or>
						<equals>
							<property>/systems/thrust/state2</property>
							<value>CL</value>
						</equals>
						<equals>
							<property>/systems/thrust/state2</property>
							<value>MAN</value>
						</equals>
					</or>
				</and>
			</condition>
			<property>/controls/engines/engine[1]/throttle-cmd</property>
		</input>
		<output>
			<property>/controls/engines/engine[1]/throttle-fdm</property>
		</output>
		<type>noise-spike</type>
		<max-rate-of-change>
			<condition>
				<equals>
					<property>/systems/thrust/state2</property>
					<value>MAN THR</value>
				</equals>
			</condition>
			<value>1</value>
		</max-rate-of-change>
		<max-rate-of-change>
			<condition>
				<and>
					<or>
						<equals>
							<property>/systems/thrust/state2</property>
							<value>CL</value>
						</equals>
						<equals>
							<property>/systems/thrust/state2</property>
							<value>MAN</value>
						</equals>
					</or>
					<equals>
						<property>/it-autoflight/output/athr</property>
						<value>1</value>
					</equals>
					<equals>
						<property>/it-autoflight/output/thr-mode</property>
						<value>0</value>
					</equals>
				</and>
			</condition>
			<value>0.40</value>
		</max-rate-of-change>
		<max-rate-of-change>
			<condition>
				<and>
					<or>
						<equals>
							<property>/systems/thrust/state2</property>
							<value>CL</value>
						</equals>
						<equals>
							<property>/systems/thrust/state2</property>
							<value>MAN</value>
						</equals>
					</or>
					<equals>
						<property>/it-autoflight/output/athr</property>
						<value>1</value>
					</equals>
					<not-equals>
						<property>/it-autoflight/output/thr-mode</property>
						<value>0</value>
					</not-equals>
				</and>
			</condition>
			<value>0.2</value>
		</max-rate-of-change>
		<max-rate-of-change>
			<condition>
				<equals>
					<property>/it-autoflight/output/athr</property>
					<value>0</value>
				</equals>
			</condition>
			<value>1</value>
		</max-rate-of-change>
	</filter>
	
    <filter>
        <name>EPR Limit TOGA</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
            <expression>
                <table>
                    <value>0.95</value>
                    <entry><ind>0.000</ind><dep>0.03</dep></entry>
                    <entry><ind>0.141</ind><dep>0.20</dep></entry>
                    <entry><ind>1.000</ind><dep>1.00</dep></entry>
                </table>
            </expression>
			<scale>/engines/epr-scale</scale>
        </input>
		<output>/systems/thrust/epr/toga-lim-cmd</output>
    </filter>
	
    <filter>
        <name>EPR CMD TOGA</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
            <expression>
				<sum>
					<property>/systems/thrust/epr/toga-lim-cmd</property>
					<property>/engines/epr-scale-b</property>
				</sum>
            </expression>
        </input>
		<output>/systems/thrust/epr/toga-lim</output>
    </filter>
	
    <filter>
        <name>EPR Limit MCT</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
            <expression>
                <table>
                    <value>0.90</value>
                    <entry><ind>0.000</ind><dep>0.03</dep></entry>
                    <entry><ind>0.141</ind><dep>0.20</dep></entry>
                    <entry><ind>1.000</ind><dep>1.00</dep></entry>
                </table>
            </expression>
			<scale>/engines/epr-scale</scale>
        </input>
		<output>/systems/thrust/epr/mct-lim-cmd</output>
    </filter>
	
    <filter>
        <name>EPR CMD MCT</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
            <expression>
				<sum>
					<property>/systems/thrust/epr/mct-lim-cmd</property>
					<property>/engines/epr-scale-b</property>
				</sum>
            </expression>
        </input>
		<output>/systems/thrust/epr/mct-lim</output>
    </filter>
	
    <filter>
        <name>EPR Limit FLX</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
            <expression>
                <table>
					<property>/engines/flx-thr</property>
                    <entry><ind>0.000</ind><dep>0.03</dep></entry>
                    <entry><ind>0.141</ind><dep>0.20</dep></entry>
                    <entry><ind>1.000</ind><dep>1.00</dep></entry>
                </table>
            </expression>
			<scale>/engines/epr-scale</scale>
        </input>
		<output>/systems/thrust/epr/flx-lim-cmd</output>
    </filter>
	
    <filter>
        <name>EPR CMD FLX</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
            <expression>
				<sum>
					<property>/systems/thrust/epr/flx-lim-cmd</property>
					<property>/engines/epr-scale-b</property>
				</sum>
            </expression>
        </input>
		<output>/systems/thrust/epr/flx-lim</output>
    </filter>
	
    <filter>
        <name>EPR Limit CLB</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
            <expression>
                <table>
                    <value>0.83</value>
                    <entry><ind>0.000</ind><dep>0.03</dep></entry>
                    <entry><ind>0.141</ind><dep>0.20</dep></entry>
                    <entry><ind>1.000</ind><dep>1.00</dep></entry>
                </table>
            </expression>
			<scale>/engines/epr-scale</scale>
        </input>
		<output>/systems/thrust/epr/clb-lim-cmd</output>
    </filter>
	
    <filter>
        <name>EPR CMD CLB</name>
        <type>gain</type>
        <gain>1</gain>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
            <expression>
				<sum>
					<property>/systems/thrust/epr/clb-lim-cmd</property>
					<property>/engines/epr-scale-b</property>
				</sum>
            </expression>
        </input>
		<output>/systems/thrust/epr/clb-lim</output>
    </filter>
	
    <filter>
        <name>EGT L</name>
        <type>gain</type>
        <gain>1</gain>
		<enable>
			<condition>
				<and>
					<equals>
						<property>/engines/engine[0]/state</property>
						<value>3</value>
					</equals>
					<greater-than>
						<property>/engines/engine[0]/n1</property>
						<value>23</value>
					</greater-than>
				</and>
			</condition>
		</enable>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
            <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>434</dep></entry>
                    <entry><ind>110</ind><dep>620</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>
				<and>
					<equals>
						<property>/engines/engine[1]/state</property>
						<value>3</value>
					</equals>
					<greater-than>
						<property>/engines/engine[1]/n1</property>
						<value>23</value>
					</greater-than>
				</and>
			</condition>
		</enable>
        <update-interval-secs type="double">0.05</update-interval-secs>
        <input>
            <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>434</dep></entry>
                    <entry><ind>110</ind><dep>620</dep></entry>
                </table>
            </expression>
        </input>
		<output>/engines/engine[1]/egt-actual</output>
    </filter>

</PropertyList>