When developing new methods for analyzing electrical circuits and comparing various already developed methods, one of the actual problems is the creation of tests for evaluating the effectiveness of algorithms. For such tests, it is advisable to use schemes of complex circuits. However, with an increase in the number of circuit elements, the development of a circuit diagram, preparation of initial data for mathematical modeling and vis-ual presentation of the circuit become more and more difficult. To solve these problems, it is proposed to use pre-ordered electrical circuits. An algorithm for the formation of mathematical models of circuits with an almost unlimited number of elements is proposed. Experiments on the formation and application of mathematical models of electrical circuits containing more than five hundred elements have been carried out. The generated mathematical models are used to evaluate a specific algorithm for analyzing electrical circuits.