control.DescribingFunctionNonlinearity
- class control.DescribingFunctionNonlinearity[source]
Bases:
objectBase 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_functionmethods and (optionally) the_isstaticmethod (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.