The effective algorithm of modeling of difficult multilayered electrodynamics systems with strip and slot elements on borders of layers is presented. The approach to construction of algorithm of the automated designing of such systems by a given topology and parameters was developed.