File size: 3,637 Bytes
f7125d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?xml version="1.0" encoding="UTF-8"?>
<!--
  a320neo_protocol.xml
  FlightGear Generic Output Protocol β€” Airbus A320neo (CFM LEAP-1A)
  
  Place this file in:
    <fg-root>/Protocol/a320neo_protocol.xml
  
  Launch FlightGear with:
    --generic=socket,out,10,127.0.0.1,5500,udp,a320neo_protocol
  
  15 comma-separated fields per packet, ASCII, newline-terminated.
  
  JSBSim engine property paths are identical across aircraft models β€”
  only the physical operating ranges differ between B787 and A320neo.
  
  Author: Mohammed Bello Sani
-->
<PropertyList>
  <generic>
    <output>
      <binary_mode>false</binary_mode>
      <line_separator>\n</line_separator>
      <var_separator>,</var_separator>

      <!-- [00] EGT proxy for T45 / T25 / T3 β€” engine exhaust gas temp degF -->
      <chunk>
        <node>/engines/engine[0]/egt-degf</node>
        <type>double</type>
        <format>%.3f</format>
      </chunk>

      <!-- [01] N2 core shaft speed percent (HPT proxy) -->
      <chunk>
        <node>/engines/engine[0]/n2</node>
        <type>double</type>
        <format>%.6f</format>
      </chunk>

      <!-- [02] EGT again β€” inter-turbine temperature proxy T25 -->
      <chunk>
        <node>/engines/engine[0]/egt-degf</node>
        <type>double</type>
        <format>%.3f</format>
      </chunk>

      <!-- [03] N1 fan shaft speed percent (LPT proxy) -->
      <chunk>
        <node>/engines/engine[0]/n1</node>
        <type>double</type>
        <format>%.6f</format>
      </chunk>

      <!-- [04] EGT again β€” compressor exit temperature proxy T3 -->
      <chunk>
        <node>/engines/engine[0]/egt-degf</node>
        <type>double</type>
        <format>%.3f</format>
      </chunk>

      <!-- [05] Thrust lbf β€” combustor inlet pressure proxy Pt3 -->
      <chunk>
        <node>/engines/engine[0]/thrust-lbs</node>
        <type>double</type>
        <format>%.3f</format>
      </chunk>

      <!-- [06] Thrust lbf β€” static pressure proxy Ps3 -->
      <chunk>
        <node>/engines/engine[0]/thrust-lbs</node>
        <type>double</type>
        <format>%.3f</format>
      </chunk>

      <!-- [07] N2 repeated for sensor slot N2 -->
      <chunk>
        <node>/engines/engine[0]/n2</node>
        <type>double</type>
        <format>%.4f</format>
      </chunk>

      <!-- [08] N1 repeated for sensor slot N1 -->
      <chunk>
        <node>/engines/engine[0]/n1</node>
        <type>double</type>
        <format>%.4f</format>
      </chunk>

      <!-- [09] N1 again as N3 proxy (2-spool: no N3 in JSBSim) -->
      <chunk>
        <node>/engines/engine[0]/n1</node>
        <type>double</type>
        <format>%.4f</format>
      </chunk>

      <!-- [10] Net thrust lbf β€” Fnet -->
      <chunk>
        <node>/engines/engine[0]/thrust-lbs</node>
        <type>double</type>
        <format>%.2f</format>
      </chunk>

      <!-- [11] Altitude ft β€” context -->
      <chunk>
        <node>/position/altitude-ft</node>
        <type>double</type>
        <format>%.1f</format>
      </chunk>

      <!-- [12] Airspeed kt β€” context -->
      <chunk>
        <node>/velocities/airspeed-kt</node>
        <type>double</type>
        <format>%.2f</format>
      </chunk>

      <!-- [13] Heading deg β€” context -->
      <chunk>
        <node>/orientation/heading-deg</node>
        <type>double</type>
        <format>%.2f</format>
      </chunk>

      <!-- [14] Sim elapsed seconds β€” context -->
      <chunk>
        <node>/sim/time/elapsed-sec</node>
        <type>double</type>
        <format>%.2f</format>
      </chunk>

    </output>
  </generic>
</PropertyList>