2020-05-05 18:12:14 +00:00
<!-- Copyright (c) 2019 Jonathan Redpath (legoboyvdlp) -->
<system name= "A320: Pneumatic" >
<channel name= "Valves" >
2020-05-05 18:43:21 +00:00
<!-- apu -->
<switch name= "/systems/pneumatics/valves/apu-bleed-valve-cmd" >
<default value= "0" />
<test logic= "AND" value= "1" >
/engines/engine[2]/n1 ge 95
/controls/pneumatics/switches/apu eq 1
</test>
</switch>
<switch name= "/systems/pneumatics/valves/apu-bleed-valve-power" >
<default value= "0" />
<test logic= "OR" value= "5" >
/systems/electrical/bus/dc-ess-shed ge 25
<!-- confirm, some a320 have it on dc - bat, but this makes sense, since x - bleed is on ess shed too.
Definitely, some A320 have it on dc-ess-shed, but why is there any difference? -->
</test>
</switch>
<actuator name= "/systems/pneumatics/valves/apu-bleed-valve" >
<input > /systems/pneumatics/valves/apu-bleed-valve-cmd</input>
<rate_limit > /systems/pneumatics/valves/apu-bleed-valve-power</rate_limit>
</actuator>
2020-05-06 16:05:53 +00:00
<!-- Crossbleed -->
<switch name= "/systems/pneumatics/valves/crossbleed-valve-cmd" >
<default value= "/systems/pneumatics/valves/crossbleed-valve-cmd" />
<test logic= "AND" value= "0" > <!-- CB 2HV -->
/systems/electrical/bus/dc-ess-shed ge 25
/controls/pneumatics/switches/x-bleed eq 0
</test>
<test logic= "AND" value= "1" >
/systems/electrical/bus/dc-ess-shed ge 25
/controls/pneumatics/switches/x-bleed eq 2
</test>
<test logic= "AND" value= "0" > <!-- CB 1HV, 4HV -->
/systems/electrical/bus/dc-2 ge 25
<test logic= "OR" >
/controls/pneumatics/switches/apu eq 0
/systems/pneumatics/valves/apu-bleed-valve eq 0
</test>
</test>
<test logic= "AND" value= "1" > <!-- CB 1HV, 4HV -->
/systems/electrical/bus/dc-2 ge 25
/controls/pneumatics/switches/apu eq 1
/systems/pneumatics/valves/apu-bleed-valve ne 0
</test>
</switch>
<switch name= "/systems/pneumatics/valves/crossbleed-valve-power" >
<default value= "0" />
<test logic= "OR" value= "0.2" >
/systems/electrical/bus/dc-ess-shed ge 25
/systems/electrical/bus/dc-2 ge 25
</test>
</switch>
<actuator name= "/systems/pneumatics/valves/crossbleed-valve" >
<input > /systems/pneumatics/valves/crossbleed-valve-cmd</input>
<rate_limit > /systems/pneumatics/valves/crossbleed-valve-power</rate_limit>
</actuator>
2020-05-05 18:12:14 +00:00
<!-- Low Pressure valve -->
<switch name= "/systems/pneumatics/valves/engine-1-lp-valve-cmd" >
<default value= "1" />
<test logic= "OR" value= "0" >
/systems/pneumatics/valves/engine-1-hp-valve eq 1
</test>
</switch>
2020-05-05 18:43:21 +00:00
<switch name= "/systems/pneumatics/valves/engine-1-lp-valve-power" >
2020-05-05 18:12:14 +00:00
<default value= "0" />
<test logic= "OR" value= "5" >
/systems/electrical/bus/dc-ess-shed ge 25
</test>
</switch>
<actuator name= "/systems/pneumatics/valves/engine-1-lp-valve" >
<input > /systems/pneumatics/valves/engine-1-lp-valve-cmd</input>
2020-05-05 18:43:21 +00:00
<rate_limit > /systems/pneumatics/valves/engine-1-lp-valve-power</rate_limit>
2020-05-05 18:12:14 +00:00
</actuator>
<switch name= "/systems/pneumatics/valves/engine-2-lp-valve-cmd" >
<default value= "1" />
<test logic= "OR" value= "0" >
/systems/pneumatics/valves/engine-2-hp-valve eq 1
</test>
</switch>
2020-05-05 18:43:21 +00:00
<switch name= "/systems/pneumatics/valves/engine-2-lp-valve-power" >
2020-05-05 18:12:14 +00:00
<default value= "0" />
<test logic= "OR" value= "5" >
/systems/electrical/bus/dc-2 ge 25
</test>
</switch>
<actuator name= "/systems/pneumatics/valves/engine-2-lp-valve" >
<input > /systems/pneumatics/valves/engine-2-lp-valve-cmd</input>
2020-05-05 18:43:21 +00:00
<rate_limit > /systems/pneumatics/valves/engine-2-lp-valve-power</rate_limit>
2020-05-05 18:12:14 +00:00
</actuator>
<!-- High Pressure valve -->
<switch name= "/systems/pneumatics/valves/engine-1-hp-valve-cmd" >
<default value= "1" />
<test logic= "OR" value= "0" >
/systems/pneumatics/source/engine-1-hp-psi lt 8
/systems/pneumatics/source/engine-1-hp-psi ge 120
<test logic= "AND" >
/controls/deice/wing eq 0
/systems/pneumatics/source/engine-1-hp-psi ge 110
/position/altitude-ft ge 15000
/systems/pneumatics/valves/engine-1-prv-valve eq 1
/systems/pneumatics/valves/engine-2-prv-valve eq 1
</test>
</test>
</switch>
2020-05-05 18:43:21 +00:00
<switch name= "/systems/pneumatics/valves/engine-1-hp-valve-power" >
2020-05-05 18:12:14 +00:00
<default value= "0" />
<test logic= "OR" value= "3" >
/systems/electrical/bus/dc-ess-shed ge 25
</test>
</switch>
<actuator name= "/systems/pneumatics/valves/engine-1-hp-valve" >
<input > /systems/pneumatics/valves/engine-1-hp-valve-cmd</input>
2020-05-05 18:43:21 +00:00
<rate_limit > /systems/pneumatics/valves/engine-1-hp-valve-power</rate_limit>
2020-05-05 18:12:14 +00:00
</actuator>
<switch name= "/systems/pneumatics/valves/engine-2-hp-valve-cmd" >
<default value= "1" />
<test logic= "OR" value= "0" >
/systems/pneumatics/source/engine-2-hp-psi lt 8
/systems/pneumatics/source/engine-2-hp-psi ge 120
<test logic= "AND" >
/controls/deice/wing eq 0
/systems/pneumatics/source/engine-2-hp-psi ge 110
/position/altitude-ft ge 15000
/systems/pneumatics/valves/engine-1-prv-valve eq 1
/systems/pneumatics/valves/engine-2-prv-valve eq 1
</test>
</test>
</switch>
2020-05-05 18:43:21 +00:00
<switch name= "/systems/pneumatics/valves/engine-2-hp-valve-power" >
2020-05-05 18:12:14 +00:00
<default value= "0" />
<test logic= "OR" value= "3" >
/systems/electrical/bus/dc-2 ge 25
</test>
</switch>
<actuator name= "/systems/pneumatics/valves/engine-2-hp-valve" >
<input > /systems/pneumatics/valves/engine-2-hp-valve-cmd</input>
2020-05-05 18:43:21 +00:00
<rate_limit > /systems/pneumatics/valves/engine-2-hp-valve-power</rate_limit>
2020-05-05 18:12:14 +00:00
</actuator>
<!-- Pressure regulation valve -->
<switch name= "/systems/pneumatics/valves/engine-1-prv-valve-cmd" >
<default value= "0" />
<test logic= "OR" value= "0" >
/controls/engines/engine[0]/fire-btn eq 1
/systems/pneumatics/psi/engine-1-upstream-src gt 85
/systems/pneumatics/valves/apu-bleed-valve ne 0
/systems/pneumatics/valves/starter-valve-1 ne 0
</test>
<test logic= "AND" value= "1" >
/controls/pneumatics/switches/bleed-1 eq 1
</test>
</switch>
2020-05-05 18:43:21 +00:00
<switch name= "/systems/pneumatics/valves/engine-1-prv-valve-power" >
2020-05-05 18:12:14 +00:00
<default value= "0" />
<test logic= "OR" value= "5.0" >
/systems/electrical/bus/dc-ess-shed ge 25
/systems/pneumatics/psi/engine-1-upstream-src ge 8
/systems/failures/pneumatics/bleed-1-valve eq 0
</test>
</switch>
<actuator name= "/systems/pneumatics/valves/engine-1-prv-valve" >
<input > /systems/pneumatics/valves/engine-1-prv-valve-cmd</input>
2020-05-05 18:43:21 +00:00
<rate_limit > /systems/pneumatics/valves/engine-1-prv-valve-power</rate_limit>
2020-05-05 18:12:14 +00:00
</actuator>
2020-05-06 16:05:53 +00:00
<switch name= "/systems/pneumatics/valves/engine-1-prv-valve-disag" >
<default value= "0" />
<test logic= "AND" value= "1" >
/systems/pneumatics/valves/engine-1-prv-valve-cmd eq 0
/systems/pneumatics/valves/engine-1-prv-valve ne 0
</test>
<test logic= "AND" value= "1" >
/systems/pneumatics/valves/engine-1-prv-valve-cmd eq 1
/systems/pneumatics/valves/engine-1-prv-valve ne 1
</test>
</switch>
2020-05-05 18:12:14 +00:00
<switch name= "/systems/pneumatics/valves/engine-2-prv-valve-cmd" >
<default value= "0" />
<test logic= "OR" value= "0" >
/controls/engines/engine[1]/fire-btn eq 1
/systems/pneumatics/psi/engine-2-upstream-src gt 85
<test logic= "AND" >
/systems/pneumatics/valves/apu-bleed-valve ne 0
/systems/pneumatics/valves/crossbleed-valve ne 0
</test>
/systems/pneumatics/valves/starter-valve-2 ne 0
</test>
<test logic= "AND" value= "1" >
/controls/pneumatics/switches/bleed-2 eq 1
</test>
</switch>
2020-05-05 18:43:21 +00:00
<switch name= "/systems/pneumatics/valves/engine-2-prv-valve-power" >
2020-05-05 18:12:14 +00:00
<default value= "0" />
<test logic= "OR" value= "5.0" >
/systems/electrical/bus/dc-2 ge 25
/systems/pneumatics/psi/engine-2-upstream-src ge 8
/systems/failures/pneumatics/bleed-2-valve eq 0
</test>
</switch>
2020-05-06 16:05:53 +00:00
<switch name= "/systems/pneumatics/valves/engine-2-prv-valve-disag" >
<default value= "0" />
<test logic= "AND" value= "1" >
/systems/pneumatics/valves/engine-2-prv-valve-cmd eq 0
/systems/pneumatics/valves/engine-2-prv-valve ne 0
</test>
<test logic= "AND" value= "1" >
/systems/pneumatics/valves/engine-2-prv-valve-cmd eq 1
/systems/pneumatics/valves/engine-2-prv-valve ne 1
</test>
</switch>
2020-05-05 18:12:14 +00:00
<actuator name= "/systems/pneumatics/valves/engine-2-prv-valve" >
<input > /systems/pneumatics/valves/engine-2-prv-valve-cmd</input>
2020-05-05 18:43:21 +00:00
<rate_limit > /systems/pneumatics/valves/engine-2-prv-valve-power</rate_limit>
2020-05-05 18:12:14 +00:00
</actuator>
<!-- Overpressure valve -->
<fcs_function name= "/systems/pneumatics/valves/engine-1-opv-valve-cmd-schedule" >
<function >
<table >
<independentVar lookup= "row" > /systems/pneumatics/psi/engine-1-upstream-prv</independentVar>
<tableData >
79 1.0
85 0.0
</tableData>
</table>
</function>
</fcs_function>
<switch name= "/systems/pneumatics/valves/engine-1-opv-valve-cmd" >
<default value= "1" />
<test logic= "AND" value= "0" >
/systems/pneumatics/valves/engine-1-opv-valve-cmd eq 0.0
/systems/pneumatics/psi/engine-1-upstream-prv ge 35
</test>
<test logic= "OR" value= "/systems/pneumatics/valves/engine-1-opv-valve-cmd-schedule" >
/systems/pneumatics/valves/engine-1-opv-valve-cmd-schedule ne 0
</test>
</switch>
<actuator name= "/systems/pneumatics/valves/engine-1-opv-valve" >
<input > /systems/pneumatics/valves/engine-1-opv-valve-cmd</input>
<rate_limit > 1.0</rate_limit> <!-- pneumatically controlled -->
</actuator>
<fcs_function name= "/systems/pneumatics/valves/engine-2-opv-valve-cmd-schedule" >
<function >
<table >
<independentVar lookup= "row" > /systems/pneumatics/psi/engine-2-upstream-prv</independentVar>
<tableData >
79 1.0
85 0.0
</tableData>
</table>
</function>
</fcs_function>
<switch name= "/systems/pneumatics/valves/engine-2-opv-valve-cmd" >
<default value= "1" />
<test logic= "AND" value= "0" >
/systems/pneumatics/valves/engine-2-opv-valve-cmd eq 0.0
/systems/pneumatics/psi/engine-2-upstream-prv ge 35
</test>
<test logic= "OR" value= "/systems/pneumatics/valves/engine-2-opv-valve-cmd-schedule" >
/systems/pneumatics/valves/engine-2-opv-valve-cmd-schedule ne 0
</test>
</switch>
<actuator name= "/systems/pneumatics/valves/engine-2-opv-valve" >
<input > /systems/pneumatics/valves/engine-2-opv-valve-cmd</input>
<rate_limit > 1.0</rate_limit> <!-- pneumatically controlled -->
</actuator>
</channel>
<channel name= "Source PSI" >
2020-05-05 20:58:50 +00:00
<fcs_function name= "/systems/pneumatics/source/apu-psi" >
<function >
<ifthen >
<gt >
<property > /position/altitude-ft</property>
<value > 20000</value>
</gt>
<value > 0</value>
<ifthen >
<gt >
<property > /engines/engine[2]/n1</property>
<value > 92</value>
</gt>
<difference >
<interpolate1d >
<property > /position/altitude-ft</property>
<value > 0</value>
<table >
<independentVar lookup= "row" > /engines/engine[2]/n1</independentVar>
<independentVar lookup= "column" > /systems/pneumatics/valves/apu-bleed-valve</independentVar>
<tableData >
0 1
92 0 0
95 16.7 2.7
100 58.7 50.7
</tableData>
</table>
<value > 10000</value>
<table >
<independentVar lookup= "row" > /engines/engine[2]/n1</independentVar>
<independentVar lookup= "column" > /systems/pneumatics/valves/apu-bleed-valve</independentVar>
<tableData >
0 1
92 0 0
95 6.7 0.1
100 48.7 40.7
</tableData>
</table>
<value > 15000</value>
<table >
<independentVar lookup= "row" > /engines/engine[2]/n1</independentVar>
<independentVar lookup= "column" > /systems/pneumatics/valves/apu-bleed-valve</independentVar>
<tableData >
0 1
92 0 0
95 2.7 0
100 37.7 32.7
</tableData>
</table>
</interpolate1d>
<quotient >
<property > /systems/navigation/probes/static-1</property>
<value > 2.036</value>
</quotient>
</difference>
<value > 0</value>
</ifthen>
</ifthen>
</function>
<clipto >
<min > 0</min>
<max > 99999999</max>
</clipto>
</fcs_function>
<fcs_function name= "/systems/pneumatics/source/gnd-psi" >
<function >
<product >
<property > /controls/pneumatics/switches/groundair</property>
<value > 34</value>
</product>
</function>
</fcs_function>
2020-05-05 18:12:14 +00:00
<fcs_function name= "/systems/pneumatics/source/engine-1-hp-psi" >
<function >
<table >
<independentVar lookup= "row" > /engines/engine[0]/n2-actual</independentVar>
<tableData >
22.0 0.0
25.0 12.0
44.0 22.0
60.9 72.0
65.0 78.0
70.4 96.0
80.4 132.0
</tableData>
</table>
</function>
</fcs_function>
<fcs_function name= "/systems/pneumatics/source/engine-2-hp-psi" >
<function >
<table >
<independentVar lookup= "row" > /engines/engine[1]/n2-actual</independentVar>
<tableData >
22.0 0.0
25.0 12.0
44.0 22.0
60.9 72.0
65.0 78.0
70.4 96.0
80.4 132.0
</tableData>
</table>
</function>
</fcs_function>
<fcs_function name= "/systems/pneumatics/source/engine-1-lp-psi" >
<function >
<table >
<independentVar lookup= "row" > /engines/engine[0]/n2-actual</independentVar>
<tableData >
22.0 0.0
25.0 2.0
60.9 18.0
70.4 36.0
80.4 44.0
101.4 48.0
</tableData>
</table>
</function>
</fcs_function>
<fcs_function name= "/systems/pneumatics/source/engine-2-lp-psi" >
<function >
<table >
<independentVar lookup= "row" > /engines/engine[1]/n2-actual</independentVar>
<tableData >
22.0 0.0
25.0 2.0
60.9 18.0
70.4 36.0
80.4 44.0
101.4 48.0
</tableData>
</table>
</function>
</fcs_function>
</channel>
<channel name= "System PSI" >
<fcs_function name= "/systems/pneumatics/psi/engine-1-upstream-src" >
<function >
<ifthen >
<lt >
<property > /systems/pneumatics/valves/engine-1-hp-valve</property> <!-- lp valve opens when the airflow reduces sufficiently from hp valve -->
<value > 0.1</value>
</lt>
<product >
<property > /systems/pneumatics/source/engine-1-lp-psi</property>
<property > /systems/pneumatics/valves/engine-1-lp-valve</property>
</product>
<product >
<quotient >
<property > /systems/pneumatics/source/engine-1-hp-psi</property>
<value > 3</value>
</quotient>
<property > /systems/pneumatics/valves/engine-1-hp-valve</property>
</product>
</ifthen>
</function>
</fcs_function>
<fcs_function name= "/systems/pneumatics/psi/engine-2-upstream-src" >
<function >
<ifthen >
<lt >
<property > /systems/pneumatics/valves/engine-1-hp-valve</property>
<value > 0.1</value>
</lt>
<product >
<property > /systems/pneumatics/source/engine-2-lp-psi</property>
<property > /systems/pneumatics/valves/engine-2-lp-valve</property>
</product>
<product >
<quotient >
<property > /systems/pneumatics/source/engine-2-hp-psi</property>
<value > 3</value>
</quotient>
<property > /systems/pneumatics/valves/engine-2-hp-valve</property>
</product>
</ifthen>
</function>
</fcs_function>
2020-05-05 20:58:50 +00:00
<fcs_function name= "/systems/pneumatics/psi/engine-1-downstream-prv" >
2020-05-05 18:12:14 +00:00
<function >
<product >
<property > /systems/pneumatics/valves/engine-1-prv-valve</property>
<property > /systems/pneumatics/psi/engine-1-upstream-src</property>
</product>
</function>
</fcs_function>
2020-05-05 20:58:50 +00:00
<fcs_function name= "/systems/pneumatics/psi/engine-2-downstream-prv" >
2020-05-05 18:12:14 +00:00
<function >
<product >
<property > /systems/pneumatics/valves/engine-2-prv-valve</property>
<property > /systems/pneumatics/psi/engine-2-upstream-src</property>
</product>
</function>
</fcs_function>
2020-05-05 20:58:50 +00:00
<fcs_function name= "/systems/pneumatics/psi/engine-1-psi" > <!-- measured pressure. Is essentially pressure of the entire left system -->
2020-05-05 18:12:14 +00:00
<function >
2020-05-05 20:58:50 +00:00
<max >
<property > /systems/pneumatics/psi/crossbleed-duct-left</property>
<product >
<property > /systems/pneumatics/valves/engine-1-opv-valve</property>
<property > /systems/pneumatics/psi/engine-1-downstream-prv</property>
</product>
</max>
2020-05-05 18:12:14 +00:00
</function>
</fcs_function>
<fcs_function name= "/systems/pneumatics/psi/engine-2-psi" >
<function >
2020-05-05 20:58:50 +00:00
<max >
<property > /systems/pneumatics/psi/crossbleed-duct-right</property>
<product >
<property > /systems/pneumatics/valves/engine-2-opv-valve</property>
<property > /systems/pneumatics/psi/engine-2-downstream-prv</property>
</product>
</max>
2020-05-05 18:12:14 +00:00
</function>
</fcs_function>
2020-05-05 20:58:50 +00:00
<fcs_function name= "/systems/pneumatics/psi/crossbleed-duct-left" >
2020-05-05 18:12:14 +00:00
<function >
2020-05-05 20:58:50 +00:00
<max >
<product >
<property > /systems/pneumatics/source/apu-psi</property>
<property > /systems/pneumatics/valves/apu-bleed-valve</property>
</product>
<property > /systems/pneumatics/source/gnd-psi</property>
</max>
2020-05-05 18:12:14 +00:00
</function>
</fcs_function>
2020-05-05 20:58:50 +00:00
<fcs_function name= "/systems/pneumatics/psi/crossbleed-duct-right" >
2020-05-05 18:12:14 +00:00
<function >
2020-05-05 20:58:50 +00:00
<product >
<property > /systems/pneumatics/valves/crossbleed-valve</property>
<max >
<product >
<property > /systems/pneumatics/source/apu-psi</property>
<property > /systems/pneumatics/valves/apu-bleed-valve</property>
</product>
<property > /systems/pneumatics/source/gnd-psi</property>
</max>
2020-05-05 18:12:14 +00:00
</product>
</function>
</fcs_function>
2020-05-05 20:58:50 +00:00
</channel>
<channel name= "Precooler Left" execute= "/systems/pneumatics/indicating/bmc1-working" > <!-- These values come from BMC, so makes sense to not have them when BMC lacks power -->
<fcs_function name= "/systems/pneumatics/precooler/temp-1" >
<function >
<sum >
<property > /environment/temperature-degc</property>
<product >
<property > /systems/pneumatics/valves/engine-1-prv-valve</property>
<property > /systems/pneumatics/valves/engine-1-opv-valve</property>
<property > /engines/engine[0]/egt-actual</property>
<value > 0.35</value>
</product>
</sum>
</function>
</fcs_function>
2020-05-05 18:12:14 +00:00
<switch name= "/systems/pneumatics/precooler/calc/ovht-5-true" >
<default value= "0" />
<test value= "1" >
/systems/pneumatics/precooler/temp-1 gt 290
</test>
</switch>
<switch name= "/systems/pneumatics/precooler/calc/ovht-15-true" >
<default value= "0" />
<test value= "1" >
/systems/pneumatics/precooler/temp-1 gt 270
</test>
</switch>
<switch name= "/systems/pneumatics/precooler/calc/ovht-55-true" >
<default value= "0" />
<test value= "1" >
/systems/pneumatics/precooler/temp-1 gt 257
</test>
</switch>
<actuator name= "/systems/pneumatics/precooler/calc/ovht-5" >
<input > /systems/pneumatics/precooler/calc/ovht-5-true</input>
<rate_limit sense= "incr" > 0.2</rate_limit>
<rate_limit sense= "decr" > 100</rate_limit>
</actuator>
<actuator name= "/systems/pneumatics/precooler/calc/ovht-15" >
<input > /systems/pneumatics/precooler/calc/ovht-15-true</input>
<rate_limit sense= "incr" > 0.06666</rate_limit>
<rate_limit sense= "decr" > 100</rate_limit>
</actuator>
<actuator name= "/systems/pneumatics/precooler/calc/ovht-55" >
<input > /systems/pneumatics/precooler/calc/ovht-55-true</input>
<rate_limit sense= "incr" > 0.018182</rate_limit>
<rate_limit sense= "decr" > 100</rate_limit>
</actuator>
2020-05-05 20:58:50 +00:00
<switch name= "/systems/pneumatics/precooler/ovht-1" >
<default value= "0" />
<test logic= "OR" value= "1" >
/systems/pneumatics/precooler/calc/ovht-5 eq 1
/systems/pneumatics/precooler/calc/ovht-15 eq 1
/systems/pneumatics/precooler/calc/ovht-55 eq 1
</test>
</switch>
</channel>
<channel name= "Precooler Right" execute= "/systems/pneumatics/indicating/bmc2-working" > <!-- These values come from BMC, so makes sense to not have them when BMC lacks power -->
<fcs_function name= "/systems/pneumatics/precooler/temp-2" >
<function >
<sum >
<property > /environment/temperature-degc</property>
<product >
<property > /systems/pneumatics/valves/engine-2-prv-valve</property>
<property > /systems/pneumatics/valves/engine-2-opv-valve</property>
<property > /engines/engine[1]/egt-actual</property>
<value > 0.35</value>
</product>
</sum>
</function>
</fcs_function>
2020-05-05 18:12:14 +00:00
<switch name= "/systems/pneumatics/precooler/calc/ovht-5-true-2" >
<default value= "0" />
<test value= "1" >
/systems/pneumatics/precooler/temp-2 gt 290
</test>
</switch>
<switch name= "/systems/pneumatics/precooler/calc/ovht-15-true-2" >
<default value= "0" />
<test value= "1" >
/systems/pneumatics/precooler/temp-2 gt 270
</test>
</switch>
<switch name= "/systems/pneumatics/precooler/calc/ovht-55-true-2" >
<default value= "0" />
<test value= "1" >
/systems/pneumatics/precooler/temp-2 gt 257
</test>
</switch>
<actuator name= "/systems/pneumatics/precooler/calc/ovht-5-2" >
<input > /systems/pneumatics/precooler/calc/ovht-5-true-2</input>
<rate_limit sense= "incr" > 0.2</rate_limit>
<rate_limit sense= "decr" > 100</rate_limit>
</actuator>
<actuator name= "/systems/pneumatics/precooler/calc/ovht-15-2" >
<input > /systems/pneumatics/precooler/calc/ovht-15-true-2</input>
<rate_limit sense= "incr" > 0.06666</rate_limit>
<rate_limit sense= "decr" > 100</rate_limit>
</actuator>
<actuator name= "/systems/pneumatics/precooler/calc/ovht-55-2" >
<input > /systems/pneumatics/precooler/calc/ovht-55-true-2</input>
<rate_limit sense= "incr" > 0.018182</rate_limit>
<rate_limit sense= "decr" > 100</rate_limit>
</actuator>
2020-05-05 20:58:50 +00:00
2020-05-05 18:12:14 +00:00
<switch name= "/systems/pneumatics/precooler/ovht-2" >
<default value= "0" />
<test logic= "OR" value= "1" >
/systems/pneumatics/precooler/calc/ovht-5-2 eq 1
/systems/pneumatics/precooler/calc/ovht-15-2 eq 1
/systems/pneumatics/precooler/calc/ovht-55-2 eq 1
</test>
</switch>
</channel>
2020-05-05 18:43:21 +00:00
<channel name= "ECAM" >
2020-05-05 20:58:50 +00:00
<switch name= "/systems/pneumatics/indicating/bmc1-working" >
<default value= "0" />
<test logic= "AND" value= "1" >
/systems/electrical/bus/dc-ess-shed ge 25
/systems/failures/pneumatics/bmc-1 ne 1
</test>
</switch>
<switch name= "/systems/pneumatics/indicating/bmc2-working" >
<default value= "0" />
<test logic= "AND" value= "1" >
/systems/electrical/bus/dc-2 ge 25
/systems/failures/pneumatics/bmc-2 ne 1
</test>
</switch>
2020-05-05 18:43:21 +00:00
<switch name= "/systems/pneumatics/warnings/apu-bleed-not-on-cmd" >
<default value= "0" />
<test logic= "AND" value= "1" >
/systems/pneumatics/valves/apu-bleed-valve eq 0
/controls/apu/master eq 1
/controls/pneumatics/switches/apu eq 1
</test>
</switch>
<actuator name= "/systems/pneumatics/warnings/apu-bleed-not-on" >
<input > /systems/pneumatics/warnings/apu-bleed-not-on-cmd</input>
<rate_limit sense= "incr" > 0.1</rate_limit>
<rate_limit sense= "decr" > 100</rate_limit>
</actuator>
</channel>
2020-05-05 18:12:14 +00:00
</system>