Welcome to the
SMArtInt Library
The SMArtInt (Simple Modelica Artificial Intelligence Interface) library provides components for integrating external neural network models—such as TensorFlow Lite or ONNX—into Modelica-based simulations. It is designed to work with Dymola and OpenModelica and enables hybrid modeling approaches that combine physics-based models with machine-learned surrogate models.
SMArtInt facilitates the connection between dynamic Modelica models and external AI-based computations by providing reusable interface blocks and examples. Typical use cases include:
The SMArtInt library consists of the following main Modelica packages:
Resources/ExampleNeuralNets: Python scripts and neural network files (e.g., .tflite, .onnx) used in the tester examples. They show how to prepare compatible models from common ML frameworks.
SMArtInt.Tester package to
run ready-to-use examples.Detailed usage instructions, parameter descriptions, and model behavior are documented directly within the Modelica components/packages. To understand how a specific block or model works, simply navigate to it in your Modelica tool and view its embedded documentation.
The tester models also include additional explanations and typical application patterns. They are intended as both verification models and starting templates for your own projects.
The library relies on external C-libraries and works on 64-bit Windows systems. Please ensure the following for successful use:
Advanced.CompileWith64 = true in Dymola if
requiredFor feedback, questions, or contributions, please visit the GitHub repository or contact XRG Simulation GmbH via their website.
| Name | Description |
|---|---|