control.OperatingPoint
- class control.OperatingPoint(states, inputs, outputs=None, result=None, return_outputs=False, return_result=False)[source]
Bases:
objectOperating 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_pointfunction and as an input to thelinearizefunction.- Parameters:
- statesarray
State vector at the operating point.
- inputsarray
Input vector at the operating point.
- outputsarray, optional
Output vector at the operating point.
- result
scipy.optimize.OptimizeResult, optional Result from the
scipy.optimize.rootfunction, 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]), wherey0andresare returned depending on thereturn_outputsandreturn_resultparameters.Methods