top of page

How to Utilize Complex Formulas on Every Data Point in the Ellenex Platform.

Writer's picture: Amar MAmar M


 

Ellenex microservice platform designed for industrial LPWAN monitoring solutions at scale. One of the key features, implemented in the platform is the capability to apply complex formulas to any data from the device for analytics, accurate alarming, and visualisation of degree 2 or 3 parameters.

Device Parameter Fields on Ellenex Platform
Device Parameter Fields on the Ellenex Platform

The above image feels standard and intuitive to the untrained eye, but the amount of planning and development that has gone into building such a system cannot be explained in one blog post. I will explain the conceptual information about how we implemented complex formulas on Ellenex Platform without going too deep into the technical specifics.


When we started working on the data processing architecture, the primary requirement was not to hardcode things on the sensor. We wanted to get the raw readings accurately on the platform and then manipulate it for presenting data in a human-readable format. The system has to accommodate different types of sensors, and users must be able to manipulate the readings however they choose.


For example, PLS2-N / PLS2-L are our standard submersible level sensors for NB-IoT and LoRaWAN, respectively. While we have hundreds of variants in each depending upon their measurement range, enclosure type, and other physical differences, at the network on firmware level they behave identically and always return the level for a liquid density of 1. This will work exactly as intended for measuring water level but not all liquids are water and if a client wants to measure diesel they must divide the level with a different density value to get the diesel level. We cannot hardcode the density on the sensor as it goes against our primary requirement.


Other platforms in the market either let the user write their own code for calculations or worked for a limited set of calculations but do not account for different edge case scenarios like tank shapes, getting volume instead of level or using a completely different type of sensor that measures the distance from the top of the tank to liquid surface level with ultrasonic sensors like DUS2-N / DUS2-L and then converting it to the level of liquid using simple subtraction.


All our requirements could be addressed by letting the user write simple math equations and building the processing system to evaluate the received data and load it into a time series database that can easily be interpreted. So that's what we did.

one of the best use cases to explain the capability and difference of the implemented service, compare to other platforms, is the project with one of our partners in the land topography field. We simply implemented the complex degree 3 and 4 formulas from the land scan with laser scanners to specify the volume of the water stored in dams and water catchments.

It was just a matter of copy and paste for us, but huge benefit and saving in time for the partner and end users.


Our system has three major sections to handle a wide range of math scenarios.


1. Payload Parameters


A screenshot showing payload parameter configuration on Ellenex Platform

We store the data received from the device as different variables which the user can modify. We call these payload parameters.





2. Value Parameters

These are for storing constants like Liquid Density or Sensor Range

A screenshot showing value parameter configuration on Ellenex Platform

3. Calculated Parameters

Last and most importantly, these parameters have various math calculations to convert simple input values into different values that users need. These values are then loaded into the time series database for reporting, graphs and alerts.


A screenshot showing calculated parameter configuration on Ellenex Platform

All Ellenex devices are preconfigured with these sections based on our customer requirements.

We ensure operations like these are set to the optimal default values so the user doesn't have to understand everything. If you buy a level sensor to monitor a cylindrical diesel tank, you can let us know the dimensions, and we set everything up for you.


If you want to tinker with a formula or add something new completely, you have the power and access to these sections to modify the values.


Hopefully, this article has given you more information and clarity on how easily you can apply and modify math formulas to parameters received from an IoT device. In the next one, I will discuss more in-depth about device management and how you can create a formula for one device and apply it to multiple devices at once, and how easy it is to manage devices on the Ellenex Platform.


 

Products mentioned in this article


Ellenex PLS2 | Submersible Level Sensor
Submersible Level Sensor



 

Ultrasonic Level / Distance Sensor
Ultrasonic Level / Distance Sensor




21 views
ellenex logo - Industrial Iot Solution
order iot product
ellenex linkedin
ellenex x contact
ellenex youtube
ellenex contact
ellenex facebook
INSTAGRAM ELLENEX

© 2025 Ellenex Corporation 

Don't Settle for Less ...

Supported Networks:

 

Products:

Industries:

ellenex NB IoT
ellenex lorawan
ellenex satellite
ellenex LTE Cat M1
ellenex wirepas
hvac monitoring
water monitoring
diesel tank monitoring
differential pressure sensor
well monitoring
wireless sensor
ellenex-github
wireless pressure sensor
wireless level
wireless remperature
smart meter
ellenex water quality sensors ph conductivity turbidity dissolved oxygenedited
ellenex IoT moisture rain and humidity sensors
iot product
iot solution
ellenex%20other%20products_edited_edited
  • Air Compressor Operation Monitoring

  • Asset Cathodic Protection Monitoring

  • Asset Temperature Monitoring

  • Boilers Pressure and Temperature Monitoring

  • Building Structural Health Monitoring

  • Chemical Tanks Level Monitoring

  • Data Centre and Clean Room Pressure Monitoring

  • Diesel Delivery Management

  • Differential Pressure Monitoring

  • Dump Truck Overload and Operation Monitoring

  • Dust Collection System Monitoring

  • Farm Fish Operation Monitoring

  • Flood Monitoring

  • Frozen Food Delivery Management

  • Grain Silo Level Monitoring

  • HVAC Air Filter Performance Monitoring

  • HVAC Airflow Monitoring

  • Hydraulic Systems Overload Monitoring

  • Industrial Gas Cylinders Level Monitoring

  • Industrial Water Meters Digitalisation

  • Land Movement Monitoring

  • Liquid Storage Tank Level Monitoring

  • Manhole Blockage Monitoring

  • Milk Tank Level Monitoring

  • Negative Pressure Monitoring

  • Operational System Digitalisation

  • Pipe Temperature and Pressure Monitoring

  • Pump Pressure Monitoring

  • Rain Level Monitoring

  • Remote Diesel Tank Level Monitoring

  • Soil Moisture Monitoring

  • Trucks Overload Monitoring

  • Underground Water Pipeline Pressure Monitoring

  • Waste Liquid Delivery Management

  • Wastewater Pipe Pressure Monitoring

  • Water Filter Performance Monitoring

  • Water Quality Monitoring

  • Water Supply Monitoring

  • Water Tank Level Monitoring

  • Water Wells Level Monitoring

Key pre-configured Industrial IoT solutions

Main Industrial IoT Sensors: 

  • PTS2: Industrial Pressure (0.2bar to 1,000bar)

  • PTC2: Corrosive Resistant Pressure

  • PTD2: Pressure Sensor with Built-in Temperature Sensor

  • PTDH2: High Temperature Pressure and Temperature Sensor

  • PTG2: Pressure with Built-in GPS

  • PTS3: IP68 Pressure Sensor

  • PTF2: Flush Type Pressure Sensor

  • PTF2: Thich film Flush type Pressure

  • PTE2: Earth Pressure Sensor

  • PDS2: Industrial Differential Pressure Sensor

  • PDG2: DP with Built-in GPS

  • PDT2: Ultra Low Range Air Pressure and Temperature

  • PLS2: Submersible Level (1m to 200m range)

  • PLC2: Corrosive Resistant Level (Titanium)

  • PLD2: Level Sensor with Built-in Temperature

  • PLG2: Level Sensor with Built-in GPS

  • PLS3: Submersible Level Sensor with IP68 Housing

  • PLM2: Well Level Sensor (15.8mm Sensor Head, 2in Housing)

  • PLMD2: Well Level and Temperature Sensor

  • TTS2: Industrial Temperature Sensor

  • TTG2: Temperature Sensor with Built-in GPS

  • TTS3: Temperature Sensor with IP68 housing

  • TTS2: Pipe Temperature Sensor

  • DUS3: IP68 Ultrasonic Level Sensor

  • DRC3: IP68 Corrosive Radar Sensor (8m and 30m range)

  • FMS2: Industrial Water Meter Interface

  • CSD2: Conductivity Salinity and Temperature sensor

  • CTR2: Turbidity and Temperature Sensor

  • CPH2: pH, ORP and Temperature Sensor

  • CDO2: Dissolved Oxygen and Temperature Sensor

  • MSS2: Soil Moisture Sensor

  • MAS2: Outdoor Humidity Sensor

  • MRS2: Rain Sensor (Tipping bucket)

  • ECP2: Cathodic Protection Sensor

  • RS1-4/20: Single channel 4-20mA Interface

  • RS1-P: Single channel Pulse Interface

  • RS1-SDI: Single channel SDI-12 Interface

  • RS1-M: Single channel Modbus Interface

  • RS1-Pt: Single channel Pt100 Interface

  • RM1: Multi-channel Interface

  • RM4-4/20: Multi-channel Interface (4 x 4-20mA Sensor)

  • RM4-Pt: Multi-channel Interface (4 x Pt Sensor)

  • RM4-M: Multi-channel Interface (4 x Modbus)

  • RM4-mV: Multi-channel Interface (4 x mV Sensors)

  • RM4-Pulse: Multi-channel Interface (4 x Pulse Counter)

  • RM4-0/10: Multi-channel Interface (4 x 0-10V Sensor)

bottom of page