Jump to content
Sign in to follow this  
Guest Peyroteo

N1 control

Recommended Posts

Guest Peyroteo

Hi,I'm working in a xml gauge to simulate the flex values for n1 in a turbopropeller and I cann't uderstand why it do not work. (L:Flexauto,bool) if{ (L:N1value,enum) abs (A:TURB ENG CORRECTED N1,percent) < if{ (>K:THROTTLE_INCR_SMALL) } els{ (>K:THROTTLE_DECR_SMALL)}}It works but, whatever var

Share this post


Link to post
Share on other sites
Guest Karl R Pettersen

Be aware of the spaces used. Check, like, *very* close to the end value tag. FS is(/was?) *very* picky on correct spaces, especially on program flow control elements. Basically, probably just a typo.

Share this post


Link to post
Share on other sites
Guest Peyroteo

Thanks Karl, I checked all but it doesn

Share this post


Link to post
Share on other sites

Hi Peyroteo,Use another sytem which works ok, but it is for the turbo engine;I "calculate" N1 for weight, temp, altitude etc. which gives a certain number + a constant for TOGA, CL, CRZ etc. (N1 limiter).That number is set against actual CN1 as you do and then i use the code:N1 bigger than actual CN1: (n,number) + min 16384 (>n,number),N1 less: (n,number) - max 0 (>n,number),and finally (n,number) (>K:axis_throttle_set)(K:Throttle_set) could work to.Gives some swing in the throttle but finally it stabilizes.Hope it helps,Jan"Procul Negotiis"

Share this post


Link to post
Share on other sites
Guest Peyroteo

Hi Jan,It works fine.Thanks for the helpRegardsPeyroteo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...