The JModelica.org Python interface enables users to use Python scripting to interact with Modelica and Optimica models. The interface consists of three packages:
PyModelica Interface to the compilers. Compile Modelica and Optimica code into model units, FMUs. See Chapter 4, Working with Models for more information.
PyFMI Work with models that have been compiled into FMUs (Functional Mock-up Units), perform simulations, parameter manipulation, plot results etc. See Chapter 5, Simulation of FMUs for more information.
PyJMI Work with models that are represented in symbolic form based no the automatic differentiation tool CasADi. This package is mainly used for solving optimization problems. See Chapter 6, Optimization for more information.