The paper is devoted to the study of electrodynamic structures, which include metal and dielectric elements. Simple elements are calculated using the method of integral equations. Their solution is determined by the collocation method and scattered electromagnetic fields. The finitedifference method is required for calculating the equation. For required scattering characteristics of complex electrodynamic structures the choice of diffraction elements is carried out within the framework of a multialternative optimization approach. The individual electrodynamic components are considered first. Then, on their basis, several promising variants of more complex subsystems are formed. It is necessary to apply training information on every stage of modeling. The example of the investigated electrodynamic structure is given. The definition of its characteristics is demonstrated.