Modiator - A Web App for Modelica Simulation
DOI:
https://doi.org/10.3384/ecp218211Keywords:
Modelica, Modia, Modia3D, compilation, static web app, WebAssembly, simulation in the browser, cloud computing, serverless functions, Monte Carlo simulationAbstract
The Modelica language (www.modelica.org) has become a defacto standard for systems modeling and many tools exist.This paper describes certain modern enhancements and astatic web app implementation called Modiator (ModelicaInstant Simulator). It allows an improved immediatefirst-time user experience since the web app is availablein seconds and simulations can be done directly in thebrowser. State of the art numerical solvers from theSundials suite have been compiled into WebAssembly. TheModelica model is translated into Javascript code usingtechniques such as sorting, tearing, index reduction, stateselection, etc. A subset of Modelica is supported with someextensions, for example, support for self-modifying models.This paper also presents the Fluid1D and Model3D libraries.Downloads
Published
2025-10-24
Issue
Section
Papers
License
Copyright (c) 2025 Hilding Elmqvist, Martin Otter

This work is licensed under a Creative Commons Attribution 4.0 International License.