Hopsan
Hopsan is a free simulation environment for fluid and mechatronic systems, developed at Linköping University.[src] Although originally developed for simulation of fluid power systems, it has also been adopted for other domains such as electric power, flight dynamics, and vehicle dynamics.[src] It uses bi-directional delay lines (or transmission line elements) to connect different components.[src]
Hopsan is a free simulation environment for fluid and mechatronic systems, developed at Linköping University.[src] Although originally developed for simulation of fluid power systems, it has also been adopted for other domains such as electric power, flight dynamics, and vehicle dynamics.[src] It uses bi-directional delay lines (or transmission line elements) to connect different components.[src] ==History== The development on Hopsan first began in 1977 at the Division of Hydraulics and Pneumatics at Linköping University.[src] The first version was written in FORTRAN, with a drag-and-drop graphical user interface written in Visual Basic.[src] In addition to the simulation capability it also had features for simulation based optimization.[src] This used the COMPLEX direct search optimization method or a generic algorithm (GA).[src] It also had features for frequency analysis and transfer function analysis, on simulated results.[src] It also supported co-simulation under Simulink.[src] Component models were written as FORTRAN subroutines.[src] A separate tool called COMPGEN, written in Mathematica, was also developed, which can be used to generate component models in a more straightforward way.[src] In 1991 the method of bi-directional delay lines (or transmission line modelling TLM) was introduced for system simulation.[src] In 2009 the development of the first version of Hopsan was dropped in favor for a brand new generation of the software, written in C++.[src] This working name of the project is Hopsan NG, and the first beta version was released in February 2011.[src] Parts of the source code in Hopsan was used in the OpenModelica Connection Editor (OMEdit) in a collaboration with the OpenModelica project.[src] ==Program Overview== The current generation of Hopsan consists of two parts, a graphical user interface and a simulation core library.[src] These are completely separated, so that the core can be used stand-alone, for example in embedded systems or target computers.[src] System models are built using components from the built-in or external libraries.[src] This includes components for hydraulic, pneumatic, electrical, mechanical and control systems (filters, non-linear functions and arithmetic).[src] The library components are pre-compiled, so that no compilation is required during runtime.[src] Custom user models can be created and compiled as separate library files, which can be loaded into Hopsan.[src] There is also a built-in automated equation based component generator using Modelica syntax.[src] Models can also be generated from equations by using Mathematica.[src] Numerical optimization can be performed by a built-in tool, using COMPLEX-RF, COMPLEX-RFP or particle swarm algorithms.[src] It is also possible to perform Monte Carlo sensitivity analysis.[src] The plotting tool is capable of generating frequency spectrums and performing frequency analysis to generate Bode diagrams and Nyquist plots.[src] Hopsan models can be exported to Simulink.[src] Plot data can be exported to XML, CSV, gnuplot and Matlab.[src] Experiments with including the Hopsan simulation core to LabVIEW Simulation Interface Toolkit by using a wrapper library have been successful.[src] Support for model exchange, both import and export, by using the Functional Mock-up Interface is currently being implemented.[src] Hopsan is a cross-platform project, with the intention of running on Windows, Unix and Macintosh systems.[src] The current beta release is only available for Windows and Linux, but the intention is to create versions for the other systems as well.[src] The transmission line element method is very suitable for parallel execution, due to physically motivated time delays between certain components.[src] Hopsan has support for dividing simulations in separate threads, making it possible to take advantage of multicore processors.[src] Features in the graphical user interface include Python scripting, an undo/redo function, XML-based model and configuration files, hydraulic symbols according to the ISO 1219-1 standard and global system parameters that can be shared between components.[src] ==References== ==External links== GitHub repository[src]
39 sentences · 39 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Hopsan." encyclopegia.org, 2026, https://encyclopegia.org/wiki/hopsan. Accessed 25 November 2026.
Chicago
"Hopsan." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/hopsan.
APA
encyclopegia.org. (2026). Hopsan. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/hopsan
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| release date | 2011 | Wikipedia |