WO2015131601A1 - 电网潮流图厂站节点坐标的计算方法、装置以及排布系统 - Google Patents
电网潮流图厂站节点坐标的计算方法、装置以及排布系统 Download PDFInfo
- Publication number
- WO2015131601A1 WO2015131601A1 PCT/CN2014/093715 CN2014093715W WO2015131601A1 WO 2015131601 A1 WO2015131601 A1 WO 2015131601A1 CN 2014093715 W CN2014093715 W CN 2014093715W WO 2015131601 A1 WO2015131601 A1 WO 2015131601A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- node
- plant
- module
- coordinate
- pij
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J3/00—Circuit arrangements for AC mains or AC distribution networks
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—ELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J2103/00—Details of circuit arrangements for mains or AC distribution networks
- H02J2103/30—Simulating, planning, modelling, reliability check or computer assisted design [CAD] of electric power networks
-
- 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
-
- 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
- Y04S40/00—Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
- Y04S40/20—Information technology specific aspects, e.g. CAD, simulation, modelling, system security
Definitions
- the grid automatic control center must be able to display a large number of plant nodes and their line connections on the computer more clearly, thus facilitating the query and analysis of dispatchers.
- the factory station nodes in the prior art and the line connections between them are manually drawn, and the work efficiency is low. Therefore, a calculation method of the coordinates of the power station of the power grid map station is needed, thereby calculating the respective factories according to the calculation.
- the coordinates of the station node are arranged for the plant node.
- the present invention provides a method for calculating node coordinates of a grid power flow diagram plant station to overcome the problem of low efficiency in the prior art.
- the present invention provides the following technical solutions:
- a method for calculating node coordinates of a grid power flow diagram plant station comprising:
- All the plant nodes are obtained from the database storing the information of the plant node, and all the plant nodes have N, and N is a positive integer greater than or equal to 1;
- step I when the virtual energy value Pij is less than 0.001, step I is performed, when the virtual energy value Pij is not less than 0.001, step H is performed;
- step J when j is less than N, return to step F, when j is not less than N, step K is performed;
- step M when i is less than N, return to step E, when i is not less than N, step M is performed;
- step F is specifically:
- step H includes:
- a computing device for node coordinates of a grid power flow diagram plant station comprising:
- a first obtaining module configured to acquire all plant node nodes from a database storing plant station node information, where all the plant node nodes have N, and N is a positive integer greater than or equal to 1;
- a recording module when there is a line between any two plant nodes Ni and Nj, the line is recorded as Lij, i and j are positive integers greater than or equal to 1 less than or equal to N, and i ⁇ j;
- a second obtaining module configured to acquire an x coordinate and a y coordinate of a station node node Ni, where the values of x and y are integers between -1000 and 1000;
- a first assignment module for assigning 1 to i;
- a second assignment module for assigning i+1 to j
- a calculation module configured to calculate virtual energy values Pij of the plant nodes Ni and Nj;
- a first triggering module configured to trigger the first self when the virtual energy value Pij is less than 0.001 Adding a module, when the virtual energy value Pij is not less than 0.001, triggering a correction module;
- the correction module is configured to correct an x coordinate Nix and a y coordinate Niy of the plant node Ni, and correct an x coordinate Njx and a y coordinate Njy of the plant node Nj;
- the first self-adding module is used to add 1 to j;
- a second triggering module configured to trigger the computing module when j is less than N, and trigger a second self-adding module when j is not less than N;
- the second self-adding module is configured to add i to 1;
- a third triggering module configured to trigger the second evaluation module when i is less than N, and trigger a third acquisition module when i is not less than N;
- the third acquiring module is configured to obtain an x coordinate and a y coordinate of the plant node Ni.
- the correction module is specifically configured to:
- a power grid current map station node arrangement system comprising:
- the human-machine interaction interface is configured to receive the information of the plant node selected by the user and the line information between any two plant nodes;
- a grid database interaction module configured to store information about each plant node received by the human-machine interface and line information between any two plant nodes;
- Arranging module comprising any of the above-mentioned grid power flow diagram plant station node coordinates calculating means, for calculating coordinates of each plant station node according to the calculation means of the grid power flow station plant node coordinates, each plant station node Arrange;
- a dynamically arranged intermediate result output module configured to convert coordinates of each factory node calculated by the arrangement module into a standard format, and control the human-machine interaction interface to display each factory station output by the arrangement module The arrangement information of the node.
- the embodiment of the present invention provides a method for calculating the coordinates of the node of the grid power flow station, according to the virtual energy values Pij and 0.001 of any two station nodes Ni and Nj.
- the coordinates of each station node are arranged to arrange the plant nodes, which avoids manually drawing the plant nodes and the line connections between them, which improves the work efficiency.
- FIG. 1 is a schematic flowchart diagram of a method for calculating coordinates of a node of a power grid current station according to an embodiment of the present invention
- FIG. 2 is a schematic structural diagram of a device for calculating coordinates of a node of a power flow diagram of a power grid according to an embodiment of the present invention
- FIG. 3 is a schematic structural diagram of a node layout system of a power flow diagram of a power grid according to an embodiment of the present invention.
- FIG. 1 a node coordinate of a power flow diagram of a power grid is provided according to an embodiment of the present invention.
- a schematic flow diagram of a method of calculation, the method comprising:
- Step A All plant nodes are obtained from a database storing plant station node information, and all of the plant nodes have N.
- N is a positive integer greater than or equal to 1.
- Step B When there is a line between any two plant nodes Ni and Nj, the line is recorded as Lij.
- Both i and j are positive integers greater than or equal to 1 and less than or equal to N, and i ⁇ j.
- Step C Obtain the x coordinate and the y coordinate of Ni of any plant station node.
- the values of x and y range from -1000 to 1000.
- Step D Assign 1 to i.
- Step E Assign i+1 to j.
- Step F Calculate the virtual energy value Pij of the plant nodes Ni and Nj.
- the virtual energy value Pi may be 5/((Nix-Njx)*(Nix-Njx)+(Niy-Njy)*(Niy-Njy)).
- Step G When the virtual energy value Pij is less than 0.001, step I is performed, and when the virtual energy value Pij is not less than 0.001, step H is performed.
- Step H Correcting the x coordinate Nix and the y coordinate Niy of the plant node Ni, and correcting the x coordinate Njx and the y coordinate Njy of the plant node Nj.
- the Abs(b) function is a function that takes an absolute value, and the return value is the absolute value of the input parameter b.
- Step I Add j to add 1 to it.
- Step J When j is less than N, return to step F, and when j is not less than N, perform step K.
- Step K Add i from the first.
- Step L When i is less than N, return to step E, and when i is not less than N, perform step M.
- Step M Obtain the x coordinate and the y coordinate of the station node Ni.
- a method for calculating a node coordinate of a power flow diagram of a power grid is based on a relationship between virtual energy values Pij and 0.001 of any two plant nodes Ni and Nj, and an x coordinate of the station node Ni. And the y coordinate Niy, and the x coordinate Njx and the y coordinate Njy of the plant node Nj are corrected, thereby obtaining the coordinates of each plant node, so that the station node can be arranged according to the calculated coordinates of each plant node. Cloth, avoiding the manual drawing of plant nodes and the line connections between them, improving work efficiency.
- FIG. 2 is a schematic structural diagram of a device for calculating coordinates of a node of a power flow diagram of a power plant according to an embodiment of the present invention.
- the device includes: a first acquiring module 201, a recording module 202, a second acquiring module 203, and a first An evaluation module 204, a second evaluation module 205, a calculation module 206, a first trigger module 207, a correction module 208, a first self-add module 209, a second trigger module 210, a second self-add module 211, a third trigger module 212, and The third obtaining module 213, wherein:
- the first obtaining module 201 is configured to obtain all the plant nodes from the database storing the plant node information, where all the plant nodes have N.
- N is a positive integer greater than or equal to 1.
- the recording module 202 is configured to record the line as Lij when there is a line between any two plant nodes Ni and Nj.
- Both i and j are positive integers greater than or equal to 1 and less than or equal to N, and i ⁇ j.
- the second obtaining module 203 is configured to acquire an x coordinate and a y coordinate of any of the plant node nodes Ni.
- the values of x and y range from -1000 to 1000.
- the first assignment module 204 is configured to assign 1 to i.
- the second assignment module 205 is configured to assign i+1 to j.
- the calculation module 206 is configured to calculate the virtual energy value Pij of the plant nodes Ni and Nj.
- the first triggering module 207 is configured to trigger when the virtual energy value Pij is less than 0.001
- a self-adding module triggers the correction module when the virtual energy value Pij is not less than 0.001.
- the correction module 208 is configured to correct the x coordinate Nix and the y coordinate Niy of the plant node Ni, and correct the x coordinate Njx and the y coordinate Njy of the plant node Nj.
- the correction module is specifically used to:
- the Abs(b) function is a function that takes an absolute value, and the return value is the absolute value of the input parameter b.
- the first self-adding module 209 is configured to add 1 to j.
- the second triggering module 210 is configured to trigger the computing module when j is less than N, and trigger the second self-adding module when j is not less than N.
- the second self-adding module 211 is configured to add 1 to i.
- the third triggering module 212 is configured to trigger the second evaluation module when i is less than N, and trigger the third acquisition module when i is not less than N.
- the third obtaining module 213 is configured to obtain an x coordinate and a y coordinate of the plant node Ni.
- the device for calculating the node coordinates of the power flow diagram of the power grid is based on the relationship between the virtual energy values Pij and 0.001 of any two plant nodes Ni and Nj, and the x coordinate of the station node Ni. And the y coordinate Niy, and the x coordinate Njx and the y coordinate Njy of the plant node Nj are corrected, thereby obtaining the coordinates of each plant node, so that the station node can be arranged according to the calculated coordinates of each plant node. Cloth, avoiding the manual drawing of plant nodes and the line connections between them, improving work efficiency.
- FIG. 3 is a schematic structural diagram of a node layout system for a power flow diagram of a power grid according to an embodiment of the present invention.
- the system includes: a human-machine interaction interface 301 , a grid database interaction module 302 , an arrangement module 303 , and a dynamic row The intermediate result output module 304 of the cloth, wherein:
- the human-machine interaction interface 301 is configured to receive the plant node information selected by the user and the line information between any two plant nodes.
- the grid database interaction module 302 is configured to store information about each plant node received by the human-machine interface and line information between any two plant nodes.
- the arranging module 303 comprising: the calculation device of the coordinates of the power flow diagram factory station node according to any one of the above embodiments, configured to calculate coordinates of each plant station node according to the calculation device of the grid current station node coordinate The plant node is arranged.
- the above-mentioned human-computer interaction interface 301 may include: a plant station node and a line selection unit: for providing the dispatcher with the plant station nodes and lines that need to be arranged, so that the dispatcher can select from them, and the final result display unit: for The final arrangement of the progressive arrangement results is shown in the SVG standard graphic format.
- the steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented directly in hardware, a software module executed by a processor, or a combination of both.
- the software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, and electrical Erasing programmable ROM, registers, hard disks, removable disks, CD-ROMs, or any other form of storage medium known in the art.
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
本发明实施例提供了一种电网潮流图厂站节点坐标的计算方法、装置以及排布系统,该方法依据任意两个厂站节点Ni与Nj的虚拟能量值Pij与0.001的关系,对所述厂站节点Ni的x坐标Nix以及y坐标Niy,以及所述厂站节点Nj的x坐标Njx以及y坐标Njy进行修正,从而获得各个厂站节点的坐标,从而可以依据计算出的各个厂站节点的坐标对厂站节点进行排布,避免了手工绘制厂站节点以及它们之间的线路连接,提高了工作效率。
Description
本申请要求于2014年03月03日提交中国专利局、申请号为201410075119.5、发明名称为“电网潮流图厂站节点坐标的计算方法、装置以及排布系统”的国内申请的优先权,其全部内容通过引用结合在本申请中。
随着电力系统中输电网的不断扩大,运营部门需要对上千甚至上万个厂站节点进行监视和检查。电网自动控制中心必须能够将大量的厂站节点以及它们之间的线路连接较为清晰的显示在电脑上,从而方便调度人员的查询与分析。
因此,现有技术中的厂站节点以及它们之间的线路连接由有手工绘制的,工作效率低下,因此亟需一种电网潮流图厂站节点坐标的计算方法,从而依据计算出的各个厂站节点的坐标对厂站节点进行排布。
发明内容
有鉴于此,本发明提供了一种电网潮流图厂站节点坐标的计算方法,以克服现有技术中工作效率低下的问题。
为实现上述目的,本发明提供如下技术方案:
一种电网潮流图厂站节点坐标的计算方法,包括:
A、从存储有厂站节点信息的数据库中获取所有厂站节点,所述所有厂站节点共有N个,N为大于等于1的正整数;
B、当任意两个厂站节点Ni与Nj之间存在线路时,将所述线路记录为Lij,i与j均为大于等于1小于等于N的正整数,且i≠j;
C、获取任一厂站节点Ni的x坐标以及y坐标,x与y的取值范围为-1000至1000之间的整数;
D、将1赋值给i;
E、将i+1赋值给j;
F、计算所述厂站节点Ni与Nj的虚拟能量值Pij;
G、当所述虚拟能量值Pij小于0.001时,执行步骤I,当所述虚拟能量值Pij不小于0.001时,执行步骤H;
H、修正所述厂站节点Ni的x坐标Nix以及y坐标Niy,以及修正所述厂站节点Nj的x坐标Njx以及y坐标Njy;
I、将j自加1;
J、当j小于N时,返回至步骤F,当j不小于N时,执行步骤K;
K、将i自加1;
L、当i小于N时,返回至步骤E,当i不小于N时,执行步骤M;
M、获得所述厂站节点Ni的x坐标以及y坐标。
其中,所述步骤F具体为:
Pij=5/((Nix-Njx)*(Nix-Njx)+(Niy-Njy)*(Niy-Njy))。
其中,步骤H包括:
Nix=Nix+Rand(Pij*Abs(Nix-Njx)),Niy=Niy+Rand(Pij*Abs(Niy-Njy)),Njx=Njx+Rand(Pij*Abs(Nix-Njx)),Njy=Njy+Rand(Pij*Abs(Niy-Njy));其中,Rand(a)函数为一个取随机数的函数,返回值范围为[-a,+a]之间的满足平均分布要求的随机浮点数,Abs(b)函数为取绝对值的函数,返回值为输入参数b的绝对值。
一种电网潮流图厂站节点坐标的计算装置,包括:
第一获取模块,用于从存储有厂站节点信息的数据库中获取所有厂站节点,所述所有厂站节点共有N个,N为大于等于1的正整数;
记录模块,用于当任意两个厂站节点Ni与Nj之间存在线路时,将所述线路记录为Lij,i与j均为大于等于1小于等于N的正整数,且i≠j;
第二获取模块,用于获取任一厂站节点Ni的x坐标以及y坐标,x与y的取值范围为-1000至1000之间的整数;
第一赋值模块,用于将1赋值给i;
第二赋值模块,用于将i+1赋值给j;
计算模块,用于计算所述厂站节点Ni与Nj的虚拟能量值Pij;
第一触发模块,用于当所述虚拟能量值Pij小于0.001时,触发第一自
加模块,当所述虚拟能量值Pij不小于0.001时,触发修正模块;
所述修正模块,用于修正所述厂站节点Ni的x坐标Nix以及y坐标Niy,以及修正所述厂站节点Nj的x坐标Njx以及y坐标Njy;
第一自加模块,用于将j自加1;
第二触发模块,用于当j小于N时,触发所述计算模块,当j不小于N时,触发第二自加模块;
所述第二自加模块,用于将i自加1;
第三触发模块,用于当i小于N时,触发所述第二赋值模块,当i不小于N时,触发第三获取模块;
所述第三获取模块,用于获得所述厂站节点Ni的x坐标以及y坐标。
其中,所述计算模块具体用于:Pij=5/((Nix-Njx)*(Nix-Njx)+(Niy-Njy)*(Niy-Njy))。
其中,所述修正模块具体用于:
Nix=Nix+Rand(Pij*Abs(Nix-Njx)),Niy=Niy+Rand(Pij*Abs(Niy-Njy)),Njx=Njx+Rand(Pij*Abs(Nix-Njx)),Njy=Njy+Rand(Pij*Abs(Niy-Njy));其中,Rand(a)函数为一个取随机数的函数,返回值范围为[-a,+a]之间的满足平均分布要求的随机浮点数,Abs(b)函数为取绝对值的函数,返回值为输入参数b的绝对值。
一种电网潮流图厂站节点排布系统,包括:
人机交互界面,用于接收用户选择的厂站节点信息以及任意两个厂站节点之间的线路信息;
电网数据库交互模块,用于存储所述人机交互界面接收的各个厂站节点信息以及任意两个厂站节点之间的线路信息;
排布模块,包括上述任一所述电网潮流图厂站节点坐标的计算装置,用于依据所述电网潮流图厂站节点坐标的计算装置计算的各个厂站节点的坐标,将各个厂站节点进行排布;
动态排布的中间结果输出模块,用于将所述排布模块计算出的各个厂站节点的坐标转换为标准格式,并控制所述人机交互界面显示所述排布模块输出的各个厂站节点的排布信息。
经由上述的技术方案可知,与现有技术相比,本发明实施例提供了一种电网潮流图厂站节点坐标的计算方法,依据任意两个厂站节点Ni与Nj的虚拟能量值Pij与0.001的关系,对所述厂站节点Ni的x坐标Nix以及y坐标Niy,以及所述厂站节点Nj的x坐标Njx以及y坐标Njy进行修正,从而获得各个厂站节点的坐标,从而可以依据计算出的各个厂站节点的坐标对厂站节点进行排布,避免了手工绘制厂站节点以及它们之间的线路连接,提高了工作效率。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种电网潮流图厂站节点坐标的计算方法的流程示意图;
图2为本发明实施例提供的一种电网潮流图厂站节点坐标的计算装置的结构示意图;
图3为本发明实施例提供的一种电网潮流图厂站节点排布系统的结构示意图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
请参阅附图1,为本发明实施例提供的一种电网潮流图厂站节点坐标
的计算方法的流程示意图,该方法包括:
步骤A:从存储有厂站节点信息的数据库中获取所有厂站节点,所述所有厂站节点共有N个。
N为大于等于1的正整数。
步骤B:当任意两个厂站节点Ni与Nj之间存在线路时,将所述线路记录为Lij。
i与j均为大于等于1小于等于N的正整数,且i≠j。
步骤C:获取任一厂站节点Ni的x坐标以及y坐标。
x与y的取值范围为-1000至1000之间的整数。
步骤D:将1赋值给i。
步骤E:将i+1赋值给j。
步骤F:计算所述厂站节点Ni与Nj的虚拟能量值Pij。
虚拟能量值Pi可以为5/((Nix-Njx)*(Nix-Njx)+(Niy-Njy)*(Niy-Njy))。
步骤G:当所述虚拟能量值Pij小于0.001时,执行步骤I,当所述虚拟能量值Pij不小于0.001时,执行步骤H。
步骤H:修正所述厂站节点Ni的x坐标Nix以及y坐标Niy,以及修正所述厂站节点Nj的x坐标Njx以及y坐标Njy。
步骤H可以包括:Nix=Nix+Rand(Pij*Abs(Nix-Njx)),Niy=Niy+Rand(Pij*Abs(Niy-Njy)),Njx=Njx+Rand(Pij*Abs(Nix-Njx)),Njy=Njy+Rand(Pij*Abs(Niy-Njy));其中,Rand(a)函数为一个取随机数的函数,返回值范围为[-a,+a]之间的满足平均分布要求的随机浮点数。Abs(b)函数为取绝对值的函数,返回值为输入参数b的绝对值。
步骤I:将j自加1。
步骤J:当j小于N时,返回至步骤F,当j不小于N时,执行步骤K。
步骤K:将i自加1。
步骤L:当i小于N时,返回至步骤E,当i不小于N时,执行步骤M。
步骤M:获得所述厂站节点Ni的x坐标以及y坐标。
本发明实施例提供的一种电网潮流图厂站节点坐标的计算方法,依据任意两个厂站节点Ni与Nj的虚拟能量值Pij与0.001的关系,对所述厂站节点Ni的x坐标Nix以及y坐标Niy,以及所述厂站节点Nj的x坐标Njx以及y坐标Njy进行修正,从而获得各个厂站节点的坐标,从而可以依据计算出的各个厂站节点的坐标对厂站节点进行排布,避免了手工绘制厂站节点以及它们之间的线路连接,提高了工作效率。
上述本发明公开的实施例中详细描述了方法,对于本发明的方法可采用多种形式的装置实现,因此本发明还公开了一种装置,下面给出具体的实施例进行详细说明。
请参阅图2,为本发明实施例提供的一种电网潮流图厂站节点坐标的计算装置的结构示意图,该装置包括:第一获取模块201、记录模块202、第二获取模块203、第一赋值模块204、第二赋值模块205、计算模块206、第一触发模块207、修正模块208、第一自加模块209、第二触发模块210、第二自加模块211、第三触发模块212以及第三获取模块213,其中:
第一获取模块201,用于从存储有厂站节点信息的数据库中获取所有厂站节点,所述所有厂站节点共有N个。
N为大于等于1的正整数。
记录模块202,用于当任意两个厂站节点Ni与Nj之间存在线路时,将所述线路记录为Lij。
i与j均为大于等于1小于等于N的正整数,且i≠j。
第二获取模块203,用于获取任一厂站节点Ni的x坐标以及y坐标。
x与y的取值范围为-1000至1000之间的整数。
第一赋值模块204,用于将1赋值给i。
第二赋值模块205,用于将i+1赋值给j。
计算模块206,用于计算所述厂站节点Ni与Nj的虚拟能量值Pij。
计算模块具体用于:Pij=5/((Nix-Njx)*(Nix-Njx)+(Niy-Njy)*(Niy-Njy))。
第一触发模块207,用于当所述虚拟能量值Pij小于0.001时,触发第
一自加模块,当所述虚拟能量值Pij不小于0.001时,触发修正模块。
所述修正模块208,用于修正所述厂站节点Ni的x坐标Nix以及y坐标Niy,以及修正所述厂站节点Nj的x坐标Njx以及y坐标Njy。
修正模块具体用于:
Nix=Nix+Rand(Pij*Abs(Nix-Njx)),Niy=Niy+Rand(Pij*Abs(Niy-Njy)),Njx=Njx+Rand(Pij*Abs(Nix-Njx)),Njy=Njy+Rand(Pij*Abs(Niy-Njy));其中,Rand(a)函数为一个取随机数的函数,返回值范围为[-a,+a]之间的满足平均分布要求的随机浮点数。Abs(b)函数为取绝对值的函数,返回值为输入参数b的绝对值。
第一自加模块209,用于将j自加1。
第二触发模块210,用于当j小于N时,触发所述计算模块,当j不小于N时,触发第二自加模块。
所述第二自加模块211,用于将i自加1。
第三触发模块212,用于当i小于N时,触发所述第二赋值模块,当i不小于N时,触发第三获取模块。
所述第三获取模块213,用于获得所述厂站节点Ni的x坐标以及y坐标。
本发明实施例提供的一种电网潮流图厂站节点坐标的计算装置,依据任意两个厂站节点Ni与Nj的虚拟能量值Pij与0.001的关系,对所述厂站节点Ni的x坐标Nix以及y坐标Niy,以及所述厂站节点Nj的x坐标Njx以及y坐标Njy进行修正,从而获得各个厂站节点的坐标,从而可以依据计算出的各个厂站节点的坐标对厂站节点进行排布,避免了手工绘制厂站节点以及它们之间的线路连接,提高了工作效率。
请参阅图3,为本发明实施例提供的一种电网潮流图厂站节点排布系统的结构示意图,该系统包括:人机交互界面301、电网数据库交互模块302、排布模块303以及动态排布的中间结果输出模块304,其中:
人机交互界面301,用于接收用户选择的厂站节点信息以及任意两个厂站节点之间的线路信息。
电网数据库交互模块302,用于存储所述人机交互界面接收的各个厂站节点信息以及任意两个厂站节点之间的线路信息。
排布模块303,包括上述实施例任一所述电网潮流图厂站节点坐标的计算装置,用于依据所述电网潮流图厂站节点坐标的计算装置计算的各个厂站节点的坐标,将各个厂站节点进行排布。
动态排布的中间结果输出模块304,用于将所述排布模块计算出的各个厂站节点的坐标转换为标准格式,并控制所述人机交互界面显示所述排布模块输出的各个厂站节点的排布信息。
上述的人机交互界面301可以包括:厂站节点与线路选择单元:用于给调度人员提供需要排布的厂站节点和线路,以便调度员从中进行选择,以及最终结果显示单元:用于将渐进式排布结果的最终排布显示为SVG标准图形格式。
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置或系统类实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可
擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。
Claims (7)
- 一种电网潮流图厂站节点坐标的计算方法,其特征在于,包括:A、从存储有厂站节点信息的数据库中获取所有厂站节点,所述所有厂站节点共有N个,N为大于等于1的正整数;B、当任意两个厂站节点Ni与Nj之间存在线路时,将所述线路记录为Lij,i与j均为大于等于1小于等于N的正整数,且i≠j;C、获取任一厂站节点Ni的x坐标以及y坐标,x与y的取值范围为-1000至1000之间的整数;D、将1赋值给i;E、将i+1赋值给j;F、计算所述厂站节点Ni与Nj的虚拟能量值Pij;G、当所述虚拟能量值Pij小于0.001时,执行步骤I,当所述虚拟能量值Pij不小于0.001时,执行步骤H;H、修正所述厂站节点Ni的x坐标Nix以及y坐标Niy,以及修正所述厂站节点Nj的x坐标Njx以及y坐标Njy;I、将j自加1;J、当j小于N时,返回至步骤F,当j不小于N时,执行步骤K;K、将i自加1;L、当i小于N时,返回至步骤E,当i不小于N时,执行步骤M;M、获得所述厂站节点Ni的x坐标以及y坐标。
- 根据权利要求1所述电网潮流图厂站节点坐标的计算方法,其特征在于,所述步骤F具体为:Pij=5/((Nix-Njx)*(Nix-Njx)+(Niy-Njy)*(Niy-Njy))。
- 根据权利要求1所述电网潮流图厂站节点坐标的计算方法,其特征在于,步骤H包括:Nix=Nix+Rand(Pij*Abs(Nix-Njx)),Niy=Niy+Rand(Pij*Abs(Niy-Njy)),Njx=Njx+Rand(Pij*Abs(Nix-Njx)),Njy=Njy+Rand(Pij*Abs(Niy-Njy));其中,Rand(a)函数为一个取随机数的函数,返回值范围为[-a,+a]之间的满足平均分布要求的随机浮点数,Abs(b)函数为取绝对值的函数,返回值为输入参数b的绝对值。
- 一种电网潮流图厂站节点坐标的计算装置,其特征在于,包括:第一获取模块,用于从存储有厂站节点信息的数据库中获取所有厂站节点,所述所有厂站节点共有N个,N为大于等于1的正整数;记录模块,用于当任意两个厂站节点Ni与Nj之间存在线路时,将所述线路记录为Lij,i与j均为大于等于1小于等于N的正整数,且i≠j;第二获取模块,用于获取任一厂站节点Ni的x坐标以及y坐标,x与y的取值范围为-1000至1000之间的整数;第一赋值模块,用于将1赋值给i;第二赋值模块,用于将i+1赋值给j;计算模块,用于计算所述厂站节点Ni与Nj的虚拟能量值Pij;第一触发模块,用于当所述虚拟能量值Pij小于0.001时,触发第一自加模块,当所述虚拟能量值Pij不小于0.001时,触发修正模块;所述修正模块,用于修正所述厂站节点Ni的x坐标Nix以及y坐标Niy,以及修正所述厂站节点Nj的x坐标Njx以及y坐标Njy;第一自加模块,用于将j自加1;第二触发模块,用于当j小于N时,触发所述计算模块,当j不小于N时,触发第二自加模块;所述第二自加模块,用于将i自加1;第三触发模块,用于当i小于N时,触发所述第二赋值模块,当i不小于N时,触发第三获取模块;所述第三获取模块,用于获得所述厂站节点Ni的x坐标以及y坐标。
- 根据权利要求4所述电网潮流图厂站节点坐标的计算装置,其特征在于,所述计算模块具体用于:Pij=5/((Nix-Njx)*(Nix-Njx)+(Niy-Njy)*(Niy-Njy))。
- 根据权利要求4所述电网潮流图厂站节点坐标的计算装置,其特征在于,所述修正模块具体用于:Nix=Nix+Rand(Pij*Abs(Nix-Njx)),Niy=Niy+Rand(Pij*Abs(Niy-Njy)),Njx=Njx+Rand(Pij*Abs(Nix-Njx)),Njy=Njy+Rand(Pij*Abs(Niy-Njy));其中,Rand(a)函数为一个取随机数的函数,返回值范围为[-a,+a]之间的满足平均分布要求的随机浮点数,Abs(b)函数为取绝对值的函数,返回值为输入参数b的绝对值。
- 一种电网潮流图厂站节点排布系统,其特征在于,包括:人机交互界面,用于接收用户选择的厂站节点信息以及任意两个厂站节点之间的线路信息;电网数据库交互模块,用于存储所述人机交互界面接收的各个厂站节点信息以及任意两个厂站节点之间的线路信息;排布模块,包括如权利要求4至权利要求6任一所述电网潮流图厂站节点坐标的计算装置,用于依据所述电网潮流图厂站节点坐标的计算装置计算的各个厂站节点的坐标,将各个厂站节点进行排布;动态排布的中间结果输出模块,用于将所述排布模块计算出的各个厂站节点的坐标转换为标准格式,并控制所述人机交互界面显示所述排布模块输出的各个厂站节点的排布信息。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410075119.5A CN103810395B (zh) | 2014-03-03 | 2014-03-03 | 电网潮流图厂站节点坐标的计算方法、装置以及排布系统 |
| CN201410075119.5 | 2014-03-03 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015131601A1 true WO2015131601A1 (zh) | 2015-09-11 |
Family
ID=50707155
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2014/093715 Ceased WO2015131601A1 (zh) | 2014-03-03 | 2014-12-12 | 电网潮流图厂站节点坐标的计算方法、装置以及排布系统 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN103810395B (zh) |
| WO (1) | WO2015131601A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115203868A (zh) * | 2022-06-27 | 2022-10-18 | 国电南瑞科技股份有限公司 | 基于力导向算法的线路潮流图厂站布局生成方法及系统 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103810395B (zh) * | 2014-03-03 | 2017-08-11 | 国网浙江象山县供电公司 | 电网潮流图厂站节点坐标的计算方法、装置以及排布系统 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101673949A (zh) * | 2009-09-25 | 2010-03-17 | 中国南方电网有限责任公司 | 一种电网潮流图自动生成方法 |
| CN102024201A (zh) * | 2010-10-20 | 2011-04-20 | 浙江工业大学 | 一种输电网厂站节点可视化布局的渐进式自动生成方法 |
| CN103066698A (zh) * | 2012-12-17 | 2013-04-24 | 绍兴电力局 | 在调配系统中自动生成可视化的电网潮流图的实现方法 |
| CN103488837A (zh) * | 2013-09-26 | 2014-01-01 | 国家电网公司 | 一种基于厂站地理信息的电网网架图自动布局方法 |
| CN103810395A (zh) * | 2014-03-03 | 2014-05-21 | 国家电网公司 | 电网潮流图厂站节点坐标的计算方法、装置以及排布系统 |
| CN103927377A (zh) * | 2014-04-28 | 2014-07-16 | 国网浙江海盐县供电公司 | 基于虚拟关联能量的电网潮流图厂站节点排布方法 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102611103B (zh) * | 2012-03-14 | 2014-06-11 | 浙江工业大学 | 一种配电网站外电气拓扑至潮流拓扑自动转换方法 |
| CN102663159B (zh) * | 2012-03-14 | 2014-05-21 | 浙江工业大学 | 配电网站外单线图分层式自动排布优化方法 |
-
2014
- 2014-03-03 CN CN201410075119.5A patent/CN103810395B/zh active Active
- 2014-12-12 WO PCT/CN2014/093715 patent/WO2015131601A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101673949A (zh) * | 2009-09-25 | 2010-03-17 | 中国南方电网有限责任公司 | 一种电网潮流图自动生成方法 |
| CN102024201A (zh) * | 2010-10-20 | 2011-04-20 | 浙江工业大学 | 一种输电网厂站节点可视化布局的渐进式自动生成方法 |
| CN103066698A (zh) * | 2012-12-17 | 2013-04-24 | 绍兴电力局 | 在调配系统中自动生成可视化的电网潮流图的实现方法 |
| CN103488837A (zh) * | 2013-09-26 | 2014-01-01 | 国家电网公司 | 一种基于厂站地理信息的电网网架图自动布局方法 |
| CN103810395A (zh) * | 2014-03-03 | 2014-05-21 | 国家电网公司 | 电网潮流图厂站节点坐标的计算方法、装置以及排布系统 |
| CN103927377A (zh) * | 2014-04-28 | 2014-07-16 | 国网浙江海盐县供电公司 | 基于虚拟关联能量的电网潮流图厂站节点排布方法 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115203868A (zh) * | 2022-06-27 | 2022-10-18 | 国电南瑞科技股份有限公司 | 基于力导向算法的线路潮流图厂站布局生成方法及系统 |
| CN115203868B (zh) * | 2022-06-27 | 2025-12-16 | 国电南瑞科技股份有限公司 | 基于力导向算法的线路潮流图厂站布局生成方法及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103810395A (zh) | 2014-05-21 |
| CN103810395B (zh) | 2017-08-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103995879B (zh) | 基于olap系统的数据查询方法、装置及系统 | |
| CN105843945A (zh) | 一种报表生成方法及系统 | |
| CN110362630B (zh) | 数据管理方法、装置、设备与计算机可读存储介质 | |
| CN109324796A (zh) | 界面布局方法及装置 | |
| CN105677645B (zh) | 一种数据表比对方法和装置 | |
| CN109729423A (zh) | 一种桌面壁纸设置方法及装置 | |
| CN110019538A (zh) | 一种数据表切换方法及装置 | |
| CN105512099A (zh) | 一种甘特图的生成方法及装置 | |
| CN110019205B (zh) | 一种数据存储、还原方法、装置及计算机设备 | |
| CN104951442B (zh) | 一种确定结果向量的方法和装置 | |
| US20170242560A1 (en) | DISPARATE MONITORING FOR IoT | |
| WO2015131601A1 (zh) | 电网潮流图厂站节点坐标的计算方法、装置以及排布系统 | |
| CN112883023B (zh) | 数据透视的方法和装置 | |
| CN103870653A (zh) | 一种坐标系生成方法 | |
| CN101751436A (zh) | 一种生成报表的方法及装置 | |
| US20150089374A1 (en) | Network visualization system and method | |
| CN114758034B (zh) | 地图生成方法、装置、计算机可读存储介质及电子设备 | |
| CN109739859B (zh) | 一种关系图谱绘制方法、系统及相关装置 | |
| CN107506437A (zh) | 一种基于crushmap结构的OSD选取方法及装置 | |
| CN111915063A (zh) | 基于微服务架构的供电路径网络拓扑分析展示方法、系统及存储介质 | |
| CN111008191A (zh) | 一种数据库查询的补全方法、装置和计算机设备 | |
| CN107391040A (zh) | 一种存储阵列磁盘io调度的方法及装置 | |
| CN116303657A (zh) | 群体画像生成方法、装置、计算机设备和存储介质 | |
| CN115048593A (zh) | 空间数据的检索方法、装置、存储介质和设备 | |
| CN115425648A (zh) | 配电网户变关系辨识方法、装置、设备、介质和程序产品 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14884377 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 14884377 Country of ref document: EP Kind code of ref document: A1 |