An approach to simulate the nonlinear behaviour of acoustic devices