1
0
Fork 0

Updated c172p for the c172p-detailed team.

Copied from https://github.com/Juanvvc/c172p-detailed/tree/release/2016.2
Commit c2d17ca761b883fc17abe1705542f5014100e65d
This commit is contained in:
Stuart Buchanan 2016-05-18 22:08:35 +01:00
parent c350d79007
commit 4fbebffc2b

View file

@ -0,0 +1,329 @@
<?xml version="1.0" encoding="UTF-8"?>
<PropertyList>
<filter>
<name>CDI0 lowpass</name>
<debug>false</debug>
<type>exponential</type>
<filter-time>2.0</filter-time>
<input>instrumentation/nav[0]/heading-needle-deflection</input>
<output>instrumentation/nav[0]/filtered-cdiNAV0-deflection</output>
</filter>
<filter>
<name>CDI1 lowpass</name>
<debug>false</debug>
<type>exponential</type>
<filter-time>2.0</filter-time>
<input>instrumentation/nav[1]/heading-needle-deflection</input>
<output>instrumentation/nav[1]/filtered-cdiNAV1-deflection</output>
</filter>
<filter>
<name>GS0 lowpass</name>
<debug>false</debug>
<type>exponential</type>
<filter-time>2.0</filter-time>
<input>instrumentation/nav[0]/gs-needle-deflection-norm</input>
<output>instrumentation/nav[0]/filtered-gsNAV0-deflection</output>
</filter>
<filter>
<name>GS1 lowpass</name>
<debug>false</debug>
<type>exponential</type>
<filter-time>2.0</filter-time>
<input>instrumentation/nav[1]/gs-needle-deflection-norm</input>
<output>instrumentation/nav[1]/filtered-gsNAV1-deflection</output>
</filter>
<filter>
<name>EGT 160 HP lowpass</name>
<debug>false</debug>
<type>exponential</type>
<filter-time>4.0</filter-time>
<input>
<property>engines/engine[0]/egt-degf</property>
<!-- 1200 * scale + offset = 0.0
1700 * scale + offset = 1.0 -->
<scale>0.002</scale>
<offset>-2.4</offset>
</input>
<output>engines/engine[0]/egt-norm</output>
<min>0.0</min>
<max>1.0</max>
</filter>
<filter>
<name>EGT 180 HP lowpass</name>
<debug>false</debug>
<type>exponential</type>
<filter-time>4.0</filter-time>
<input>
<property>engines/engine[1]/egt-degf</property>
<!-- 1200 * scale + offset = 0.0
1700 * scale + offset = 1.0 -->
<scale>0.002</scale>
<offset>-2.4</offset>
</input>
<output>engines/engine[1]/egt-norm</output>
<min>0.0</min>
<max>1.0</max>
</filter>
<filter>
<name>Tank 0 Indicated Level</name>
<type>exponential</type>
<filter-time>3.0</filter-time>
<input>
<condition>
<greater-than>
<property>/systems/electrical/outputs/instr-ignition-switch</property>
<value>12.0</value>
</greater-than>
</condition>
<property>/consumables/fuel/tank[0]/level-gal_us</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/consumables/fuel/tank[0]/indicated-level-gal_us</property>
</output>
</filter>
<filter>
<name>Tank 1 Indicated Level</name>
<type>exponential</type>
<filter-time>3.0</filter-time>
<input>
<condition>
<greater-than>
<property>/systems/electrical/outputs/instr-ignition-switch</property>
<value>12.0</value>
</greater-than>
</condition>
<property>/consumables/fuel/tank[1]/level-gal_us</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/consumables/fuel/tank[1]/indicated-level-gal_us</property>
</output>
</filter>
<filter>
<name>Engine Indicated Oil Temperature</name>
<type>exponential</type>
<filter-time>3.0</filter-time>
<input>
<condition>
<greater-than>
<property>/systems/electrical/outputs/instr-ignition-switch</property>
<value>12.0</value>
</greater-than>
</condition>
<property>/engines/active-engine/oil-temperature-degf</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/engines/active-engine/indicated-oil-temperature-degf</property>
</output>
</filter>
<filter>
<name>Engine Indicated Oil Pressure</name>
<type>exponential</type>
<filter-time>3.0</filter-time>
<input>
<condition>
<greater-than>
<property>/systems/electrical/outputs/instr-ignition-switch</property>
<value>12.0</value>
</greater-than>
</condition>
<property>/engines/active-engine/oil-pressure-psi</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/engines/active-engine/indicated-oil-pressure-psi</property>
</output>
</filter>
<filter>
<name>Engine Total Hobbs Hours</name>
<type>gain</type>
<input>
<expression>
<div>
<sum>
<property>/sim/time/hobbs/engine[0]</property>
<property>/sim/time/hobbs/engine[1]</property>
</sum>
<value>3600.0</value>
</div>
</expression>
</input>
<output>
<property>/instrumentation/clock/hobbs-meter-hours</property>
</output>
</filter>
<logic>
<name>Comm 0 On/Off</name>
<input>
<and>
<property>instrumentation/comm[0]/serviceable</property>
<property>instrumentation/comm[0]/power-btn</property>
<greater-than>
<property>systems/electrical/outputs/comm[0]</property>
<value>6.0</value>
</greater-than>
</and>
</input>
<output>
<property>/sim/model/c172p/lighting/comm0-power</property>
</output>
</logic>
<filter>
<name>Comm 0 Dim/Bright</name>
<type>gain</type>
<input>
<condition>
<property>/sim/model/c172p/lighting/comm0-power</property>
</condition>
<property>/controls/lighting/radio-norm</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/sim/model/c172p/lighting/comm0</property>
</output>
</filter>
<logic>
<name>Comm 1 On/Off</name>
<input>
<and>
<property>instrumentation/comm[1]/serviceable</property>
<property>instrumentation/comm[1]/power-btn</property>
<greater-than>
<property>systems/electrical/outputs/comm[1]</property>
<value>6.0</value>
</greater-than>
</and>
</input>
<output>
<property>/sim/model/c172p/lighting/comm1-power</property>
</output>
</logic>
<filter>
<name>Comm 1 Dim/Bright</name>
<type>gain</type>
<input>
<condition>
<property>/sim/model/c172p/lighting/comm1-power</property>
</condition>
<property>/controls/lighting/radio-norm</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/sim/model/c172p/lighting/comm1</property>
</output>
</filter>
<filter>
<name>ADF On/Off</name>
<type>gain</type>
<input>
<condition>
<property>/instrumentation/adf[0]/operable</property>
</condition>
<property>/controls/lighting/radio-norm</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/sim/model/c172p/lighting/adf</property>
</output>
</filter>
<logic>
<name>DME On/Off</name>
<input>
<and>
<property>instrumentation/dme[0]/serviceable</property>
<property>instrumentation/dme[0]/power-btn</property>
<greater-than>
<property>systems/electrical/outputs/dme</property>
<value>6.0</value>
</greater-than>
</and>
</input>
<output>
<property>/sim/model/c172p/lighting/dme-power</property>
</output>
</logic>
<filter>
<name>DME Dim/Bright</name>
<type>gain</type>
<input>
<condition>
<property>/sim/model/c172p/lighting/dme-power</property>
</condition>
<property>/controls/lighting/radio-norm</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/sim/model/c172p/lighting/dme</property>
</output>
</filter>
<logic>
<name>AP On/Off</name>
<input>
<and>
<greater-than>
<property>systems/electrical/outputs/autopilot</property>
<value>6.0</value>
</greater-than>
</and>
</input>
<output>
<property>/sim/model/c172p/lighting/ap-power</property>
</output>
</logic>
<filter>
<name>AP Dim/Bright</name>
<type>gain</type>
<input>
<condition>
<property>/sim/model/c172p/lighting/ap-power</property>
</condition>
<property>/controls/lighting/radio-norm</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/sim/model/c172p/lighting/ap</property>
</output>
</filter>
</PropertyList>