Proof of concept AC-ICT cosimulation setup from JRA2.1.1
The code is currently only tested to build and run on Linux.
The following prerequisites need to be installed in order to compile and run correctly:
- cmake for generating autotools build scripts
- autotools (autoconf, automake etc.)
- gcc (other compilers may work but haven't been tested)
- python >= 3.10 (earlier 3.x versions of python may work but haven't been tested)
- FMPy >= 0.3.15 in order to generate python-based FMUs
- pythonfmu >= 0.6.2 in order to generate C FMUs for the python-based simulators (Pandapower etc.)
- Mosaik 3 as a cosimulation master
- Pandas is currently used by the collector class for data storage and serialisation.
- Matplotlib for visualisation (currently disabled, but the dependency remains for later use.
- Numpy is used by the electrical network calculation.
- Pandapower provides the electrical loadflow.
The C FMUs (communication simulator) are built using
foo@bar:~$ ./build_c_fmus.sh
The Python FMUs (loadflow and controller) are built using
foo@bar:~$ ./build_python_fmus.sh
The demonstration scenario can be started using
foo@bar:~$ ./run_test_scenario.sh