TDengine Powers AI-Driven Control Platform for Industrial Energy Optimization

Jim Fan

February 6, 2025 / ,

Traditional manual control methods in industrial settings often result in inefficiencies like continuous device operation, poor parameter settings, and redundant energy supply, leading to significant energy waste. While lean management can help, the real solution lies in adopting data-driven digital tools to maximize data value, cut costs, boost productivity, and enhance quality.

An industrial AI company has developed a cloud smart control platform to provide energy management and optimization in high-energy-use areas like air compression and cooling stations while enabling predictive maintenance through data insights. The platform’s modular design allows flexible deployment for specific needs or comprehensive coverage of energy types such as water, electricity, gas, and cooling. Currently, it supports over 1,600 industrial enterprises, handling around 100 GB of IoT data daily with a multi-tenant model.

According to the company’s R&D lead, the platform’s data storage must be decoupled from specific business scenarios and support dynamic field definitions. In auxiliary energy settings, the diverse range of equipment and brands generates over 100 GB of IoT data daily, posing significant challenges for data management and processing. The core requirements are threefold:

  1. Parameter codes for similar devices can vary, with some parameters being specific to certain models. The system must dynamically store and analyze these unique parameters while allowing for the seamless integration of new device types by adapting the data structure as needed. This ensures all device data can be fully captured and integrated into the existing system.
  2. With daily data volumes exceeding 100 GB, the system must deliver response times within 200 milliseconds, requiring exceptional real-time query performance and high availability.
  3. Clients need flexibility for both public and private cloud deployments. The database must support small-scale private setups as well as large-scale cloud clusters, ensuring consistent development and operational efficiency across different environments.

After testing databases like OpenTSDB, HBase, InfluxDB, and others, the company selected TDengine for its superior performance, stability, and data compression capabilities.

High-Concurrency Data Query Performance

“Each tenant generates and processes large volumes of business metrics, using both streaming and batch modes to write data to the time-series database. While basic calculations are handled within the database, more complex computations are performed in the business system’s memory. This demands high performance, efficiency, and stability from the database to handle complex data ingestion and querying requirements.”

The company tested the performance of TDengine 3.2.3.0 against InfluxDB OSS v.1.8 and v.2.7 on a single machine with an 8-core CPU and 32 GB of memory to evaluate the databases’ capabilities.

Query GranularityTime RangeTDengineInfluxDB 2.7.6InfluxDB 1.8
Query Details7 days1790172810690137145
3m Downsampling first7 days24211131149390
1h Downsampling first7 days5412142530
1d Downsampling first7 days33672024
3m Downsampling first6 months5896083680318317841903
1h Downsampling first6 months3736233217152208
1d Downsampling first6 months1314848410097
3m Downsampling diff7 days23191241159289
1h Downsampling diff7 days3312142928
1d Downsampling diff7 days331062327
3m Downsampling diff6 months4054073426322918111869
1h Downsampling diff6 months3232255219203185
1d Downsampling diff6 months1111856410098

Overall, TDengine outperformed InfluxDB OSS 1.8 and 2.7 in most aggregation queries, delivering 3 to 10 times faster performance and meeting business requirements. Compared to InfluxDB, it reduced response times for complex queries from seconds to milliseconds, significantly improving report performance and enhancing the user experience.

Cloud and Private Deployment Consistency

TDengine’s design supports both single-machine performance and cluster deployment, even in resource-constrained environments, enabling consistent architecture for both public and private cloud deployments.

Efficient Handling of Large Volumes of Metrics and Queries

In typical use cases at the company, IoT data undergoes multi-dimensional processing to generate a wide range of metrics tailored to different business needs. These include electricity and cost calculations, carbon and coal conversions, equipment runtime statistics, utilization analysis, single-device energy efficiency evaluations, air-compression energy ratios, central air-conditioning COP, energy consumption per product unit, productivity per monetary value, pressure and flow forecasts, and energy-saving rate calculations.

Some metrics are stored directly through stream-batch processing, while others require additional processing during queries. To handle these scenarios, the company developed custom built-in functions to address diverse business needs. These demands pushed the time-series database’s write and query efficiency to its limits, and after thorough validation, TDengine delivered excellent performance in both data ingestion and querying, fully meeting business requirements.

  • Jim Fan
    Jim Fan

    Jim Fan is the VP of Product at TDengine. With a Master's Degree in Engineering from the University of Michigan and over 12 years of experience in manufacturing and Industrial IoT spaces, he brings expertise in digital transformation, smart manufacturing, autonomous driving, and renewable energy to drive TDengine's solution strategy. Prior to joining TDengine, he worked as the Director of Product Marketing for PTC's IoT Division and Hexagon's Smart Manufacturing Division. He is currently based in California, USA.