PID Controllers and InfluxDB: Part 2 - Digital Twin
The text discusses the creation of a digital twin for a Continuous Stirred-Tank Reactor (CSTR) using Kafka for data streaming, Faust as a PID controller, InfluxDB for storing time series data, and Telegraf for writing data from the topic to InfluxDB. The corresponding project repository is provided. The text also explains the architecture of the digital twin, including the logic behind cstr_model.py and pid_controller.py scripts, as well as how data is written to InfluxDB using Telegraf. Additionally, it covers the advantages and disadvantages of using Kafka and Faust for this project, along with a comparison to other data processing tools such as Spark, Kafka Streams, Bytewax, and Quix.io. The text concludes by mentioning future improvements that can be made to the digital twin model.
Company
InfluxData
Date published
Aug. 29, 2024
Author(s)
Anais Dotis-Georgiou
Word count
2278
Language
English
Hacker News points
None found.