Jump to content

Looking for the source (dataref?) of the TRQ% indication


12RomeoCharlie
 Share

Recommended Posts

I am building a Fly With Lua HUD and have everything working as desired, but struggling to find the source (or means to calculate) the TRQ% indication in the MFD. I've tried all sorts of calculations (e.g. engine torque divided by  max torque, etc being careful to normalize metrics) but failing.  Any thoughts?  (TBM900 1.1.13)  Thanks.

Link to comment
Share on other sites

I built something with

DataRef("Torquenm", "sim/cockpit2/engine/indicators/torque_n_mtr","readonly",0)

and

imgui.TextUnformatted("Torque : " .. math.floor(Torquenm/30) .. "%")

I just did some checks:

The dataref-formula and the MFD match at values > 35%
Lower than that, the dataref shows a lower value
10/16
20/25
30/32

Edited by Ch.Cole
Checked it...
Link to comment
Share on other sites

Thank you.  I am currently using a poorer surrogate, "sim/flightmodel2/engines/throttle_used_ratio" and seeing similar behavior.  The "torque" dataref is a better starting place, so I will play with that.  Perhaps with some math or table lookups to calibrate the reported TRQ% indication at the lower power levels.  Not sure where the fancy math is being performed by the aircraft to provide the reported torque.  Appreciate the response.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...