“…It was shown that the method of the effective non-Hermitian Hamiltonian can be used to calculate the S-matrix and the scattering function of sound-hard boundary acoustic scattering problem. Thanks to the projection of the total Hilbert space onto the inner states of the resonator the method is free of the discontinuity problem typical for the mode-matching techniques [29,30,31,32,33,34,35,36]. It was shown that in the continuous case the effective Hamiltonian can be truncated to a reasonable small number of eigenmodes of the closed system whose eigenfrequencies are concentrated around the frequency of the incident wave.…”