The constantly increasing computing power enables the implementation of complex simulation models. Therefore, it is possible to create more detailed models to predict system behavior more accurately. Modelica, for example, has proven great suitability in modelling complex systems, because of its high degree of reusability. However, understanding these models is quite difficult and many simulation models are poorly documented. Consequently, it is very time-consuming to retrace given model structures especially for novice. The Unified Modeling Language (UML) provides a user-friendly and graphical structure for documentation to simplify working with existing simulation models. Hence, an algorithm (ADoCSM) is developed to automatically present the structure of a Modelica simulation model in UML. This algorithm is exemplarily applied to a refrigerant circuit expansion valve model. Thereby, we contribute to an increase of simulation model quality as well as simplifying the entry in the world of Modelica. ADoCSM and the expansion valve model are freely available on GitHub:
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.