Engine: Fix the starting thing
This commit is contained in:
parent
7675a9f5f0
commit
d6634ad1b5
12 changed files with 24 additions and 39 deletions
|
@ -7,9 +7,9 @@
|
||||||
<milthrust>27000</milthrust>
|
<milthrust>27000</milthrust>
|
||||||
<tsfc>0.335</tsfc>
|
<tsfc>0.335</tsfc>
|
||||||
<bleed>0.03</bleed>
|
<bleed>0.03</bleed>
|
||||||
<ignitionn1>0.6</ignitionn1>
|
<ignitionn1>2.3</ignitionn1>
|
||||||
<ignitionn2>22.2</ignitionn2>
|
<ignitionn2>22.2</ignitionn2>
|
||||||
<n1spinup>0.05</n1spinup>
|
<n1spinup>0.19</n1spinup>
|
||||||
<n2spinup>1.85</n2spinup>
|
<n2spinup>1.85</n2spinup>
|
||||||
<n1startrate>0.573</n1startrate>
|
<n1startrate>0.573</n1startrate>
|
||||||
<n2startrate>1.127</n2startrate>
|
<n2startrate>1.127</n2startrate>
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
<milthrust>27000</milthrust>
|
<milthrust>27000</milthrust>
|
||||||
<tsfc>0.335</tsfc>
|
<tsfc>0.335</tsfc>
|
||||||
<bleed>0.03</bleed>
|
<bleed>0.03</bleed>
|
||||||
<ignitionn1>0.6</ignitionn1>
|
<ignitionn1>2.3</ignitionn1>
|
||||||
<ignitionn2>22.2</ignitionn2>
|
<ignitionn2>22.2</ignitionn2>
|
||||||
<n1spinup>0.05</n1spinup>
|
<n1spinup>0.19</n1spinup>
|
||||||
<n2spinup>1.85</n2spinup>
|
<n2spinup>1.85</n2spinup>
|
||||||
<n1startrate>0.573</n1startrate>
|
<n1startrate>0.573</n1startrate>
|
||||||
<n2startrate>1.127</n2startrate>
|
<n2startrate>1.127</n2startrate>
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
<milthrust>27000</milthrust>
|
<milthrust>27000</milthrust>
|
||||||
<tsfc>0.335</tsfc>
|
<tsfc>0.335</tsfc>
|
||||||
<bleed>0.03</bleed>
|
<bleed>0.03</bleed>
|
||||||
<ignitionn1>0.6</ignitionn1>
|
<ignitionn1>2.3</ignitionn1>
|
||||||
<ignitionn2>22.2</ignitionn2>
|
<ignitionn2>22.2</ignitionn2>
|
||||||
<n1spinup>0.05</n1spinup>
|
<n1spinup>0.19</n1spinup>
|
||||||
<n2spinup>1.85</n2spinup>
|
<n2spinup>1.85</n2spinup>
|
||||||
<n1startrate>0.573</n1startrate>
|
<n1startrate>0.573</n1startrate>
|
||||||
<n2startrate>1.127</n2startrate>
|
<n2startrate>1.127</n2startrate>
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
<milthrust>27000</milthrust>
|
<milthrust>27000</milthrust>
|
||||||
<tsfc>0.335</tsfc>
|
<tsfc>0.335</tsfc>
|
||||||
<bleed>0.03</bleed>
|
<bleed>0.03</bleed>
|
||||||
<ignitionn1>0.6</ignitionn1>
|
<ignitionn1>2.3</ignitionn1>
|
||||||
<ignitionn2>22.2</ignitionn2>
|
<ignitionn2>22.2</ignitionn2>
|
||||||
<n1spinup>0.05</n1spinup>
|
<n1spinup>0.19</n1spinup>
|
||||||
<n2spinup>1.85</n2spinup>
|
<n2spinup>1.85</n2spinup>
|
||||||
<n1startrate>0.573</n1startrate>
|
<n1startrate>0.573</n1startrate>
|
||||||
<n2startrate>1.127</n2startrate>
|
<n2startrate>1.127</n2startrate>
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
<milthrust>27000</milthrust>
|
<milthrust>27000</milthrust>
|
||||||
<tsfc>0.335</tsfc>
|
<tsfc>0.335</tsfc>
|
||||||
<bleed>0.03</bleed>
|
<bleed>0.03</bleed>
|
||||||
<ignitionn1>0.6</ignitionn1>
|
<ignitionn1>2.3</ignitionn1>
|
||||||
<ignitionn2>22.2</ignitionn2>
|
<ignitionn2>22.2</ignitionn2>
|
||||||
<n1spinup>0.05</n1spinup>
|
<n1spinup>0.19</n1spinup>
|
||||||
<n2spinup>1.85</n2spinup>
|
<n2spinup>1.85</n2spinup>
|
||||||
<n1startrate>0.573</n1startrate>
|
<n1startrate>0.573</n1startrate>
|
||||||
<n2startrate>1.127</n2startrate>
|
<n2startrate>1.127</n2startrate>
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
<milthrust>27000</milthrust>
|
<milthrust>27000</milthrust>
|
||||||
<tsfc>0.335</tsfc>
|
<tsfc>0.335</tsfc>
|
||||||
<bleed>0.03</bleed>
|
<bleed>0.03</bleed>
|
||||||
<ignitionn1>0.6</ignitionn1>
|
<ignitionn1>2.3</ignitionn1>
|
||||||
<ignitionn2>22.2</ignitionn2>
|
<ignitionn2>22.2</ignitionn2>
|
||||||
<n1spinup>0.05</n1spinup>
|
<n1spinup>0.19</n1spinup>
|
||||||
<n2spinup>1.85</n2spinup>
|
<n2spinup>1.85</n2spinup>
|
||||||
<n1startrate>0.573</n1startrate>
|
<n1startrate>0.573</n1startrate>
|
||||||
<n2startrate>1.127</n2startrate>
|
<n2startrate>1.127</n2startrate>
|
||||||
|
|
|
@ -9,10 +9,10 @@
|
||||||
<bleed>0.03</bleed>
|
<bleed>0.03</bleed>
|
||||||
<ignitionn1>4.8</ignitionn1>
|
<ignitionn1>4.8</ignitionn1>
|
||||||
<ignitionn2>23.9</ignitionn2>
|
<ignitionn2>23.9</ignitionn2>
|
||||||
<n1spinup>0.2</n1spinup>
|
<n1spinup>0.37</n1spinup>
|
||||||
<n2spinup>1.0</n2spinup>
|
<n2spinup>1.85</n2spinup>
|
||||||
<n1startrate>0.365</n1startrate>
|
<n1startrate>0.365</n1startrate>
|
||||||
<n2startrate>1.724</n2startrate>
|
<n2startrate>0.767</n2startrate>
|
||||||
<idlen1>22.4</idlen1>
|
<idlen1>22.4</idlen1>
|
||||||
<idlen2>60.9</idlen2>
|
<idlen2>60.9</idlen2>
|
||||||
<maxn1>100.0</maxn1>
|
<maxn1>100.0</maxn1>
|
||||||
|
|
|
@ -9,10 +9,10 @@
|
||||||
<bleed>0.03</bleed>
|
<bleed>0.03</bleed>
|
||||||
<ignitionn1>4.8</ignitionn1>
|
<ignitionn1>4.8</ignitionn1>
|
||||||
<ignitionn2>23.9</ignitionn2>
|
<ignitionn2>23.9</ignitionn2>
|
||||||
<n1spinup>0.2</n1spinup>
|
<n1spinup>0.37</n1spinup>
|
||||||
<n2spinup>1.0</n2spinup>
|
<n2spinup>1.85</n2spinup>
|
||||||
<n1startrate>0.365</n1startrate>
|
<n1startrate>0.365</n1startrate>
|
||||||
<n2startrate>1.724</n2startrate>
|
<n2startrate>0.767</n2startrate>
|
||||||
<idlen1>22.4</idlen1>
|
<idlen1>22.4</idlen1>
|
||||||
<idlen2>60.9</idlen2>
|
<idlen2>60.9</idlen2>
|
||||||
<maxn1>100.0</maxn1>
|
<maxn1>100.0</maxn1>
|
||||||
|
|
|
@ -197,7 +197,7 @@ var auto_start_one = func {
|
||||||
}
|
}
|
||||||
|
|
||||||
var eng_one_auto_start = maketimer(0.5, func {
|
var eng_one_auto_start = maketimer(0.5, func {
|
||||||
if (pts.Engines.Engine.n2Actual[0].getValue() >= 22) {
|
if (pts.Engines.Engine.n2Actual[0].getValue() >= 21) {
|
||||||
eng_one_auto_start.stop();
|
eng_one_auto_start.stop();
|
||||||
pts.Engines.Engine.state[0].setValue(2);
|
pts.Engines.Engine.state[0].setValue(2);
|
||||||
pts.Controls.Engines.Engine.cutoff[0].setValue(0);
|
pts.Controls.Engines.Engine.cutoff[0].setValue(0);
|
||||||
|
@ -260,7 +260,7 @@ var auto_start_two = func {
|
||||||
}
|
}
|
||||||
|
|
||||||
var eng_two_auto_start = maketimer(0.5, func {
|
var eng_two_auto_start = maketimer(0.5, func {
|
||||||
if (pts.Engines.Engine.n2Actual[1].getValue() >= 22) {
|
if (pts.Engines.Engine.n2Actual[1].getValue() >= 21) {
|
||||||
eng_two_auto_start.stop();
|
eng_two_auto_start.stop();
|
||||||
pts.Engines.Engine.state[1].setValue(2);
|
pts.Engines.Engine.state[1].setValue(2);
|
||||||
pts.Controls.Engines.Engine.cutoff[1].setValue(0);
|
pts.Controls.Engines.Engine.cutoff[1].setValue(0);
|
||||||
|
|
|
@ -1350,13 +1350,13 @@
|
||||||
|
|
||||||
<lag_filter name="fadec/ff-actual-1">
|
<lag_filter name="fadec/ff-actual-1">
|
||||||
<input>/engines/engine[0]/fuel-flow_pph</input>
|
<input>/engines/engine[0]/fuel-flow_pph</input>
|
||||||
<c1>3</c1>
|
<c1>3.0</c1>
|
||||||
<output>/engines/engine[0]/ff-actual</output>
|
<output>/engines/engine[0]/ff-actual</output>
|
||||||
</lag_filter>
|
</lag_filter>
|
||||||
|
|
||||||
<lag_filter name="fadec/ff-actual-2">
|
<lag_filter name="fadec/ff-actual-2">
|
||||||
<input>/engines/engine[1]/fuel-flow_pph</input>
|
<input>/engines/engine[1]/fuel-flow_pph</input>
|
||||||
<c1>3</c1>
|
<c1>3.0</c1>
|
||||||
<output>/engines/engine[1]/ff-actual</output>
|
<output>/engines/engine[1]/ff-actual</output>
|
||||||
</lag_filter>
|
</lag_filter>
|
||||||
|
|
||||||
|
|
|
@ -213,21 +213,6 @@
|
||||||
<gain>1.0</gain>
|
<gain>1.0</gain>
|
||||||
</pure_gain>
|
</pure_gain>
|
||||||
|
|
||||||
<fcs_function name="fbw/pitch/g-computed">
|
|
||||||
<function>
|
|
||||||
<sum>
|
|
||||||
<property>fbw/pitch/g-instrumented</property>
|
|
||||||
<quotient>
|
|
||||||
<value>-1</value>
|
|
||||||
<cos>
|
|
||||||
<property>attitude/roll-rad</property>
|
|
||||||
</cos>
|
|
||||||
</quotient>
|
|
||||||
<value>1</value>
|
|
||||||
</sum>
|
|
||||||
</function>
|
|
||||||
</fcs_function>
|
|
||||||
|
|
||||||
<switch name="fbw/mixer/rate-limit">
|
<switch name="fbw/mixer/rate-limit">
|
||||||
<default value="fbw/mixer/rate-limit"/>
|
<default value="fbw/mixer/rate-limit"/>
|
||||||
<test logic="AND" value="0.5"> <!-- 2 seconds -->
|
<test logic="AND" value="0.5"> <!-- 2 seconds -->
|
||||||
|
|
|
@ -1963,13 +1963,13 @@
|
||||||
|
|
||||||
<lag_filter name="fadec/ff-actual-1">
|
<lag_filter name="fadec/ff-actual-1">
|
||||||
<input>/engines/engine[0]/fuel-flow_pph</input>
|
<input>/engines/engine[0]/fuel-flow_pph</input>
|
||||||
<c1>3</c1>
|
<c1>3.0</c1>
|
||||||
<output>/engines/engine[0]/ff-actual</output>
|
<output>/engines/engine[0]/ff-actual</output>
|
||||||
</lag_filter>
|
</lag_filter>
|
||||||
|
|
||||||
<lag_filter name="fadec/ff-actual-2">
|
<lag_filter name="fadec/ff-actual-2">
|
||||||
<input>/engines/engine[1]/fuel-flow_pph</input>
|
<input>/engines/engine[1]/fuel-flow_pph</input>
|
||||||
<c1>3</c1>
|
<c1>3.0</c1>
|
||||||
<output>/engines/engine[1]/ff-actual</output>
|
<output>/engines/engine[1]/ff-actual</output>
|
||||||
</lag_filter>
|
</lag_filter>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue