Hopsan is a free multi-domain system simulation tool developed at the division of Fluid and mechatronic systems at Linköping university.
Hopsan is a free open-source multi-domain system simulation tool developed at the division of Fluid and mechatronic systems at Linkoping university.
Features include:
The Hopsan simulation core and support libraries are released under the permissive Apache License 2.0
The GUI applications are released under the copyleft GNU General Public License 3.0
You can download official release packages from
https://github.com/Hopsan/hopsan/releases
The Windows version is packaged as a installer or as a portable zip that you can use if you do not have permission to install software on your computer. You can also choose if you want the compiler included for importing and exporting component libraries and models.
If you choose the zip version, no start menu entry for Hopsan will be added, instead go into the bin directory and double-click hopsangui.exe to start.
choco install hopsan
You can download official release packages from
https://github.com/Hopsan/hopsan/releases
Deb packages are built for the current Ubuntu and Debian releases. You should be able to install them by opening them in you package manager, but if that does not work, try to install it manually using.
apt install ./hopsanPackageName
Note that you must specify the package name as a path, otherwise apt will search for the package in the repository.
https://snapcraft.io/hopsan
If your GNU/Linux distribution supports Snap packages you can install Hopsan from the "Snap Store"
or from the terminal:
snap install hopsan
Application menu entries for HopsanGUI will be added but to start the command line applications use a command like:
hopsan.addresserver
hopsan.cli
hopsan.gui
hopsan.remoteclient
hopsan.server
hopsan.servermonitor
Known issues:
https://flathub.org/apps/details/com.github.hopsan.Hopsan
If your GNU/Linux distribution supports Flatpak you can install Hopsan from Flathub
or from a terminal:
flatpak install flathub com.github.hopsan.Hopsan
Run with compiler:
The compiler is not included inside the Hopsan flatpak. If you need to use the compiler then start Hopsan from the command line using the Sdk as runtime.
This unfortunately also requires that you install the entire org.kde.Sdk
flatpak run --devel com.github.hopsan.Hopsan
Run other Hopsan applications:
A Hopsan entry that starts HopsanGUI will be added to your application menu, but if you want to start one of the other bundled applications you must use the command line.
# List the contents of the bin directory (to see what other executable are available)
flatpak run --command=ls com.github.hopsan.Hopsan -l /app/bin
# Start application "hopsancli" from inside the flatpak
flatpak run --command=hopsancli com.github.hopsan.Hopsan [arguments]
# or
flatpak run --command=hopsancli --devel com.github.hopsan.Hopsan [arguments]
Known issues:
https://hopsan.github.io/documentation
If you want to report an issue, make a feature request or have a question, please create a new issue in the issue tracker.
If you want to ask a question, please label the issue with the "question" label.
https://github.com/Hopsan/hopsan/issues
https://github.com/Hopsan
https://liu.se/en/research/hopsan
Hopsan is a cross-platform supported application and it should be possible to build on most GNU/Linux based distributions, Microsoft Windows (using MinGW) and Apple macOS.
For detailed instructions see build-instructions.md