ghorwin / MasterSim

MasterSim is an FMI Co-Simulation master and programming library.
BSD 3-Clause "New" or "Revised" License
22 stars 2 forks source link

About MasterSim ...

MasterSim is an FMI Co-Simulation master and programming library. It supports the Functional Mock-Up Interface for Co-Simulation in Version 1.0 and 2.0. Using the functionality of version 2.0, it implements various iteration algorithms that rollback FMU slaves and increase stability of coupled simulations.

MasterSim is actively maintained/developed by Dr. Andreas Nicolai (currently working at Umwelt- und Ingenieurtechnik GmbH Dresden; formerly at TU Dresden, Institut für Bauklimatik).

The main webpage of MasterSim is https://bauklimatik-dresden.de/mastersim.

Quality Assurance

We have continuous integration scripts running (build-test of all C/C++ code).

Test Result
CI - Linux 64-bit (Ubuntu 20.04 LTS; Qt 5.12.8) (GitHub) Ubuntu 20.04 build and tests
CI - Linux 64-bit (Ubuntu 22.04 LTS; Qt 5.15.3) (GitHub) Ubuntu 22.04/5.15.3 build
CI - Linux 64-bit (Ubuntu 22.04 LTS; Qt 5.15.13) (GitHub) Ubuntu 24.04/Qt 5.15.13 build
CI - Windows 64-bit (Win10, VC 2019, Qt 5.15.2) (GitHub) Windows VC2019 x64
CI - Linux 64-bit - nightly release (Ubuntu 20.04.3 LTS; Qt 5.12.9) (Jenkins) Build Status
CI - Windows 64-bit - nightly release (Win10, VC 2019, Qt 5.15.2) (Jenkins) Build Status
CI - MacOS 64-bit - nightly release (10.11 "El Capitan", Qt 5.11.3) (Jenkins) Build Status

For details, see Jenkins.

Note: the MacOS daily build service is currently offline. MacOS releases are built on demand.

Quick Overview

The MasterSim user interface allows importing of slaves and graphically routing input/output variables:

Connections can be reviewed and parametrized in the connection view:

The various numerical parameters (MasterSim gives fine-grained control over what happens during the simulation):

Results can be easily analyzed with the free Post-Processing tool PostProc 2 (https://bauklimatik-dresden.de/postproc):

The welcome page of the software gives you a project overview and up-to-date development news.

Download and Installation

Linux

Debian/Ubuntu Packages

Ubuntu users can now simply install MasterSim via private package repository launchpad:

# add repository
sudo add-apt-repository ppa:ghorwin/sim
sudo apt-get update
# install mastersim
sudo apt install mastersim

Available Ubuntu/Kubuntu/*buntu versions, see launchpad or releases page.

If you require a deb package for a different release, just let me know by creating an issue.

Other distributions

Generally, for any (relatively) modern Linux distribution, there is a stand-alone software archive available for download: see releases.

The following dependencies are required: Qt5 + Qt5-svg lib and zlib.

On Debian/Ubuntu systems, you can install these dependencies via packages:

# Ubuntu 18.04 
sudo apt install qt5-default libqt5svg5 zlib1g

Windows x64

For Windows (7,8,10,11) an installation program is available: see releases.

Note that (unless there is a specific demand) I will not create x86 releases anylonger.

On Mac

For MacOS 10.11 ("El Capitan") or newer, there is a dmg for download: see releases.