Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Km Range And Fuel Burn Calculator
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Air, Sea, Land
Tags: v0.6.5
File Size
Posted
Updated
28.849 KB
7 Mar, 2019 @ 10:52pm
8 Mar, 2019 @ 8:16pm
2 Change Notes ( view )

Subscribe to download
Km Range And Fuel Burn Calculator

Description
NEW From Stuka Engineering! The Range Calculator! Tired of running out of fuel in the middle of the ocean? Wish you could always know how far your beloved ship, plane, car or Train can drive? WELL Wish no more! This little puppy will solve your woes!

This Microcontroller will calculate your fuel consumption and cross that with your speed to tell you how far your vehicle may travel at it's current speed. The Number will fluctuate depending on your speed but is more accurate with the help of speed hold from an autopilot.

NOW with added Fuel burn calculator in Seconds or Minutes! This optional feature will tell you how much fuel you are burning per second or minute, great for fine tunning those overly thirsty engines. Or seeing how much fuel you're wasting while idle.


Instructions

What you'll need! Linear Speed Sensor, Fluid Meter/Fluid Tank and Dial/Display

Step 1: Place the microprocesser into a desired location

Step 2: *Directly* hook up the Linear Speed Module and the Fluid Level.

Step 3: Place down a display or dial (Display is preferred) and hook it up to the "Range Output KM"

Step 4: Spawn your vehicle and drive off! The display will now show you ever 1 second you current estimated range.


(Optional Steps for "True Range", "Max Vehicle Range" And "Fuel Burn Per Second/Minute" Features)

Fuel Burn Rate Steps

Step 5a: Do Steps 1-4 if not done first.

Step 6a: Add a display and connect it to the Fuel Burn Per. Use the Select option to set Minute or Seconds.

True Range

This feature takes the full estimation and divides it by 2, then removes 15% for safety to calculate a safe number your ship may go before needing to turn around to it's original point. Good for knowing if you can make it to a location and back.

Step 5b: Do Steps 1-4 if not done first.

Step 6a: Add a display and connect it to True Range, then add a PUSH button and connect it as well. When the button is pressed the display will give you an updated Calculation.

Max Range
Max Range will estimate every 5 seconds how far your total range is. This number is good for comparing with the Range Output to see if you are efficiently travel to your ships farthest potential and is good for Testing craft with.

Step 5c: Do Steps 1-4 if not done first.

Step 6c: IF a *single custom* tank, connect the Full Capacity from the Fluid Meter directly into this and then connect a display to the Max Range output and you're done!

Step 7: IF *Multiple tanks* of stock tanks, then calculate your MAX Fuel Capacity manually, then with the Select option switch the Microprosses to manual and enter in the your MAX Fuel Capacity. Finally connect a display to the Max Range output and you're done!


How does this work?

Well simple terms, it takes your ▲(Delta - aka Change) fuel and calculates the Litres Per Second (LPS) you burn and divides that by the m/s Speed from the linear speed module to determine the Litres Per Meter, then converts that to Kilometers and then uses a counter to only output that number ever second for an easier read out for your comfort!

Theoretically this should also work for pure battery powered vehicles, just replace the fluid connections with the corresponding battery outputs (Add up all batteries together). I have yet to test this so if you do, please give me feed back!

You don't have to link this if you put it in a creation, but it would always be nice. But please do NOT reupload.
8 Comments
gerf 24 Sep, 2024 @ 10:48am 
hey does this still work?
papugaw 11 Jun, 2022 @ 11:13am 
can i use it in electric vehicles?:melon:
Ralphexists 7 Nov, 2021 @ 4:32am 
poggers
TheMatts07 9 Apr, 2020 @ 10:24am 
@Shuuuuuushh same
piece control kyle 7 Aug, 2019 @ 3:44am 
I really needed to know how many ticks in a second because I've heard all kinds of numbers. Im sure it's because different games have different values in a tick for example I found out that Minecraft has 8 ticks in one second, while C# is 1 tick = 100 nano seconds.
Stuka  [author] 21 Jul, 2019 @ 1:52pm 
@A.P.E sorry for the late reply, been busy. But I asked the same questions on Reddit a while back when making this and was told it's 60ticks per second so multiply the delta number by 60. If it's wrong than everything is off, but from my play testing when I first made this it seemed to be accurate as I was using the way-point markers to see where the ship ran out of fuel in a straight line and if that matched up with the display and it was accurate to a 100meters or so. Hope that help!
A-TRAIN 18 Jul, 2019 @ 12:55pm 
how you calculate the delta output (per tick) to (per second)