API Reference¶
Core Components¶
The following modules form the core of PathSim’s system definition and simulation capabilities.
Main simulation engine that orchestrates system execution, manages blocks, connections, and events.
Defines signal flow between blocks, enabling data transfer and system interconnection.
Enables hierarchical modeling by encapsulating blocks and connections into reusable components.
Comprehensive library of pre-built blocks for sources, operations, controllers, and more.
Event System¶
PathSim’s event handling mechanism enables discrete event detection and system state modifications.
Zero-crossing detection, scheduled events, and condition-based triggers for hybrid system simulation.
Numerical Solvers¶
PathSim provides a wide range of ODE solvers with different characteristics and performance profiles.
Explicit and implicit Runge-Kutta methods, BDF, Gear, and adaptive solvers for stiff and non-stiff problems.
Optimization & Differentiation¶
Advanced features for optimization, nonlinear solving, and automatic differentiation.
Nonlinear solvers, optimizers, and automatic differentiation framework for fully differentiable simulations.
Utilities¶
Helper functions and utility classes for analysis, plotting, and system management.
Analysis tools, real-time plotting, serialization, adaptive buffers, and more.