.. currentmodule:: autoreduce ******* Systems ******* AutoReduce represents models with `system.system.System`. A system stores symbolic states, symbolic dynamics, parameters, initial conditions, and either a linear output matrix or a nonlinear output function. Core System =========== Use `System` when model equations are already available as SymPy expressions. .. code-block:: python from sympy import Symbol from autoreduce import System x = Symbol("x") k = Symbol("k") system = System([x], [-k * x], params=[k], params_values=[1.0], x_init=[2.0]) python-control Adapter ====================== The python-control adapter is implemented in `autoreduce.system.control` and requires the `control` extra. .. code-block:: bash pip install "autoreduce[control]" The adapter converts a `control.NonlinearIOSystem` into an AutoReduce `System` by evaluating the python-control update and output functions with symbolic states, inputs, and parameters.