control.OperatingPoint

class control.OperatingPoint(states, inputs, outputs=None, result=None, return_outputs=False, return_result=False)[source]

Bases: object

Operating point of nonlinear I/O system.

The OperatingPoint class stores the operating point of a nonlinear system, consisting of the state and input vectors for the system. The main use for this class is as the return object for the find_operating_point function and as an input to the linearize function.

Parameters
statesarray

State vector at the operating point.

inputsarray

Input vector at the operating point.

outputsarray, optional

Output vector at the operating point.

resultscipy.optimize.OptimizeResult, optional

Result from the scipy.optimize.root function, if available.

return_outputs, return_resultbool, optional

If set to True, then when accessed a tuple the output values and/or result of the root finding function will be returned.

Notes

In addition to accessing the elements of the operating point as attributes, if accessed as a list then the object will return (x0, u0[, y0, res]), where y0 and res are returned depending on the return_outputs and return_result parameters.

Methods