The 14th International
Linköping, September 20-24, 2021
[Practical Information] [Tutorials and Vendor Sessions] [Proceedings] [Modelica Libraries] [FMI User Meeting] [Archives] [Journal Special Issue (open for submissions until 2022-07-31)]
Title: | A Portable and Secure Package Format for Executable Simulation Modules based on WebAssembly |
---|---|
Authors: | Moritz Allmaras, Andrés Botero Halblaub, Harald Held and Tim Schenk |
Abstract: | We propose a new format (Digital Twin Assembly - dtasm) for self-contained executable co-simulation modules that is portable and sandboxed, yet offers performance close to native machine code and is sufficiently lightweight for running on embedded devices. Dtasm is based on WebAssembly, a standardized bytecode format for a stack-based virtual machine originally developed for high-performance computations in web browsers. A language-independent binary interface for such modules is described that is functionally comparable to FMI for co-simulation but not tied to a particular programming language. We discuss the benefits and drawbacks of this approach and how it can address some specific issues for executable simulation modules running in parallel to operation of real systems. |
Keywords: | Simulation Modularization, Portability, Sandboxing, WebAssembly |
Paper: | full paper |
Bibtex: | @InProceedings{modelica.org:Allmaras:2021, title = "{A Portable and Secure Package Format for Executable Simulation Modules based on WebAssembly}", author = {Moritz Allmaras and Andr\'es Botero Halblaub and Harald Held and Tim Schenk}, pages = {443--452}, doi = {10.3384/ecp21181443}, booktitle = {Proceedings of the 14th International Modelica Conference}, location = {Link\"oping, Sweden}, editor = {Martin Sj\"olund and Lena Buffoni and Adrian Pop and Lennart Ochel}, isbn = {978-91-7929-027-6}, issn = {1650-3740}, month = sep, series = {Link\"oping Electronic Conference Proceedings}, number = {181}, publisher = {Modelica Association and Link\"oping University Electronic Press}, year = {2021} } |