Modiator - A Web App for Modelica Simulation

Authors

  • Hilding Elmqvist Mogram AB
  • Martin Otter DLR, Institute of Vehicle Concepts

DOI:

https://doi.org/10.3384/ecp218211

Keywords:

Modelica, Modia, Modia3D, compilation, static web app, WebAssembly, simulation in the browser, cloud computing, serverless functions, Monte Carlo simulation

Abstract

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