Debian Codegraph @

Aircraft/c172p/Systems/electrical-fg1000.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <PropertyList>
4
5 <filter>
6 <type>gain</type>
7 <gain>100.0</gain>
8 <input>
9 <property>/systems/electrical/battery-charge-percent/a</property> <!-- this property ranges from 0.0 to 1.0 despite its name -->
10 </input>
11 <output>
12 <property>/systems/electrical/battery-charge-percent-100</property>
13 </output>
14 </filter>
15
16 <logic>
17 <name>Low Voltage LED</name>
18 <input>
19 <and>
20 <greater-than>
21 <property>systems/electrical/volts</property>
22 <value>31.5</value>
23 </greater-than>
24 <less-than>
25 <property>systems/electrical/amps</property>
26 <value>20.0</value>
27 </less-than>
28
29 </and>
30 </input>
31 <output>
32 <property>/instrumentation/low-voltage-led</property>
33 </output>
34 </logic>
35
36 <filter>
37 <name>Light Map Dome White Left</name>
38 <type>gain</type>
39 <input>
40 <condition>
41 <and>
42 <less-than>
43 <property>/systems/electrical/outputs/cabin-lights</property>
44 <value>31.5</value>
45 </less-than>
46 <greater-than>
47 <property>/systems/electrical/outputs/cabin-lights</property>
48 <value>20.0</value>
49 </greater-than>
50 <greater-than>
51 <property>/controls/lighting/domeL-norm</property>
52 <value>0.0</value>
53 </greater-than>
54 </and>
55 </condition>
56 <property>/controls/lighting/domeL-norm</property>
57 </input>
58 <output>
59 <property>/controls/lighting/domeL</property>
60 </output>
61 </filter>
62
63 <filter>
64 <name>Light Map Dome White Right</name>
65 <type>gain</type>
66 <input>
67 <condition>
68 <and>
69 <less-than>
70 <property>/systems/electrical/outputs/cabin-lights</property>
71 <value>31.5</value>
72 </less-than>
73 <greater-than>
74 <property>/systems/electrical/outputs/cabin-lights</property>
75 <value>20.0</value>
76 </greater-than>
77 <greater-than>
78 <property>/controls/lighting/domeR-norm</property>
79 <value>0.0</value>
80 </greater-than>
81 </and>
82 </condition>
83 <property>controls/lighting/domeR-norm</property>
84 </input>
85 <output>
86 <property>/controls/lighting/domeR</property>
87 </output>
88 </filter>
89
90 <filter>
91 <name>SW/CB Lighting</name>
92 <type>gain</type>
93 <input>
94 <condition>
95 <and>
96 <greater-than>
97 <property>/systems/electrical/outputs/instrument-lights</property>
98 <value>20.0</value>
99 </greater-than>
100 <less-than>
101 <property>/systems/electrical/outputs/instrument-lights</property>
102 <value>31.5</value>
103 </less-than>
104 </and>
105 </condition>
106 <property>/controls/lighting/swcb-norm</property>
107 </input>
108 <input>
109 <value>0.0</value>
110 </input>
111 <output>
112 <property>/controls/lighting/swcb</property>
113 </output>
114 </filter>
115
116 <filter>
117 <name>SW/CB Lighting</name>
118 <type>gain</type>
119 <input>
120 <condition>
121 <and>
122 <greater-than>
123 <property>/systems/electrical/outputs/instrument-lights</property>
124 <value>20.0</value>
125 </greater-than>
126 <less-than>
127 <property>/systems/electrical/outputs/instrument-lights</property>
128 <value>31.5</value>
129 </less-than>
130 </and>
131 </condition>
132 <property>/controls/lighting/swcb-norm</property>
133 </input>
134 <input>
135 <value>0.0</value>
136 </input>
137 <output>
138 <property>/controls/lighting/swcb</property>
139 </output>
140 </filter>
141
142 <filter>
143 <name>Avionics 1 Lighting</name>
144 <type>gain</type>
145 <input>
146 <condition>
147 <and>
148 <greater-than>
149 <property>/systems/electrical/outputs/pfd-avn</property>
150 <value>20.0</value>
151 </greater-than>
152 <less-than>
153 <property>/systems/electrical/outputs/pfd-avn</property>
154 <value>31.5</value>
155 </less-than>
156 </and>
157 </condition>
158 <value>1.0</value>
159 </input>
160 <input>
161 <value>0.0</value>
162 </input>
163 <output>
164 <property>/controls/lighting/pfd-avn</property>
165 </output>
166 </filter>
167
168 <filter>
169 <name>Avionics 2 Lighting</name>
170 <type>gain</type>
171 <input>
172 <condition>
173 <and>
174 <greater-than>
175 <property>/systems/electrical/outputs/mfd</property>
176 <value>20.0</value>
177 </greater-than>
178 <less-than>
179 <property>/systems/electrical/outputs/mfd</property>
180 <value>31.5</value>
181 </less-than>
182 </and>
183 </condition>
184 <value>1.0</value>
185 </input>
186 <input>
187 <value>0.0</value>
188 </input>
189 <output>
190 <property>/controls/lighting/mfd</property>
191 </output>
192 </filter>
193
194 <filter>
195 <name>Avionics Essential Lighting</name>
196 <type>gain</type>
197 <input>
198 <condition>
199 <and>
200 <greater-than>
201 <property>/systems/electrical/outputs/pfd-ess</property>
202 <value>20.0</value>
203 </greater-than>
204 <less-than>
205 <property>/systems/electrical/outputs/pfd-ess</property>
206 <value>31.5</value>
207 </less-than>
208 </and>
209 </condition>
210 <value>1.0</value>
211 </input>
212 <input>
213 <value>0.0</value>
214 </input>
215 <output>
216 <property>/controls/lighting/pfd-ess</property>
217 </output>
218 </filter>
219
220 <filter>
221 <name>Stby Lighting</name>
222 <type>gain</type>
223 <input>
224 <condition>
225 <and>
226 <greater-than>
227 <property>/systems/electrical/outputs/instrument-lights</property>
228 <value>20.0</value>
229 </greater-than>
230 <less-than>
231 <property>/systems/electrical/outputs/instrument-lights</property>
232 <value>31.5</value>
233 </less-than>
234 <property>controls/panel/glass</property>
235 </and>
236 </condition>
237 <property>/controls/lighting/stby-norm</property>
238 </input>
239 <input>
240 <value>0.0</value>
241 </input>
242 <output>
243 <property>/controls/lighting/stby</property>
244 </output>
245 </filter>
246
247 <filter>
248 <name>Pedestal Lighting</name>
249 <type>gain</type>
250 <input>
251 <condition>
252 <and>
253 <greater-than>
254 <property>/systems/electrical/outputs/cabin-lights</property>
255 <value>20.0</value>
256 </greater-than>
257 <less-than>
258 <property>/systems/electrical/outputs/cabin-lights</property>
259 <value>31.5</value>
260 </less-than>
261 </and>
262 </condition>
263 <property>/controls/lighting/pedestal-norm</property>
264 </input>
265 <input>
266 <value>0.0</value>
267 </input>
268 <output>
269 <property>/controls/lighting/pedestal</property>
270 </output>
271 </filter>
272
273 <logic>
274 <name>Hydraulic On/Off</name>
275 <input>
276 <and>
277 <less-than>
278 <property>systems/electrical/outputs/hydraulic-pump</property>
279 <value>31.5</value>
280 </less-than>
281 <greater-than>
282 <property>systems/electrical/outputs/hydraulic-pump</property>
283 <value>20.0</value>
284 </greater-than>
285 <property>/controls/switches/master-bat</property>
286 </and>
287 </input>
288 <output>
289 <property>/sim/model/c172p/hydraulics/hydraulic-pump</property>
290 </output>
291 </logic>
292
293 <logic>
294 <name>Amphibious Gear Hydraulic Damage</name>
295 <input>
296 <and>
297 <equals>
298 <property>fdm/jsbsim/pontoon-damage/left-pontoon</property>
299 <value>0</value>
300 </equals>
301 <equals>
302 <property>fdm/jsbsim/pontoon-damage/right-pontoon</property>
303 <value>0</value>
304 </equals>
305 <property>controls/gear/gear-down-command</property>
306 </and>
307 </input>
308 <output>
309 <property>controls/gear/gear-down</property>
310 </output>
311 </logic>
312
313 <!-- Avionics fan 1 -->
314 <logic>
315 <name>avionics_fan_operating</name>
316 <input>
317 <and>
318 <property>systems/electrical/avionics-fan[0]/serviceable</property>
319 <greater-than>
320 <property>systems/electrical/outputs/avionics-fan[0]</property>
321 <value>12.0</value>
322 </greater-than>
323 </and>
324 </input>
325 <output>
326 <property>systems/electrical/avionics-fan[0]/operating</property>
327 </output>
328 </logic>
329 <filter>
330 <name>avionics_fan_spin</name>
331 <debug>false</debug>
332 <type>exponential</type>
333 <filter-time>3.0</filter-time>
334 <input>systems/electrical/avionics-fan[0]/operating</input>
335 <output>systems/electrical/avionics-fan[0]/spin</output>
336 </filter>
337
338 <!-- Avionics fan 2 -->
339 <logic>
340 <name>avionics_fan_operating</name>
341 <input>
342 <and>
343 <property>systems/electrical/avionics-fan[1]/serviceable</property>
344 <greater-than>
345 <property>systems/electrical/outputs/avionics-fan[1]</property>
346 <value>12.0</value>
347 </greater-than>
348 </and>
349 </input>
350 <output>
351 <property>systems/electrical/avionics-fan[1]/operating</property>
352 </output>
353 </logic>
354 <filter>
355 <name>avionics_fan_spin</name>
356 <debug>false</debug>
357 <type>exponential</type>
358 <filter-time>3.0</filter-time>
359 <input>systems/electrical/avionics-fan[1]/operating</input>
360 <output>systems/electrical/avionics-fan[1]/spin</output>
361 </filter>
362
363 </PropertyList>