The fuel level sensor has additional settings which are shown when the Calculate data in reports by the sensor option is activated. These settings are divided into basic and advanced ones.
Calculate data in reports by the sensor
This option allows detecting drains, fillings, and determining the amount of consumed fuel. If it is enabled, the data calculated by fuel level sensors is taken into account in the Consumed row in statistics, as well as in reports in the Consumed by FLS, Consumed in motion, Consumed without motion, Avg consumption, etc. columns. In Wialon for Android/iOS the enabled option allows to see fuel level data in the unit section.
The option doesn't influence notifications about fuel fillings and fuel drains, that is, if the option is disabled, these notifications can be triggered.
When using this sensor, the fuel consumption is calculated on the basis of the fuel level in the tank according to the following formula: [fuel level value at the beginning of the interval] − [value at the end of the interval] + [fillings] − [drains] (drains are subtracted if the Exclude drains from fuel consumption option is activated in the report settings).
Different report tables have different intervals. For more information about the intervals, see the description of the tables.
Basic settings
The basic settings of the fuel level sensor include three options.
Filtration type
This option allows filtering the sensor values to avoid data outliers (sudden changes in the fuel level: rises or falls). Filtration is taken into account in reports (in tables and charts when displaying smoothed lines), in jobs for sending fuel level information, and in notifications about fuel fillings and drains.
The drop-down list contains three items:
Item | Description |
---|---|
None | Select this item if the data doesn't require filtering. |
Median filtration | If you select median filtration, you should specify its level, that is, how much the data should be smoothed. Typically, values from 0 to 5 are used. If the filtration level is equal to 0, smoothing is carried out on the basis of three messages. In other cases, the number of messages on the basis of which smoothing should be carried out is calculated as follows:
If the filtration level is too high, the data may be distorted. Therefore, we don’t recommend specifying a value higher than 8. |
Adaptive median filtration | If you select adaptive median filtration, no additional settings are required. The algorithm automatically selects a suitable value based on the unit data. The algorithm smoothes small random fluctuations in fuel level without affecting significant variations. This allows detecting fuel fillings and potential drains more efficiently and determining their volume more accurately. |
The unit tooltip and the extended unit information show raw FLS values, that is, the values which haven't been filtered yet.
Minimum fuel drain volume
The minimum decrease in the fuel level which should be considered a drain. The value of this field should be greater than 0 and can be fractional.
Minimum fuel filling volume
The minimum increase in the fuel level which should be considered a filling. The value of this field should be greater than 0 and can be fractional.
Advanced settings
The system uses default values for the advanced settings, but you can change them if needed. To do this, activate the Advanced settings option and edit the values in the General settings, Filling detection settings, and Drain detection settings blocks. If the Advanced settings option is deactivated, the edited values are replaced by the default ones.
General settings
Calculate fuel consumption by time
If this option is enabled, all time intervals, regardless of whether the unit has been moving or not, are included in the calculation of fuel consumption. If this option is disabled, the fuel level on the intervals without movement is not included in the calculation.
For the time-based fuel calculation, you should activate the Calculate fillings by time, Calculate drains by time, and Calculate fuel consumption by time options at the same time.
Replace invalid values with those calculated mathematically
This option becomes available when the previous one is activated. If this option is enabled, the erroneous values detected in the interval are replaced with the ones calculated mathematically. The data indicated in the properties of the ignition sensors, relative and absolute engine hours (the Consumption, l/h option), and the value of the engine efficiency sensor are used during the mathematical calculation.
Ignore the messages after the start of motion
This option allows skipping messages during the indicated number of seconds at the beginning of movement when determining the fuel level. Otherwise, you can get inaccurate data due to various factors. The start of the movement is registered when the minimum speed indicated in the trip detector is reached.
Filling detection settings
Calculate fillings by time
This calculation method is recommended for units with high fuel consumption at idling (generator, tower crane, etc.). When this option is activated, all time intervals are included, regardless of trips/stops.
Detect fuel fillings only during stops
When this option is enabled, fillings are detected only at stops, that is, when the speed of the unit is lower than the minimum one indicated in the trip detection. This allows reducing the number of false fillings which are caused, for example, by fluctuations in the fuel level during movement.
The initial fuel level is taken from the first message without movement or from the last message with movement.
If any value is indicated in the Timeout to detect final filling volume field, the fillings are also detected during this time after the stop ends.
If a time period between stops is less than the one indicated in the Timeout to separate consecutive fillings field, such stops and the movement intervals between them are considered as one stop. The time when the first stop begins is considered to be the beginning of the filling, and the time after the last stop and the expiration of the timeout is considered to be the end of the filling.
Timeout to detect final filling volume
This field becomes available when the previous option is activated. Here you can indicate the duration of interruptions between fuel entries in the process of filling. To determine the fuel level after the filling, the message that follows the indicated timeout is used, but not the last one that corresponds to the filling. To determine the filling volume, the system calculates the difference between the fuel level from this message and the message that precedes the start of the filling.
Calculate filling volume by raw data
This option can be useful if you set a high level of median filtration for smoothing the outliers of FLS values. As a result of such filtration, the values of the initial and final fuel level and of the filling volume are distorted. Under certain conditions, the option allows replacing them with the values calculated on the basis of raw data, that is, the data before smoothing.
If this option is enabled, the system uses the following algorithm:
- The filling volume (Vfilled) is calculated according to the formula:
Vfilled = Vmax — Vmin,
where:
Vmax is the maximum fuel level within the filling interval according to the raw data;
Vmin is the minimum fuel level within the filling interval according to the raw data.
Vmin is also considered to be the initial fuel level within the filling interval. To calculate the final level within this interval, the filling volume (Vfilled) is added to the initial level. - If the resulting value of the filling volume exceeds the volume calculated on the basis of raw data, the values of the initial and final level and of the filling volume are replaced with the new ones. Otherwise, the values remain the same.
Timeout to separate consecutive fillings
If this option is enabled and more than one filling within a short time interval is detected, the fillings are combined into one, provided that the time between them (timeout) does not exceed the time indicated in this setting.
In the fields for indicating duration value, you can enter only 0 or an integer greater than 0.
You can get information on fillings by executing the Fuel fillings report, using the Send fuel information by email or SMS job or the notification about fuel fillings.
Drain detection settings
Calculate drains by time
It is similar to the Calculate fillings by time option (see above).
Detect fuel drains in motion
This setting becomes available only after activating the previous option. The setting allows detecting drains not only during stops, but also during movement, which can be useful, for example, for ships. However, in many cases, activating this option can result in the detection of false drains due to changes in fuel level, for example, while driving on rough terrain.
Minimum stop duration to detect a fuel drain
This setting is available only if the Detect fuel drains in motion option is disabled. Here you can specify the minimum duration of the interval without movement which is followed by a decrease in the fuel level by more than the minimum fuel drain volume indicated in the basic settings.
Calculate drain volume by raw data
It is similar to the Calculate filling volume by raw data option (see above).
Timeout to separate consecutive drains
If this option is enabled and more than one drain during a short time interval is detected, the drains are combined into one, provided that the time between them (timeout) does not exceed the time indicated in this setting and the fuel level has not increased.
In the fields for indicating duration value, you can enter only 0 or an integer greater than 0.
You can get information on drains by executing the Fuel drains report, using the Send fuel information by email or SMS job or the notification about drains.
Questions and answers