control.ispassive
- control.ispassive(sys, ofp_index=0, ifp_index=0)[source]
Indicate if a linear time invariant (LTI) system is passive.
Checks if system is passive with the given output feedback (OFP) and input feedforward (IFP) passivity indices.
- Parameters
sys (LTI) – System to be checked
ofp_index (float) – Output feedback passivity index
ifp_index (float) – Input feedforward passivity index
- Returns
The system is passive.
- Return type
bool
Notes
Querying if the system is passive in the sense of
is equivalent to the default case of ofp_index = 0 and ifp_index = 0. Note that computing the ofp_index and ifp_index for a system, then using both values simultaneously as inputs to this function is not guaranteed to have an output of True (the system might not be passive with both indices at the same time).
For more details, see [1].
References
- 1
McCourt, Michael J., and Panos J. Antsaklis “Demonstrating passivity and dissipativity using computational methods.”