VEMD.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. This program is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation, either version 2 of the License, or
  6. (at your option) any later version.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. -->
  14. <PropertyList>
  15. <logic>
  16. <input>
  17. <and>
  18. <greater-than>
  19. <property>/systems/electrical/volts</property>
  20. <value>22</value>
  21. </greater-than>
  22. <greater-than>
  23. <property>/sim/model/ec130/torque-pct</property>
  24. <value>92.7</value>
  25. </greater-than>
  26. <less-than>
  27. <property>/sim/model/ec130/torque-pct</property>
  28. <value>100</value>
  29. </less-than>
  30. </and>
  31. </input>
  32. <output>/instrumentation/VEMD/warn/torque-yellow</output>
  33. </logic>
  34. <logic>
  35. <input>
  36. <and>
  37. <greater-than>
  38. <property>instrumentation/VEMD/Phase/flight</property>
  39. <value>0</value>
  40. </greater-than>
  41. <greater-than>
  42. <property>/sim/model/ec130/torque-pct</property>
  43. <value>100</value>
  44. </greater-than>
  45. </and>
  46. </input>
  47. <output>/instrumentation/VEMD/warn/torque-red-sw</output>
  48. </logic>
  49. <logic>
  50. <input>
  51. <and>
  52. <greater-than>
  53. <property>instrumentation/VEMD/Phase/flight</property>
  54. <value>0</value>
  55. </greater-than>
  56. <greater-than>
  57. <property>/engines/engine/tot-degc</property>
  58. <value>849</value>
  59. </greater-than>
  60. <less-than>
  61. <property>/engines/engine/tot-degc</property>
  62. <value>915</value>
  63. </less-than>
  64. </and>
  65. </input>
  66. <output>/instrumentation/VEMD/warn/t4-yellow</output>
  67. </logic>
  68. <logic>
  69. <input>
  70. <and>
  71. <greater-than>
  72. <property>instrumentation/VEMD/Phase/flight</property>
  73. <value>0</value>
  74. </greater-than>
  75. <greater-than>
  76. <property>/engines/engine/tot-degc</property>
  77. <value>915</value>
  78. </greater-than>
  79. </and>
  80. </input>
  81. <output>/instrumentation/VEMD/warn/t4-red-sw</output>
  82. </logic>
  83. <logic>
  84. <input>
  85. <and>
  86. <greater-than>
  87. <property>instrumentation/VEMD/Phase/flight</property>
  88. <value>0</value>
  89. </greater-than>
  90. <greater-than>
  91. <property>/engines/engine/n1-pct</property>
  92. <value>67</value>
  93. </greater-than>
  94. <less-than>
  95. <property>/engines/engine/tot-degc</property>
  96. <value>101.1</value>
  97. </less-than>
  98. </and>
  99. </input>
  100. <output>/instrumentation/VEMD/warn/ng-yellow</output>
  101. </logic>
  102. <logic>
  103. <input>
  104. <and>
  105. <greater-than>
  106. <property>instrumentation/VEMD/Phase/flight</property>
  107. <value>0</value>
  108. </greater-than>
  109. <greater-than>
  110. <property>/engines/engine/n1-pct</property>
  111. <value>101.1</value>
  112. </greater-than>
  113. </and>
  114. </input>
  115. <output>/instrumentation/VEMD/warn/ng-red-sw</output>
  116. </logic>
  117. <logic>
  118. <input>
  119. <and>
  120. <greater-than>
  121. <property>instrumentation/VEMD/Phase/flight</property>
  122. <value>0</value>
  123. </greater-than>
  124. <greater-than>
  125. <property>/engines/engine/oil-temperature-degc</property>
  126. <value>-10</value>
  127. </greater-than>
  128. <less-than>
  129. <property>/engines/engine/oil-temperature-degc</property>
  130. <value>0</value>
  131. </less-than>
  132. </and>
  133. </input>
  134. <output>/instrumentation/VEMD/warn/oiltemp-yellow</output>
  135. </logic>
  136. <logic>
  137. <input>
  138. <and>
  139. <greater-than>
  140. <property>instrumentation/VEMD/Phase/flight</property>
  141. <value>0</value>
  142. </greater-than>
  143. <greater-than>
  144. <property>/engines/engine/oil-temperature-degc-filter</property>
  145. <value>115</value>
  146. </greater-than>
  147. </and>
  148. </input>
  149. <output>/instrumentation/VEMD/warn/oiltemp-red-sw</output>
  150. </logic>
  151. <logic>
  152. <input>
  153. <and>
  154. <greater-than>
  155. <property>instrumentation/VEMD/Phase/flight</property>
  156. <value>0</value>
  157. </greater-than>
  158. <greater-than>
  159. <property>/engines/engine/oil-pressure-bar-filter</property>
  160. <value>1.1</value>
  161. </greater-than>
  162. <less-than>
  163. <property>/engines/engine/oil-pressure-bar-filter</property>
  164. <value>2</value>
  165. </less-than>
  166. <or>
  167. <greater-than>
  168. <property>/engines/engine/oil-pressure-bar-filter</property>
  169. <value>6</value>
  170. </greater-than>
  171. <less-than>
  172. <property>/engines/engine/oil-pressure-bar-filter</property>
  173. <value>9.8</value>
  174. </less-than>
  175. </or>
  176. </and>
  177. </input>
  178. <output>/instrumentation/VEMD/warn/oilpress-yellow</output>
  179. </logic>
  180. <logic>
  181. <input>
  182. <and>
  183. <greater-than>
  184. <property>instrumentation/VEMD/Phase/tested</property>
  185. <value>0</value>
  186. </greater-than>
  187. <less-than>
  188. <property>/engines/engine/oil-pressure-bar-filter</property>
  189. <value>1.1</value>
  190. </less-than>
  191. <greater-than>
  192. <property>/engines/engine/oil-pressure-bar-filter</property>
  193. <value>10</value>
  194. </greater-than>
  195. </and>
  196. </input>
  197. <output>/instrumentation/VEMD/warn/oilpress-red-sw</output>
  198. </logic>
  199. <filter>
  200. <type>gain</type>
  201. <gain>1.0</gain>
  202. <input>
  203. <expression>
  204. <table>
  205. <property>/engines/engine[0]/tot-degc</property>
  206. <entry><ind>0.0</ind><dep>0.0</dep></entry>
  207. <entry><ind>300</ind><dep>12.25</dep></entry>
  208. <entry><ind>1000</ind><dep>98</dep></entry>
  209. </table>
  210. </expression>
  211. </input>
  212. <output>/instrumentation/VEMD/t4-needle-deg</output>
  213. </filter>
  214. <filter>
  215. <type>gain</type>
  216. <gain>1.0</gain>
  217. <input>
  218. <expression>
  219. <table>
  220. <property>/sim/model/ec130/torque-pct</property>
  221. <entry><ind>0.0</ind><dep>0.0</dep></entry>
  222. <entry><ind>110</ind><dep>179</dep></entry>
  223. </table>
  224. </expression>
  225. </input>
  226. <output>/instrumentation/VEMD/tq-needle-deg</output>
  227. </filter>
  228. <filter>
  229. <type>gain</type>
  230. <gain>1.0</gain>
  231. <input>
  232. <expression>
  233. <table>
  234. <property>/engines/engine/n1-pct</property>
  235. <entry><ind>-10</ind><dep>0.0</dep></entry>
  236. <entry><ind>5</ind><dep>168</dep></entry>
  237. </table>
  238. </expression>
  239. </input>
  240. <output>/instrumentation/VEMD/ng-needle-deg</output>
  241. </filter>
  242. </PropertyList>