Rust reimplementation of PathSim with an identical Python API, JIT compilation, and standalone C code generation.
Key Features
Rust Core
Native Rust engine with an identical PathSim Python API — swap the import
21 Solvers
Explicit, implicit, and adaptive integrators, mirroring pathsim.solvers
JIT + Autodiff
Traces Python functions to Rust IR with symbolic Jacobians
C Code Generation
Generate standalone C from a simulation for embedded deployment
DAE Blocks
Mass-matrix, semi-explicit, and fully-implicit DAE blocks
WebAssembly
Compiles to WASM and runs in the browser via Pyodide
Quick Start
FastSim mirrors the PathSim API — the same block-diagram code runs on the Rust engine by swapping the import.
Example
Loading...