Open navigation

SDK Use Case Examples

In this article we give some examples of Custom Analytics realizations using the delair.ai Python SDK, over the digital twin of an asset reconstructed in delair.ai.

Best Fuel Path for Vehicles in Mines & Quarries

This case illustrates how to integrate industrial machine data with site geospatial data.

“A quarry manager wants to use the most efficient routes on his site to move material from point A to point B” (typically, from the loading area in the pit to the crusher)". How to solve this optimization issue ?

Using a modelization of the fuel consumption of trucks, and the 3D geospatial data resulting from the modelisation of a quarry, it was possible to compute and display as a layer in delair.ai the best trajectory along available haul roads that minimizes the overall fuel consumption between two points A and B. Let's examinate the successive steps to this result.

Step 1 is to use delair.ai built-in analytics for generating the quarry haul roads as an input to this fuel map computation :

  • Raw images are captured by drones
  • Drones images are processed in 2D or 3D in delair.ai (they could be processed outside and ingested as well)
  • Delair.ai detects and extracts the haul roads

Step 2 is to define the fuel consumption between any points, using:

  • Vehicle-related data : e.g. rolling resistance, load
  • Drone-related data : lengths and elevation differences directly computed from the 3D model hosted in delair.ai
def fuel_consumption(load, length, delta_z):
  return max(C_h*(1-RR)*(20000+load)/20000*length + C_v*(20000+load)/20000*delta_z,0)

Step 3 is the development of a small Python script using the SDK. This script:

  • defines the KPI to be generated (fuel consumption)
  • calls the haul roads pattern as an input
  • calls the SDK functions
  • generates a visual map (.tiff)

In conclusion, it was possible to simulate the fuel cost associated to a certain positioning of the crusher versus the loading area.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.