Scripted Engine Dyno

If you liked this item, please rate it up on Steam Workshop page.

Authors: Ben Bingo, Kein Anderer

Last revision: 10 May, 2023 at 18:21 UTC

File size: 34.82 KB

On Steam Workshop

Description:

An engine dyno which is utilizing scriptable computers with PID to find torque.

You still need the modpack for the smart engine and the meter, as the scriptable computers mod lacks good alternatives unfortunately.

Lower Lag Option:

If you need a dyno that only needs the modpack or you just want a lower lag version that trades less lag for a more compromised UI, you can check this one out right here:
https://steamcommunity.com/sharedfiles/filedetails/?id=2788870097

How It Works:

For those who dont know how a dyno works or who havent seen this ever being made in sm, this device is made to measure the 3 values of your engine/motor. It does so by connecting the output of your engine to the input of the dyno and by it applying resistance until it hits 0 rpm (or the set target RPM) at which point it must have hit peak torque. The torque of the resistance can then be directly outputted as engine torque and together with engine speed the power can be outputted aswell. As its applying torque and measuring speed, a dyno graph can be drawn, representing the torque and power curve of your engine. To display all values and the graphs, it is using the large screens from the scriptable computers mod, aswell as the scriptable computers itself. This simplifies logic a lot compared to more traditional modpack dynos, while also allowing for a much better and more descriptive UI with the screens and more accurate values.

All credit for its functionality goes to Ben Bingo for writing the scripts, as he did all the work on it. I (Kein Anderer) mainly helped with testing, development and setting up the functions and only made the dynos design.

Important To Note:

Make sure to not dyno your engine below advanced physics. The smart engine bearing is not gonna be able to tranfer torque properly, which will give you incorrect values.

Left Display:

Average speed: Displays average speed, coming out of an averaging table
Speed @ PK PWR: Displays the speed detected when it made peak power
Current speed: Displays raw speed directly read from the meter
Average torque: Displays average torque, coming out of an averaging table
Max torque: Displays the highest absolute torque detected
Torque @ PK PWR: Displays the torque detected when it made peak power
Current torque: Displays raw torque directly out of the scripted computer
Average power: Displays average power, coming out of an averaging table
Max power: Displays the highest absolute power detected
Current power: Displays raw power, which takes raw speed and raw torque into account

To change the displayed units for torque & power, press on the units itself. You can cycle through metric or imperial torque and power.

RPM – Engine speed in revolutions per minute
DPS – Engine speed in degrees per second
NM – Torque in newton-meters
LBFFT – Torque in foot-pounds
HP – Power in horsepower
KW – Power in kilowatts

Right Display:

Blue curve: Torque curve, corresponding unit on the left display
Red curve: Power curve, corresponding unit on the left display

Both curves have their range between top engine speed on the left and the target speed on the right.

Controls:

START/STOP (green): Starts or stops the dyno run.
RESET (green): Quickly restarts the dyno.
TGT speed (+/- adjuster): This controls the engine speed, at which you want to find torque and can be important to define a bottom end limiter for your dyno run (and the graphs), which is very important on engines that stall/reverse at lower speeds.
Count speed (+/- adjuster): This adjusts how quickly the dyno counts up torque and can be lowered for more sensitive engine or increased for higher torque engines to save time. It should normally not be necessary to adjust this value, as the default tune should cover pretty much everything.
Value averaging (+/- adjuster): This is the main modifier for all the averaging values on the dyno, which adjusts the table size. It can help to increase accuracy for specific engines, where a smaller table size reduces value inerta for more accurate numbers and a bigger table size will make them more of a constant to increase number consistancy.
Torque scale (+/- adjuster): This adjusts the graphs height in the y-axis, specifically for torque. It can be useful to see more of the graph if needed.
Power scale (+/- adjuster): This adjusts the graphs height in the y-axis, specifically for power. It can be useful to see more of the graph if needed.
SCRN refresh (+/- adjuster): This adjusts the speed at which the screens refresh themselves, which can be very important for those that want to reduce lag or increase accuracy.
White physical button: This works as a hard reset for the computer and is only really necessary if you modify its script yourself (accessed in the green gate through the window). Make sure to hold it for a bit aswell.

I should point out that circling over the +/- adjusters increases the speed at which they increase/decrease. This makes inputting bigger values a lot faster.

If you are interested in a mechanical sm community, you can check out this discord server:

https://discord.gg/6r46PkYr9s

Tags:

Engine, Rpm, Torque, Horsepower, Engine Dynamometer, Tool

Download
Required items:

Click the title to search on this site.


ScriptableComputerSteam Workshop
The Modpack ContinuationSteam Workshop