Wrapper Functions for Integrating Mathematical Models into Digital Twin Event Processing

Sensors (Basel). 2022 Oct 19;22(20):7964. doi: 10.3390/s22207964.

Abstract

Analog sensors often require complex mathematical models for data analysis. Digital twins (DTs) provide platforms to display sensor data in real time but still lack generic solutions regarding how mathematical models and algorithms can be integrated. Based on previous tests for monitoring and predicting banana fruit quality along the cool chain, we demonstrate how a system of multiple models can be converted into a DT. Our new approach provides a set of generic "wrapper functions", which largely simplify model integration. The wrappers connect the in- and outputs of models to the streaming platform and, thus, require only minor changes to the model software. Different scenarios for model linking structures are considered, including simultaneous processing of multiple models, sequential processing of life-cycle-specific models, and predictive models, based on data from the current and previous life cycles. The wrapper functions can be easily adapted to host models or microservices from various applications fields, to predict the future system behavior and to test what-if scenarios.

Keywords: Apache Kafka; cool chain; digital twins; event processing; intelligent container; real-time models; wrapper functions.

MeSH terms

  • Algorithms*
  • Data Analysis
  • Models, Theoretical
  • Software*