Abstract
Digital twins require high-fidelity, real-time performance, yet generating the necessary training data from complex multi-physics simulations is often computationally prohibitive. This paper introduces TwinLab, a framework designed to build accurate, non-intrusive Reduced-Order Models (ROMs) using minimal simulation datasets. By leveraging augmented Neural Ordinary Differential Equations (NODEs) and a systematic "training partner" selection strategy, TwinLab achieves prediction speedups of up to 36,000x and reduces test errors by nearly 50% compared to models trained on single datasets.
Introduction
The development of digital twins for industrial applications is frequently hindered by a "data bottleneck." While high-fidelity simulations (e.g., COMSOL, ANSYS) provide accurate physical insights, they are too slow for real-time monitoring or control. Data-driven Reduced-Order Models (ROMs) offer a solution by acting as fast surrogates, but they typically require vast amounts of training data. In industrial cycles where a single simulation run can take days, generating this data is impractical. TwinLab addresses this challenge by focusing on data efficiency: training highly accurate ROMs with as few as two simulation runs.
Methods
TwinLab automates the extraction of ROMs from existing simulation software through a non-intrusive, black-box approach. The framework's architecture is centered around four key innovations:
- Augmented Neural ODEs (NODEs): Unlike standard neural networks, NODEs learn the derivative of the state vector. By adding "free variables" (augmentation), the model can represent complex, intersecting trajectories that standard ODEs cannot, improving generalizability.
- The "Forerunner" Concept: To avoid the cost of high-fidelity runs during the discovery phase, TwinLab uses a "forerunner" — a simplified, lower-resolution version of the simulation — to identify correlations between input signal features and model performance.
- Smart Data Selection: The framework follows an 8-step process to identify the most informative datasets. It calculates features (e.g., temperature variance) and uses them to predict which simulation scenarios will yield the lowest error.
- Training Partner Strategy: Instead of random selection, TwinLab identifies a "base" dataset and pairs it with a "partner" dataset. The selection criteria prioritize dissimilarity between the two datasets to ensure the model learns a broader range of dynamics and avoids overfitting.
The framework was evaluated using a multi-physics simulation of thermal food processing (roasting chicken meat). The training pool consisted of 55 unique datasets generated using Amplitude-Modulated Pseudo-Random Binary Sequences (APRBS), while evaluation was performed on a balanced subset of 15 datasets selected via a $\chi^2$ test.
Results and Discussion
The implementation of TwinLab yielded significant improvements in both accuracy and computational efficiency:
- Accuracy Boost: By selecting an optimal "training partner" dataset, the authors reduced test errors by up to 49% compared to the best single-dataset model. The results highlight that the quality and dissimilarity of data are more critical than sheer quantity.
- Computational Speedup: The resulting ROMs, exported as Functional Mock-up Units (FMUs), achieved a prediction speedup of approximately 36,000x. A 5-hour simulation on a 20-core cluster was reduced to just 0.1 seconds on a single processor, enabling real-time deployment.
- Robustness: Time-series prediction errors remained low (0.18% to 0.49%), even when tested against non-APRBS signals like sinusoidal excitations.
Conclusion
TwinLab demonstrates that high-fidelity digital twins can be trained efficiently with minimal data. While the specific feature correlations identified in this study are tailored to thermal models, the underlying methodology of using "forerunners" and "training partners" is broadly applicable. Future work will extend this framework to more complex multi-physics domains, such as additive manufacturing and fuel cell optimization, and explore non-linear dependencies for even more refined data selection.
Summary updated