Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Fuel Consumption
   
Award
Favorite
Favorited
Unfavorite
Microcontrollers: Fluid, Microcontroller
Tags: v0.9.25
File Size
Posted
Updated
36.377 KB
10 Jan, 2020 @ 1:59pm
10 Jan, 2020 @ 2:06pm
2 Change Notes ( view )

Subscribe to download
Fuel Consumption

Description
Calculates consumption by given fuel level and speed:

Consumption per time (minute/sec/hour)
Consumption per distance (km/mile/nautical mile/meter)
Remain distance (km)
Remain time (minute/sec/hour)

Inputs:

Fuel (L) -- Current total fuel level (in fuel litres or battery percents). Connect to you tanks, fuel meter or battery.
Speed -- Current vehicle speed (directional recommended); by default - in m/s. Connect to speed sensor.

Outputs:

Remain Distance -- Remain distance to run with current speed and fuel level (by default - in kilometers).
For example, if 10 then you can run only 10 kilometers with current speed and fuel level.

Remain Time -- Remain time to run with current speed and fuel level (by default - in minutes)
For example, if 10 then you can run only 10 minutes with current speed and fuel level.

Consumption (per distance) -- How many litres consumed in distance (by default - in one kilometer)
For example, if 10 then at current speed 10 litres will be burned in each kilometer.

Consumption (per time) -- How many litres consumed in time (by default - in one minute)
For example, if 10 then at current speed 10 litres will be burned in each minute.

Properties:

* You can use default properties as well

Given speed [m/s, km/h] - what metric you will input to `Speed`. default: m/s

Remain time [hours, minutes, sec] - what metric you will receive from `Remain Time` output. default: minutes

Consumption per distance [km, nautical mine, mile, meter] - what metric you will receive from `Remain Distance` output. default: km

Consumption per time [hour, minute, sec] - what metric you will receive from `Remain Time` output. default: minutes

Recalculate period [in seconds] - how often will consumption be recalculated. default: 5 sec
a high value (low recalculate rate) will make the readings stable, but rarely updated. A low value (high recalculate rate) will make the readings unstable and useless. It is recommended to use 5 seconds for normal purposes, and a maximum of 15 for an unstable environment.

Also you can use another version of this microcontrolle, that uses COMPOSITE output, has size 1x3, and highly usefull with "Instrument block".


9 Comments
Fortier90 25 Dec, 2022 @ 3:55pm 
Nice microcontroler I love it! keep up
kefept 25 Sep, 2022 @ 7:24am 
thanks
IamPhilipp  [author] 25 Sep, 2022 @ 5:25am 
@kefept Yes
kefept 24 Sep, 2022 @ 6:22am 
is it ok if i use this on my plane? my plane will be on the workshop i will credit you.
尤利 8 Aug, 2020 @ 4:27pm 
where is remain distance?
Captain Felix 29 Jun, 2020 @ 5:31am 
Довольно удивительный мужчина. Хорошая работа и много любви из Японии.
ChocolateBunny 1 May, 2020 @ 6:27am 
Спасибо чувак, наконец то адекватный расходомер в мастерской. Думал уже сам городить.
IamPhilipp  [author] 18 Mar, 2020 @ 7:32am 
Ok, just updated the description
Tom 16 Mar, 2020 @ 7:20am 
more details on how to install and where to connect microchip oplease