API Reference

The basic object hierarchy of PathSim is shown in the diagramm below. The Simulation manages the system components (derivatives of Block and Event, Connection).

hierarchy of PathSim objects

System Definition and Simulation

The following modules serve the system definition and simulation. In PathSim, systems are defined by instantiating blocks from the block library blocks and connecting them using Connection objects. PathSim also supports hierarchical modling through subsystems with the Subsystem class, which holds internal blocks and connections and behaves just like a normal block from the outside.

Block Library

ODE Solvers

The numerical ODE solvers, available in PathSim are structured like this:

hierarchy of PathSim numerical integrators

Solvers

Optimizers and Automatic Differentiation

The optim module contains a range of nonlinear solvers / optimizers that are primarily used for the implicit update equation of implicit ODE solvers and for the steadystate solver. This module also includes the automatic differentiation framework.

Utilities

Utility functions and classes.