This are the (new) Support Forums for FSUIPC and related products.

These forums replace the old support forums which have been running for 20+ years. The old forums contain a wealth of information on all FSUIPC products, and are still available (until the end of the year) for read-only here.

At the moment these new forums are quite empty – I will be updating the FAQ section and copying across the User Contributions from the old forums in the next few months.

Please note that you will need to Register and Login to post for support, and also to download attachments. You can view these forums without registering.

Support is also available via Discord. Please use the following invite link to join the FSUIPC Discord server:
                           https://discord.gg/zjwUTrxmmE

Notifications
Clear all

Simple PID AutoThrottle Scripts

(@fsuipc-support)
Posts: 86
Moderator
Topic starter
 

AutoThrottle_TJ.lua,  AutoThrottle_TP.lua  and AutoThrottle_CRJ.lua are simple PID (Proportional, Integral, Derivative) implementations of an Autothrottle for TurboJet, TurboProp, and the AeroSoft CRJ aircraft, respectively (the Aerosoft CRJ is somewhat of a special case because of unique throttle coding). These scripts work reasonably well on the Flysimware Learjet35A, Falcon50, MU-2, and on the Aerosoft CRJ aircraft.  I have been told the Autothrottle.TJ script works with the Aerosoft DC-8. I'd be interested in hearing how these scripts work on other aircraft. There are parameters at the top of the scripts that you can experiment with if necessary for a particular aircraft. The TurboJet and TurboProp scripts assume standard FSX or P3D throttle coding and should work for aircraft with up to four engines.

To try out an autothrottle put the script in your modules folder and use FSUIPC in the usual way to assign a key or button to the appropriate script to activate it. When activated a window will open asking for a target IAS between 50 and 500 Kts. Of course you need to use a target IAS that is reasonable for the a/c. If the A/T is running you will need to call the script again to change the target IAS, or to turn the A/T off by entering a * instead of an airspeed value. You could also use the FSUIPC LuaKill option to quickly exit a script. It is best that the AP is on and the a/c is stable and reasonably close to your target IAS when the A/T is activated. If you ask for large IAS changes it can take a while for the IAS to finally settle down.

When the A/T is running you will see a green bar across the top of your screen with the target A/T IAS.  Note that you can grab the right side of the green bar with your mouse and resize the bar down to a small display. You can also drag and reposition the green bar to where you want it.

I have updated the autothrottle lua scripts to work with Mach# as well as IAS in knots.

Each autothrottle script defaults to airspeed values in Knots below its crossover altitude, and in Mach# above its crossover altitude. The crossover altitude for the TurboJet and CRJ scripts is currently set at about 29000ft. For the TurboProp and C441 scripts it is set at about 24000, and at about 22000 for the MU2 script (crossover altitudes can be changed with a text editor). When a script is activated you will see: <image not available>

 

When climbing or descending through the crossover altitude the autothrottle automatically switches to Mach# or Knots, respectively. In addition, a key or button can be setup through FSUIPC to manually switch the autothrottle back and forth between knots and Mach# at any time.The corresponding A/T target speed displays when the script is running looks like this: <image not available>

[Originally contributed in old SimMarket Support forums by Al / ark1320]


 
Posted : November 12, 2025 12:56 pm