Stormworks: Build and Rescue

Stormworks: Build and Rescue

Evaluări insuficiente
Fuel Economy/Range Calculator
   
Premiază
Adaugă la preferate
Preferat
Elimină din preferate
Vehicles: Air, Sea, Creative, Land
Etichete: v0.10.33
Dimensiunea fișierului
Postat
Actualizat
13.927 KB
27 iul. 2020 la 10:49
1 aug. 2020 la 7:18
4 jurnale de actualizare ( vizionare )

Abonează-te pentru a descărca
Fuel Economy/Range Calculator

Descriere
This small microcontroller can be used to get fairly accurate realtime estimates of vehicle range based off of speed and fuel use.

It does this by storing data (fuel use per second) for a set length of time, and averaging all the data points to generate an accurate estimate of fuel consumption per second. It then uses this value along with the current speed of the vessel and the remaining amount of fuel to give range (in kilometers).

This solves an issue seen in other fuel economy/range calculators where the fuel level change fluctuates rapidly because of the vessels movement, resulting in rapidly changing ranges. Because it is constantly gathering data, as the fuel use changes it will slowly adjust the calculated range.

To use in your creation, simply drop it in and connect a speed sensor (ideally set to horizontal mode), and fuel tank levels (has 2 inputs to support two separate tanks, but more tanks can be added easily) to the microcontroller, and connect the range output to whatever display suits you.

After placing it in your creation, select the length of time that data will be stored for use in the range calculation. Shorter time periods will cause the output to respond faster to changes in fuel economy, but be slightly less accurate in the long run, and fluctuate more rapidly. I recommend setting it for at least 10 seconds of data. Longer lengths of time will be more accurate but change more slowly. Use the largest setting if you don't plan on changing throttle very often (ideal for larger ships doing long trips).

Comment below with any questions!

Feel free to use in your creations, but if you put it on the workshop please give credit!

Thanks and enjoy!
Kelpbot
3 comentarii
Lena_the_Dreadful 5 iun. 2023 la 13:49 
does this still work?
rogervanbommel 1 febr. 2021 la 7:15 
thanks
suntan 6 nov. 2020 la 7:10 
Working great as designed thanks for making this.