Pack temps
This commit is contained in:
parent
ee81d65ff2
commit
af3e154feb
1 changed files with 92 additions and 48 deletions
|
@ -150,28 +150,57 @@
|
|||
</test>
|
||||
</switch>
|
||||
|
||||
<fcs_function name="/systems/air-conditioning/packs/pack-1-outlet-temp">
|
||||
<fcs_function name="/systems/air-conditioning/packs/pack-1-outlet-temp-calc">
|
||||
<function>
|
||||
<ifthen>
|
||||
<gt>
|
||||
<property>/systems/air-conditioning/valves/flow-control-valve-1</property>
|
||||
<value>0.5</value>
|
||||
</gt>
|
||||
<product>
|
||||
<value>0.6363636</value>
|
||||
<property>/systems/air-conditioning/valves/flow-control-valve-1</property>
|
||||
<property>/systems/pneumatics/precooler/temp-1</property>
|
||||
</product>
|
||||
<property>/systems/navigation/probes/tat-1/compute-tat</property>
|
||||
</ifthen>
|
||||
</function>
|
||||
</fcs_function>
|
||||
|
||||
<fcs_function name="/systems/air-conditioning/packs/pack-2-outlet-temp">
|
||||
<lag_filter name="/systems/air-conditioning/packs/pack-1-outlet-temp">
|
||||
<input>/systems/air-conditioning/packs/pack-1-outlet-temp-calc</input>
|
||||
<c1>0.8</c1>
|
||||
</lag_filter>
|
||||
|
||||
<fcs_function name="/systems/air-conditioning/packs/pack-2-outlet-temp-calc">
|
||||
<function>
|
||||
<ifthen>
|
||||
<gt>
|
||||
<property>/systems/air-conditioning/valves/flow-control-valve-2</property>
|
||||
<value>0.5</value>
|
||||
</gt>
|
||||
<product>
|
||||
<value>0.6363636</value>
|
||||
<property>/systems/air-conditioning/valves/flow-control-valve-2</property>
|
||||
<property>/systems/pneumatics/precooler/temp-2</property>
|
||||
</product>
|
||||
<property>/systems/navigation/probes/tat-2/compute-tat</property>
|
||||
</ifthen>
|
||||
</function>
|
||||
</fcs_function>
|
||||
|
||||
<fcs_function name="/systems/air-conditioning/packs/pack-1-output-temp">
|
||||
<lag_filter name="/systems/air-conditioning/packs/pack-2-outlet-temp">
|
||||
<input>/systems/air-conditioning/packs/pack-2-outlet-temp-calc</input>
|
||||
<c1>0.8</c1>
|
||||
</lag_filter>
|
||||
|
||||
<fcs_function name="/systems/air-conditioning/packs/pack-1-output-temp-calc">
|
||||
<function>
|
||||
<ifthen>
|
||||
<gt>
|
||||
<property>/systems/air-conditioning/valves/flow-control-valve-2</property>
|
||||
<value>0.5</value>
|
||||
</gt>
|
||||
<sum>
|
||||
<product>
|
||||
<value>-1</value>
|
||||
|
@ -185,11 +214,23 @@
|
|||
</product>
|
||||
<property>/systems/air-conditioning/packs/pack-1-outlet-temp</property>
|
||||
</sum>
|
||||
<property>/systems/navigation/probes/tat-2/compute-tat</property>
|
||||
</ifthen>
|
||||
</function>
|
||||
</fcs_function>
|
||||
|
||||
<fcs_function name="/systems/air-conditioning/packs/pack-2-output-temp">
|
||||
<lag_filter name="/systems/air-conditioning/packs/pack-1-output-temp">
|
||||
<input>/systems/air-conditioning/packs/pack-1-output-temp-calc</input>
|
||||
<c1>0.8</c1>
|
||||
</lag_filter>
|
||||
|
||||
<fcs_function name="/systems/air-conditioning/packs/pack-2-output-temp-calc">
|
||||
<function>
|
||||
<ifthen>
|
||||
<gt>
|
||||
<property>/systems/air-conditioning/valves/flow-control-valve-2</property>
|
||||
<value>0.5</value>
|
||||
</gt>
|
||||
<sum>
|
||||
<product>
|
||||
<value>-1</value>
|
||||
|
@ -203,17 +244,20 @@
|
|||
</product>
|
||||
<property>/systems/air-conditioning/packs/pack-2-outlet-temp</property>
|
||||
</sum>
|
||||
<property>/systems/navigation/probes/tat-2/compute-tat</property>
|
||||
</ifthen>
|
||||
</function>
|
||||
</fcs_function>
|
||||
|
||||
<lag_filter name="/systems/air-conditioning/packs/pack-2-output-temp">
|
||||
<input>/systems/air-conditioning/packs/pack-2-output-temp-calc</input>
|
||||
<c1>0.8</c1>
|
||||
</lag_filter>
|
||||
|
||||
</channel>
|
||||
|
||||
<channel name="Recirculation">
|
||||
|
||||
<switch name="/systems/air-conditioning/recirc/recirc-fans">
|
||||
|
||||
</switch>
|
||||
|
||||
</channel>
|
||||
|
||||
<channel name="Mass flow">
|
||||
|
|
Loading…
Reference in a new issue