Аннотация:In this article we propose a method for overcoming a number of problemsthat may arise when solving scattering problems on objects of complex structure. Thisapproach can be used for mathematical and numerical modeling of waveguide,emitting and scattering systems of various complexity.