WO2016078474A1 - Method for graphics interaction between grid production management system and scheduling automation system - Google Patents
Method for graphics interaction between grid production management system and scheduling automation system Download PDFInfo
- Publication number
- WO2016078474A1 WO2016078474A1 PCT/CN2015/090427 CN2015090427W WO2016078474A1 WO 2016078474 A1 WO2016078474 A1 WO 2016078474A1 CN 2015090427 W CN2015090427 W CN 2015090427W WO 2016078474 A1 WO2016078474 A1 WO 2016078474A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- text
- width
- information
- svg
- primitive
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000004519 manufacturing process Methods 0.000 title claims abstract description 28
- 230000003993 interaction Effects 0.000 title claims abstract description 13
- 238000010586 diagram Methods 0.000 claims abstract description 12
- 238000007726 management method Methods 0.000 claims description 28
- 238000004458 analytical method Methods 0.000 claims description 4
- 230000003247 decreasing effect Effects 0.000 claims description 3
- 238000012423 maintenance Methods 0.000 abstract description 6
- 239000003086 colorant Substances 0.000 description 8
- 238000013499 data model Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06312—Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
Definitions
- the invention relates to a grid production management system and a dispatching automation system, in particular to a production management system and a graphical interaction method of a dispatching automation system, and belongs to the technical field of power grid pattern.
- the grid graphics system which is the graphics module in the Power Production Management System (PMS)
- PMS Power Production Management System
- GIS Geographic Information System
- OPEN3000 system which is the dispatching automation management system, is mainly used to realize real-time monitoring of the power grid.
- the above two systems are the two business systems that are mainly faced by the daily work of the substation operation and maintenance.
- the two systems are heterogeneous, and there are problems such as inconsistent descriptions of graphics and data models, which makes it impossible to directly perform heterogeneous systems.
- Graphic data exchange The graphical description of the OPEN3000 system is based on the standard Scalable Vector Graph (SVG), and the graphical description of the grid graphics system is based on the Common Information Model (CIM) and (Visual Graph, VG).
- CIM Common Information Model
- Visual Graph, VG Common Information Model
- the user has to repeatedly enter on both systems, which wastes human resources and increases the difficulty of maintaining the graphics later. Therefore, the development of a method for realizing the graphical interaction between the production management system and the dispatching automation system is of great significance for realizing the flow and sharing of graphical topology data and reducing the complexity and workload of data maintenance.
- the object of the present invention is to provide a graphical interaction between a grid production management system and a dispatch automation system.
- a graphic interaction method between a grid production management system and a dispatch automation system includes the following steps:
- each of the following lines is the data of the circuit breaker.
- the following is the operation data around the circuit breaker. If it starts with the keyword ⁇ /Breaker, it means The data of the circuit breaker ends here. If it starts with the keyword #, it indicates that the line is a specific data line;
- the method of automatically associating the ledger is: for the equipment corresponding to the production management system and the dispatching automation system, including the main transformer, circuit breaker, busbar and knife gate, the equipment can be automatically associated with the production management system.
- the PMS account that is, according to the objectID of the entity in the SVG file and the objectName to the CIM file to match the specific scheduling account, according to the scheduling account to match the account of the production management system, directly associated with the VG primitive;
- the object of the present invention can also be further achieved by the following technical measures:
- the primitive attribute parsed by the SVG file is processed, corresponding to the attribute of the VG primitive, and directly corresponding to the same attribute: name, coordinate;
- zoom in, zoom out, rotate proceed as follows:
- the meta-information in the SVG file includes the primitive name, coordinate information (x, y), the width of the primitive, the height of the primitive, the scale of the magnification of the primitive, the rotation angle, and the rotation center point rotate, since the rotation center point is
- the coordinate information of the center point needs to be determined according to the original coordinate information and the enlarged information;
- the coordinates of the center point of the VG control are:
- the width and height of the VG control are:
- Width width*scale
- the primitive of the component is loaded in the VG control library, centered on the coordinates of the center point of the VG control, and the width and height of the VG control are the width and height of the VG primitive, with a rotation angle, The angle provided by the rotation center point rotate is rotated clockwise and displayed on the VG panel.
- the line information in the SVG file includes: stroke-width indicates the width of the line, stroke indicates the color of the line, stroke-dasharray indicates the dotted line or solid line, M indicates the starting point coordinate of the line, and L indicates the coordinates of the inflection point or the end point of the line;
- the colors in SVG are represented by RGB (0, 255, 0), while the colors in VG are displayed using the UINT type, and the colors in SVG are converted into colors available for VG;
- the rectangle information in the SVG file is: x, y represents the coordinates of the upper left corner of the rectangle, width represents the width of the rectangle, height represents the height of the rectangle, stroke represents the color, fill represents whether the fill is filled, and stroke-width represents the width of the rectangular border;
- the rectangle information is drawn directly on the VG panel.
- the text coordinate system needs to increase or decrease by 5 to 10 pixels according to the text size attribute. If the text involves a newline operation, the attribute needs to be set, the width of the text and The height is set depending on the situation. For the text coordinate system, since each text only stores the text size, color, and coordinate system in the SVG, each of the VG needs to be calculated. The width and height of the text, you need to adjust the width of the text when setting the VG text.
- the vertical text representation has multiple coordinate settings in SVG. Each vertical text has a coordinate system.
- the vertical representation of the text should be cyclically processed, and each text should be processed separately and calculated.
- the width and height of the current text, and the coordinate value of the Y axis is increased or decreased by 5 to 10 pixels.
- the invention has the beneficial effects that the present invention acquires the SVG file and the CIM file of the primary system diagram of the standard format substation provided by the OPEN3000 system; and loads the VG file graphics library to facilitate the analysis of the unique attributes of the primitive;
- the SVG file acquires layer information; parses the CIM file to obtain device account information; and the drawing device is associated with the ledger to generate a system diagram of the substation.
- the invention realizes the data interaction and interoperation of the graphic system by the primary system diagram of the power grid graphics system substation and the shared exchange mechanism of the OPEN3000 system, thereby realizing the flow and sharing of the graphic topology data, and reducing the data maintenance complexity and workload.
- FIG. 1 is a flow chart of the present invention for analyzing SVG and CIM generated grid graphics system grid models.
- FIG. 1 is a flowchart of the present invention for analyzing a grid model of a grid system by SVG and CIM.
- the method for graphically interacting between a grid production management system and a dispatch automation system includes the following steps:
- Parse the SVG file Load the SVG file into the program and traverse to get the layer information. A new drawing is generated in the grid graphics system, and the layer information obtained by traversing is displayed on the drawing, according to different species. Classes take different approaches:
- Element information The element attributes parsed from the SVG file are processed to correspond to the attributes of the VG element. For the same attributes, such as name, coordinates, etc., you can directly correspond to different attributes such as zoom in, zoom out, offset, rotate, color, etc., which require special processing.
- attributes such as name, coordinates, etc.
- you can directly correspond to different attributes such as zoom in, zoom out, offset, rotate, color, etc., which require special processing.
- the substation outlet switch information in the SVG file is
- x and y represent the coordinate information of the primitive
- width represents the width of the primitive
- height represents the height of the primitive
- scale (1.5) indicates that the primitive is magnified 1.5 times
- rotate 270 3790.41522 1812.791514
- the center of rotation Since the rotation center point is the coordinate of the coordinate system for the SVG, when corresponding to the VG picture element, the coordinate information of the center point needs to be determined according to the original coordinate information and the amplification information.
- the center point coordinate information of the VG control is:
- the primitive is loaded in the VG control library, centered on the coordinates of the center point described above, and rotated at the angle provided by rotate and displayed on the VG panel.
- Line information The line information obtained by parsing the SVG file is directly drawn onto the VG panel. The following is an example of a specific line:
- the information of the lines in the SVG file is:
- stroke-width indicates the width of the line
- stroke indicates the color of the line
- stroke-dasharray indicates whether it is a dotted line or a solid line
- M indicates the starting point coordinate of the line
- L indicates the coordinates of the inflection point or the end point of the line. Since the colors in SVG are represented by RGB (0, 255, 0), and the colors in VG are displayed using the UINT type, it is necessary to convert the RGB SVG colors to the available colors of VG by a unique method.
- Rectangular information The rectangular information obtained by parsing the SVG file is directly drawn onto the VG panel. The following is an example of a specific rectangle:
- the information of the rectangle in the SVG file is:
- x and y represent the coordinate information of the upper left corner of the rectangle
- width represents the width of the rectangle
- height represents the height of the rectangle
- stroke represents the color
- fill represents whether the fill is filled
- stroke-width represents the width of the rectangular border.
- the coordinate information According to the coordinate information, the length and width information, the color information, the filling information, and the border width of the rectangle, it can be directly drawn on the VG panel.
- Text information When drawing text, the form of expression differs according to the text description, and there are two types of horizontal expression and vertical expression.
- the text coordinate system needs to be properly controlled according to the text size attribute. If the text involves a newline operation, its attribute needs to be set.
- the width and height of the text are set differently depending on the situation.
- VG we need to further calculate the size, width and height of each text to calculate, such as when displaying text. There is a slight gap between the text displayed on the normal processing screen, so you need to adjust the width of the text appropriately when setting the VG text.
- Vertical text representation is similar to landscape, mainly different from vertical text. There are multiple coordinate settings in SVG. There is a coordinate system for each vertical text. If the text is described as vertical representation, we need to perform it. Loop operation, each text is processed separately, and the width and height of the current text are calculated. Since the coordinate system of the vertical text is slightly different, the coordinate value of the Y-axis should be appropriately increased or decreased.
- Parse the CIM file Load the CIM file into the program and parse it line by line. Take a specific circuit breaker as an example:
- Drawing equipment is associated with the ledger.
- the invention provides a power system graphic system substation primary system diagram and a shared switch of the OPEN3000 system Realize the data interaction and interoperability of graphics, thus realize the flow and sharing of graphics topology data, reducing the complexity and workload of data maintenance.
- the present invention may have other embodiments, and any technical solutions formed by equivalent replacement or equivalent transformation fall within the protection scope of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Health & Medical Sciences (AREA)
- Marketing (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Primary Health Care (AREA)
- General Engineering & Computer Science (AREA)
- Water Supply & Treatment (AREA)
- Public Health (AREA)
- General Health & Medical Sciences (AREA)
- Game Theory and Decision Science (AREA)
- Development Economics (AREA)
- Educational Administration (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Human Computer Interaction (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
Abstract
A method for graphics interaction between a grid production management system and a scheduling automation system. The method comprises: acquiring an SVG file and a CIM file of a substation primary system diagram of a standard format which are provided by an OPEN3000 system; loading a graphics library of a VG file, so as to parse the specific attribute of a graphicss primitive; parsing the SVG file, so as to acquire layer information; parsing the CIM file, so as to acquire ledger information about a device; and associating a drawing device with a ledger, so as to generate the substation primary system diagram. The interaction and interoperation of graphics data are achieved through a sharing and exchanging mechanism of the substation primary system diagram of a grid graphics system and the OPEN3000 system, so that the flowing and sharing of graphics topology data are achieved, thereby reducing the complexity and workload of data maintenance.
Description
本发明涉及电网生产管理系统及调度自动化系统,尤其涉及生产管理系统及调度自动化系统图形交互方法,属于电网图模技术领域。The invention relates to a grid production management system and a dispatching automation system, in particular to a production management system and a graphical interaction method of a dispatching automation system, and belongs to the technical field of power grid pattern.
电网图形系统,即为生产管理系统(Power Production Management System,PMS)中的图形模块,其现阶段主要应用有:变电站一次系统图绘制、设备关联台账、通过图形审核发布将一次系统图延布至地理信息系统(Geographic Information System,GIS)。OPEN3000系统,即为调度自动化管理系统,主要用于实现电网的实时监控。The grid graphics system, which is the graphics module in the Power Production Management System (PMS), is mainly used at the current stage: sub-station one-time system diagram drawing, equipment-related accounting, and the release of a system diagram through graphical auditing. To the Geographic Information System (GIS). OPEN3000 system, which is the dispatching automation management system, is mainly used to realize real-time monitoring of the power grid.
以上两个系统是变电运维专业日常工作主要面对的两个业务系统,目前两个系统之间是异构的,存在图形、数据模型描述不一致等问题,致使异构系统间不能直接进行图形数据交换。OPEN3000系统的图形描述基于标准可伸缩矢量图形(Scalable Vector Graph,SVG),电网图形系统系统的图形描述基于公共信息模型(Common Information Model,CIM)和(Visual Graph,VG)。对于同样一幅图形,用户不得不在两个系统上重复录入,这造成人力资源浪费并且加大了图形后期维护的难度。因此,研发一种能实现生产管理系统及调度自动化系统图形交互的方法,对于实现图形拓扑数据的流动与共享,减少数据维护复杂度和工作量具有重要意义。The above two systems are the two business systems that are mainly faced by the daily work of the substation operation and maintenance. Currently, the two systems are heterogeneous, and there are problems such as inconsistent descriptions of graphics and data models, which makes it impossible to directly perform heterogeneous systems. Graphic data exchange. The graphical description of the OPEN3000 system is based on the standard Scalable Vector Graph (SVG), and the graphical description of the grid graphics system is based on the Common Information Model (CIM) and (Visual Graph, VG). For the same picture, the user has to repeatedly enter on both systems, which wastes human resources and increases the difficulty of maintaining the graphics later. Therefore, the development of a method for realizing the graphical interaction between the production management system and the dispatching automation system is of great significance for realizing the flow and sharing of graphical topology data and reducing the complexity and workload of data maintenance.
发明内容Summary of the invention
本发明的目的在于提供一种电网生产管理系统与调度自动化系统图形交互
方法,针对电网图形系统和OPEN3000系统图形、数据模型描述不一致等问题,形成电网图形系统变电站一次系统图与OPEN3000系统的共享交换机制,实现图形的数据交互和互操作,从而实现图形拓扑数据的流动与共享,减少数据维护复杂度和工作量。The object of the present invention is to provide a graphical interaction between a grid production management system and a dispatch automation system.
Methods, for the grid graphics system and OPEN3000 system graphics, data model description inconsistency and other issues, the formation of grid system system substation primary system map and OPEN3000 system shared exchange mechanism, to achieve graphical data interaction and interoperability, thus achieving the flow of graphical topology data With sharing, reduce data maintenance complexity and workload.
本发明的目的通过以下技术方案予以实现:The object of the invention is achieved by the following technical solutions:
一种电网生产管理系统与调度自动化系统图形交互方法,包括以下步骤:A graphic interaction method between a grid production management system and a dispatch automation system includes the following steps:
1)获取OPEN3000系统提供的标准格式变电站一次系统图的SVG文件、CIM文件;1) Obtain the SVG file and CIM file of the system diagram of the standard format substation provided by the OPEN3000 system;
2)加载VG文件图形库,准备解析图元的特有属性;2) Load the VG file graphics library, ready to parse the unique attributes of the primitive;
3)解析SVG文件3) Parsing SVG files
将SVG文件加载到程序中,遍历得到图层信息;在生产管理系统的电网图形系统中新生成一张图纸,将遍历得到的图层信息展示到图纸上;Loading the SVG file into the program, traversing to obtain the layer information; newly generating a drawing in the grid graphics system of the production management system, and displaying the traversed layer information on the drawing;
4)解析CIM文件4) Parsing CIM files
将CIM文件加载到程序中,逐行解析,步骤如下:Load the CIM file into the program and parse it line by line. The steps are as follows:
(1)判断取得的数据行开头的关键字,如果以关键字<Breaker开头,则下面每行是断路器的数据,则以下围绕断路器操作数据,如果以关键字</Breaker开头,则说明断路器的数据到此结束,如果以关键字#开头,说明该行是具体数据行;(1) Determine the keyword at the beginning of the obtained data line. If the keyword starts with the keyword <Breaker, then each of the following lines is the data of the circuit breaker. The following is the operation data around the circuit breaker. If it starts with the keyword </Breaker, it means The data of the circuit breaker ends here. If it starts with the keyword #, it indicates that the line is a specific data line;
(2)将解析得到的设备台账信息与生产管理系统PMS台账做对应;(2) Corresponding to the equipment account information obtained by the analysis and the PMS account of the production management system;
5)图纸设备与台账关联5) Drawing equipment is associated with the ledger
(1)自动关联台账的方法为:对于生产管理系统与调度自动化系统对应上的设备,包括主变、断路器、母线、刀闸四类设备,可以自动关联生产管理系
统PMS台账;即根据SVG文件中图元的objectID和objectName到CIM文件中匹配具体的调度台账,根据调度台账匹配到生产管理系统的台账,直接与VG图元相关联;(1) The method of automatically associating the ledger is: for the equipment corresponding to the production management system and the dispatching automation system, including the main transformer, circuit breaker, busbar and knife gate, the equipment can be automatically associated with the production management system.
The PMS account; that is, according to the objectID of the entity in the SVG file and the objectName to the CIM file to match the specific scheduling account, according to the scheduling account to match the account of the production management system, directly associated with the VG primitive;
(2)手动关联台账的方法为:对于生产管理系统与调度自动化系统没有对应上的设备,打开步骤3)得到的图纸,点击图纸上的设备与台账进行关联,最终得到完整的变电站站内一次图。(2) The method of manually associating the ledger is: for the production management system and the dispatching automation system, there is no corresponding equipment, open the drawing obtained in step 3), click the equipment on the drawing to associate with the ledger, and finally get the complete substation station. One picture.
本发明的目的还可以通过以下技术措施来进一步实现:The object of the present invention can also be further achieved by the following technical measures:
前述电网生产管理系统与调度自动化系统图形交互方法,其中步骤3)中对图元信息进行解析的方法为:The foregoing graphic production interaction system and the dispatching automation system graphical interaction method, wherein the method for parsing the primitive information in step 3) is:
将SVG文件解析得到的图元属性进行处理,对应到VG图元的属性,对于相同的属性:名称、坐标,直接对应;The primitive attribute parsed by the SVG file is processed, corresponding to the attribute of the VG primitive, and directly corresponding to the same attribute: name, coordinate;
对于不同的属性:放大、缩小、旋转,按下述方法处理:For different properties: zoom in, zoom out, rotate, proceed as follows:
SVG文件中图元信息包括图元名称、坐标信息(x,y)、图元宽度width、图元高度height、图元放大比例scale、旋转角度、旋转中心点rotate,由于该旋转中心点是针对SVG的坐标系的坐标,对应到VG图元时,中心点的坐标信息需要根据原坐标信息、放大信息来确定;The meta-information in the SVG file includes the primitive name, coordinate information (x, y), the width of the primitive, the height of the primitive, the scale of the magnification of the primitive, the rotation angle, and the rotation center point rotate, since the rotation center point is When the coordinates of the SVG coordinate system correspond to the VG primitive, the coordinate information of the center point needs to be determined according to the original coordinate information and the enlarged information;
VG控件的中心点坐标为:The coordinates of the center point of the VG control are:
xVG=xSVG+width*scale/2x VG = x SVG +width*scale/2
yVG=ySVG+height*scale/2y VG =y SVG +height*scale/2
VG控件的宽高为:The width and height of the VG control are:
width=width*scaleWidth=width*scale
height=height*scale
Height=height*scale
将元件展示到图层时,在VG控件库中加载该元件的图元,以上述VG控件的中心点坐标为中心,以上述VG控件的宽高为VG图元的宽高,以旋转角度、旋转中心点rotate提供的角度进行顺时针旋转并展示到VG面板上。When the component is displayed to the layer, the primitive of the component is loaded in the VG control library, centered on the coordinates of the center point of the VG control, and the width and height of the VG control are the width and height of the VG primitive, with a rotation angle, The angle provided by the rotation center point rotate is rotated clockwise and displayed on the VG panel.
前述电网生产管理系统与调度自动化系统图形交互方法,其中步骤3)中对线条信息进行解析的方法如下:The foregoing method for interactively interacting with the grid production management system and the dispatch automation system, wherein the method for parsing the line information in step 3) is as follows:
SVG文件中线条信息包括:stroke-width表示线的宽度,stroke表示线的颜色,stroke-dasharray表示为虚线或实线,M表示该线条的起点坐标,L表示该线条拐点或者终点的坐标;由于SVG中的颜色采用RGB(0,255,0)表现,而VG中颜色采用UINT类型进行展示,将SVG中颜色转换成VG可用的颜色;The line information in the SVG file includes: stroke-width indicates the width of the line, stroke indicates the color of the line, stroke-dasharray indicates the dotted line or solid line, M indicates the starting point coordinate of the line, and L indicates the coordinates of the inflection point or the end point of the line; The colors in SVG are represented by RGB (0, 255, 0), while the colors in VG are displayed using the UINT type, and the colors in SVG are converted into colors available for VG;
VGuint=ColorTranslator.ToWin32(R,G,B)VG uint =ColorTranslator.ToWin32(R,G,B)
最后根据线条的宽度、坐标以及颜色直接在VG面板上绘制。Finally, draw directly on the VG panel based on the width, coordinates, and color of the line.
前述电网生产管理系统与调度自动化系统图形交互方法,其中步骤3)中对矩形信息进行解析的方法如下:The foregoing method for graphically interacting with the grid production management system and the dispatch automation system, wherein the method for parsing the rectangular information in step 3) is as follows:
SVG文件中矩形信息为:x、y表示矩形左上角点的坐标,width表示矩形的宽度,height表示矩形的高度,stroke表示颜色,fill表示是否填充,stroke-width表示矩形边框的宽度;根据上述矩形信息直接在VG面板上绘制。The rectangle information in the SVG file is: x, y represents the coordinates of the upper left corner of the rectangle, width represents the width of the rectangle, height represents the height of the rectangle, stroke represents the color, fill represents whether the fill is filled, and stroke-width represents the width of the rectangular border; The rectangle information is drawn directly on the VG panel.
前述电网生产管理系统与调度自动化系统图形交互方法,其中步骤3)中对文字信息进行解析的方法如下:The foregoing method for interactively interacting with the grid production management system and the dispatch automation system, wherein the method for parsing the text information in step 3) is as follows:
横向文字表现形式在解析时,为了防止文字与图元过于贴近,文字坐标系需根据文字大小属性进行5至10像素的增减,如果文字涉及换行操作需对其属性进行设置,文字的宽度和高度因情况不同而设定,对于文字坐标系,因每个文字在SVG中只存储了文字大小、颜色以及坐标系,而在VG中需要计算出每个
文字的宽度、高度,在设置VG文字时需要调整文字的宽度。When the horizontal text representation is parsed, in order to prevent the text and the primitive from being too close, the text coordinate system needs to increase or decrease by 5 to 10 pixels according to the text size attribute. If the text involves a newline operation, the attribute needs to be set, the width of the text and The height is set depending on the situation. For the text coordinate system, since each text only stores the text size, color, and coordinate system in the SVG, each of the VG needs to be calculated.
The width and height of the text, you need to adjust the width of the text when setting the VG text.
竖向文字表现形式在SVG中有多个坐标设定,竖向的每一个文字都有一个坐标系,对文字竖向表现形式要对其进行循环操作,将每一个文字单独处理,并计算出当前文字的宽、高,并对其Y轴的坐标值进行5至10像素的增减。The vertical text representation has multiple coordinate settings in SVG. Each vertical text has a coordinate system. The vertical representation of the text should be cyclically processed, and each text should be processed separately and calculated. The width and height of the current text, and the coordinate value of the Y axis is increased or decreased by 5 to 10 pixels.
与现有技术相比,本发明的有益效果是:本发明获取OPEN3000系统提供的标准格式变电站一次系统图的SVG文件、CIM文件;加载VG文件图形库,以便于解析图元的特有属性;解析SVG文件,获取图层信息;解析CIM文件,获取设备台账信息;图纸设备与台账关联,生成变电站一次系统图。本发明将电网图形系统变电站一次系统图与OPEN3000系统的共享交换机制实现图形的数据交互和互操作,从而实现图形拓扑数据的流动与共享,减少了数据维护复杂度和工作量。Compared with the prior art, the invention has the beneficial effects that the present invention acquires the SVG file and the CIM file of the primary system diagram of the standard format substation provided by the OPEN3000 system; and loads the VG file graphics library to facilitate the analysis of the unique attributes of the primitive; The SVG file acquires layer information; parses the CIM file to obtain device account information; and the drawing device is associated with the ledger to generate a system diagram of the substation. The invention realizes the data interaction and interoperation of the graphic system by the primary system diagram of the power grid graphics system substation and the shared exchange mechanism of the OPEN3000 system, thereby realizing the flow and sharing of the graphic topology data, and reducing the data maintenance complexity and workload.
图1是本发明的解析SVG和CIM生成电网图形系统电网模型的流程图。1 is a flow chart of the present invention for analyzing SVG and CIM generated grid graphics system grid models.
下面结合附图和具体实施例对本发明作进一步说明。The invention will be further described below in conjunction with the drawings and specific embodiments.
如图1所示是本发明的解析SVG和CIM生成电网图形系统电网模型的流程图,本发明电网生产管理系统与调度自动化系统图形交互方法包括以下步骤:FIG. 1 is a flowchart of the present invention for analyzing a grid model of a grid system by SVG and CIM. The method for graphically interacting between a grid production management system and a dispatch automation system includes the following steps:
1.获取OPEN3000系统提供的标准格式变电站一次系统图的SVG文件、CIM文件;1. Obtain the SVG file and CIM file of the primary system diagram of the standard format substation provided by the OPEN3000 system;
2.加载VG文件图形库,以便于解析图元的特有属性;2. Load the VG file graphics library to facilitate parsing the unique properties of the primitive;
3.解析SVG文件:将SVG文件加载到程序中,遍历得到图层信息。在电网图形系统新生成一张图纸,将遍历得到的图层信息展示到图纸上,根据不同的种
类采取不同的处理方法:3. Parse the SVG file: Load the SVG file into the program and traverse to get the layer information. A new drawing is generated in the grid graphics system, and the layer information obtained by traversing is displayed on the drawing, according to different species.
Classes take different approaches:
a)图元信息:将SVG文件解析得到的图元属性进行处理,对应到VG图元的属性。对于相同的属性,例如名称、坐标等,可以直接对应,不同的属性例如放大、缩小、偏移、旋转、颜色等,需要经过特殊处理。下面以具体的出线开关为例进行说明:a) Element information: The element attributes parsed from the SVG file are processed to correspond to the attributes of the VG element. For the same attributes, such as name, coordinates, etc., you can directly correspond to different attributes such as zoom in, zoom out, offset, rotate, color, etc., which require special processing. The following is an example of a specific outlet switch:
SVG文件中变电站出线开关信息为The substation outlet switch information in the SVG file is
<use x="3766.41522" y="1788.791534" width="64" height="64" transform="scale(1.5) rotate(270 3790.41522 1812.791534)" xlink:href="#Breaker_BD_变电站出线开关@2" class="20kV"/><use x="3766.41522" y="1788.791534" width="64" height="64" transform="scale(1.5) rotate(270 3790.41522 1812.791534)" xlink:href="#Breaker_BD_Substation outlet switch@2" Class="20kV"/>
其中,x、y表示该图元的坐标信息,width表示该图元的宽度、height表示该图元的高度、scale(1.5)表示该图元放大1.5倍,rotate(270 3790.41522 1812.791534)表示旋转角度以及旋转中心点。由于该旋转中心点是针对SVG的坐标系的坐标,对应到VG图元时,中心点的坐标信息需要根据原坐标信息、放大信息来确定。Where x and y represent the coordinate information of the primitive, width represents the width of the primitive, height represents the height of the primitive, scale (1.5) indicates that the primitive is magnified 1.5 times, and rotate (270 3790.41522 1812.791534) represents the rotation angle. And the center of rotation. Since the rotation center point is the coordinate of the coordinate system for the SVG, when corresponding to the VG picture element, the coordinate information of the center point needs to be determined according to the original coordinate information and the amplification information.
VG控件的中心点坐标信息为:The center point coordinate information of the VG control is:
xVG=xSVG+width*scale/2x VG = x SVG +width*scale/2
yVG=ySVG+height*scale/2y VG =y SVG +height*scale/2
该元件展示到图层时,在VG控件库中加载该图元,以上述的中心点坐标为中心,以rotate提供的角度进行旋转并展示到VG面板上。When the component is displayed to the layer, the primitive is loaded in the VG control library, centered on the coordinates of the center point described above, and rotated at the angle provided by rotate and displayed on the VG panel.
b)线条信息:将SVG文件解析得到的线条信息直接画到VG面板上,下面以具体的线条为例进行说明:b) Line information: The line information obtained by parsing the SVG file is directly drawn onto the VG panel. The following is an example of a specific line:
SVG文件中线条的信息为:
The information of the lines in the SVG file is:
<path stroke-width="2" stroke="rgb(0,0,0)" stroke-dasharray="3 3" fill="none" d="M 2848.108042,870.79043 L 2871.530085,870.79043 L 2871.530085,841.326025"/><path stroke-width="2" stroke="rgb(0,0,0)" stroke-dasharray="3 3" fill="none" d="M 2848.108042,870.79043 L 2871.530085,870.79043 L 2871.530085,841.326025" />
其中,stroke-width表示线的宽度,stroke表示线的颜色,stroke-dasharray表示是否为虚线或实线,M表示该线条的起点坐标,L表示该线条拐点或者终点的坐标。由于SVG中的颜色采用RGB(0,255,0)表现,而VG中颜色采用UINT类型进行展示,需要通过特有的方法对RGB的SVG颜色进行转换VG可用的颜色。Among them, stroke-width indicates the width of the line, stroke indicates the color of the line, stroke-dasharray indicates whether it is a dotted line or a solid line, M indicates the starting point coordinate of the line, and L indicates the coordinates of the inflection point or the end point of the line. Since the colors in SVG are represented by RGB (0, 255, 0), and the colors in VG are displayed using the UINT type, it is necessary to convert the RGB SVG colors to the available colors of VG by a unique method.
VGuint=ColorTranslator.ToWin32(R,G,B)VG uint =ColorTranslator.ToWin32(R,G,B)
根据该线条的宽度、坐标以及颜色直接在VG面板上绘制即可。It can be drawn directly on the VG panel according to the width, coordinates and color of the line.
c)矩形信息:将SVG文件解析得到的矩形信息直接画到VG面板上,下面以具体的矩形为例进行说明:c) Rectangular information: The rectangular information obtained by parsing the SVG file is directly drawn onto the VG panel. The following is an example of a specific rectangle:
SVG文件中矩形的信息为:The information of the rectangle in the SVG file is:
<rect id="" x="8" y="12" width="48" height="40" stroke="rgb(255,0,0)" fill="none" stroke-width="1"/><rect id="" x="8" y="12" width="48" height="40" stroke="rgb(255,0,0)" fill="none" stroke-width="1" />
其中,x、y表示该矩形左上角点的坐标信息,width表示矩形的宽度,height表示矩形的高度,stroke表示颜色,fill表示是否填充,stroke-width表示矩形边框的宽度。Where x and y represent the coordinate information of the upper left corner of the rectangle, width represents the width of the rectangle, height represents the height of the rectangle, stroke represents the color, fill represents whether the fill is filled, and stroke-width represents the width of the rectangular border.
根据该矩形的坐标信息、长宽信息、颜色信息、填充信息以及边框宽度直接在VG面板上绘制即可。According to the coordinate information, the length and width information, the color information, the filling information, and the border width of the rectangle, it can be directly drawn on the VG panel.
d)文字信息:在绘制文字时,因文字描述有所不同表现的形式也不同,有横向表现形式与竖向表现形式2种。
d) Text information: When drawing text, the form of expression differs according to the text description, and there are two types of horizontal expression and vertical expression.
横向文字表现形式在解析时应注意,文字坐标系需根据文字大小属性进行适当控制,如果文字涉及换行操作需对其属性进行设置,文字的宽度和高度因情况不同而设定,重中之重为设置文字坐标系,因每个文字在SVG中只存储了文字大小、颜色以及坐标系,而在VG中我们需要进一步计算出每个文字的的大小、宽度、高度进行计算,展示文字时如按照正常处理画面展示文字会略有差距,所以在设置VG文字时需要适当调整文字的宽度。When the horizontal text representation is parsed, it should be noted that the text coordinate system needs to be properly controlled according to the text size attribute. If the text involves a newline operation, its attribute needs to be set. The width and height of the text are set differently depending on the situation. In order to set the text coordinate system, since each text only stores the text size, color and coordinate system in SVG, in VG we need to further calculate the size, width and height of each text to calculate, such as when displaying text. There is a slight gap between the text displayed on the normal processing screen, so you need to adjust the width of the text appropriately when setting the VG text.
竖向文字表现形式与横向类似,主要区别于竖向文字在SVG中有多个坐标设定对竖向的每一个文字都有一个坐标系,若文字描述为竖向表现形式我们需要对其进行循环操作,将每一个文字单独处理,并计算出当前文字的宽、高,由于竖向文字的坐标系略有出入需对其适当的增减Y轴的坐标值。Vertical text representation is similar to landscape, mainly different from vertical text. There are multiple coordinate settings in SVG. There is a coordinate system for each vertical text. If the text is described as vertical representation, we need to perform it. Loop operation, each text is processed separately, and the width and height of the current text are calculated. Since the coordinate system of the vertical text is slightly different, the coordinate value of the Y-axis should be appropriately increased or decreased.
e)将上述解析得到的结果展示到图纸上,此时的图纸中的设备元件都无台账关联,需要进一步解析图元的台账信息。e) The results obtained by the above analysis are displayed on the drawing. At this time, the equipment components in the drawings are not associated with the account, and the account information of the primitives needs to be further analyzed.
4.解析CIM文件:将CIM文件加载到程序中,逐行解析。下面以一个具体的断路器为例:4. Parse the CIM file: Load the CIM file into the program and parse it line by line. Take a specific circuit breaker as an example:
判断取得的数据行是否以某些关键字开头,以<Breaker开头,说明下面每行是断路器的数据,则以下围绕断路器操作数据,以</Breaker开头,说明断路器的数据到此结束,以#开头,说明该行是具体数据行。Determine whether the obtained data line starts with some keywords, starting with <Breaker, indicating that each line below is the data of the circuit breaker, then the following circuit breaker operation data, starting with </Breaker, the circuit breaker data ends here. , starting with #, indicating that the line is a specific data line.
将解析得到的设备台账信息新增入PMS数据库。Add the parsed device accounting information to the PMS database.
5.图纸设备与台账关联。5. Drawing equipment is associated with the ledger.
打开第3步得到的图纸,点击图纸上的设备与台账进行关联,最终得到完整的变电站站内一次图。Open the drawing obtained in step 3, click on the equipment on the drawing and associate it with the ledger, and finally get a complete map of the substation station.
本发明将电网图形系统变电站一次系统图与OPEN3000系统的共享交换机
制实现图形的数据交互和互操作,从而实现图形拓扑数据的流动与共享,减少了数据维护复杂度和工作量。The invention provides a power system graphic system substation primary system diagram and a shared switch of the OPEN3000 system
Realize the data interaction and interoperability of graphics, thus realize the flow and sharing of graphics topology data, reducing the complexity and workload of data maintenance.
除上述实施例外,本发明还可以有其他实施方式,凡采用等同替换或等效变换形成的技术方案,均落在本发明要求的保护范围内。
In addition to the above-described embodiments, the present invention may have other embodiments, and any technical solutions formed by equivalent replacement or equivalent transformation fall within the protection scope of the present invention.
Claims (5)
- 一种电网生产管理系统与调度自动化系统图形交互方法,其特征在于,包括以下步骤:A graphic interaction method between a grid production management system and a dispatch automation system, characterized in that the method comprises the following steps:1)获取OPEN3000系统提供的标准格式变电站一次系统图的SVG文件、CIM文件;1) Obtain the SVG file and CIM file of the system diagram of the standard format substation provided by the OPEN3000 system;2)加载VG文件图形库,准备解析图元的特有属性;2) Load the VG file graphics library, ready to parse the unique attributes of the primitive;3)解析SVG文件3) Parsing SVG files将SVG文件加载到程序中,遍历得到图层信息;在生产管理系统的电网图形系统中新生成一张图纸,将遍历得到的图层信息展示到图纸上;Loading the SVG file into the program, traversing to obtain the layer information; newly generating a drawing in the grid graphics system of the production management system, and displaying the traversed layer information on the drawing;4)解析CIM文件4) Parsing CIM files将CIM文件加载到程序中,逐行解析,步骤如下:Load the CIM file into the program and parse it line by line. The steps are as follows:(1)判断取得的数据行开头的关键字,如果以关键字<Breaker开头,则下面每行是断路器的数据,则以下围绕断路器操作数据,如果以关键字</Breaker开头,则说明断路器的数据到此结束,如果以关键字#开头,说明该行是具体数据行;(1) Determine the keyword at the beginning of the obtained data line. If the keyword starts with the keyword <Breaker, then each of the following lines is the data of the circuit breaker. The following is the operation data around the circuit breaker. If it starts with the keyword </Breaker, it means The data of the circuit breaker ends here. If it starts with the keyword #, it indicates that the line is a specific data line;(2)将解析得到的设备台账信息与生产管理系统PMS台账做对应;(2) Corresponding to the equipment account information obtained by the analysis and the PMS account of the production management system;5)图纸设备与台账关联5) Drawing equipment is associated with the ledger(1)自动关联台账的方法为:对于生产管理系统与调度自动化系统对应上的设备,包括主变、断路器、母线、刀闸四类设备,可以自动关联生产管理系统PMS台账;即根据SVG文件中图元的objectID和objectName到CIM文件中匹配具体的调度台账,根据调度台账匹配到生产管理系统的台账,直接与VG图元相关联;(1) The method of automatically associating the ledger is: for the equipment corresponding to the production management system and the dispatching automation system, including the main transformer, circuit breaker, busbar and knife gate, the equipment management system PMS account can be automatically associated; According to the object ID of the primitive in the SVG file and the objectName to the CIM file to match the specific scheduling account, according to the scheduling ledger matching to the account of the production management system, directly associated with the VG primitive;(2)手动关联台账的方法为:对于生产管理系统与调度自动化系统没有对 应上的设备,打开步骤3)得到的图纸,点击图纸上的设备与台账进行关联,最终得到完整的变电站站内一次图。(2) The method of manually associating the ledger is: there is no right for the production management system and the dispatching automation system. On the equipment to be opened, open the drawing obtained in step 3), click on the equipment on the drawing and associate it with the ledger, and finally get a complete map of the substation station.
- 如权利要求1所述的电网生产管理系统与调度自动化系统图形交互方法,其特征在于,所述步骤3)中对图元信息进行解析的方法为:The method for interpreting the meta-information management system and the dispatching automation system according to claim 1, wherein the method for parsing the primitive information in the step 3) is:将SVG文件解析得到的图元属性进行处理,对应到VG图元的属性,对于相同的属性:名称、坐标,直接对应;The primitive attribute parsed by the SVG file is processed, corresponding to the attribute of the VG primitive, and directly corresponding to the same attribute: name, coordinate;对于不同的属性:放大、缩小、旋转,按下述方法处理:For different properties: zoom in, zoom out, rotate, proceed as follows:SVG文件中图元信息包括图元名称、坐标信息(x,y)、图元宽度width、图元高度height、图元放大比例scale、旋转角度、旋转中心点rotate,由于该旋转中心点是针对SVG的坐标系的坐标,对应到VG图元时,中心点的坐标信息需要根据原坐标信息、放大信息来确定;The meta-information in the SVG file includes the primitive name, coordinate information (x, y), the width of the primitive, the height of the primitive, the scale of the magnification of the primitive, the rotation angle, and the rotation center point rotate, since the rotation center point is When the coordinates of the SVG coordinate system correspond to the VG primitive, the coordinate information of the center point needs to be determined according to the original coordinate information and the enlarged information;VG控件的中心点坐标为:The coordinates of the center point of the VG control are:xVG=xSVG+width*scale/2x VG = x SVG +width*scale/2yVG=ySVG+height*scale/2y VG =y SVG +height*scale/2VG控件的宽高为:The width and height of the VG control are:width=width*scaleWidth=width*scaleheight=height*scaleHeight=height*scale将元件展示到图层时,在VG控件库中加载该元件的图元,以上述VG控件的中心点坐标为中心,以上述VG控件的宽高为VG图元的宽高,以旋转角度、旋转中心点rotate提供的角度进行顺时针旋转并展示到VG面板上。When the component is displayed to the layer, the primitive of the component is loaded in the VG control library, centered on the coordinates of the center point of the VG control, and the width and height of the VG control are the width and height of the VG primitive, with a rotation angle, The angle provided by the rotation center point rotate is rotated clockwise and displayed on the VG panel.
- 如权利要求1所述的电网生产管理系统与调度自动化系统图形交互方法,其特征在于,所述步骤3)中对线条信息进行解析的方法如下:The method for interactively interacting with the line production management system and the dispatching automation system according to claim 1, wherein the method for parsing the line information in the step 3) is as follows:SVG文件中线条信息包括:stroke-width表示线的宽度,stroke表示线的 颜色,stroke-dasharray表示为虚线或实线,M表示该线条的起点坐标,L表示该线条拐点或者终点的坐标;由于SVG中的颜色采用RGB(0,255,0)表现,而VG中颜色采用UINT类型进行展示,将SVG中颜色转换成VG可用的颜色;The line information in the SVG file includes: stroke-width indicates the width of the line, and stroke indicates the line Color, stroke-dasharray is represented as a dotted line or a solid line, M represents the starting point coordinates of the line, L represents the coordinates of the inflection point or the end point of the line; since the color in the SVG is represented by RGB (0, 255, 0), and the color in the VG is UINT Type to display, convert the color in SVG to the color available for VG;VGuint=ColorTranslator.ToWin32(R,G,B)VG uint =ColorTranslator.ToWin32(R,G,B)最后根据线条的宽度、坐标以及颜色直接在VG面板上绘制。Finally, draw directly on the VG panel based on the width, coordinates, and color of the line.
- 如权利要求1所述的电网生产管理系统与调度自动化系统图形交互方法,其特征在于,所述步骤3)中对矩形信息进行解析的方法如下:The method for graphically interacting with a grid production management system and a dispatching automation system according to claim 1, wherein the method for parsing rectangular information in the step 3) is as follows:SVG文件中矩形信息为:x、y表示矩形左上角点的坐标,width表示矩形的宽度,height表示矩形的高度,stroke表示颜色,fill表示是否填充,stroke-width表示矩形边框的宽度;根据上述矩形信息直接在VG面板上绘制。The rectangle information in the SVG file is: x, y represents the coordinates of the upper left corner of the rectangle, width represents the width of the rectangle, height represents the height of the rectangle, stroke represents the color, fill represents whether the fill is filled, and stroke-width represents the width of the rectangular border; The rectangle information is drawn directly on the VG panel.
- 如权利要求1所述的电网生产管理系统与调度自动化系统图形交互方法,其特征在于,所述步骤3)中对文字信息进行解析的方法如下:The method for graphically interacting with a grid production management system and a dispatch automation system according to claim 1, wherein the method for parsing text information in the step 3) is as follows:横向文字表现形式在解析时,为了防止文字与图元过于贴近,文字坐标系需根据文字大小属性进行5至10像素的增减,如果文字涉及换行操作需对其属性进行设置,文字的宽度和高度因情况不同而设定,对于文字坐标系,因每个文字在SVG中只存储了文字大小、颜色以及坐标系,而在VG中需要计算出每个文字的宽度、高度,在设置VG文字时需要调整文字的宽度;When the horizontal text representation is parsed, in order to prevent the text and the primitive from being too close, the text coordinate system needs to increase or decrease by 5 to 10 pixels according to the text size attribute. If the text involves a newline operation, the attribute needs to be set, the width of the text and The height is set depending on the situation. For the text coordinate system, since each text only stores the text size, color, and coordinate system in the SVG, the width and height of each text need to be calculated in the VG, and the VG text is set. Need to adjust the width of the text;竖向文字表现形式在SVG中有多个坐标设定,竖向的每一个文字都有一个坐标系,对文字竖向表现形式要对其进行循环操作,将每一个文字单独处理,并计算出当前文字的宽、高,并对其Y轴的坐标值进行5至10像素的增减。 The vertical text representation has multiple coordinate settings in SVG. Each vertical text has a coordinate system. The vertical representation of the text should be cyclically processed, and each text should be processed separately and calculated. The width and height of the current text, and the coordinate value of the Y axis is increased or decreased by 5 to 10 pixels.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410654654.6A CN104376416B (en) | 2014-11-17 | 2014-11-17 | Production Managementsystem For Electricpower Network and dispatch automated system graphic interaction method |
CN201410654654.6 | 2014-11-17 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016078474A1 true WO2016078474A1 (en) | 2016-05-26 |
Family
ID=52555311
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/090427 WO2016078474A1 (en) | 2014-11-17 | 2015-09-23 | Method for graphics interaction between grid production management system and scheduling automation system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104376416B (en) |
WO (1) | WO2016078474A1 (en) |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109753719A (en) * | 2018-12-29 | 2019-05-14 | 河南辉煌科技股份有限公司 | A method of identification switch location |
CN109800478A (en) * | 2018-12-29 | 2019-05-24 | 河南辉煌科技股份有限公司 | Semaphore knows method for distinguishing in a kind of railway drawing |
CN110096558A (en) * | 2019-03-28 | 2019-08-06 | 国智恒北斗好年景农业科技有限公司 | A kind of restorative procedure of the data space attribute based on GIS |
CN111045663A (en) * | 2019-11-11 | 2020-04-21 | 中冶南方(武汉)自动化有限公司 | Method and system for automatically generating vector graphic frame |
CN111241646A (en) * | 2020-01-10 | 2020-06-05 | 厦门亿力吉奥信息科技有限公司 | Layout method of power grid equipment and computer readable storage medium |
CN111259503A (en) * | 2020-01-09 | 2020-06-09 | 西安沣源智能装备科技有限公司 | Method for optimizing single line diagram of distribution network system |
CN111625944A (en) * | 2020-05-15 | 2020-09-04 | 中国南方电网有限责任公司 | Standard verification method for G file of transformer substation main wiring diagram |
CN111625689A (en) * | 2020-04-27 | 2020-09-04 | 国家电网有限公司 | SVG graph and monitoring information correlation verification method for transformer substation |
CN112560206A (en) * | 2020-11-23 | 2021-03-26 | 国网山东省电力公司青岛供电公司 | Method and system for automatically drawing power transmission line edge layout by CAD |
CN112581617A (en) * | 2020-10-23 | 2021-03-30 | 维坤智能科技(上海)有限公司 | Three-dimensional scene equipment model of transformer substation and electrical data connection method |
CN112598535A (en) * | 2020-12-10 | 2021-04-02 | 北京科东电力控制系统有限责任公司 | Method for measuring and retaining power distribution network equipment when SVG is converted into G file |
CN112994231A (en) * | 2020-12-31 | 2021-06-18 | 南京太司德智能电气有限公司 | Automatic point-aligning acceptance check method for graphic picture of power dispatching system |
CN113191733A (en) * | 2021-04-30 | 2021-07-30 | 金坤建设集团有限公司 | Project multi-party collaborative management system and method based on Internet |
CN113343396A (en) * | 2021-05-20 | 2021-09-03 | 南京南瑞信息通信科技有限公司 | Incremental distribution method from single line diagram of power distribution network to geographical wiring diagram |
CN113407181A (en) * | 2021-06-02 | 2021-09-17 | 国网浙江省电力有限公司宁波供电公司 | Lightweight man-machine terminal picture regulation and control information interaction method |
CN113687755A (en) * | 2021-08-23 | 2021-11-23 | 国电南瑞科技股份有限公司 | Realization device of graphical GIS, human-computer interaction system and use method |
CN113743057A (en) * | 2021-09-16 | 2021-12-03 | 南京金水尚阳信息技术有限公司 | Object recognition redrawing-based power grid OCS drawing conversion method |
CN114117570A (en) * | 2021-10-30 | 2022-03-01 | 中冶(上海)钢结构科技有限公司 | Software-based steel component approach statistics and drawing marking method |
CN114518815A (en) * | 2022-02-23 | 2022-05-20 | 阿里巴巴(中国)有限公司 | Method, device, equipment, medium and program product for displaying construction drawing |
CN114529705A (en) * | 2022-04-22 | 2022-05-24 | 山东捷瑞数字科技股份有限公司 | Interface layout processing method of three-dimensional engine editor |
CN114692241A (en) * | 2020-12-30 | 2022-07-01 | 久瓴(江苏)数字智能科技有限公司 | CAD drawing method and device, storage medium and computer equipment |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104376416B (en) * | 2014-11-17 | 2017-08-08 | 国家电网公司 | Production Managementsystem For Electricpower Network and dispatch automated system graphic interaction method |
CN106910143A (en) * | 2017-03-30 | 2017-06-30 | 广东电网有限责任公司中山供电局 | Power distribution network artwork multi-edition control method and system |
CN108647303A (en) * | 2018-05-09 | 2018-10-12 | 国电南瑞科技股份有限公司 | Substation's shape library deriving method based on CIM/G specifications |
CN111191332A (en) * | 2019-12-25 | 2020-05-22 | 中国南方电网有限责任公司 | Stock data initialization system and method for dispatching master station transformer diagram module to GIS platform |
CN113312952B (en) * | 2020-12-31 | 2024-04-30 | 南京太司德智能电气有限公司 | Method for checking consistency of power graphic picture association engineering in svg format |
CN112667833B (en) * | 2021-01-05 | 2024-03-01 | 北京用尚科技股份有限公司 | Method for automatically switching and checking multiple logic diagrams of power system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101354702A (en) * | 2008-05-05 | 2009-01-28 | 国网南京自动化研究院 | Interactive implementing method of electrical power system pattern based on IEC61970 standard |
EP2352105A1 (en) * | 2008-12-30 | 2011-08-03 | State Grid Corporation of China | Method and system of graphics description and transformation |
CN103809959A (en) * | 2013-09-29 | 2014-05-21 | 国家电网公司 | Method for transforming VG (vector graphics) graph into SVG (scalable vector graphics) graph |
CN104376416A (en) * | 2014-11-17 | 2015-02-25 | 国家电网公司 | Graphic interaction method for power grid production management system and dispatching automation system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102938098A (en) * | 2012-10-15 | 2013-02-20 | 深圳供电局有限公司 | Power grid operation mode expert system |
-
2014
- 2014-11-17 CN CN201410654654.6A patent/CN104376416B/en active Active
-
2015
- 2015-09-23 WO PCT/CN2015/090427 patent/WO2016078474A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101354702A (en) * | 2008-05-05 | 2009-01-28 | 国网南京自动化研究院 | Interactive implementing method of electrical power system pattern based on IEC61970 standard |
EP2352105A1 (en) * | 2008-12-30 | 2011-08-03 | State Grid Corporation of China | Method and system of graphics description and transformation |
CN103809959A (en) * | 2013-09-29 | 2014-05-21 | 国家电网公司 | Method for transforming VG (vector graphics) graph into SVG (scalable vector graphics) graph |
CN104376416A (en) * | 2014-11-17 | 2015-02-25 | 国家电网公司 | Graphic interaction method for power grid production management system and dispatching automation system |
Non-Patent Citations (2)
Title |
---|
CHEN, JIAOJING: "The Research and Application on OPEN-3000 Power Network Automatic Dispatching System Graphics Sharing Technology", MECHANICAL AND ELECTRICAL INFORMATION, 25 April 2010 (2010-04-25), ISSN: 1671-0797 * |
LI, HUISONG: "Analysis on Interactive Rule of SVG-based Power Grid Common Graph", INDUSTRIAL CONTROL COMPUTER, vol. 25, no. 3, 25 March 2012 (2012-03-25), ISSN: 1001-182X * |
Cited By (35)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109753719A (en) * | 2018-12-29 | 2019-05-14 | 河南辉煌科技股份有限公司 | A method of identification switch location |
CN109800478A (en) * | 2018-12-29 | 2019-05-24 | 河南辉煌科技股份有限公司 | Semaphore knows method for distinguishing in a kind of railway drawing |
CN109753719B (en) * | 2018-12-29 | 2022-09-16 | 河南辉煌科技股份有限公司 | Method for identifying turnout position |
CN109800478B (en) * | 2018-12-29 | 2022-09-13 | 河南辉煌科技股份有限公司 | Method for identifying signal machine in railway drawing |
CN110096558A (en) * | 2019-03-28 | 2019-08-06 | 国智恒北斗好年景农业科技有限公司 | A kind of restorative procedure of the data space attribute based on GIS |
CN111045663B (en) * | 2019-11-11 | 2023-05-23 | 中冶南方(武汉)自动化有限公司 | Method and system for automatically generating vector graphic frame |
CN111045663A (en) * | 2019-11-11 | 2020-04-21 | 中冶南方(武汉)自动化有限公司 | Method and system for automatically generating vector graphic frame |
CN111259503A (en) * | 2020-01-09 | 2020-06-09 | 西安沣源智能装备科技有限公司 | Method for optimizing single line diagram of distribution network system |
CN111259503B (en) * | 2020-01-09 | 2023-06-27 | 西安沣源智能装备科技有限公司 | Optimization method for single line diagram of distribution network system |
CN111241646A (en) * | 2020-01-10 | 2020-06-05 | 厦门亿力吉奥信息科技有限公司 | Layout method of power grid equipment and computer readable storage medium |
CN111241646B (en) * | 2020-01-10 | 2023-03-28 | 厦门亿力吉奥信息科技有限公司 | Layout method of power grid equipment and computer readable storage medium |
CN111625689A (en) * | 2020-04-27 | 2020-09-04 | 国家电网有限公司 | SVG graph and monitoring information correlation verification method for transformer substation |
CN111625689B (en) * | 2020-04-27 | 2024-03-19 | 国网山东省电力公司泰安供电公司 | SVG graph and monitoring information correlation verification method for transformer substation |
CN111625944A (en) * | 2020-05-15 | 2020-09-04 | 中国南方电网有限责任公司 | Standard verification method for G file of transformer substation main wiring diagram |
CN111625944B (en) * | 2020-05-15 | 2022-11-29 | 中国南方电网有限责任公司 | Normalization verification method for G file of transformer substation main wiring diagram |
CN112581617A (en) * | 2020-10-23 | 2021-03-30 | 维坤智能科技(上海)有限公司 | Three-dimensional scene equipment model of transformer substation and electrical data connection method |
CN112560206A (en) * | 2020-11-23 | 2021-03-26 | 国网山东省电力公司青岛供电公司 | Method and system for automatically drawing power transmission line edge layout by CAD |
CN112598535A (en) * | 2020-12-10 | 2021-04-02 | 北京科东电力控制系统有限责任公司 | Method for measuring and retaining power distribution network equipment when SVG is converted into G file |
CN112598535B (en) * | 2020-12-10 | 2024-03-08 | 北京科东电力控制系统有限责任公司 | Power distribution network equipment measurement and reservation method during SVG (static var generator) conversion into G file |
CN114692241A (en) * | 2020-12-30 | 2022-07-01 | 久瓴(江苏)数字智能科技有限公司 | CAD drawing method and device, storage medium and computer equipment |
CN112994231B (en) * | 2020-12-31 | 2024-02-02 | 南京太司德智能电气有限公司 | Automatic point-to-point checking and accepting method for graphic images of power dispatching system |
CN112994231A (en) * | 2020-12-31 | 2021-06-18 | 南京太司德智能电气有限公司 | Automatic point-aligning acceptance check method for graphic picture of power dispatching system |
CN113191733A (en) * | 2021-04-30 | 2021-07-30 | 金坤建设集团有限公司 | Project multi-party collaborative management system and method based on Internet |
CN113343396A (en) * | 2021-05-20 | 2021-09-03 | 南京南瑞信息通信科技有限公司 | Incremental distribution method from single line diagram of power distribution network to geographical wiring diagram |
CN113343396B (en) * | 2021-05-20 | 2022-03-11 | 南京南瑞信息通信科技有限公司 | Incremental distribution method from single line diagram of power distribution network to geographical wiring diagram |
CN113407181A (en) * | 2021-06-02 | 2021-09-17 | 国网浙江省电力有限公司宁波供电公司 | Lightweight man-machine terminal picture regulation and control information interaction method |
CN113407181B (en) * | 2021-06-02 | 2023-09-26 | 国网浙江省电力有限公司宁波供电公司 | Light man-machine terminal picture regulation information interaction method |
CN113687755A (en) * | 2021-08-23 | 2021-11-23 | 国电南瑞科技股份有限公司 | Realization device of graphical GIS, human-computer interaction system and use method |
CN113743057A (en) * | 2021-09-16 | 2021-12-03 | 南京金水尚阳信息技术有限公司 | Object recognition redrawing-based power grid OCS drawing conversion method |
CN113743057B (en) * | 2021-09-16 | 2024-04-09 | 南京津码智能科技有限公司 | Power grid OCS drawing conversion method based on object recognition redrawing |
CN114117570A (en) * | 2021-10-30 | 2022-03-01 | 中冶(上海)钢结构科技有限公司 | Software-based steel component approach statistics and drawing marking method |
CN114518815B (en) * | 2022-02-23 | 2023-10-10 | 阿里巴巴(中国)有限公司 | Method, device, equipment, medium and program product for displaying building drawing |
CN114518815A (en) * | 2022-02-23 | 2022-05-20 | 阿里巴巴(中国)有限公司 | Method, device, equipment, medium and program product for displaying construction drawing |
CN114529705B (en) * | 2022-04-22 | 2022-07-19 | 山东捷瑞数字科技股份有限公司 | Interface layout processing method of three-dimensional engine editor |
CN114529705A (en) * | 2022-04-22 | 2022-05-24 | 山东捷瑞数字科技股份有限公司 | Interface layout processing method of three-dimensional engine editor |
Also Published As
Publication number | Publication date |
---|---|
CN104376416A (en) | 2015-02-25 |
CN104376416B (en) | 2017-08-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016078474A1 (en) | Method for graphics interaction between grid production management system and scheduling automation system | |
CN111597005B (en) | Big data visualization three-dimensional GIS cloud rendering item generation system and method | |
CN109165394B (en) | Standardized BIM model lightweight realization method | |
CN104410720B (en) | A kind of real-time monitoring platform system and method based on web graph shape | |
US12074940B2 (en) | Utility network project modeling and management | |
WO2015188626A1 (en) | Method for viewing single line diagram of electric power system on mobile terminal in real time | |
CN109859326B (en) | Cross-platform two-dimensional and three-dimensional graph linkage display system and method for transformer substation | |
CN106021396B (en) | A method of the graphical representation SCD configuration file based on B/S framework | |
CN105843945A (en) | Report generation method and system | |
CN104166892A (en) | Engineering management and control method and system based on three-dimensional design system | |
CN105096210B (en) | A kind of substation's on-line monitoring method based on multi-process framework | |
US20160300157A1 (en) | LambdaLib: In-Memory View Management and Query Processing Library for Realizing Portable, Real-Time Big Data Applications | |
CN108133024A (en) | Towards the geographical spatial data service integration method of the dynamic configuration of mobile client | |
US20140132606A1 (en) | Three-dimensional man-machine interaction display and control method for power grid operation monitoring | |
CN108717356B (en) | Metering holographic visual display method and device | |
CN108520163A (en) | Three-dimensional net rack method for automatic modeling based on CIM model and SVG figures | |
CN105787000A (en) | Method and system for generating SVG/CIM graph model file based on spatial data | |
CN104573213A (en) | G-language-based generating method of intelligent electronic equipment electric wiring graph | |
CN110532047A (en) | A kind of grid graph standardized system of regulation cloud platform | |
CN108121449A (en) | The newer virtual interactive interface management system based on motion sensing control of editable | |
CN103617073A (en) | Method for analyzing and displaying picture file of electrical power system | |
CN104007723A (en) | Simple multimedia classroom control system based on intelligent campus environment | |
CN105912821A (en) | Design method of dynamic electrical power system primitive | |
Liu et al. | Design of AR inspection system for protection equipment of intelligent substation | |
CN103489059A (en) | Object-oriented method and system for comprehensively displaying power grid monitoring information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15860738 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15860738 Country of ref document: EP Kind code of ref document: A1 |