<?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>

    <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 Dim/Bright</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 Dim/Bright</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>

    <filter>
        <name>AP Dim/Bright FG-1000</name>
        <type>gain</type>
        <input>
            <condition>
                <property>/sim/model/c172p/lighting/ap-power</property>
            </condition>
            <property>/controls/lighting/stby</property>
        </input>
        <input>
            <value>0.0</value>
        </input>
        <output>
            <property>/sim/model/c172p/lighting/ap-fg1000</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>
    
    
    <!-- Magnetic compass -->
    <filter>
        <name>Magnetic compass electrical influence</name>
        <type>gain</type>
        <input>
          <expression>
            <div>
              <sum>
                <!-- using the value in the product we can weight the current and distance of the influence -->
                <product><value>10</value><property>/instrumentation/audio-panel/operable</property></product> <!-- todo: define a nasal switch for that in nasal code -->
                <product><value>10</value><property>/instrumentation/dme/operable</property></product>
                <product><value>25</value><property>/instrumentation/comm[0]/operable/</property></product>
                <product><value>10</value><property>/instrumentation/nav[0]/operable/</property></product>
                <product><value>25</value><property>/instrumentation/comm[1]/operable</property></product>
                <product><value>10</value><property>/instrumentation/nav[1]/operable/</property></product>
                <product><value>10</value><property>/instrumentation/adf/operable</property></product>
              </sum>
              <value>100</value> <!-- total of weighting -->
            </div>
          </expression>
        </input>
        <output>
            <property>/instrumentation/magnetic-compass/electrical-influence-norm</property>
        </output>
    </filter>
    <filter>
        <name>Magnetic compass deviation</name>
        <!-- To debug this, set /orientation/heading-deg to the desired value + declination (so heading-magnetic-deg shows the desired target value).
             The compass should then read the corrected value from the table below (and the corresponding card in the cockpit).
        -->
        <type>gain</type>
        <input>
            <expression>
              <sum>
                <!-- With avionics ON -->
                <product>
                  <table>
                    <property>/orientation/heading-magnetic-deg</property>
                    <entry><ind>   0 </ind><dep>  0 </dep></entry>
                    <entry><ind>  30 </ind><dep> -2 </dep></entry>
                    <entry><ind>  60 </ind><dep> -3 </dep></entry>
                    <entry><ind>  90 </ind><dep> -4 </dep></entry>
                    <entry><ind> 120 </ind><dep> -3 </dep></entry>
                    <entry><ind> 150 </ind><dep> -2 </dep></entry>
                    <entry><ind> 180 </ind><dep>  0 </dep></entry>
                    <entry><ind> 210 </ind><dep>  2 </dep></entry>
                    <entry><ind> 240 </ind><dep>  3 </dep></entry>
                    <entry><ind> 270 </ind><dep>  4 </dep></entry>
                    <entry><ind> 300 </ind><dep>  3 </dep></entry>
                    <entry><ind> 330 </ind><dep>  2 </dep></entry>
                    <entry><ind> 360 </ind><dep>  0 </dep></entry> <!-- same as 0! -->
                  </table>
                  <property>/instrumentation/magnetic-compass/electrical-influence-norm</property>
                </product>
                  
                <!-- With avionics OFF -->
                <product>
                  <table>
                    <property>/orientation/heading-magnetic-deg</property>
                    <entry><ind>   0 </ind><dep> -1 </dep></entry>
                    <entry><ind>  30 </ind><dep> -3 </dep></entry>
                    <entry><ind>  60 </ind><dep> -5 </dep></entry>
                    <entry><ind>  90 </ind><dep> -7 </dep></entry>
                    <entry><ind> 120 </ind><dep> -5 </dep></entry>
                    <entry><ind> 150 </ind><dep> -3 </dep></entry>
                    <entry><ind> 180 </ind><dep> -1 </dep></entry>
                    <entry><ind> 210 </ind><dep>  3 </dep></entry>
                    <entry><ind> 240 </ind><dep>  5 </dep></entry>
                    <entry><ind> 270 </ind><dep>  7 </dep></entry>
                    <entry><ind> 300 </ind><dep>  5 </dep></entry>
                    <entry><ind> 330 </ind><dep>  3 </dep></entry>
                    <entry><ind> 360 </ind><dep> -1 </dep></entry> <!-- same as 0! -->
                  </table>
                  <difference>
                    <value>1</value>
                    <property>/instrumentation/magnetic-compass/electrical-influence-norm</property>
                  </difference>
                </product>
              </sum>
            </expression>
        </input>
        <output>
            <property>/instrumentation/magnetic-compass/deviation-deg</property>
        </output>
    </filter>
    <filter>
        <name>Magnetic compass pivot mounting</name>
        <type>exponential</type>
        <filter-time>5.0</filter-time>
        <input>
          <expression>
            <product>
              <property>/orientation/pitch-deg</property>
              <value>-1</value>
            </product>
          </expression>
        </input>
        <output>
            <property>/instrumentation/magnetic-compass/pitch-offset-deg</property>
        </output>
        <min> <property>instrumentation/magnetic-compass/pitch-limit-down</property> </min>
        <max> <property>instrumentation/magnetic-compass/pitch-limit-up</property> </max>
    </filter>
    <filter>
        <name>Magnetic compass stuck</name>
        <type>gain</type>
        <input>
            <condition>
              <!-- not stuck: look at current animation props -->
              <and>
                <not><property>instrumentation/magnetic-compass/stuck</property></not>
                <or>
                  <less-than>
                    <property>/instrumentation/magnetic-compass/pitch-deg</property>
                    <property>instrumentation/magnetic-compass/pitch-limit-down</property>
                  </less-than>
                  <greater-than>
                    <property>/instrumentation/magnetic-compass/pitch-deg</property>
                    <property>instrumentation/magnetic-compass/pitch-limit-up</property>
                  </greater-than>
                  <less-than>
                    <property>/instrumentation/magnetic-compass/roll-deg</property>
                    <property>instrumentation/magnetic-compass/roll-limit-left</property>
                  </less-than>
                  <greater-than>
                    <property>/instrumentation/magnetic-compass/roll-deg</property>
                    <property>instrumentation/magnetic-compass/roll-limit-right</property>
                  </greater-than>
                </or>
              </and>
            </condition>
            <value>1</value>
        </input>
        <input>
            <condition>
              <!-- stuck: look if normal props are not above limits anymore -->
              <and>
                <property>instrumentation/magnetic-compass/stuck</property>
                <or>
                  <less-than>
                    <property>/instrumentation/magnetic-compass/pitch-deg</property>
                    <property>instrumentation/magnetic-compass/pitch-limit-down</property>
                  </less-than>
                  <greater-than>
                    <property>/instrumentation/magnetic-compass/pitch-deg</property>
                    <property>instrumentation/magnetic-compass/pitch-limit-up</property>
                  </greater-than>
                  <less-than>
                    <property>/instrumentation/magnetic-compass/roll-deg</property>
                    <property>instrumentation/magnetic-compass/roll-limit-left</property>
                  </less-than>
                  <greater-than>
                    <property>/instrumentation/magnetic-compass/roll-deg</property>
                    <property>instrumentation/magnetic-compass/roll-limit-right</property>
                  </greater-than>
                </or>
              </and>
            </condition>
            <value>1</value>
        </input>
        <input>
            <value>0</value>
        </input>
        <output>
            <property>instrumentation/magnetic-compass/stuck</property>
        </output>
    </filter>
    <filter>
        <name>Magnetic compass rotation reponsiveness</name>
        <type>exponential</type>
        <filter-time>2.0</filter-time>
        <input>
            <condition>
                <property>instrumentation/magnetic-compass/stuck</property>
            </condition>
            <value>2</value> <!-- slow to respond after getting stuck for a longer time -->
        </input>
        <input>
            <value>0.0001</value> <!-- just hand trough the original value -->
        </input>
        <output>
            <property>instrumentation/magnetic-compass/rotation-responsiveness</property>
        </output>
    </filter>
    <filter>
        <name>Magnetic compass rotation</name>
        <type>exponential</type>
        <filter-time><property>instrumentation/magnetic-compass/rotation-responsiveness</property></filter-time>
        <input>
            <condition>
                <property>instrumentation/magnetic-compass/stuck</property>
            </condition>
            <property>instrumentation/magnetic-compass/indicated-heading-deg-final</property>
        </input>
        <input>
            <property>instrumentation/magnetic-compass/indicated-heading-deg</property>
        </input>
        <output>
            <property>instrumentation/magnetic-compass/indicated-heading-deg-final</property>
        </output>
    </filter>
    
    <!-- VSI damper -->
    <!-- To dampen the needle a bit more, especially at very tiny changes (like parking) -->
    <!-- By observation, it fluctuates around -20/+20 in a seemingly random manner. -->
    <logic>
      <input>
        <or>
            <property>instrumentation/vertical-speed-indicator/damper-initialized</property>

            <!-- in-air start -->
            <greater-than>
                <property>/position/altitude-agl-m</property>
                <value>5</value>
            </greater-than>

          
            <and>
                <!-- On ground: Wait for VSI to settle -->
                <greater-than>
                    <property>/sim/time/elapsed-sec</property>
                    <value>5</value>
                </greater-than>
                <greater-than>
                <property>instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
                <value>-100</value>
                </greater-than>
                <less-than>
                <property>instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
                <value>100</value>
                </less-than>
            </and>
        </or>
      </input>
      <output>
        <property>instrumentation/vertical-speed-indicator/damper-initialized</property>
      </output>
    </logic>
    
    <filter>
      <name>VSI damper</name>
      <type>exponential</type>
      <initialize-to>0.0</initialize-to>
      
      <filter-time>
        <condition>
          <!-- when on the ground and not moving, then dampen alot, but not at sim start -->
          <and>
            <property>instrumentation/vertical-speed-indicator/damper-initialized</property>
            <less-than>
                <property>/position/altitude-agl-m</property>
                <value>3</value>
            </less-than>
            <less-than>
              <property>/velocities/groundspeed-kt</property>
              <value>5</value>
            </less-than>
          </and>
        </condition>
        <value> 2.0 </value>
      </filter-time>
      <filter-time>
        <!-- normal/all other conditions -->
        <value>0.1</value>
      </filter-time>
      
      <input>
        <!-- On sim start, stay at 0 fpm. For some reason the VSI initializes with very high off-values. -->
        <condition>
          <not><property>instrumentation/vertical-speed-indicator/damper-initialized</property></not>
        </condition>
        <value> 0 </value>
      </input>
      <input>
          <property>instrumentation/vertical-speed-indicator/indicated-speed-fpm</property>
      </input>
      
      <output>
          <property>instrumentation/vertical-speed-indicator/indicated-speed-fpm-final</property>
      </output>
    </filter>
</PropertyList>
