FSXA Soloy project - Engine displays

#1
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.



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
#2
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)
 
#3
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
#4
It would be nice if you reported back with which of these variables worked or which ones you've used in the end.
 
#5
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
#6
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:
#7
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
#8
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.
 
#9
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