1
0
Fork 0

No need to fast start all the time, now.

This commit is contained in:
legoboyvdlp R 2020-04-18 17:04:30 +01:00
parent a651bd1bfd
commit febdbf7a73
2 changed files with 50 additions and 22 deletions

View file

@ -121,7 +121,9 @@ var APU = {
waitStart: func() { waitStart: func() {
if (pts.APU.rpm.getValue() >= 4.9) { if (pts.APU.rpm.getValue() >= 4.9) {
me.GenericControls.cutoff.setValue(0); me.GenericControls.cutoff.setValue(0);
setprop("/fdm/jsbsim/propulsion/set-running", 2); if (me.fastStart) {
setprop("/fdm/jsbsim/propulsion/set-running", 2);
}
apuStartTimer.stop(); apuStartTimer.stop();
apuStartTimer2.start(); apuStartTimer2.start();
} }

View file

@ -23,29 +23,55 @@
<fcs_function name="/systems/apu/egt-degC"> <fcs_function name="/systems/apu/egt-degC">
<function> <function>
<table> <ifthen>
<independentVar lookup="row">/engines/engine[2]/n1</independentVar> <gt>
<tableData> <property>/systems/apu/dn-dt</property>
5.0 20.0 <value>0</value>
8.0 45.0 </gt>
10.0 120.0 <table>
12.0 225.0 <independentVar lookup="row">/engines/engine[2]/n1</independentVar>
18.0 430.0 <tableData>
25.0 500.0 5.0 20.0
27.0 560.0 8.0 45.0
30.0 720.0 10.0 120.0
35.0 785.0 12.0 225.0
40.0 800.0 18.0 430.0
45.0 795.0 25.0 500.0
50.0 785.0 27.0 560.0
60.0 755.0 30.0 720.0
75.0 645.0 35.0 785.0
90.0 520.0 40.0 800.0
100.0 415.0 45.0 795.0
</tableData> 50.0 785.0
</table> 60.0 755.0
75.0 645.0
90.0 520.0
100.0 415.0
</tableData>
</table>
<table>
<independentVar lookup="row">/engines/engine[2]/n1</independentVar>
<tableData>
2.0 200.0
8.0 220.0
12.0 225.0
18.0 240.0
30.0 250.0
50.0 265.0
60.0 295.0
75.0 380.0
90.0 410.0
100.0 415.0
</tableData>
</table>
</ifthen>
</function> </function>
</fcs_function> </fcs_function>
<washout_filter name="/systems/apu/dn-dt">
<input>/engines/engine[2]/n1</input>
<c1>1</c1>
</washout_filter>
</channel> </channel>
</system> </system>