This repository has been archived on 2021-09-26. You can view files and clone it, but cannot push or open issues or pull requests.
IDG-A32X/Systems/libraries.xml
2017-12-14 21:28:19 -05:00

715 lines
21 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
##############################################
# Copyright (c) Joshua Davidson (it0uchpods) #
##############################################
-->
<PropertyList>
<filter>
<name>Groundspeed Meters Per Second</name>
<type>gain</type>
<gain>0.5144444444444</gain>
<input>/velocities/groundspeed-kt</input>
<output>/velocities/groundspeed-mps</output>
<min>0</min>
<max>1000</max>
</filter>
<predict-simple>
<name>Groundspeed Meters Per Second Ahead</name>
<debug>false</debug>
<input>/velocities/groundspeed-mps</input>
<output>/velocities/groundspeed-mps-ahead</output>
<seconds>1.5</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<filter>
<name>Gear AGL Altitude FT</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<dif>
<property>/position/altitude-agl-ft</property>
<value>15.001</value>
</dif>
</expression>
</input>
<output>/position/gear-agl-ft</output>
<min>0</min>
<max>50000</max>
</filter>
<filter>
<name>Gear AGL Altitude M</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<product>
<property>/position/gear-agl-ft</property>
<value>0.3048</value>
</product>
</expression>
</input>
<output>/position/gear-agl-m</output>
<min>0</min>
<max>50000</max>
</filter>
<predict-simple>
<name>Gear AGL Altitude</name>
<debug>false</debug>
<input>/position/gear-agl-ft</input>
<output>/position/gear-agl-ft-2-sec</output>
<seconds>2.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<filter>
<name>Rudder Trim</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/controls/flight/rudder-trim</property>
<entry><ind>-1</ind><dep>-10.0</dep></entry>
<entry><ind> 0</ind><dep> 0.0</dep></entry>
<entry><ind> 1</ind><dep> 10.0</dep></entry>
</table>
</expression>
</input>
<output>/controls/flight/rudder-trim-deg</output>
</filter>
<filter>
<name>FF 1</name>
<type>gain</type>
<gain>1.0</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>1387</dep></entry>
<entry><ind>9000</ind><dep>9847</dep></entry>
</table>
</expression>
</input>
<output>/engines/engine[0]/fuel-flow_actual</output>
</filter>
<filter>
<name>FF 2</name>
<type>gain</type>
<gain>1.0</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>1387</dep></entry>
<entry><ind>9000</ind><dep>9847</dep></entry>
</table>
</expression>
</input>
<output>/engines/engine[1]/fuel-flow_actual</output>
</filter>
<filter>
<name>OIL PSI 1</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/engines/engine[0]/n2-actual</property>
<entry><ind>11</ind><dep> 2</dep></entry>
<entry><ind>58</ind><dep>48</dep></entry>
</table>
</expression>
</input>
<output>/engines/engine[0]/oil-psi-actual</output>
</filter>
<filter>
<name>OIL PSI 2</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/engines/engine[1]/n2-actual</property>
<entry><ind>11</ind><dep> 2</dep></entry>
<entry><ind>58</ind><dep>48</dep></entry>
</table>
</expression>
</input>
<output>/engines/engine[1]/oil-psi-actual</output>
</filter>
<filter>
<name>Altitude PFD</name>
<type>gain</type>
<gain>1.0</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>noise-spike</type>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<floor>
<div>
<abs>
<property>/it-autoflight/internal/vert-speed-fpm</property>
</abs>
<value>100</value>
</div>
</floor>
</expression>
</input>
<output>/it-autoflight/internal/vert-speed-fpm-pfd</output>
<max-rate-of-change>50</max-rate-of-change>
<min>0</min>
<max>99</max>
</filter>
<filter>
<name>Throttle L</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<equals>
<property>/controls/engines/engine[0]/reverser</property>
<value>0</value>
</equals>
</condition>
<property>/controls/engines/engine[0]/throttle</property>
</input>
<input>
<condition>
<equals>
<property>/controls/engines/engine[0]/reverser</property>
<value>1</value>
</equals>
</condition>
<value>0</value>
</input>
<output>
<property>/controls/engines/engine[0]/throttle-lever</property>
<property>/controls/engines/engine[0]/throttle-pos</property>
</output>
</filter>
<filter>
<name>Throttle R</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<equals>
<property>/controls/engines/engine[1]/reverser</property>
<value>0</value>
</equals>
</condition>
<property>/controls/engines/engine[1]/throttle</property>
</input>
<input>
<condition>
<equals>
<property>/controls/engines/engine[1]/reverser</property>
<value>1</value>
</equals>
</condition>
<value>0</value>
</input>
<output>
<property>/controls/engines/engine[1]/throttle-lever</property>
<property>/controls/engines/engine[1]/throttle-pos</property>
</output>
</filter>
<filter>
<name>Target Pressurize Altitude CMD</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.1</update-interval-secs>
<input>
<expression>
<table>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<entry><ind> 0</ind><dep> 0</dep></entry>
<entry><ind> 1000</ind><dep> 500</dep></entry>
<entry><ind> 5000</ind><dep>1100</dep></entry>
<entry><ind>20000</ind><dep>5200</dep></entry>
<entry><ind>30000</ind><dep>6700</dep></entry>
<entry><ind>30000</ind><dep>7900</dep></entry>
<entry><ind>40500</ind><dep>8000</dep></entry>
</table>
</expression>
</input>
<output>/systems/pressurization/targetalt-cmd</output>
</filter>
<filter>
<name>Target Pressurize Altitude</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.1</update-interval-secs>
<input>
<condition>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<less-than>
<property>/systems/pressurization/targetalt-cmd</property>
<property>/systems/pressurization/cabinalt-norm</property>
</less-than>
</or>
</condition>
<property>/systems/pressurization/cabinalt-norm</property>
</input>
<input>
<condition>
<not>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</not>
</condition>
<property>/systems/pressurization/targetalt-cmd</property>
</input>
<output>/systems/pressurization/targetalt</output>
</filter>
<filter>
<name>Cabin PSI target</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.1</update-interval-secs>
<input>
<expression>
<table>
<property>/systems/pressurization/cabinalt-norm</property>
<entry><ind>-1000</ind><dep> 16.50000</dep></entry>
<entry><ind> 0</ind><dep> 14.70000</dep></entry>
<entry><ind> 0</ind><dep> 14.70000</dep></entry>
<entry><ind> 1000</ind><dep> 14.20000</dep></entry>
<entry><ind> 2000</ind><dep> 13.60000</dep></entry>
<entry><ind> 3000</ind><dep> 13.20000</dep></entry>
<entry><ind> 4000</ind><dep> 12.70000</dep></entry>
<entry><ind> 5000</ind><dep> 12.20000</dep></entry>
<entry><ind> 6000</ind><dep> 11.70000</dep></entry>
<entry><ind> 7000</ind><dep> 11.30000</dep></entry>
<entry><ind> 8000</ind><dep> 10.90000</dep></entry>
</table>
</expression>
</input>
<output>/systems/pressurization/cabinpsi-target</output>
</filter>
<filter>
<name>VS-target</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.1</update-interval-secs>
<input>
<condition>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
</condition>
<property>/systems/pressurization/ambientpsi</property>
</input>
<input>
<condition>
<not>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</not>
</condition>
<property>/systems/pressurization/cabinpsi-target</property>
</input>
<output>/systems/pressurization/cabinpsi</output>
</filter>
<filter>
<name>Ambient PSI (ICAO std)</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.1</update-interval-secs>
<input>
<expression>
<table>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<entry><ind>-1000</ind><dep>16.50000</dep></entry>
<entry><ind> 0</ind><dep>14.70000</dep></entry>
<entry><ind> 1000</ind><dep>14.20000</dep></entry>
<entry><ind> 2000</ind><dep>13.60000</dep></entry>
<entry><ind> 3000</ind><dep>13.20000</dep></entry>
<entry><ind> 4000</ind><dep>12.70000</dep></entry>
<entry><ind> 5000</ind><dep>12.20000</dep></entry>
<entry><ind> 6000</ind><dep>11.70000</dep></entry>
<entry><ind> 7000</ind><dep>11.30000</dep></entry>
<entry><ind> 8000</ind><dep>10.90000</dep></entry>
<entry><ind> 9000</ind><dep>10.50000</dep></entry>
<entry><ind>10000</ind><dep>10.10000</dep></entry>
<entry><ind>11000</ind><dep> 9.70000</dep></entry>
<entry><ind>12000</ind><dep> 9.30000</dep></entry>
<entry><ind>13000</ind><dep> 9.00000</dep></entry>
<entry><ind>14000</ind><dep> 8.60000</dep></entry>
<entry><ind>15000</ind><dep> 8.30000</dep></entry>
<entry><ind>16000</ind><dep> 8.00000</dep></entry>
<entry><ind>17000</ind><dep> 7.60000</dep></entry>
<entry><ind>18000</ind><dep> 7.30000</dep></entry>
<entry><ind>19000</ind><dep> 7.00000</dep></entry>
<entry><ind>20000</ind><dep> 6.80000</dep></entry>
<entry><ind>22000</ind><dep> 6.20000</dep></entry>
<entry><ind>24000</ind><dep> 5.70000</dep></entry>
<entry><ind>26000</ind><dep> 5.20000</dep></entry>
<entry><ind>28000</ind><dep> 4.70000</dep></entry>
<entry><ind>30000</ind><dep> 4.40000</dep></entry>
<entry><ind>32000</ind><dep> 4.00000</dep></entry>
<entry><ind>34000</ind><dep> 3.60000</dep></entry>
<entry><ind>36000</ind><dep> 3.30000</dep></entry>
<entry><ind>38000</ind><dep> 3.00000</dep></entry>
<entry><ind>39000</ind><dep> 2.90000</dep></entry>
<entry><ind>40000</ind><dep> 2.70000</dep></entry>
<entry><ind>41000</ind><dep> 2.60000</dep></entry>
<entry><ind>42000</ind><dep> 2.50000</dep></entry>
</table>
</expression>
</input>
<output>/systems/pressurization/ambientpsi</output>
</filter>
<filter>
<name>Outflow Valve</name>
<type>noise-spike</type>
<input>
<property>/systems/pressurization/outflowpos</property>
</input>
<output>/systems/pressurization/outflowpos-norm</output>
<max-rate-of-change>1</max-rate-of-change>
</filter>
<filter>
<name>Outflow logic</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.1</update-interval-secs>
<input>
<condition>
<equals>
<property>/systems/pressurization/auto</property>
<value>0</value>
</equals>
</condition>
<property>/systems/pressurization/outflowpos-man</property>
</input>
<input>
<condition>
<equals>
<property>/systems/pressurization/auto</property>
<value>1</value>
</equals>
</condition>
<property>/systems/pressurization/outflowpos-norm-cmd</property>
</input>
<output>/systems/pressurization/outflowpos-norm</output>
</filter>
<filter>
<name>Cabin VS</name>
<type>noise-spike</type>
<input>
<property>/systems/pressurization/vs</property>
</input>
<output>/systems/pressurization/vs-norm</output>
<max-rate-of-change>500</max-rate-of-change>
</filter>
<filter>
<name>Cabin Differential</name>
<type>noise-spike</type>
<input>
<property>/systems/pressurization/deltap</property>
</input>
<output>/systems/pressurization/deltap-norm</output>
<max-rate-of-change>1</max-rate-of-change>
</filter>
<filter>
<name>Cabin Alt</name>
<type>noise-spike</type>
<input>
<property>/systems/pressurization/cabinalt</property>
</input>
<output>/systems/pressurization/cabinalt-norm</output>
<max-rate-of-change>40500</max-rate-of-change>
</filter>
<filter>
<name>VS-target-cmd</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/it-autoflight/internal/vert-speed-fpm</property>
<entry><ind>-50000</ind><dep> -750</dep></entry>
<entry><ind> -2000</ind><dep> -750</dep></entry>
<entry><ind> -1000</ind><dep> -250</dep></entry>
<entry><ind> 0</ind><dep> 0</dep></entry>
<entry><ind> 1000</ind><dep> 810</dep></entry>
<entry><ind> 2000</ind><dep> 1640</dep></entry>
<entry><ind> 3000</ind><dep> 2100</dep></entry>
<entry><ind> 4000</ind><dep> 2440</dep></entry>
<entry><ind> 5000</ind><dep> 3000</dep></entry>
<entry><ind> 10000</ind><dep> 5000</dep></entry>
<entry><ind> 50000</ind><dep>50000</dep></entry>
</table>
</expression>
</input>
<output>/systems/pressurization/targetvs-cmd</output>
</filter>
<filter>
<name>VS-target-cmd-man</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/systems/pressurization/outflowpos-man</property>
<entry><ind>0</ind><dep>-1000</dep></entry>
<entry><ind>0.5</ind><dep>0</dep></entry>
<entry><ind>1</ind><dep>2500</dep></entry>
</table>
</expression>
</input>
<output>/systems/pressurization/manvs-cmd</output>
</filter>
<filter>
<name>VS-target</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.1</update-interval-secs>
<input>
<condition>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
</condition>
<value>0</value>
</input>
<input>
<condition>
<not>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</not>
</condition>
<property>/systems/pressurization/targetvs-cmd</property>
</input>
<output>/systems/pressurization/targetvs</output>
</filter>
<filter>
<name>Icing Severity</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.1</update-interval-secs>
<input>
<expression>
<table>
<property>/systems/icing/severity</property>
<entry><ind>0</ind><dep>-0.00000166</dep></entry>
<entry><ind>1</ind><dep> 0.00000277</dep></entry>
<entry><ind>2</ind><dep> 0.00000277</dep></entry>
<entry><ind>3</ind><dep> 0.00000554</dep></entry>
<entry><ind>4</ind><dep> 0.00001108</dep></entry>
<entry><ind>5</ind><dep> 0.00002216</dep></entry>
</table>
</expression>
</input>
<output>/systems/icing/factor</output>
</filter>
<filter>
<name>TAS</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<product>
<property>/velocities/uBody-fps</property>
<value>0.592484</value>
</product>
</expression>
</input>
<output>/velocities/TAS</output>
</filter>
<filter>
<name>LBtoKG</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<product>
<property>/fdm/jsbsim/inertia/weight-lbs</property>
<value>0.45359237</value>
</product>
</input>
<output>/fdm/jsbsim/inertia/weight-kg</output>
</filter>
<filter>
<name>optalt</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>fdm/jsbsim/inertia/weight-kg</property> <!-- from FCOM vol 3 page 613 -->
<entry><ind>160000</ind><dep>40500</dep></entry>
<entry><ind>165000</ind><dep>40000</dep></entry>
<entry><ind>170000</ind><dep>39500</dep></entry>
<entry><ind>175000</ind><dep>39000</dep></entry>
<entry><ind>180000</ind><dep>38000</dep></entry>
<entry><ind>185000</ind><dep>37800</dep></entry>
<entry><ind>190000</ind><dep>37500</dep></entry>
<entry><ind>195000</ind><dep>36800</dep></entry>
<entry><ind>200000</ind><dep>36400</dep></entry>
<entry><ind>205000</ind><dep>35800</dep></entry>
<entry><ind>210000</ind><dep>35200</dep></entry>
<entry><ind>215000</ind><dep>34800</dep></entry>
<entry><ind>220000</ind><dep>34100</dep></entry>
<entry><ind>225000</ind><dep>33500</dep></entry>
<entry><ind>230000</ind><dep>33100</dep></entry>
<entry><ind>235000</ind><dep>32700</dep></entry>
<entry><ind>240000</ind><dep>32400</dep></entry>
</table>
</expression>
</input>
<output>/FMGC/internal/optalt</output>
</filter>
<filter>
<name>Ambient Temp (ICAO std)</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.1</update-interval-secs>
<input>
<expression>
<table>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<entry><ind>-1000</ind><dep> 21.5</dep></entry>
<entry><ind> 0</ind><dep> 15.0</dep></entry>
<entry><ind> 1000</ind><dep> 8.5</dep></entry>
<entry><ind> 2000</ind><dep> 2.0</dep></entry>
<entry><ind> 3000</ind><dep> -4.50</dep></entry>
<entry><ind> 4000</ind><dep> -11.0</dep></entry>
<entry><ind> 5000</ind><dep> -17.5</dep></entry>
<entry><ind> 6000</ind><dep> -24.0</dep></entry>
<entry><ind> 7000</ind><dep> -30.5</dep></entry>
<entry><ind> 8000</ind><dep> -37.0</dep></entry>
<entry><ind> 9000</ind><dep> -43.0</dep></entry>
<entry><ind>10000</ind><dep> -50.0</dep></entry>
<entry><ind>11000</ind><dep> -56.5</dep></entry>
<entry><ind>12000</ind><dep> -56.5</dep></entry>
<entry><ind>13000</ind><dep> -56.5</dep></entry>
<entry><ind>14000</ind><dep> -56.5</dep></entry>
<entry><ind>15000</ind><dep> -56.5</dep></entry>
<entry><ind>16000</ind><dep> -56.5</dep></entry>
<entry><ind>17000</ind><dep> -56.5</dep></entry>
<entry><ind>18000</ind><dep> -56.5</dep></entry>
<entry><ind>19000</ind><dep> -56.5</dep></entry>
<entry><ind>20000</ind><dep> -56.5</dep></entry>
<entry><ind>22000</ind><dep> -54.5</dep></entry>
<entry><ind>24000</ind><dep> -52.5</dep></entry>
<entry><ind>26000</ind><dep> -50.5</dep></entry>
<entry><ind>28000</ind><dep> -48.5</dep></entry>
<entry><ind>30000</ind><dep> -46.5</dep></entry>
<entry><ind>32000</ind><dep> -44.5</dep></entry>
<entry><ind>34000</ind><dep> -38.9</dep></entry>
<entry><ind>36000</ind><dep> -33.3</dep></entry>
<entry><ind>38000</ind><dep> -27.7</dep></entry>
<entry><ind>39000</ind><dep> -24.9</dep></entry>
<entry><ind>40000</ind><dep> -22.1</dep></entry>
<entry><ind>41000</ind><dep> -19.3</dep></entry>
<entry><ind>42000</ind><dep> -16.5</dep></entry>
</table>
</expression>
</input>
<output>/FMGC/internal/ISAtemp</output>
</filter>
<filter>
<name>Difference to ISA Temp (Actual - ISA)</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.1</update-interval-secs>
<input>
<difference>
<property>/environment/temperature-degc</property>
<property>/FMGC/internal/ISAtemp</property>
</difference>
</input>
<output>/FMGC/internal/difftoISA</output>
</filter>
<filter>
<name>Rudder Limit</name>
<type>gain</type>
<gain>1.0</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<table>
<property>/velocities/airspeed-kt</property>
<entry><ind> 0</ind><dep> 30</dep></entry>
<entry><ind> 140</ind><dep> 30</dep></entry>
<entry><ind> 240</ind><dep> 10</dep></entry>
<entry><ind> 380</ind><dep>3.4</dep></entry>
<entry><ind>1000</ind><dep>3.4</dep></entry>
</table>
</expression>
</input>
<output>/controls/flight/rudder-limit</output>
</filter>
</PropertyList>