Getting Started
Rumoca can convert Modelica models to CasADi, SymPy, Julia, and raw C—but before exploring those workflows, it helps to get comfortable with the basics. In this section you’ll write Modelica models, compile them, simulate with the built-in ODE solver, and plot results—all running locally via WebAssembly with no server or installation required.
The tutorials start with the simplest ODE and progressively introduce nonlinear dynamics, event handling, multi-domain modeling, and component-based architectures with connectors. By the end you’ll be comfortable with every feature of the Modelica editor and ready to move on to 3D visualization and code generation.
Your First Model
The simplest second-order ODE. Constant acceleration.
Mass-Spring-Damper
Linear second-order ODE. Compare compilation backends.
Bouncing Ball
Event handling with when clauses.
Van der Pol Oscillator
Limit cycles and solver settings.
Series RLC Circuit
Underdamped oscillation. Parameter exploration.
Circuit Components
Component-based Modelica with connectors and inheritance.