/SMArtIInt

Simple Modelica Artificial Intelligence Interface

Primary LanguageC++BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Image

SMArtIInt

The SMArtIINt Library aims to support the usage of different artificial intelligence models (AI) in Modelica simulation tools. Currently, it supports TensorFlow models exported as TFLite models within Dymola and OpenModelica.

The repository contains a compiled version of the interface for usage in windows. As a starting point open the Modelica Library. It contains some ready to run examples (SMartIInt.Tester) which demonstrate the usage. The corresponding python files which create the TF-Lite models are located in Resources\ExampleNeuralNets.

Hints for usage in Dymola: Currently, only a 64-bit version is available. If the variable Advanced.CompileWith64 is set on its default value 0, Dymola will automatically compile a 64-bit Dymosim.exe after giving a remark in the translate log file. In case Advanced.CompileWith64=2 a 64-bit dymosim.exe is created anyway and in case of Advanced.CompileWith64=1 compilation will fail.

SMArtIInt uses other software - the source code is included as submodule + a compiled version for direct usage_

  1. Tensorflow (https://github.com/tensorflow/tensorflow)
  1. Bazel.exe (https://github.com/bazelbuild/bazel)
  1. ClaRa Delay (https://github.com/xrg-simulation/ClaRaDelay)

This work was carried out within the framework of the research project DIZPROVI, supported by the Federal Ministry of Education and Research (number 03WIR0105E).