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/hydraulics.xml

1529 lines
37 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<!--
2017-11-16 19:29:08 +00:00
##############################################
# Copyright (c) Joshua Davidson (it0uchpods) #
##############################################
-->
<!-- Airbus A32X Hydraulics System -->
<PropertyList>
<!-- =============================================================== -->
<!-- Spoiler Control -->
<!-- =============================================================== -->
2017-06-26 01:52:49 +00:00
<!-- Spoiler L1 -->
<filter>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/green-psi</property>
<value>1500</value>
</greater-than-equals>
<not-equals>
<property>/controls/flight/speedbrake-lever</property>
<value>0.0</value>
</not-equals>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
<equals>
<property>/systems/failures/spoiler-l1</property>
<value>0</value>
</equals>
</and>
</condition>
<property>/controls/flight/speedbrake-norm</property>
</input>
<input>
<condition>
<or>
<less-than>
<property>/systems/hydraulic/green-psi</property>
<value>1500</value>
</less-than>
<equals>
<property>/systems/failures/spoiler-l1</property>
<value>1</value>
</equals>
</or>
</condition>
<value>0.0</value>
</input>
<output>/controls/flight/spoiler-l1-cmd</output>
<min>0.0</min>
<max>1.0</max>
</filter>
<filter>
<debug>false</debug>
<type>noise-spike</type>
<input>/controls/flight/spoiler-l1-cmd</input>
<output>/controls/flight/spoiler-l1</output>
2017-06-26 01:52:49 +00:00
<max-rate-of-change>0.6</max-rate-of-change>
</filter>
<!-- Spoiler L2 -->
<filter>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/yellow-psi</property>
<value>1500</value>
</greater-than-equals>
<not-equals>
<property>/controls/flight/speedbrake-lever</property>
<value>0.0</value>
</not-equals>
2017-06-01 00:12:07 +00:00
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
2017-06-01 00:12:07 +00:00
<value>0</value>
</equals>
<equals>
<property>/systems/failures/spoiler-l2</property>
2017-06-01 00:12:07 +00:00
<value>0</value>
</equals>
</and>
</condition>
<expression>
<sum>
<table>
<property>/controls/flight/speedbrake-norm</property>
<entry><ind>0.1</ind><dep>0.0</dep></entry>
<entry><ind>0.5</ind><dep>0.3</dep></entry>
<entry><ind>1.0</ind><dep>0.7</dep></entry>
</table>
<table>
<property>/controls/flight/spoiler-left-fbw-cmd</property>
<entry><ind>0.1</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep>-0.4</dep></entry>
</table>
</sum>
</expression>
</input>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/yellow-psi</property>
<value>1500</value>
</greater-than-equals>
2017-06-01 00:12:07 +00:00
<not-equals>
<property>/controls/flight/speedbrake-lever</property>
<value>0.0</value>
</not-equals>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
2017-06-01 00:12:07 +00:00
<equals>
<property>/systems/failures/spoiler-l2</property>
2017-06-01 00:12:07 +00:00
<value>0</value>
</equals>
</and>
</condition>
2017-06-01 00:12:07 +00:00
<expression>
<sum>
<table>
<property>/controls/flight/speedbrake-norm</property>
<entry><ind>0.1</ind><dep>0.0</dep></entry>
<entry><ind>0.5</ind><dep>0.3</dep></entry>
<entry><ind>1.0</ind><dep>1.0</dep></entry>
</table>
2017-06-01 00:12:07 +00:00
<table>
<property>/controls/flight/roll-fbw</property>
<entry><ind>0.0</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep>-0.5</dep></entry>
2017-06-01 00:12:07 +00:00
</table>
</sum>
</expression>
</input>
<input>
<condition>
<or>
<less-than>
<property>/systems/hydraulic/yellow-psi</property>
<value>1500</value>
</less-than>
2017-06-01 00:12:07 +00:00
<equals>
<property>/systems/failures/spoiler-l2</property>
2017-06-01 00:12:07 +00:00
<value>1</value>
</equals>
</or>
</condition>
2017-06-01 00:12:07 +00:00
<value>0.0</value>
</input>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/yellow-psi</property>
<value>1500</value>
</greater-than-equals>
2017-06-01 00:12:07 +00:00
<equals>
<property>/systems/failures/spoiler-l2</property>
2017-06-01 00:12:07 +00:00
<value>0</value>
</equals>
</and>
</condition>
<expression>
<table>
<property>/controls/flight/spoiler-left-fbw-cmd</property>
<entry><ind>-0.1</ind><dep> 0</dep></entry>
<entry><ind>-1.0</ind><dep>0.5</dep></entry>
</table>
</expression>
2017-06-01 00:12:07 +00:00
</input>
<output>/controls/flight/spoiler-l2-cmd</output>
<min>0.0</min>
<max>1.0</max>
</filter>
<filter>
<debug>false</debug>
<type>noise-spike</type>
<input>/controls/flight/spoiler-l2-cmd</input>
<output>/controls/flight/spoiler-l2</output>
2017-06-26 01:52:49 +00:00
<max-rate-of-change>0.5</max-rate-of-change>
</filter>
<!-- Spoiler L3 -->
<filter>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/blue-psi</property>
<value>1500</value>
</greater-than-equals>
<not-equals>
<property>/controls/flight/speedbrake-lever</property>
<value>0.0</value>
</not-equals>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/systems/failures/spoiler-l3</property>
<value>0</value>
</equals>
</and>
</condition>
<expression>
<sum>
<property>/controls/flight/speedbrake-norm</property>
<table>
<property>/controls/flight/spoiler-left-fbw-cmd</property>
<entry><ind>0.0</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep>-0.5</dep></entry>
</table>
</sum>
</expression>
</input>
2017-06-01 00:12:07 +00:00
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/blue-psi</property>
<value>1500</value>
</greater-than-equals>
<not-equals>
<property>/controls/flight/speedbrake-lever</property>
<value>0.0</value>
</not-equals>
2017-06-01 00:12:07 +00:00
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
2017-06-01 00:12:07 +00:00
</or>
<equals>
<property>/systems/failures/spoiler-l3</property>
<value>0</value>
</equals>
</and>
</condition>
<expression>
<sum>
<property>/controls/flight/speedbrake-norm</property>
<table>
<property>/controls/flight/roll-fbw</property>
<entry><ind>0.0</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep>-0.5</dep></entry>
</table>
</sum>
</expression>
</input>
<input>
<condition>
<or>
<less-than>
<property>/systems/hydraulic/blue-psi</property>
<value>1500</value>
</less-than>
<equals>
<property>/systems/failures/spoiler-l4</property>
2017-06-01 00:12:07 +00:00
<value>1</value>
</equals>
</or>
</condition>
<value>0.0</value>
</input>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/blue-psi</property>
<value>1500</value>
</greater-than-equals>
2017-06-01 00:12:07 +00:00
<equals>
<property>/systems/failures/spoiler-l3</property>
2017-06-01 00:12:07 +00:00
<value>0</value>
</equals>
</and>
</condition>
<expression>
<table>
<property>/controls/flight/spoiler-left-fbw-cmd</property>
<entry><ind>-0.0</ind><dep> 0</dep></entry>
<entry><ind>-1.0</ind><dep>0.5</dep></entry>
</table>
</expression>
</input>
<output>/controls/flight/spoiler-l3-cmd</output>
<min>0.0</min>
<max>1.0</max>
</filter>
<filter>
<debug>false</debug>
<type>noise-spike</type>
<input>/controls/flight/spoiler-l3-cmd</input>
<output>/controls/flight/spoiler-l3</output>
2017-06-26 01:52:49 +00:00
<max-rate-of-change>0.4</max-rate-of-change>
</filter>
<!-- Spoiler L4 -->
<filter>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/yellow-psi</property>
<value>1500</value>
</greater-than-equals>
<not-equals>
<property>/controls/flight/speedbrake-lever</property>
<value>0.0</value>
</not-equals>
2017-06-01 00:12:07 +00:00
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
2017-06-01 00:12:07 +00:00
<value>0</value>
</equals>
<equals>
<property>/systems/failures/spoiler-l4</property>
2017-06-01 00:12:07 +00:00
<value>0</value>
</equals>
</and>
</condition>
<expression>
<sum>
<property>/controls/flight/speedbrake-norm</property>
<table>
<property>/controls/flight/spoiler-left-fbw-cmd</property>
<entry><ind>0.0</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep>-0.5</dep></entry>
</table>
</sum>
</expression>
</input>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/yellow-psi</property>
<value>1500</value>
</greater-than-equals>
2017-06-01 00:12:07 +00:00
<not-equals>
<property>/controls/flight/speedbrake-lever</property>
<value>0.0</value>
</not-equals>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
2017-06-01 00:12:07 +00:00
<equals>
<property>/systems/failures/spoiler-l4</property>
2017-06-01 00:12:07 +00:00
<value>0</value>
</equals>
</and>
</condition>
2017-06-01 00:12:07 +00:00
<expression>
<sum>
<property>/controls/flight/speedbrake-norm</property>
2017-06-01 00:12:07 +00:00
<table>
<property>/controls/flight/roll-fbw</property>
<entry><ind>0.0</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep>-0.5</dep></entry>
2017-06-01 00:12:07 +00:00
</table>
</sum>
</expression>
</input>
<input>
<condition>
<or>
<less-than>
<property>/systems/hydraulic/yellow-psi</property>
<value>1500</value>
</less-than>
2017-06-01 00:12:07 +00:00
<equals>
<property>/systems/failures/spoiler-l4</property>
2017-06-01 00:12:07 +00:00
<value>1</value>
</equals>
</or>
</condition>
2017-06-01 00:12:07 +00:00
<value>0.0</value>
</input>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/yellow-psi</property>
<value>1500</value>
</greater-than-equals>
2017-06-01 00:12:07 +00:00
<equals>
<property>/systems/failures/spoiler-l4</property>
2017-06-01 00:12:07 +00:00
<value>0</value>
</equals>
</and>
</condition>
<expression>
<table>
<property>/controls/flight/spoiler-left-fbw-cmd</property>
<entry><ind>-0.0</ind><dep> 0</dep></entry>
<entry><ind>-1.0</ind><dep>0.5</dep></entry>
</table>
</expression>
</input>
<output>/controls/flight/spoiler-l4-cmd</output>
<min>0.0</min>
<max>1.0</max>
</filter>
<filter>
<debug>false</debug>
<type>noise-spike</type>
<input>/controls/flight/spoiler-l4-cmd</input>
<output>/controls/flight/spoiler-l4</output>
2017-06-26 01:52:49 +00:00
<max-rate-of-change>0.7</max-rate-of-change>
</filter>
<!-- Spoiler L5 -->
<filter>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/green-psi</property>
<value>1500</value>
</greater-than-equals>
<not-equals>
<property>/controls/flight/speedbrake-lever</property>
<value>0.0</value>
</not-equals>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
<equals>
<property>/systems/failures/spoiler-l5</property>
<value>0</value>
</equals>
</and>
</condition>
<expression>
<sum>
<property>/controls/flight/speedbrake-norm</property>
<table>
<property>/controls/flight/roll-fbw</property>
<entry><ind>0.0</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep>-0.5</dep></entry>
</table>
</sum>
</expression>
</input>
<input>
<condition>
<or>
<less-than>
<property>/systems/hydraulic/green-psi</property>
<value>1500</value>
</less-than>
<equals>
<property>/systems/failures/spoiler-l5</property>
<value>1</value>
</equals>
</or>
</condition>
<value>0.0</value>
</input>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/green-psi</property>
<value>1500</value>
</greater-than-equals>
<equals>
<property>/systems/failures/spoiler-l5</property>
<value>0</value>
</equals>
</and>
</condition>
<expression>
<table>
<property>/controls/flight/spoiler-left-fbw-cmd</property>
<entry><ind>-0.0</ind><dep> 0</dep></entry>
<entry><ind>-1.0</ind><dep>0.5</dep></entry>
</table>
</expression>
</input>
<output>/controls/flight/spoiler-l5-cmd</output>
<min>0.0</min>
<max>1.0</max>
</filter>
<filter>
<debug>false</debug>
<type>noise-spike</type>
<input>/controls/flight/spoiler-l5-cmd</input>
<output>/controls/flight/spoiler-l5</output>
<max-rate-of-change>0.5</max-rate-of-change>
</filter>
<!-- Left Spoiler Sum -->
<filter>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<sum>
<property>/controls/flight/spoiler-l1</property>
<property>/controls/flight/spoiler-l2</property>
<property>/controls/flight/spoiler-l3</property>
<property>/controls/flight/spoiler-l4</property>
<property>/controls/flight/spoiler-l5</property>
</sum>
</expression>
</input>
<output>/controls/flight/spoiler-l-sum</output>
</filter>
<!-- Spoiler R1 -->
<filter>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/green-psi</property>
<value>1500</value>
</greater-than-equals>
<not-equals>
<property>/controls/flight/speedbrake-lever</property>
<value>0.0</value>
</not-equals>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
<equals>
<property>/systems/failures/spoiler-r1</property>
<value>0</value>
</equals>
</and>
</condition>
<property>/controls/flight/speedbrake-norm</property>
</input>
<input>
<condition>
<or>
<less-than>
<property>/systems/hydraulic/green-psi</property>
<value>1500</value>
</less-than>
<equals>
<property>/systems/failures/spoiler-r1</property>
<value>1</value>
</equals>
</or>
</condition>
<value>0.0</value>
</input>
<output>/controls/flight/spoiler-r1-cmd</output>
<min>0.0</min>
<max>1.0</max>
</filter>
<filter>
<debug>false</debug>
<type>noise-spike</type>
<input>/controls/flight/spoiler-r1-cmd</input>
<output>/controls/flight/spoiler-r1</output>
2017-06-26 01:52:49 +00:00
<max-rate-of-change>0.6</max-rate-of-change>
</filter>
<!-- Spoiler R2 -->
<filter>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/yellow-psi</property>
<value>1500</value>
</greater-than-equals>
<not-equals>
<property>/controls/flight/speedbrake-lever</property>
<value>0.0</value>
</not-equals>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/systems/failures/spoiler-r2</property>
<value>0</value>
</equals>
</and>
</condition>
<expression>
<sum>
<table>
<property>/controls/flight/speedbrake-norm</property>
<entry><ind>0.1</ind><dep>0.0</dep></entry>
<entry><ind>0.5</ind><dep>0.3</dep></entry>
<entry><ind>1.0</ind><dep>0.7</dep></entry>
</table>
<table>
<property>/controls/flight/spoiler-right-fbw-cmd</property>
2017-07-20 03:16:12 +00:00
<entry><ind>-0.1</ind><dep> 0</dep></entry>
<entry><ind>-1.0</ind><dep>-0.4</dep></entry>
</table>
</sum>
</expression>
</input>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/yellow-psi</property>
<value>1500</value>
</greater-than-equals>
<not-equals>
<property>/controls/flight/speedbrake-lever</property>
<value>0.0</value>
</not-equals>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
<equals>
<property>/systems/failures/spoiler-r2</property>
<value>0</value>
</equals>
</and>
</condition>
<expression>
<sum>
<table>
<property>/controls/flight/speedbrake-norm</property>
<entry><ind>0.1</ind><dep>0.0</dep></entry>
<entry><ind>0.5</ind><dep>0.3</dep></entry>
<entry><ind>1.0</ind><dep>1.0</dep></entry>
</table>
<table>
<property>/controls/flight/roll-fbw</property>
<entry><ind> 0.0</ind><dep> 0</dep></entry>
<entry><ind>-1.0</ind><dep>-0.5</dep></entry>
</table>
</sum>
</expression>
</input>
<input>
<condition>
<or>
<less-than>
<property>/systems/hydraulic/yellow-psi</property>
<value>1500</value>
</less-than>
<equals>
<property>/systems/failures/spoiler-r2</property>
<value>1</value>
</equals>
</or>
</condition>
<value>0.0</value>
</input>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/yellow-psi</property>
<value>1500</value>
</greater-than-equals>
<equals>
<property>/systems/failures/spoiler-r2</property>
<value>0</value>
</equals>
</and>
</condition>
<expression>
<table>
<property>/controls/flight/spoiler-right-fbw-cmd</property>
<entry><ind>0.1</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep>0.5</dep></entry>
</table>
</expression>
</input>
<output>/controls/flight/spoiler-r2-cmd</output>
<min>0.0</min>
<max>1.0</max>
</filter>
<filter>
<debug>false</debug>
<type>noise-spike</type>
<input>/controls/flight/spoiler-r2-cmd</input>
<output>/controls/flight/spoiler-r2</output>
2017-06-26 01:52:49 +00:00
<max-rate-of-change>0.5</max-rate-of-change>
</filter>
<!-- Spoiler R3 -->
<filter>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<greater-than-equals>
2017-06-19 02:33:43 +00:00
<property>/systems/hydraulic/blue-psi</property>
<value>1500</value>
</greater-than-equals>
<not-equals>
<property>/controls/flight/speedbrake-lever</property>
<value>0.0</value>
</not-equals>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/systems/failures/spoiler-r3</property>
<value>0</value>
</equals>
</and>
</condition>
<expression>
<sum>
<property>/controls/flight/speedbrake-norm</property>
<table>
<property>/controls/flight/spoiler-right-fbw-cmd</property>
<entry><ind> 0.0</ind><dep> 0</dep></entry>
<entry><ind>-1.0</ind><dep>-0.5</dep></entry>
</table>
</sum>
</expression>
</input>
<input>
<condition>
<and>
<greater-than-equals>
2017-06-19 02:33:43 +00:00
<property>/systems/hydraulic/blue-psi</property>
<value>1500</value>
</greater-than-equals>
<not-equals>
<property>/controls/flight/speedbrake-lever</property>
<value>0.0</value>
</not-equals>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
<equals>
<property>/systems/failures/spoiler-r3</property>
<value>0</value>
</equals>
</and>
</condition>
<expression>
<sum>
<property>/controls/flight/speedbrake-norm</property>
<table>
<property>/controls/flight/roll-fbw</property>
<entry><ind> 0.0</ind><dep> 0</dep></entry>
<entry><ind>-1.0</ind><dep>-0.5</dep></entry>
</table>
</sum>
</expression>
</input>
<input>
<condition>
<or>
<less-than>
2017-06-19 02:33:43 +00:00
<property>/systems/hydraulic/blue-psi</property>
<value>1500</value>
</less-than>
<equals>
<property>/systems/failures/spoiler-r3</property>
<value>1</value>
</equals>
</or>
</condition>
<value>0.0</value>
</input>
<input>
<condition>
<and>
<greater-than-equals>
2017-06-19 02:33:43 +00:00
<property>/systems/hydraulic/blue-psi</property>
<value>1500</value>
</greater-than-equals>
<equals>
<property>/systems/failures/spoiler-r3</property>
<value>0</value>
</equals>
</and>
</condition>
<expression>
<table>
<property>/controls/flight/spoiler-right-fbw-cmd</property>
<entry><ind>0.0</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep>0.5</dep></entry>
</table>
</expression>
</input>
<output>/controls/flight/spoiler-r3-cmd</output>
<min>0.0</min>
<max>1.0</max>
</filter>
<filter>
<debug>false</debug>
<type>noise-spike</type>
<input>/controls/flight/spoiler-r3-cmd</input>
<output>/controls/flight/spoiler-r3</output>
2017-06-26 01:52:49 +00:00
<max-rate-of-change>0.4</max-rate-of-change>
</filter>
<!-- Spoiler R4 -->
<filter>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/yellow-psi</property>
<value>1500</value>
</greater-than-equals>
<not-equals>
<property>/controls/flight/speedbrake-lever</property>
<value>0.0</value>
</not-equals>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/systems/failures/spoiler-r4</property>
<value>0</value>
</equals>
</and>
</condition>
<expression>
<sum>
<property>/controls/flight/speedbrake-norm</property>
<table>
<property>/controls/flight/spoiler-right-fbw-cmd</property>
<entry><ind> 0.0</ind><dep> 0</dep></entry>
<entry><ind>-1.0</ind><dep>-0.5</dep></entry>
</table>
</sum>
</expression>
</input>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/yellow-psi</property>
<value>1500</value>
</greater-than-equals>
<not-equals>
<property>/controls/flight/speedbrake-lever</property>
<value>0.0</value>
</not-equals>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
<equals>
<property>/systems/failures/spoiler-r4</property>
<value>0</value>
</equals>
</and>
</condition>
<expression>
<sum>
<property>/controls/flight/speedbrake-norm</property>
<table>
<property>/controls/flight/roll-fbw</property>
<entry><ind> 0.0</ind><dep> 0</dep></entry>
<entry><ind>-1.0</ind><dep>-0.5</dep></entry>
</table>
</sum>
</expression>
</input>
<input>
<condition>
<or>
<less-than>
<property>/systems/hydraulic/yellow-psi</property>
<value>1500</value>
</less-than>
<equals>
<property>/systems/failures/spoiler-r4</property>
<value>1</value>
</equals>
</or>
</condition>
<value>0.0</value>
</input>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/yellow-psi</property>
<value>1500</value>
</greater-than-equals>
<equals>
<property>/systems/failures/spoiler-r4</property>
<value>0</value>
</equals>
</and>
</condition>
<expression>
<table>
<property>/controls/flight/spoiler-right-fbw-cmd</property>
<entry><ind>0.0</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep>0.5</dep></entry>
</table>
</expression>
</input>
<output>/controls/flight/spoiler-r4-cmd</output>
<min>0.0</min>
<max>1.0</max>
</filter>
<filter>
<debug>false</debug>
<type>noise-spike</type>
<input>/controls/flight/spoiler-r4-cmd</input>
<output>/controls/flight/spoiler-r4</output>
2017-06-26 01:52:49 +00:00
<max-rate-of-change>0.7</max-rate-of-change>
</filter>
<!-- Spoiler R5 -->
<filter>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/green-psi</property>
<value>1500</value>
</greater-than-equals>
<not-equals>
<property>/controls/flight/speedbrake-lever</property>
<value>0.0</value>
</not-equals>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
<equals>
<property>/systems/failures/spoiler-r5</property>
<value>0</value>
</equals>
</and>
</condition>
<expression>
<sum>
<property>/controls/flight/speedbrake-norm</property>
<table>
<property>/controls/flight/roll-fbw</property>
<entry><ind> 0.0</ind><dep> 0</dep></entry>
<entry><ind>-1.0</ind><dep>-0.5</dep></entry>
</table>
</sum>
</expression>
</input>
<input>
<condition>
<or>
<less-than>
<property>/systems/hydraulic/green-psi</property>
<value>1500</value>
</less-than>
<equals>
<property>/systems/failures/spoiler-r5</property>
<value>1</value>
</equals>
</or>
</condition>
<value>0.0</value>
</input>
<input>
<condition>
<and>
<greater-than-equals>
<property>/systems/hydraulic/green-psi</property>
<value>1500</value>
</greater-than-equals>
<equals>
<property>/systems/failures/spoiler-r5</property>
<value>0</value>
</equals>
</and>
</condition>
<expression>
<table>
<property>/controls/flight/spoiler-right-fbw-cmd</property>
<entry><ind>0.0</ind><dep> 0</dep></entry>
<entry><ind>1.0</ind><dep>0.5</dep></entry>
</table>
</expression>
</input>
<output>/controls/flight/spoiler-r5-cmd</output>
<min>0.0</min>
<max>1.0</max>
</filter>
<filter>
<debug>false</debug>
<type>noise-spike</type>
<input>/controls/flight/spoiler-r5-cmd</input>
<output>/controls/flight/spoiler-r5</output>
<max-rate-of-change>0.5</max-rate-of-change>
</filter>
<!-- Right Spoiler Sum -->
<filter>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<sum>
<property>/controls/flight/spoiler-r1</property>
<property>/controls/flight/spoiler-r2</property>
<property>/controls/flight/spoiler-r3</property>
<property>/controls/flight/spoiler-r4</property>
<property>/controls/flight/spoiler-r5</property>
</sum>
</expression>
</input>
<output>/controls/flight/spoiler-r-sum</output>
</filter>
<filter>
<debug>false</debug>
<type>noise-spike</type>
<enable>
<condition>
<greater-than-equals>
<property>/systems/hydraulic/green-psi</property>
<value>1500</value>
</greater-than-equals>
</condition>
</enable>
<input>/controls/flight/elevator-trim</input>
<output>/controls/flight/elevator-trim-fdm</output>
<max-rate-of-change>0.1</max-rate-of-change>
</filter>
<!-- =============================================================== -->
<!-- Speedbrake Logic -->
<!-- =============================================================== -->
<!-- Speedbrake Sum -->
<filter>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
</and>
</condition>
<expression>
<product>
<sum>
<property>/controls/flight/spoiler-l-sum</property>
<property>/controls/flight/spoiler-r-sum</property>
</sum>
<value>0.15</value>
</product>
</expression>
</input>
<input>
<condition>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
</condition>
<expression>
<product>
<sum>
<property>/controls/flight/spoiler-l-sum</property>
<property>/controls/flight/spoiler-r-sum</property>
</sum>
<value>0.1</value>
</product>
</expression>
</input>
<output>/controls/flight/speedbrake-output</output>
</filter>
<flipflop>
<name>Auto Speedbrake</name>
<debug>false</debug>
<type>RS</type>
<enable>
<condition>
<and>
<equals>
<property>/controls/flight/speedbrake-arm</property>
<value>1</value>
</equals>
<less-than>
<property>/engines/engine[0]/reverser-pos-norm</property>
<value>0.01</value>
</less-than>
<less-than>
<property>/engines/engine[1]/reverser-pos-norm</property>
<value>0.01</value>
</less-than>
</and>
</condition>
</enable>
<S>
<and>
<less-than>
<property>/controls/engines/engine[0]/throttle</property>
<value>0.15</value>
</less-than>
<less-than>
<property>/controls/engines/engine[1]/throttle</property>
<value>0.15</value>
</less-than>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
<greater-than>
<property>/velocities/groundspeed-kt</property>
<value>72</value>
</greater-than>
</and>
</S>
<R>
<or>
<greater-than>
<property>/controls/engines/engine[0]/throttle</property>
<value>0.16</value>
</greater-than>
<greater-than>
<property>/controls/engines/engine[1]/throttle</property>
<value>0.16</value>
</greater-than>
</or>
</R>
<output>/controls/flight/speedbrake-lever</output>
</flipflop>
<filter>
<name>Main Speedbrake Controller</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<max>
<property>/controls/flight/ground-spoilers</property>
<property>/controls/flight/speedbrake-lever</property>
</max>
</expression>
</input>
<output>
<property>/controls/flight/speedbrake</property>
<property>/controls/flight/speedbrake-norm</property>
</output>
</filter>
2017-06-30 17:28:02 +00:00
<!-- Braking -->
2017-06-30 17:28:02 +00:00
<filter>
<name>Left Press</name>
<type>gain</type>
<gain>1.0</gain>
2017-06-30 17:28:02 +00:00
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
2017-06-30 17:28:02 +00:00
<expression>
<table>
<property>/controls/gear/brake-left</property>
<entry><ind> 0</ind><dep>0</dep></entry>
<entry><ind>0.3</ind><dep>1000</dep></entry>
<entry><ind>0.6</ind><dep>2000</dep></entry>
<entry><ind> 1</ind><dep>3000</dep></entry>
</table>
</expression>
</input>
<output>/systems/hydraulic/brakes/pressure-left-psi</output>
</filter>
<filter>
<name>Right Press</name>
<type>gain</type>
<gain>1.0</gain>
2017-06-30 17:28:02 +00:00
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
2017-06-30 17:28:02 +00:00
<expression>
<table>
<property>/controls/gear/brake-right</property>
<entry><ind> 0</ind><dep>0</dep></entry>
<entry><ind>0.3</ind><dep>1000</dep></entry>
<entry><ind>0.6</ind><dep>2000</dep></entry>
<entry><ind> 1</ind><dep>3000</dep></entry>
</table>
</expression>
</input>
<output>/systems/hydraulic/brakes/pressure-right-psi</output>
</filter>
2017-10-20 14:15:56 +00:00
<!-- =============================================================== -->
<!-- Landing Gear -->
<!-- =============================================================== -->
2017-10-20 14:15:56 +00:00
<filter>
<name>Left Door</name>
<type>gain</type>
<gain>1.0</gain>
2017-10-20 14:15:56 +00:00
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
2017-10-20 14:15:56 +00:00
<expression>
<table>
<property>/gear/gear[1]/position-norm</property>
<entry><ind> 0</ind><dep>0</dep></entry>
<entry><ind>0.19</ind><dep>1</dep></entry>
<entry><ind>0.81</ind><dep>1</dep></entry>
<entry><ind> 1</ind><dep>0</dep></entry>
</table>
</expression>
</input>
<output>/systems/hydraulic/gear/door-left</output>
</filter>
<filter>
<name>Left Door Conversion to Degrees</name>
<type>gain</type>
<gain>1.0</gain>
2017-10-20 14:15:56 +00:00
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
2017-10-20 14:15:56 +00:00
<expression>
<table>
<property>/systems/hydraulic/gear/door-left</property>
<entry><ind> 0</ind><dep>0</dep></entry>
<entry><ind> 1</ind><dep>-100</dep></entry>
</table>
</expression>
</input>
<output>/ECAM/Lower/door-left</output>
</filter>
<filter>
<name>Right Door</name>
<type>gain</type>
<gain>1.0</gain>
2017-10-20 14:15:56 +00:00
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
2017-10-20 14:15:56 +00:00
<expression>
<table>
<property>/gear/gear[2]/position-norm</property>
<entry><ind> 0</ind><dep>0</dep></entry>
<entry><ind>0.19</ind><dep>1</dep></entry>
<entry><ind>0.81</ind><dep>1</dep></entry>
<entry><ind> 1</ind><dep>0</dep></entry>
</table>
</expression>
</input>
<output>/systems/hydraulic/gear/door-right</output>
</filter>
<filter>
<name>Right Door Conversion to Degrees</name>
<type>gain</type>
<gain>1.0</gain>
2017-10-20 14:15:56 +00:00
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
2017-10-20 14:15:56 +00:00
<expression>
<table>
<property>/systems/hydraulic/gear/door-right</property>
<entry><ind> 0</ind><dep>0</dep></entry>
<entry><ind> 1</ind><dep>100</dep></entry>
</table>
</expression>
</input>
<output>/ECAM/Lower/door-right</output>
</filter>
<filter>
<name>Nose Door</name>
<type>gain</type>
<gain>1.0</gain>
2017-10-20 14:15:56 +00:00
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
2017-10-20 14:15:56 +00:00
<expression>
<table>
<property>/gear/gear[0]/position-norm</property>
<entry><ind> 0</ind><dep>0</dep></entry>
<entry><ind>0.19</ind><dep>1</dep></entry>
<entry><ind>0.81</ind><dep>1</dep></entry>
<entry><ind> 1</ind><dep>0</dep></entry>
</table>
</expression>
</input>
<output>/systems/hydraulic/gear/door-nose</output>
</filter>
2017-10-20 14:33:12 +00:00
<filter>
<name>NLG Left Door Conversion to Degrees</name>
<type>gain</type>
<gain>1.0</gain>
2017-10-20 14:33:12 +00:00
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
2017-10-20 14:33:12 +00:00
<expression>
<table>
<property>/systems/hydraulic/gear/door-nose</property>
<entry><ind> 0</ind><dep>0</dep></entry>
2017-10-20 15:08:14 +00:00
<entry><ind> 1</ind><dep>95</dep></entry>
2017-10-20 14:33:12 +00:00
</table>
</expression>
</input>
<output>/ECAM/Lower/door-nose-left</output>
</filter>
<filter>
<name>NLG Right Door Conversion to Degrees</name>
<type>gain</type>
<gain>1.0</gain>
2017-10-20 14:33:12 +00:00
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
2017-10-20 14:33:12 +00:00
<expression>
<table>
<property>/systems/hydraulic/gear/door-nose</property>
<entry><ind> 0</ind><dep>0</dep></entry>
2017-10-20 15:08:14 +00:00
<entry><ind> 1</ind><dep>-95</dep></entry>
2017-10-20 14:33:12 +00:00
</table>
</expression>
</input>
<output>/ECAM/Lower/door-nose-right</output>
</filter>
<!-- =============================================================== -->
<!-- Autobrake -->
<!-- =============================================================== -->
<filter>
<name>Autobrake Decel Error</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<dif>
<property>/velocities/groundspeed-mps</property>
<property>/velocities/groundspeed-mps-ahead</property>
</dif>
</expression>
</input>
<output>/controls/autobrake/decel-error</output>
</filter>
<pi-simple-controller>
<name>IT-CONTROLLER: AUTOBRAKE DECEL</name>
<debug>false</debug>
<enable>
<condition>
<equals>
<property>/controls/autobrake/active</property>
<value>1</value>
</equals>
</condition>
</enable>
<input>
<property>/controls/autobrake/decel-error</property>
</input>
<reference>
<property>/controls/autobrake/decel-rate</property>
</reference>
<output>
<property>/controls/gear/brake-left</property>
<property>/controls/gear/brake-right</property>
</output>
<config>
<Kp>0.45</Kp>
<Ki>0.25</Ki>
<min>0.0</min>
<max>1.0</max>
</config>
</pi-simple-controller>
</PropertyList>