Presenter: Torsten Sommer (GitHub: t-sommer)
Please watch and star our GitHub projects on CATIA-Systems and ScientificDataFormat!
-
Anaconda — Python distribution
-
FMPy — Python library to simulate FMUs
-
C/C++ compiler — Xcode (macOS), Visual Studio (Windows) or GCC (Linux) to build source code FMUs and the FMIKit S-function
-
CMake — project generator to build source code FMUs and FMIKit S-function
-
Maven — Java build tool to build the FMIKit block dialog (requires Java 1.7+)
-
PyCharm — Python IDE to code, run and debug Python programs
-
IntelliJ IDEA — Java IDE to view FMIKit Java Dialog, (optional)
-
MATLAB/Simulink R2016B — to import and export FMUs
-
Dependency Walker - display exported symbols in DLLs (optional)
Tip
|
|
Get Get the Rectfier.fmu to play with from the FMI Cross-Check repository and try
-
fmpy --help
— display available options -
fmpy info
— get info about an FMU -
fmpy simulate
— simulate an FMU -
fmpy compile
— compile the shared library from a source code FMU
Start the FMPy GUI with python -m fmpy.gui
-
create a desktop shortcut
-
set as default program for
*.fmu
-
load and simulate an FMU
-
start values
-
input
-
reference signals
-
parameter variation
-
add desktop shortcut
-
demo: read the model description, simulate, plot results
-
create a CMake project & debug an FMU
-
performance tweaks
-
model description parser
-
ctypes interface to the shared library
-
simulation loop
-
solver interface
-
project structure (in Visual Studio)
-
debugging
Run mex -setup
an select Visual Studio 2015
-
binary FMU (with generic S-function "Normal" mode)
-
binary FMU (with generic S-function "Rapid Accelerator" mode)
-
binary FMU (with source code S-function)
-
source code FMU
-
FMU import, PInvoke interface, using the FMU class
-
run the BouncingBall example scene
-
import an FMU
-
demo