Stormworks: Build and Rescue

Stormworks: Build and Rescue

No hay suficientes valoraciones
Fuel Economy/Range Calculator
   
Premio
Favoritos
Favorito
Quitar
Vehicles: Air, Sea, Creative, Land
Etiquetas: v0.10.33
Tamaño
Publicado el
Actualizado el
13.927 KB
27 JUL 2020 a las 10:49 a. m.
1 AGO 2020 a las 7:18 a. m.
4 notas sobre cambios ( ver )

Suscríbete para descargar
Fuel Economy/Range Calculator

Descripción
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 comentarios
Lena_the_Dreadful 5 JUN 2023 a las 1:49 p. m. 
does this still work?
rogervanbommel 1 FEB 2021 a las 7:15 a. m. 
thanks
suntan 6 NOV 2020 a las 7:10 a. m. 
Working great as designed thanks for making this.