control.DescribingFunctionNonlinearity
- class control.DescribingFunctionNonlinearity[source]
Bases:
object
Base class for nonlinear systems with a describing function.
This class is intended to be used as a base class for nonlinear functions that have an analytically defined describing function. Subclasses should override the
__call__
anddescribing_function
methods and (optionally) the_isstatic
method (should be False if__call__
updates the instance state).Methods
Evaluate the nonlinearity at a (scalar) input value.
Return the describing function for a nonlinearity.
- describing_function(A)[source]
Return the describing function for a nonlinearity.
This method is used to allow analytical representations of the describing function for a nonlinearity. It turns the (complex) value of the describing function for sinusoidal input of amplitude
A
.- Parameters
- Afloat
Amplitude of the sinusoidal input to the nonlinearity.
- Returns
- float
Value of the describing function at the given amplitude.