Sanz Prat, VíctorinoUrquía Moraleda, Alfonso2024-05-202024-05-202023-072352-711010.1016/j.softx.2023.101438https://hdl.handle.net/20.500.14468/12260MSGLib is a Modelica library designed and developed to support message passing communication and the management of data structures stored in dynamic memory. The functionality of the library facilitates the description of discrete-event models and their combination with other Modelica functionality. MSGLib has been used as a base to develop other Modelica libraries such as DEVSLib, ARENALib and ABMLib. A new version of MSGLib is presented in this manuscript, that includes user documentation, performance optimization and illustrative examples. The library has been developed and tested under Dymola and OpenModelica, and is freely distributed under the LGPL-3.0 license.enAtribución 4.0 Internacionalinfo:eu-repo/semantics/openAccessMSGLib: A Modelica library for message passing communicationartículoMessage passing communicationModelica