• 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.

Limited Engine Power gauge?

Messages
10,163
Country
us-arizona
Hey all,

I was wondering what some of you all might use for a engine low-power scenario such as overheating or low fuel, etc? My thoughts were messing with fuel mixture, but was wondering if there was something ingenious that one could use instead?

I am making an electric plane and wish to replicate lowered, stepped down HP available as it transitions through 25% to 0%. My airplane template is a single engine combustion, (Cessna 172).

Many thanks for any input.

Bill
 
Tough question. Hopefully, Paul MacCready is a regular visitor to this forum :)

I guess you could play around with the piston engine A Vars in BlackBox to see which ones you like, but how would you know the right answer if you were looking at it?

There must be a lot of that Arizona sunshine for you to be thinking about this project. Bob
 
Hey Bob,

Yes.. We have tons of Solar bombardment on a min to min basis... Sort of like the planet Creamatoria on that movie with Riddick.
 
Hi Bill
Quick and dirty is to use the spoilers (if your not already using them)
an example I suppose :)
Code:
<Gauge Name="engine heat controller" Version="1.0">
<Update Frequency="6"/>


<comment> =================  start =============== </comment>
  <Element>
    <Select>
      <Value>(A:GENERAL ENG1 THROTTLE LEVER POSITION,percent) 95 &gt; (A:ENG1 COMBUSTION,number) 0 &gt; &amp;&amp;
              if{ (G:Var1) 0 == (L:heat,bool) 0 == &amp;&amp; if{ 1 (&gt;G:Var1) (P:Local Time, minute) 5 + (&gt;G:Var2) } }
             els{ (G:Var1) 0 &gt; (L:heat,bool) 0 == &amp;&amp; if{ 0 (&gt;G:Var1) } }
      </Value>
    </Select>
 </Element>
<comment> ======   Check  ==== </comment>
  <Element>
    <Select>
      <Value>(G:Var1) 1 == (L:heat,bool) 0 == &amp;&amp;
              if{ (P:Local Time, minute) (G:Var2) &gt; if{ 1 (&gt;G:Var3) } }
      </Value>
    </Select>
 </Element>
<comment> ==================================  engine slow temp Rise==================================== </comment>

  <Element>
    <Select>
      <Value>(G:Var3) 1 == (A:GENERAL ENG1 THROTTLE LEVER POSITION,percent) 80 &gt; &amp;&amp;
              (L:heat,bool) 0 == &amp;&amp;
                   if{ (A:SPOILERS LEFT POSITION, percent) 1 &lt; if{ (&gt;K:SPOILERS_ON) } }
		  els{ (A:SPOILERS LEFT POSITION, percent) 0 &gt; if{ (&gt;K:SPOILERS_OFF) } }
                       </Value>
    </Select>
 </Element>
<comment> ==================================  No action Kill motor ==================================== </comment>
  <Element>
    <Select>
      <Value>(G:Var3) 1 == (A:GENERAL ENG1 THROTTLE LEVER POSITION,percent) 80 &gt; &amp;&amp;
(A:SPOILERS LEFT POSITION, percent) 85 &gt; &amp;&amp;
              if{ (G:Var6) 0 == if{ 1 (&gt;G:Var6) (P:Local Time, seconds) 10 + (&gt;G:Var7) } }
             els{ (G:Var6) 0 &gt; if{ 0 (&gt;G:Var6) } }
      </Value>
    </Select>
 </Element>
  <Element>
    <Select>
      <Value>(G:Var6) 1 == 
              if{ (P:Local Time, seconds) (G:Var7) &gt; if{ (&gt;K:TOGGLE_ENGINE1_FAILURE) (&gt;K:FUEL_SELECTOR_OFF)  } }
      </Value>
    </Select>
 </Element>

</Gauge>
set the speed the spoiler open to real real slow then adapt gauges to add or minus spoiler animation oil temp for example
Code:
<Gauge Name="oil_temp" Version="1.0">
  <Image Name="oil_temp_background.bmp"/>
  
  <Element>
    <Position X="40.75" Y="40.125"/>
    <Image Name="oil_temp_needle.bmp" PointsTo="North">
      <Axis X="3.75" Y="28.125"/>
    </Image>
    <Rotate>
      <Value Minimum="0" Maximum="100">[COLOR="Red"](A:SPOILERS RIGHT POSITION,Percent)[/COLOR] (A:Eng1 oil temperature,celsius) + </Value>

      <Failures>
<SYSTEM_ELECTRICAL_PANELS Action="0"/>
        <SYSTEM_ENGINE Action="0"/>
         </Failures>
      <Nonlinearity>
        <Item Value="0" X="16" Y="64"/>
        <Item Value="50" X="39" Y="6"/>
        <Item Value="100" X="65" Y="63"/>
      </Nonlinearity>
    </Rotate>
  </Element>

  <Mouse>
    <Tooltip ID="TOOLTIPTEXT_OIL_TEMPERATURE_CELSIUS"/>
  </Mouse>
</Gauge>
by adjusting the amount of drag and deployment time you can slow the aircraft down to a point it wont fly any more or just make it harder to maintain speed.Like I said simple and dirty ;)
Wozza
 
PS here is another one you might like ;)
Code:
<Gauge Name="engine stress controller" Version="1.0">
<Update Frequency="1"/>


<comment> =================  start =============== </comment>
  <Element>
    <Select>
      <Value>(A:GENERAL ENG1 RPM,rpm) 2590 &gt; 
              if{ (G:Var1) 0 == (L:paused,bool) 0 == &amp;&amp; if{ 1 (&gt;G:Var1) (P:Local Time, seconds) 20 + (&gt;G:Var2) } }
             els{ (G:Var1) 0 &gt; (L:paused,bool) 0 == &amp;&amp; if{ 0 (&gt;G:Var1) } }
      </Value>
    </Select>
 </Element>
<comment> ======   Check clock, start run-rough and enable/start nurse or die if nec ==== </comment>
  <Element>
    <Select>
      <Value>(G:Var1) 1 == (L:paused,bool) 0 == &amp;&amp;
              if{ (P:Local Time, seconds) (G:Var2) &gt; if{ 1 (&gt;G:Var3) } }
      </Value>
    </Select>
 </Element>
<comment> ==================================  Run Rough/broke a rod ========================== </comment>
  <Element>
    <Select>
      <Value>(G:Var4) ! (&gt;G:Var4)</Value>
    </Select>
 </Element>
  <Element>
    <Select>
      <Value>(G:Var3) 1 == 
              (L:paused,bool) 0 == &amp;&amp;
               if{ (G:Var4)
                    if{ (A:general eng1 fuel valve,bool) 1 == if{ (&gt;K:TOGGLE_FUEL_VALVE_ENG1) } }
                   els{ (A:general eng1 fuel valve,bool) 0 == if{ (&gt;K:TOGGLE_FUEL_VALVE_ENG1) } }
                 }
      </Value>
    </Select>
 </Element>
<comment> ==================================  Nurse or die ==================================== </comment>
  <Element>
    <Select>
      <Value>(G:Var3) 1 == (A:GENERAL ENG1 THROTTLE LEVER POSITION,percent) 80 &gt; &amp;&amp;
              if{ (G:Var6) 0 == if{ 1 (&gt;G:Var6) (P:Local Time, seconds) 15 + (&gt;G:Var7) } }
             els{ (G:Var6) 0 &gt; if{ 0 (&gt;G:Var6) } }
      </Value>
    </Select>
 </Element>
  <Element>
    <Select>
      <Value>(G:Var6) 1 == 
              if{ (P:Local Time, seconds) (G:Var7) &gt; if{ (&gt;K:TOGGLE_ENGINE1_FAILURE) (&gt;K:FUEL_SELECTOR_OFF)  } }
      </Value>
    </Select>
 </Element>

</Gauge>
The update of 1 is to get the fuel valve to switch off and on at a rate that sounds like a stuttering engine :)
Wozza
 
switch off and on at a rate that sounds like a stuttering engine

but he's trying to simulate a hypothetical electric plane (using the C172 model) - there wouldn't be stuttering engine sounds sounds. Right?
 
but he's trying to simulate a hypothetical electric plane (using the C172 model) - there wouldn't be stuttering engine sounds sounds. Right?

Correct. But, any idea's on how to handle the engine side of things will help. I hadnt thought of blipping the fuel flow. Excellent idea.

I'll find a way...
 
but he's trying to simulate a hypothetical electric plane (using the C172 model) - there wouldn't be stuttering engine sounds sounds. Right?
Yeah what Bill said was just another example of how to skin a cat :)

Also Bill if your aircraft is powered by Lithium-ion polymer batterys (really the only now alternative in an aircraft due to wight vers power output)
http://www.wired.com/autopia/2010/07/sikorsky-electric-helicopter/
they have a pretty solid power delivery with very little voltage drop of..... and are never allowed to go flat....any electronic speed controller will have a cut off at a certain voltage.....so basically the aircraft will respond pretty much the same as if powered by fuel.....
Wozza
 
Bill,
here's something I've been working on some time ago. Don't remember whether it worked fully or needed some further tweaking, but the general idea is to limit throttle position to simulate reduced power.
Gunter
 

Attachments

Hey Gunter,

Awesome work! I found your RealEngine package yesterday via Bjoern. I hadnt had a chance to go through it yet. It looks like this throttle limit is the exact thing I need. I would only need to change it to work from fuel level and it would be exactly what I need.

I need the motor to go weak just before total battery failure. I 'want' to have it occur in 2 stages, such as at .125 to .25 fuel capacity, 25% power cut, and then .01 to .124, have it reduced to 50% power cut, then done, power out.

Many thanks Sir.



Bill
 
Back
Top