• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSXA [Solved] Engine starter cutout weirdness

Heretic

Resource contributor
Messages
6,830
Country
germany
The starters for an aircraft are supposed to automatically cut out within a certain N2 range. The choice of a range is for code robustness reasons to ensure a correct switch cutout.

While the code for engine 1 works fine and dandy, the code for engines 2 and 3 does not trigger correctly. I know this because I've assigned a "click" sound to the starter eventID. Starter 1 cuts out normally while starters 2 and 3 are constantly toggled within the "cutout" RPM range.
This also happens when I define the range as "N2 > 40% N2 < 41% and". Defining only a lower treshhold above which the starter cuts out works as advertised.

This is the code:
Code:
(A:GENERAL ENG STARTER:1, bool)
40 41 (A:TURB ENG N2:1, percent) rng and
if{ (>K:TOGGLE_STARTER1) }

(A:GENERAL ENG STARTER:2, bool)
40 41 (A:TURB ENG N2:2, percent) rng and
if{ (>K:TOGGLE_STARTER2) }

(A:GENERAL ENG STARTER:3, bool)
40 41 (A:TURB ENG N2:3, percent) rng and
if{ (>K:TOGGLE_STARTER3) }

Any ideas?


I've already skimmed the entire gauge collection for potentially interfering code, but to no avail.

Restarted FSX - nothing.

Moved the code to another gauge - nada.

Not good. :confused:






- Edit:

Well guess what I found in the farthest reaches of the gauge folder? Update sections with other cutout code for starters 2 and 3. :banghead:


Screw this, I'm going home to bed.
 
Last edited:
If this is any help? My starter switches are independent and stay on until either 22% or 24% n2 then cut out.
Code:
<!-- Cold Start Compensation -->

  <Element>
      <Select>
         <Value>(A:Ambient Temperature, celsius) 0 &lt; if{ 22 (>L:ign,number) } els{ 24.2 (>L:ign,number) }</Value>
      </Select>
   </Element>
<Gauge Name="Starter 1" Version="1.0">

   <Element>
      <Select>
         <Value>(G:Var1) if{ (A:Circuit general panel on, bool) (A:Eng1 N2 RPM, percent) (L:ign,number) &lt; &amp;&amp;
if{ 0 (&gt;K:TOGGLE_STARTER1) 0 (&gt;K:THROTTLE1_CUT) }
els{ (G:Var1) -- (&gt;G:Var1) 0 (&gt;K:MIXTURE1_INCR) } } (G:Var1) 0 != (A:General eng1 starter, bool) ||</Value>
         <Case Value="0">
            <Image Name="FUEL_SWITCH_2_OFF.bmp" ImageSizes="24,36"/>
         </Case>
         <Case Value="1">
            <Image Name="FUEL_SWITCH_2_ON.bmp" ImageSizes="24,36"/>
         </Case>
      </Select>
   </Element>
   <Mouse>
      <Help ID="HELPID_GAUGE_STARTER_SWITCH"/>
      <Tooltip ID="TOOLTIPTEXT_LIGHT_STARTER_ON"/>
      <Cursor Type="Hand"/>
      <Click>5 (&gt;G:Var1) 0 (&gt;K:MIXTURE1_LEAN) </Click>
   </Mouse>
</Gauge>
 
As I've said in the edited part of my original post, all is well.

I've also added a condition to detect engine acceleration or deceleration so that the starters won't cut out during an unplanned spooldown in "continuous ignition mode".
 
Back
Top