1
0
Fork 0
fgdata/Aircraft/c172p/Systems/instruments.xml

601 lines
18 KiB
XML
Raw Normal View History

<?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>
<and>
<greater-than>
<property>/systems/electrical/outputs/instr-ignition-switch</property>
<value>12.0</value>
</greater-than>
<property>/consumables/fuel/tank[0]/selected</property>
</and>
</condition>
<property>/consumables/fuel/tank[0]/level-gal_us</property>
</input>
<input>
<condition>
<and>
<greater-than>
<property>/systems/electrical/outputs/instr-ignition-switch</property>
<value>12.0</value>
</greater-than>
<property>/consumables/fuel/tank[2]/selected</property>
</and>
</condition>
<property>/consumables/fuel/tank[2]/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>
<and>
<greater-than>
<property>/systems/electrical/outputs/instr-ignition-switch</property>
<value>12.0</value>
</greater-than>
<property>/consumables/fuel/tank[1]/selected</property>
</and>
</condition>
<property>/consumables/fuel/tank[1]/level-gal_us</property>
</input>
<input>
<condition>
<and>
<greater-than>
<property>/systems/electrical/outputs/instr-ignition-switch</property>
<value>12.0</value>
</greater-than>
<property>/consumables/fuel/tank[3]/selected</property>
</and>
</condition>
<property>/consumables/fuel/tank[3]/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-final-temperature-degf</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/engines/active-engine/indicated-oil-final-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 Serviceable</name>
<input>
<greater-than>
<property>systems/electrical/outputs/comm[0]</property>
<value>6.0</value>
</greater-than>
</input>
<output>
<property>instrumentation/comm[0]/serviceable</property>
</output>
</logic>
<logic>
<name>Comm 0 On/Off</name>
<input>
<and>
<property>instrumentation/comm[0]/serviceable</property>
<property>instrumentation/comm[0]/power-btn</property>
</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 Serviceable</name>
<input>
<greater-than>
<property>systems/electrical/outputs/comm[1]</property>
<value>6.0</value>
</greater-than>
</input>
<output>
<property>instrumentation/comm[1]/serviceable</property>
</output>
</logic>
<logic>
<name>Comm 1 On/Off</name>
<input>
<and>
<property>instrumentation/comm[1]/serviceable</property>
<property>instrumentation/comm[1]/power-btn</property>
</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>
<filter>
<name>ADF-fg1000 On/Off</name>
<type>gain</type>
<input>
<condition>
<property>/instrumentation/adf[0]/operable</property>
</condition>
<property>/controls/lighting/stby</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/sim/model/c172p/lighting/adf-fg1000</property>
</output>
</filter>
<logic>
<name>DME Serviceable</name>
<input>
<greater-than>
<property>systems/electrical/outputs/dme</property>
<value>6.0</value>
</greater-than>
</input>
<output>
<property>instrumentation/dme[0]/serviceable</property>
</output>
</logic>
<logic>
<name>DME On/Off</name>
<input>
<and>
<property>instrumentation/dme[0]/serviceable</property>
<property>instrumentation/dme[0]/power-btn</property>
</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>
<logic>
<name>Transponder Serviceable</name>
<input>
<greater-than>
<property>systems/electrical/outputs/transponder</property>
<value>6.0</value>
</greater-than>
</input>
<output>
<property>instrumentation/transponder/serviceable</property>
</output>
</logic>
<logic>
<name>Transponder On/Off</name>
<input>
<and>
<property>instrumentation/transponder/serviceable</property>
<property>instrumentation/transponder/inputs/knob-mode</property>
</and>
</input>
<output>
<property>/sim/model/c172p/lighting/transponder-power</property>
</output>
</logic>
<filter>
<name>Transponder Dim/Bright</name>
<type>gain</type>
<input>
<condition>
<property>/sim/model/c172p/lighting/transponder-power</property>
</condition>
<property>/controls/lighting/radio-norm</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/sim/model/c172p/lighting/trans</property>
</output>
</filter>
<filter>
<name>Clock: UTF to local time conversion</name>
<type>gain</type>
<input>
<property>sim/time/utc/day-seconds</property>
<offset>
<property>sim/time/local-offset</property>
</offset>
</input>
<output>
<property>/sim/model/c172p/local-time-seconds</property>
</output>
</filter>
<logic>
<name>Turn Indicator Serviceable</name>
<input>
<greater-than>
<property>systems/electrical/outputs/turn-coordinator</property>
<value>6.0</value>
</greater-than>
</input>
<output>
<property>instrumentation/turn-coordinator/serviceable</property>
</output>
</logic>
<filter>
<name>GPS Night Mode</name>
<type>gain</type>
<input>
<condition>
<property>/instrumentation/garmin196/status</property>
</condition>
<property>/controls/lighting/gps-norm</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/instrumentation/garmin196/lite</property>
</output>
</filter>
<filter>
<name>Instruments Lighting Integral</name>
<type>gain</type>
<input>
<condition>
<and>
<less-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>31.5</value>
</less-than>
<greater-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>20.0</value>
</greater-than>
</and>
</condition>
<property>/controls/lighting/radio-norm</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/sim/model/material/instruments/integral-factor</property>
</output>
</filter>
<filter>
<name>Instruments Lighting Post</name>
<type>gain</type>
<input>
<condition>
<and>
<less-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>31.5</value>
</less-than>
<greater-than>
<property>/systems/electrical/outputs/instrument-lights</property>
<value>20.0</value>
</greater-than>
<less-than>
<property>/controls/switches/dome-red</property>
<value>2</value>
</less-than>
</and>
</condition>
<property>/controls/lighting/instruments-norm</property>
</input>
<input>
<value>0.0</value>
</input>
<output>
<property>/sim/model/material/instruments/factor</property>
</output>
</filter>
<filter>
<name>Light Map Panel Factor</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<greater-than>
<property>/sim/model/material/instruments/factor</property>
<value>0.0</value>
</greater-than>
</condition>
<expression>
<product>
<property>/sim/model/material/instruments/factor</property>
<table>
<property>/rendering/scene/diffuse/red</property>
<entry><ind>0.0</ind><dep>1.0</dep></entry>
<entry><ind>1.0</ind><dep>0.75</dep></entry>
</table>
</product>
</expression>
</input>
<output>
<property>/sim/model/lightmap/panel/factor</property>
</output>
</filter>
<filter>
<name>Light Map Instruments Factor</name>
<type>gain</type>
<gain>0.9</gain>
<input>
<condition>
<greater-than>
<property>/sim/model/material/instruments/factor</property>
<value>0.0</value>
</greater-than>
</condition>
<expression>
<product>
<property>/sim/model/material/instruments/factor</property>
<table>
<property>/rendering/scene/diffuse/red</property>
<entry><ind>0.0</ind><dep>1.0</dep></entry>
<entry><ind>1.0</ind><dep>0.75</dep></entry>
</table>
</product>
</expression>
</input>
<output>
<property>/sim/model/lightmap/instruments/factor</property>
</output>
</filter>
</PropertyList>