#standard #system #interact #parser #modeling

modelica-rs

A Rust wrapper for the Modelica standard library

7 releases

0.1.6 Oct 26, 2025
0.1.5 Dec 30, 2023
0.1.3 Nov 5, 2023
0.1.2 Oct 29, 2023

#204 in Simulation

MIT license

16KB
329 lines

Wrapping the Modelica language in Rust

This crate is a wrapper for the Modelica language, used primarily for modeling physical systems.


modelica-rs

A library to interact with the Modelica Standard Library using Rust.

This package uses rrevenantt's antlr_rust framework to create an ANTLR-ized Modelica parser in Rust.

TODO

  • Declare basic Modelica elements as Rust structs and enums
  • Connect the ANTLR-created tokens to the Rust structs and enums

Dependencies

~2.2–4MB
~72K SLoC