| In order to adapt to the times and the development of society,the construction of Intelligent substations is progressing in phases.Recently,“State Grid” Corporation has proposed “Technical Specification for Configuration Information of Intelligent Substation System” that will describe the abscissa(x),ordinate(y),and width(width)of each primary device element on the electrical main wiring diagram.Five pieces of graphics information,such as width,height,,and symbol,are extended to nodes in each level of the corresponding SSD file,and the position,size,and name of each primary device element are specified.However,the figures are not given.The specific composition of the yuan,the equipment manufacturers can not draw the main electrical wiring diagram directly.Therefore,this article has developed a configuration software design of model and graphics integration in intelligent substation based on SSD,in the SSD file adds a device graphics specific composition information,so that manufacturers can directly draw a main wiring diagram,has a certain engineering significance.This paper introduces the structure of SCD and SSD files and the SVG language.Based on the full reference to the bitmap styles of each device in the specification,the SVG vector graphics are used to describe the elements of each device.At the same time,in the SSD file,three scaling graphic information such as scale,rotation,and template file name(svgPathName)are added,and an extended model of the private attributes of the primary device primitive in the SSD is proposed.On the basis of fully analyzing the private property extension model,this paper conducts the requirements analysis and overall design,and develops a configuration software design of model and graphics integration in intelligent substation based on SSD.The primitive controls of each typical device are constructed on the main interface of the software,and a primitive instance of the primitive control is drawn in the drawing area by "drag and drop technology",and the selection,movement,scaling and the like can be performed on each graphic element.Rotate,delete,etc.It associates the quadratic primitives with the nodes in each level of the SSD file and writes the extended information back to the device nodes corresponding to the SSD files,forming an extended model of the private attributes.The drawing primitive information can be saved as a primary wiring diagram in the SVG format for the drawing personnel to view in real time.Main electrical connection diagram is automatically drawn according to the expanded SSD file.Since the connection point information of each device in the SSD file reflects the topological relationship of the primary device,this paper proposes an automatic drawing scheme of the primary main wiring diagram of the smart substation based on the SSD model.The number of occurrences of the connection points of each conductive device in the interval is counted,and the conductive devices and their connection lines are automatically drawn according to the relationship between the device type and connection point of each conductive device,and the voltage level is determined according to the type of the bus.According to the voltage level and transformer type,several voltage level layout patterns in the substation are preset,and an automatic drawing scheme of the main wiring diagram of the substation is specified in advance. |