| In modern power system, power control center plays a key role in ensuring security and optimal operation of power grid. The real-time tracking of power grid topology is the basis for power control center to perform power system analysis and calculation, such as state estimation, optimal power flow, reactive power, stability analysis and calculation of power system fault, and the research on it has both theoretical value and application value. The quality of power grid topology expression directly affects the degree of difficulty, scalability, and the efficiency of ratiocination process for the real-time software system to perform. This paper analyses the current situation of the application of computer graphic technology in power system software, then states the necessity of the construction of power grid main connection mapping system to construct models for various equipment accessories and parts used in power system by using object-oriented technique, and realize the development of power grid main connection mapping system by combining development tools Visual C++ 6.0 and database management system SQL Server 2000. By defining the electrical equipments' property and behavior which relate to topological analysis, the paper realizes a static topological analysis and fast tracking dynamic topology with the technique of the MFC linked list and breadth-first search method. Upon completion of topological analysis, we can get the status of all the electrical equipments, and realize dynamic simulation of the equipment components according to the status and voltage levels. |