• 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 Soloy project - Engine displays

Messages
160
Country
germany
The sdk is driving me crazy with turboprop engines displays.

I want to cover RR/Allison 250-C20S Turboshaft engine parameters to my current Soloy Cessna 206 project. See showroom http://www.fsdeveloper.com/forum/threads/cessna-u206g-soloy-turbine-pac-mark-i-ii.431628/

I have only 5 gauges to display. They are Torque, ToT, Eng Oil °C/PSI, N1 and NP. Airfile is 80 percent finished.

22732569yl.jpg


First I did a research on SDK. I found:

Torque: (A:ENG TORQUE:index) Torque Foot -> pounds
TOT Turbine Outlet Temperature: (A:ENG EXHAUST GAS TEMPERATURE:index) Exhaust gas temperature -> Rankine
Engine Oil Temp: (A:ENG OIL TEMPERATURE:index) Engine oil temperature -> Rankine
Engine Oil Pressure: (A:ENG OIL PRESSURE:index) Engine oil pressure -> Pounds per square foot
N1 Gas Generator: (Nh,Ng) (A:ENG N1,percent)
NP Propeller RPM: (A : PROP RPM,unit) Propeller rpm Rpm

Questions: Are these working for turboprob engines? If not which are better ones?

I am a beginner with turboprob engines and it is my first FSX/P3D plane. So any help is more than welcome.

Thomas
 
Last edited:

Heretic

Resource contributor
Messages
6,830
Country
germany
You can change units for the SimVars at will as long as they make sense for the given parameter.

Try:
Code:
(A:ENG TORQUE:1, psi) (as used on the instrument)
(A:ENG EXHAUST GAS TEMPERATURE:1, celsius)
(A:ENG OIL TEMPERATURE:1, celsius)
(A:ENG OIL PRESSURE:1, psi)
(A:TURB ENG N1:1,percent)
(A:PROP RPM:1, rpm)
 
Messages
160
Country
germany
You can change units for the SimVars at will as long as they make sense for the given parameter.

Try:
Code:
(A:ENG TORQUE:1, psi) (as used on the instrument)
(A:ENG EXHAUST GAS TEMPERATURE:1, celsius)
(A:ENG OIL TEMPERATURE:1, celsius)
(A:ENG OIL PRESSURE:1, psi)
(A:TURB ENG N1:1,percent)
(A:PROP RPM:1, rpm)

Thank you for the quick anwer. This gives me the green sign.
 

Heretic

Resource contributor
Messages
6,830
Country
germany
It would be nice if you reported back with which of these variables worked or which ones you've used in the end.
 
Messages
160
Country
germany
It would be nice if you reported back with which of these variables worked or which ones you've used in the end.

Okay, here is my first try. Only Turb Eng N1 is working fine. Keyframe animation of each are 0,25,50,75,100

Torque:

Code:
<Animation name="needle_torque" guid="8cced466-fc68-47ce-8087-a9246c87b192" type="Sim" typeParam2="needle_torque" length="100" typeParam="AutoPlay" />
  <PartInfo>
    <Name>needle_torque</Name>
       <AnimLength>100</AnimLength>
         <Animation>
            <Parameter>
              <Sim>
                <Variable>ENG TORQUE:1</Variable>
                <Units>psi</Units>
                <Scale>100</Scale>
              </Sim>
           </Parameter>
    </Animation>
  </PartInfo>

It is not running - needle stays at 0.


TOT:

Code:
<Animation name="needle_tot" guid="72fadeee-ba7e-41be-95f7-0ccbf9431e23" type="Sim" typeParam2="needle_tot" length="100" typeParam="AutoPlay" />
  <PartInfo>
    <Name>needle_tot</Name>
      <AnimLength>100</AnimLength>
        <Animation>
          <Parameter>
            <Sim>
               <Variable>ENG EXHAUST GAS TEMPERATURE:1</Variable>
               <Units>celsius</Units>
               <Scale>100</Scale>
             </Sim>
          </Parameter>
        </Animation>
  </PartInfo>

TOT starts at KF 0 is rising immedately to kf100


Eng Oil Celsius:

Code:
<Animation name="needle_eng_oil_c" guid="8dbc3b1f-8ab0-4f60-aa42-a6c94d6103ae" type="Sim" typeParam2="needle_eng_oil_c" length="100" typeParam="AutoPlay" />
  <PartInfo>
    <Name>needle_eng_oil_c</Name>
       <AnimLength>100</AnimLength>
         <Animation>
           <Parameter>
             <Sim>
               <Variable>ENG OIL TEMPERATURE:1</Variable>
               <Units>celsius</Units>
               <Scale>100</Scale>
             </Sim>
          </Parameter>
      </Animation>
  </PartInfo>

Needle Celsius stays at KF100


Eng Oil PSI:

Code:
<Animation name="needle_eng_oil_psi" guid="71bf8869-2c85-407f-afed-8e0d6969766e" type="Sim" typeParam2="needle_eng_oil_psi" length="100" typeParam="AutoPlay" />
  <PartInfo>
    <Name>needle_eng_oil_psi</Name>
      <AnimLength>100</AnimLength>
        <Animation>
          <Parameter>
            <Sim>
               <Variable>ENG OIL PRESSURE:1</Variable>
               <Units>psi</Units>
               <Scale>100</Scale>
            </Sim>
       </Parameter>
    </Animation>
  </PartInfo>

Needle starts at KF 0, than rising immedately to kf100


Turb Eng N1:

Code:
<Animation name="needle_n1" guid="9de7915e-9b47-4ec0-a9d5-38d63ac5ecba" type="Sim" typeParam2="needle_n1" length="100" typeParam="AutoPlay" />
  <PartInfo>
    <Name>needle_n1</Name>
      <AnimLength>100</AnimLength>
        <Animation>
           <Parameter>
             <Sim>
               <Variable>TURB ENG N1:1</Variable>
               <Units>position</Units>
               <Scale>100</Scale>
             </Sim>
         </Parameter>
  </Animation>
  </PartInfo>

This is the only one, that works fine!!!


NP - Prop RPM:

Code:
<Animation name="needle_np" guid="2107f7c1-9b6d-492f-800b-abd7cc223d7d" type="Sim" typeParam2="needle_np" length="100" typeParam="AutoPlay" />
  <PartInfo>
    <Name>needle_np</Name>
       <AnimLength>100</AnimLength>
         <Animation>
           <Parameter>
             <Sim>
               <Variable>PROP RPM:1</Variable>
                <Units>rpm</Units>
                <Scale>100</Scale>
             </Sim>
          </Parameter>
     </Animation>
  </PartInfo>

Prop RPM stay at KF100...
 

n4gix

Resource contributor
Messages
11,674
Country
unitedstates
You are totally misunderstanding the purpose of the <Scale>100</Scale> entry!

Here is a template formula that illustrates how it is to be used:
Code:
SIM: Converts simvar to keyframes: simvar * scale + bias = keyframes
Let's take a look at your script for the EGT. The range on the gauge face goes from 0ºC to 1,000ºC and the number of keyframes is 100. Since we don't need a <Bias> for this gauge, we can simplify the formula to find out what the <Scale> should be:
Code:
keyframes / max simvar = scale

Take the number of keyframes and divide by the highest possible sim value.

100/1000 = 0.1

Try using this instead of what you have now:
Code:
  <PartInfo>
    <Name>needle_tot</Name>
      <AnimLength>100</AnimLength>
        <Animation>
          <Parameter>
            <Sim>
               <Variable>ENG EXHAUST GAS TEMPERATURE:1</Variable>
               <Units>celsius</Units>
               <Scale>0.1</Scale>
             </Sim>
          </Parameter>
        </Animation>
  </PartInfo>
 
Last edited:
Messages
160
Country
germany
Bill, thank you very much for opening my eyes. Yes the scale...

All gauges except Torque are working now. ENG TORQUE:1 stays on 0. I redo animation with no success, key Frame settings are correct. Part Name is also correct. New guid. Perhaps missing tab in airfile?

Thomas
 

Heretic

Resource contributor
Messages
6,830
Country
germany
Tried "foot pounds" as a unit?

The N1-torque relation is defined in Table 1508, according to Yves Guillaume's doc on FSX' flight dynamics.
 
Messages
160
Country
germany
Tried "foot pounds" as a unit?

The N1-torque relation is defined in Table 1508, according to Yves Guillaume's doc on FSX' flight dynamics.



"Foot Pounds" as unit is working now - great. Really helpful. And yes, tab 1508 was on board. After some try and error with the scales - all engine displays are running now. Perfect for fine tuning gauges display and airfiles...
 
Top