The relay system is a widely used Control and Protection System. The relay line is the basis of the relay system, and its correctness is the guarantee of the correct design of the relay system. Currently, none of the relay line CAD software can provide circuit simulation functions to meet engineering requirements. The analysis and verification of the circuit is still completed manually, with low efficiency and error-prone. Therefore, it is very meaningful to research and develop the simulation software for relay lines.
On the basis of analyzing and summarizing the research results of computer simulation of relay lines at home and abroad, this paper designs the overall structure of the simulation software for relay lines, and divides functional modules of the simulation software. By classifying electrical components and using object-oriented modeling methods and technologies, a functional model library for electrical components of relay lines is established. The electrical schematic diagram is described by using network topology technology, and the logical expression extraction of the circuit topology is designed. AlgorithmAnd simplifies the logical expression. The timing problem of the relay line is a difficulty in simulation. This paper proposes a new idea to deal with the time series problem using the event batch processing method combined with competition and risk detection, we also discuss the algorithm design used to detect competition and risk-taking issues. On this basis, an event linked list driving Algorithm Based on Time ing is used to implement a relay line simulator, and the interface between the simulator and the peripheral function module is designed using the observer mode, enhances the maintainability and scalability of the system. In this paper, based on the JDS-CAD software, the simulation software of the relay line is developed. Simulation software supports two operation modes: Interactive Simulation and automated verification, so that the software is easy to use and can meet different needs. Various typical relay control lines are used to test the software. The test results show that the software functions are correct. The software has a positive impact on the design of the relay line. At the same time, the basic work done in this paper also laid the foundation for the development of more intelligent design software for the relay line.