Python native System modeling

Build, simulate, and analyze continuous-time, discrete-time, and hybrid systems using intuitive block diagrams. From simple ODEs to complex multi-domain simulations.

Example
Loading...

Installation

Ecosystem

pathview
Visual block diagram editor for building and simulating PathSim models in the browser.
codegen
Generates standalone C code from PathSim simulations for embedded deployment.
pathsim
Build and simulate continuous-time, discrete-time, and hybrid dynamical systems using block diagrams.
chem
Thermodynamic property correlations, activity coefficients, equations of state, and tritium processing.
vehicle
Tire models, suspension systems, and powertrain components for vehicle dynamics simulation.
flight
Six degrees of freedom equations of motion, aerodynamics, and propulsion for flight simulation.
rf
S-parameter networks, transmission lines, amplifiers, and mixers for RF and microwave simulation.

Features

Hot-Swappable
Switch blocks and solvers during active simulation at runtime.
MIMO Capable
Multiple input, multiple output ports built into all blocks.
18+ Solvers
Implicit, explicit, and adaptive integrators for stiff and non-stiff systems.
Hierarchical
Nested subsystems for modular, reusable component design.
Event Handling
Zero-crossing detection and scheduled events for hybrid systems.
Extensible
Create custom blocks by subclassing the base Block class.
Browser Editor
Design and simulate visually with PathView using Pyodide.
Domain Toolboxes
Specialized blocks for chemical, vehicle, flight, and RF engineering.