A Python library for building and simulating continuous-time, discrete-time, and hybrid dynamical systems using a block-diagram approach.

Key Features

Block-based
Build systems by connecting reusable blocks
18+ Solvers
Explicit, implicit, and adaptive integrators
Event Handling
Zero-crossing detection and scheduled events
Hierarchical
Nest subsystems for modular designs
Hot-swappable
Change blocks and solvers during simulation
MIMO Support
Multiple input/output ports on all blocks

Installation

Quick Start

PathSim uses a block-diagram approach. Create blocks, connect them, and simulate.

Example
Loading...