1
0
Fork 0

Improve crossbleed on ECAM even more; APU EGT now reflected in temeprature

This commit is contained in:
legoboyvdlp R 2020-05-10 16:35:20 +01:00
parent 7f5c407ce0
commit bd4e51d2bf
3 changed files with 121 additions and 68 deletions

View file

@ -739,13 +739,14 @@ var canvas_lowerECAM_bleed = {
return m;
},
getKeys: func() {
return ["TAT","SAT","GW","UTCh","UTCm","GW-weight-unit", "BLEED-XFEED", "BLEED-Ram-Air", "BLEED-APU", "BLEED-HP-Valve-1","BLEED-APU-LINES",
"BLEED-ENG-1", "BLEED-HP-Valve-2", "BLEED-ENG-2", "BLEED-Precooler-1-Inlet-Press", "BLEED-Precooler-1-Outlet-Temp","BLEED-XFEEDLines",
return ["TAT","SAT","GW","UTCh","UTCm","GW-weight-unit", "BLEED-XFEED", "BLEED-Ram-Air", "BLEED-APU", "BLEED-HP-Valve-1",
"BLEED-APU-LINES","BLEED-ENG-1", "BLEED-HP-Valve-2", "BLEED-ENG-2", "BLEED-Precooler-1-Inlet-Press", "BLEED-Precooler-1-Outlet-Temp",
"BLEED-Precooler-2-Inlet-Press", "BLEED-Precooler-2-Outlet-Temp", "BLEED-ENG-1-label", "BLEED-ENG-2-label",
"BLEED-GND", "BLEED-Pack-1-Flow-Valve", "BLEED-Pack-2-Flow-Valve", "BLEED-Pack-1-Out-Temp",
"BLEED-GND", "BLEED-Pack-1-Flow-Valve", "BLEED-Pack-2-Flow-Valve", "BLEED-Pack-1-Out-Temp","BLEED-APU-connectionTop",
"BLEED-Pack-1-Comp-Out-Temp", "BLEED-Pack-1-Packflow-needel", "BLEED-Pack-1-Bypass-needel", "BLEED-Pack-2-Out-Temp",
"BLEED-Pack-2-Bypass-needel", "BLEED-Pack-2-Comp-Out-Temp", "BLEED-Pack-2-Packflow-needel", "BLEED-Anti-Ice-Left",
"BLEED-Anti-Ice-Right", "BLEED-HP-2-connection", "BLEED-HP-1-connection", "BLEED-ANTI-ICE-ARROW-LEFT", "BLEED-ANTI-ICE-ARROW-RIGHT"];
"BLEED-Anti-Ice-Right", "BLEED-HP-2-connection", "BLEED-HP-1-connection", "BLEED-ANTI-ICE-ARROW-LEFT", "BLEED-ANTI-ICE-ARROW-RIGHT",
"BLEED-xbleedLeft","BLEED-xbleedCenter","BLEED-xbleedRight"];
},
update: func() {
# X BLEED
@ -766,10 +767,12 @@ var canvas_lowerECAM_bleed = {
me["BLEED-XFEED"].setRotation(45 * D2R);
}
if (xbleedstate != 0) {
me["BLEED-XFEEDLines"].show();
if (xbleedstate == 1) {
me["BLEED-xbleedCenter"].show();
me["BLEED-xbleedRight"].show();
} else {
me["BLEED-XFEEDLines"].hide();
me["BLEED-xbleedCenter"].hide();
me["BLEED-xbleedRight"].hide();
}
# HP valve 1
@ -824,8 +827,16 @@ var canvas_lowerECAM_bleed = {
me["BLEED-APU-LINES"].show();
if (apu_valve_state2 == 1) {
me["BLEED-APU"].setRotation(0);
me["BLEED-APU-connectionTop"].show();
me["BLEED-xbleedLeft"].show();
} else {
me["BLEED-APU"].setRotation(90 * D2R);
me["BLEED-APU-connectionTop"].hide();
if (xbleed.getValue() != 1) {
me["BLEED-xbleedLeft"].hide();
} else {
me["BLEED-xbleedLeft"].show();
}
}
if (apuBleedNotOn.getValue() != 1) {
me["BLEED-APU"].setColor(0.0509,0.7529,0.2941);
@ -833,7 +844,13 @@ var canvas_lowerECAM_bleed = {
me["BLEED-APU"].setColor(0.7333,0.3803,0);
}
} else {
if (xbleed.getValue() != 1) {
me["BLEED-xbleedLeft"].hide();
} else {
me["BLEED-xbleedLeft"].show();
}
me["BLEED-APU-LINES"].hide();
me["BLEED-APU-connectionTop"].hide();
}
# ENG BLEED valve 2

View file

@ -42,8 +42,8 @@
id="namedview371"
showgrid="false"
inkscape:zoom="0.73868665"
inkscape:cx="546.41121"
inkscape:cy="680.16775"
inkscape:cx="667.77011"
inkscape:cy="792.63918"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
@ -292,27 +292,28 @@
y="-817.5"
transform="rotate(90)"
inkscape:label="#rect5105-6-4-5-0" />
<g
id="BLEED-APU"
inkscape:label="#g3445"
transform="rotate(-90,880.67779,539.2177)" />
<g
id="BLEED-APU-LINES"
inkscape:label="#g4686">
<g
transform="rotate(-90,880.67779,539.2177)"
inkscape:label="#g3445"
id="BLEED-APU">
<path
style="fill:none;fill-opacity:1;stroke:#0dc04b;stroke-width:4.80000019;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 872.14551,172.28989 c 0,15.58192 -12.63164,28.21356 -28.21356,28.21356 -15.58192,0 -28.21356,-12.63164 -28.21356,-28.21356 0,-15.58192 12.63164,-28.21356 28.21356,-28.21356 15.58192,0 28.21356,12.63164 28.21356,28.21356 z"
id="path5107-1-44-0"
inkscape:connector-curvature="0"
sodipodi:nodetypes="zzzzz" />
<rect
style="fill:#0dc04b;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect5105-2-5-3-6"
width="53.195583"
height="5.1203089"
x="817.61298"
y="169.28328" />
</g>
inkscape:label="#g1035">
<path
style="fill:none;fill-opacity:1;stroke:#0dc04b;stroke-width:4.80000019;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 872.14551,172.28989 c 0,15.58192 -12.63164,28.21356 -28.21356,28.21356 -15.58192,0 -28.21356,-12.63164 -28.21356,-28.21356 0,-15.58192 12.63164,-28.21356 28.21356,-28.21356 15.58192,0 28.21356,12.63164 28.21356,28.21356 z"
id="path5107-1-44-0"
inkscape:connector-curvature="0"
sodipodi:nodetypes="zzzzz"
transform="rotate(-90,880.67777,539.21767)" />
<rect
style="fill:#0dc04b;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect5105-2-5-3-6"
width="53.195583"
height="5.1203089"
x="817.61298"
y="169.28328"
transform="rotate(-90,880.67777,539.21767)" />
<rect
y="602.28253"
x="510.74338"
@ -320,14 +321,6 @@
width="5.3955846"
id="rect5105-6-4-5-1"
style="fill:#0dc04b;fill-opacity:1;stroke:none;stroke-width:1.27201295;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
inkscape:label="#rect5105-6-4-5-3"
y="465.25"
x="510.46811"
height="83.83696"
width="5.3955846"
id="BLEED-APU-connection"
style="fill:#0dc04b;fill-opacity:1;stroke:none;stroke-width:1.95566499;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
id="BLEED-GND"
@ -351,26 +344,32 @@
d="m 394.46275,504.39542 h 29.17835 v 0 L 409.59225,480.539 v 0 z"
style="fill:none;stroke:#cecdce;stroke-width:2.87359571;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
id="BLEED-XFEEDLines"
inkscape:label="#g1014">
<rect
transform="rotate(90)"
y="-581.08691"
x="463.6044"
height="367.33694"
width="5.3955846"
id="rect5105-5"
style="fill:#0dc04b;fill-opacity:1;stroke:none;stroke-width:4.09363317;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
transform="rotate(90)"
y="-813.75"
x="464.18976"
height="175.90536"
width="4.7754087"
id="rect5105-5-7"
style="fill:#0dc04b;fill-opacity:1;stroke:none;stroke-width:2.66503072;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<rect
style="fill:#0dc04b;fill-opacity:1;stroke:none;stroke-width:1.91679168;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="BLEED-APU-connectionTop"
width="5.3955846"
height="80.537186"
x="510.46811"
y="465.25"
inkscape:label="#rect5105-6-4-5-3" />
<rect
style="fill:#0dc04b;fill-opacity:1;stroke:none;stroke-width:3.71239424;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="BLEED-xbleedLeft"
width="5.3955846"
height="302.10294"
x="463.6044"
y="-515.85291"
transform="rotate(90)"
inkscape:label="#rect5105-5" />
<rect
style="fill:#0dc04b;fill-opacity:1;stroke:none;stroke-width:2.64573288;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="BLEED-xbleedRight"
width="4.7754087"
height="173.36708"
x="464.18976"
y="-813.75"
transform="rotate(90)"
inkscape:label="#rect5105-5-7" />
<g
id="BLEED-Pack-1-Flow-Valve"
inkscape:label="#g3445"
@ -1350,4 +1349,13 @@
x="560.88452"
y="976.25214"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:36px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';text-align:center;text-anchor:middle;fill:#0dc04b">00</tspan></text>
<rect
transform="rotate(90)"
y="-580.51971"
x="463.6044"
height="64.666832"
width="5.3955846"
id="BLEED-xbleedCenter"
style="fill:#0dc04b;fill-opacity:1;stroke:none;stroke-width:1.71758175;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
inkscape:label="#rect1024" />
</svg>

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 73 KiB

View file

@ -648,12 +648,26 @@
<function>
<sum>
<property>/environment/temperature-degc</property>
<product>
<property>/systems/pneumatics/valves/engine-1-prv-valve</property>
<property>/systems/pneumatics/valves/engine-1-opv-valve</property>
<property>/engines/engine[0]/egt-actual</property>
<value>0.35</value>
</product>
<ifthen>
<nq>
<product>
<property>/systems/pneumatics/valves/engine-1-prv-valve</property>
<property>/systems/pneumatics/valves/engine-1-opv-valve</property>
</product>
<value>0</value>
</nq>
<product>
<property>/systems/pneumatics/valves/engine-1-prv-valve</property>
<property>/systems/pneumatics/valves/engine-1-opv-valve</property>
<property>/engines/engine[0]/egt-actual</property>
<value>0.35</value>
</product>
<product>
<property>/systems/pneumatics/valves/apu-bleed-valve</property>
<property>/systems/apu/egt-degC</property>
<value>0.40</value>
</product>
</ifthen>
</sum>
</function>
</fcs_function>
@ -714,12 +728,26 @@
<function>
<sum>
<property>/environment/temperature-degc</property>
<product>
<property>/systems/pneumatics/valves/engine-2-prv-valve</property>
<property>/systems/pneumatics/valves/engine-2-opv-valve</property>
<property>/engines/engine[1]/egt-actual</property>
<value>0.35</value>
</product>
<ifthen>
<nq>
<product>
<property>/systems/pneumatics/valves/engine-2-prv-valve</property>
<property>/systems/pneumatics/valves/engine-2-opv-valve</property>
</product>
<value>0</value>
</nq>
<product>
<property>/systems/pneumatics/valves/engine-2-prv-valve</property>
<property>/systems/pneumatics/valves/engine-2-opv-valve</property>
<property>/engines/engine[1]/egt-actual</property>
<value>0.35</value>
</product>
<product>
<property>/systems/pneumatics/valves/apu-bleed-valve</property>
<property>/systems/apu/egt-degC</property>
<value>0.40</value>
</product>
</ifthen>
</sum>
</function>
</fcs_function>