CN111503524A - Method for matching urban gas users with pressure regulating box - Google Patents

Method for matching urban gas users with pressure regulating box Download PDF

Info

Publication number
CN111503524A
CN111503524A CN202010350030.0A CN202010350030A CN111503524A CN 111503524 A CN111503524 A CN 111503524A CN 202010350030 A CN202010350030 A CN 202010350030A CN 111503524 A CN111503524 A CN 111503524A
Authority
CN
China
Prior art keywords
coordinate system
pressure regulating
converting
coordinate
node
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.)
Granted
Application number
CN202010350030.0A
Other languages
Chinese (zh)
Other versions
CN111503524B (en
Inventor
李煜佳
张航
童水平
曹北斗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ai Lu Enji Energy Technology Co ltd
Original Assignee
Shenzhen Ai Lu Enji Energy Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Ai Lu Enji Energy Technology Co ltd filed Critical Shenzhen Ai Lu Enji Energy Technology Co ltd
Priority to CN202010350030.0A priority Critical patent/CN111503524B/en
Publication of CN111503524A publication Critical patent/CN111503524A/en
Application granted granted Critical
Publication of CN111503524B publication Critical patent/CN111503524B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17DPIPE-LINE SYSTEMS; PIPE-LINES
    • F17D3/00Arrangements for supervising or controlling working operations
    • F17D3/01Arrangements for supervising or controlling working operations for controlling, signalling, or supervising the conveyance of a product
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F17STORING OR DISTRIBUTING GASES OR LIQUIDS
    • F17DPIPE-LINE SYSTEMS; PIPE-LINES
    • F17D5/00Protection or supervision of installations

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to the technical field of gas pipe networks, in particular to a method for matching urban gas users and pressure regulating boxes, which comprises the steps of converting a coordinate system of a pipe network model diagram into an appointed coordinate system through a conversion subprogram, and substituting coordinate information of user nodes to be matched into the appointed coordinate system through the conversion subprogram; and calculating the distance between each pressure regulating box node in the management network model graph and the user node by matching a subprogram based on the specified coordinate system, selecting the pressure regulating box node with the shortest distance with the user node to be matched, and quickly matching the pressure regulating box with the user, so that the accuracy is high, data loss is not worried about, and a large amount of storage media are saved.

Description

Method for matching urban gas users with pressure regulating box
Technical Field
The invention relates to the technical field of gas pipe networks, in particular to a method for matching urban gas users with a pressure regulating box.
Background
Natural gas is increasingly favored as a clean energy source, has become an essential resource for production and life of some enterprises and residents, and as urbanization progresses, the coverage area of a natural gas pipe network in a city is further enlarged. The pipeline gas transmission is the main method for gas distribution in various cities at present, the gas transmission pipeline is more and more complex along with the increasing demand of people on natural gas, and the pipeline construction scheme is optimized through the pipe network simulation hydraulic computing software, so that the invalid investment is avoided.
Before the simulation of the gas pipe network, the user name and the gas consumption value matched with each pressure regulating box node in the pipe network model diagram need to be known, and then the hydraulic calculation of the next pipe network can be carried out. If the data of the urban gas company is lost and the pressure regulating box cannot correspond to the user accurately, the user coordinate information needs to be inquired manually through a network map, the pressure regulating box corresponding to the user coordinate is found in the pipe network model map, the user name is recorded on the pressure regulating box, and a large-capacity storage medium is needed for storing the pressure regulating box.
Disclosure of Invention
In view of the above, embodiments of the present invention are proposed to provide a method of matching city gas users and surge tanks that overcomes or at least partially solves the above mentioned problems.
In order to solve the problems, the embodiment of the invention discloses a method for matching urban gas users with a pressure regulating box, which comprises the following steps:
converting the coordinate system of the pipe network model graph into an appointed coordinate system through a conversion subprogram, and substituting the coordinate information of the user node to be matched into the appointed coordinate system through the conversion subprogram;
and calculating the distance between each pressure regulating box node in the management network model graph and the user node through a matching subprogram based on the designated coordinate system, and selecting the pressure regulating box node with the shortest distance with the user node to be matched.
Further, the conversion subprogram and the matching subprogram are preset according to a user instruction.
Further, the specified coordinate system is a BD09MC coordinate system, and the substituting of the coordinate information of the user node to be matched into the specified coordinate system includes:
typing a user name into a BD09II coordinate system to obtain coordinate information of a user node to be matched;
and converting the coordinate values of the user nodes into coordinate values in a BD09MC coordinate system by a conversion subprogram and calling a network map API (application program interface).
Further, before converting the coordinate system of the pipe network model diagram, the method comprises the following steps:
checking coordinate information of partial pressure regulating box nodes, and distinguishing the standard of the pipe network model diagram coordinate system;
the standards include international standards and non-international standards.
Further, when the coordinate system of the pipe network model diagram is an international standard, the converting step includes:
converting a coordinate system of a pipe network model diagram into a WGS84 coordinate system through a conversion subprogram, and converting node coordinate values of the pressure regulating boxes into longitude and latitude values in a WGS84 coordinate system;
and calling a network map API (application programming interface) interface, converting the converted WGS84 coordinate system into a BD09MC coordinate system, and converting the node longitude and latitude values of the pressure regulating boxes into coordinate values in the BD09MC coordinate system.
Further, when the coordinate system of the pipe network model diagram is a non-international standard, the converting step includes:
searching a modification source of a coordinate system of the pipe network model diagram according to a user instruction, and selecting an international standard coordinate system similar to the coordinate system;
solving conversion parameters through a conversion subprogram, substituting the conversion parameters into the coordinate system, converting the coordinate system into a WGS84 coordinate system, and converting the node coordinate value of each pressure regulating box into a longitude and latitude value in a WGS84 coordinate system;
and calling a network map API (application programming interface) interface, converting the converted WGS84 coordinate system into a BD09MC coordinate system, and converting the node longitude and latitude values of the pressure regulating boxes into coordinate values in the BD09MC coordinate system.
Further, the conversion parameters include: a translation distance X, a translation distance Y, a rotation value, and a scale value.
The embodiment of the invention has the following advantages:
according to the invention, the coordinates of the user and the pressure regulating box are converted into the same coordinate system through the preset conversion subprogram and the network map API interface, and the preset matching subprogram is used for calculating and selecting the pressure regulating box with the minimum distance from the user to be matched for matching, so that the defects of low efficiency and high possibility of error caused by manual matching in the past are overcome; according to the coordinate systems of different standards of each pipe network model diagram, a proper conversion step is selected, the conversion accuracy of the pipe network model coordinate system is improved, and meanwhile, the matching speed of a user and a pressure regulating box is improved; the associated information of the user and the voltage regulating box does not need to be stored, the data loss does not need to be worried about, and a large amount of storage media are saved.
Drawings
FIG. 1 is a flow chart of the steps of an embodiment of the method of matching city gas users and surge tanks of the present invention;
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
One of the core ideas of the embodiment of the invention is that no matter whether a coordinate system in a pipe network model diagram of a gas company is an international standard coordinate system, the coordinate values of a user and the coordinate values of a pressure regulating box can be converted into the same coordinate system through a conversion subprogram, and the pressure regulating box with the minimum distance to the user is calculated and selected for matching through a matching subprogram.
Referring to fig. 1, a method of matching city gas users with pressure regulating boxes, indicated in the form of nodes in a pipe network model diagram, comprising:
a method for matching city gas users with a pressure regulating tank is characterized by comprising the following steps:
converting the coordinate system of the pipe network model graph into an appointed coordinate system through a conversion subprogram, and substituting the coordinate information of the user node to be matched into the appointed coordinate system;
calculating the distance between each pressure regulating box node in the management network model graph and the user node through a matching subprogram based on the designated coordinate system, and selecting the pressure regulating box node with the shortest distance to the user node to be matched;
in the above, the conversion subprogram and the matching subprogram are preset according to the user instruction, the coordinate information of the user node and the coordinate information of the pressure regulating box node are based on different coordinate systems, and are considered in terms of information safety and practical application, and the coordinate systems of the user node and the pressure regulating box node are different, but both belong to the projection coordinate system category.
The rule of matching the user with the pressure regulating box is that the distance between each pressure regulating box node and the user node is calculated by taking the user node as a reference, various combinations are formed, and one group of the combinations with the shortest distance is selected as final matching; or, with the user node as a reference, the matching subprogram directly calculates that the node closest to the user node in each pressure regulating box node is matched, and as for the algorithms involved in the matching process, a person skilled in the art can compile one of the algorithms into the matching subprogram, which is not described in the present application.
For users and pressure regulating boxes in different coordinate systems, if the optimal matching combination is verified through a complex formula, the method is particularly complex and tedious, and based on the method, the coordinate systems of the users and the pressure regulating boxes are converted into the same coordinate system through a conversion subprogram, nodes of the two coordinate systems are in the same coordinate system, and the most appropriate combination can be matched better and faster through the matching subprogram.
The specified coordinate system is the BD09MC coordinate system.
Specifically, substituting the coordinate information of the user node to be matched into the designated coordinate system includes: typing a user name into a BD09II coordinate system to obtain coordinate information of a user node to be matched; and converting the coordinate values of the user nodes into coordinate values in a BD09MC coordinate system by a conversion subprogram and calling a network map API (application program interface).
The BD09II coordinate system is used as a network map in the Baidu map, the coordinate information corresponding to the user node can be directly obtained by directly inputting the user name in the coordinate system, and when the BD09II coordinate system is converted into the BD09II coordinate system, the conversion can be directly performed through a conversion sub-program and a network map API interface is called.
Before converting a coordinate system of a pipe network model diagram, determining standards of the coordinate system of the pipe network model diagram, including international standards and non-international standards, wherein most pipe network model diagrams of gas companies are established based on three coordinate systems of Xian, Beijing and CGCS2000, namely the international standards, and each coordinate system under the international standards has a specific WKID value; and the other part of gas companies can change the coordinate system of the existing pipe network model diagram according to the self condition, namely the coordinate system is the non-international standard.
In practice, part of pressure regulating box nodes in the pipe network model are selected, the coordinates of the actual geographic positions of the nodes in the pipe network model graph are checked, the coordinates are compared with the coordinates in the international standard coordinate system, and if the difference is too large, the coordinate system in the pipe network model graph can be judged to be a non-international standard coordinate system.
For example, looking up a street and a building where a certain pressure regulating box is located, comparing the difference between the coordinate value of the building in the pipe network model diagram and the coordinate value of the building in the international standard coordinate system, and if the difference is too large, determining that the coordinate system of the pipe network model diagram is the non-international standard.
When the coordinate system of the pipe network model diagram is the international standard, the conversion step comprises:
converting a coordinate system of a pipe network model diagram into a WGS84 coordinate system through a conversion subprogram, and converting node coordinate values of the pressure regulating boxes into longitude and latitude values in a WGS84 coordinate system;
and calling a network map API (application programming interface) interface, converting the converted WGS84 coordinate system into a BD09MC coordinate system, and converting the node longitude and latitude values of the pressure regulating boxes into coordinate values in the BD09MC coordinate system.
When the coordinate system of the pipe network model diagram is a non-international standard, the conversion step comprises:
searching a modification source of a coordinate system of the pipe network model diagram according to a user instruction, and selecting an international standard coordinate system similar to the coordinate system;
solving conversion parameters through a conversion subprogram, substituting the conversion parameters into the coordinate system, converting the coordinate system into a WGS84 coordinate system, and converting the node coordinate value of each pressure regulating box into a longitude and latitude value in a WGS84 coordinate system;
and calling a network map API (application programming interface) interface, converting the converted WGS84 coordinate system into a BD09MC coordinate system, and converting the node longitude and latitude values of the pressure regulating boxes into coordinate values in the BD09MC coordinate system.
In the above two steps of converting coordinate systems of different standards, the difference is that the coordinate system of the non-international standard needs to determine the modification source by looking up prj files in the coordinate system, so as to look up WKID values of the international standard coordinate system close to the coordinate system, and determine to convert to the corresponding international standard coordinate system, and the preset conversion subprogram can calculate the related conversion parameters including the translation distance X, the translation distance Y, the rotation value and the zoom scale value by itself.
The coordinates of the user nodes are converted into a BD09MC coordinate system, and the coordinates of the adjusting box nodes are converted into a BD09MC coordinate system, wherein the coordinates of the user nodes and the coordinates of the adjusting box nodes are not in sequence. In fact, after the user information corresponding to the pressure regulating box in the pipe network model diagram is lost, no matter whether the coordinate system of the pipe network model diagram is the international standard or the non-international standard, the pressure regulating box corresponding to the user to be matched can be quickly matched by converting the coordinates of the pipe network model diagram and the coordinate system into the same coordinate system, and the gas utilization value information of the user can be quickly checked.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
The method provided by the present invention is described in detail above, and the principle and the implementation of the present invention are explained in the present document by applying specific examples, and the description of the above examples is only used to help understanding the method of the present invention and the core idea thereof; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (7)

1. A method for matching city gas users with a pressure regulating tank is characterized by comprising the following steps:
converting the coordinate system of the pipe network model graph into an appointed coordinate system through a conversion subprogram, and substituting the coordinate information of the user node to be matched into the appointed coordinate system through the conversion subprogram;
and calculating the distance between each pressure regulating box node in the management network model graph and the user node through a matching subprogram based on the designated coordinate system, and selecting the pressure regulating box node with the shortest distance with the user node to be matched.
2. The method for matching city gas users and pressure regulating boxes according to claim 1, wherein the conversion subprogram and the matching subprogram are preset according to user instructions.
3. The method for matching city gas users and pressure regulating boxes according to claim 1, wherein the specified coordinate system is a BD09MC coordinate system, and the substitution of the coordinate information of the user node to be matched into the specified coordinate system comprises:
typing a user name into a BD09II coordinate system to obtain coordinate information of a user node to be matched;
and converting the coordinate values of the user nodes into coordinate values in a BD09MC coordinate system by a conversion subprogram and calling a network map API (application program interface).
4. The method for matching city gas users and pressure regulating boxes according to claim 1, wherein before converting the coordinate system of the pipe network model map, the method comprises:
checking coordinate information of partial pressure regulating box nodes, and distinguishing the standard of the pipe network model diagram coordinate system;
the standards include international standards and non-international standards.
5. The method of matching city gas users and pressure regulating tanks according to claim 4, wherein when the coordinate system of the pipe network model map is international standard, the converting step comprises:
converting a coordinate system of a pipe network model diagram into a WGS84 coordinate system through a conversion subprogram, and converting node coordinate values of the pressure regulating boxes into longitude and latitude values in a WGS84 coordinate system;
and calling a network map API (application programming interface) interface, converting the converted WGS84 coordinate system into a BD09MC coordinate system, and converting the node longitude and latitude values of the pressure regulating boxes into coordinate values in the BD09MC coordinate system.
6. The method of matching city gas users and surge tanks according to claim 4, wherein when the coordinate system of the pipe network model map is non-international standard, the converting step comprises:
searching a modification source of a coordinate system of the pipe network model diagram according to a user instruction, and selecting an international standard coordinate system similar to the coordinate system;
solving conversion parameters through a conversion subprogram, substituting the conversion parameters into the coordinate system, converting the coordinate system into a WGS84 coordinate system, and converting the node coordinate value of each pressure regulating box into a longitude and latitude value in a WGS84 coordinate system;
and calling a network map API (application programming interface) interface, converting the converted WGS84 coordinate system into a BD09MC coordinate system, and converting the node longitude and latitude values of the pressure regulating boxes into coordinate values in the BD09MC coordinate system.
7. The method of matching city gas users and surge tanks according to claim 6, wherein said conversion parameters comprise: a translation distance X, a translation distance Y, a rotation value, and a scale value.
CN202010350030.0A 2020-04-28 2020-04-28 Method for matching urban gas users with pressure regulating box Active CN111503524B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010350030.0A CN111503524B (en) 2020-04-28 2020-04-28 Method for matching urban gas users with pressure regulating box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010350030.0A CN111503524B (en) 2020-04-28 2020-04-28 Method for matching urban gas users with pressure regulating box

Publications (2)

Publication Number Publication Date
CN111503524A true CN111503524A (en) 2020-08-07
CN111503524B CN111503524B (en) 2022-03-01

Family

ID=71873807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010350030.0A Active CN111503524B (en) 2020-04-28 2020-04-28 Method for matching urban gas users with pressure regulating box

Country Status (1)

Country Link
CN (1) CN111503524B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500293A (en) * 2022-01-12 2022-05-13 浙江鸿程计算机系统有限公司 Method for processing communication business data of government, enterprise and business buildings

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5502803A (en) * 1993-01-18 1996-03-26 Sharp Kabushiki Kaisha Information processing apparatus having a gesture editing function
WO1998054658A1 (en) * 1997-05-30 1998-12-03 Hitachi, Ltd. Space information retrieval system
CN1617173A (en) * 2003-11-13 2005-05-18 松下电器产业株式会社 Map display apparatus
CN104123695A (en) * 2014-06-23 2014-10-29 唐文兴 Method for realizing coordinate conversion
CN104833362A (en) * 2015-05-18 2015-08-12 山东省计算中心(国家超级计算济南中心) Method for generating positioning and driving path of route fixed vehicle on basis of Baidu map
CN104849741A (en) * 2015-05-04 2015-08-19 南京理工大学 GPS and radio frequency technology-based hybrid location method
CN104951865A (en) * 2015-05-18 2015-09-30 济南创智电气科技有限公司 Material allocation tracking method and material allocation tracking system based on power grid GIS (geographic information system)
CN105760451A (en) * 2016-02-04 2016-07-13 东南大学 Big data real-time display and output end based on coordinate transformation and used for urban planning
CN109270870A (en) * 2018-10-29 2019-01-25 山东路科公路信息咨询有限公司 Transport monitoring method and system
CN109801219A (en) * 2019-01-11 2019-05-24 广州时空位置网科学技术研究院有限公司 GIS data bearing calibration and device towards Online Map superposition
CN110851547A (en) * 2019-10-11 2020-02-28 上海中旖能源科技有限公司 Multi-data-source map data fusion method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5502803A (en) * 1993-01-18 1996-03-26 Sharp Kabushiki Kaisha Information processing apparatus having a gesture editing function
WO1998054658A1 (en) * 1997-05-30 1998-12-03 Hitachi, Ltd. Space information retrieval system
CN1617173A (en) * 2003-11-13 2005-05-18 松下电器产业株式会社 Map display apparatus
CN104123695A (en) * 2014-06-23 2014-10-29 唐文兴 Method for realizing coordinate conversion
CN104849741A (en) * 2015-05-04 2015-08-19 南京理工大学 GPS and radio frequency technology-based hybrid location method
CN104833362A (en) * 2015-05-18 2015-08-12 山东省计算中心(国家超级计算济南中心) Method for generating positioning and driving path of route fixed vehicle on basis of Baidu map
CN104951865A (en) * 2015-05-18 2015-09-30 济南创智电气科技有限公司 Material allocation tracking method and material allocation tracking system based on power grid GIS (geographic information system)
CN105760451A (en) * 2016-02-04 2016-07-13 东南大学 Big data real-time display and output end based on coordinate transformation and used for urban planning
CN109270870A (en) * 2018-10-29 2019-01-25 山东路科公路信息咨询有限公司 Transport monitoring method and system
CN109801219A (en) * 2019-01-11 2019-05-24 广州时空位置网科学技术研究院有限公司 GIS data bearing calibration and device towards Online Map superposition
CN110851547A (en) * 2019-10-11 2020-02-28 上海中旖能源科技有限公司 Multi-data-source map data fusion method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
魏保峰等: "2000国家大地坐标与城市平面坐标转换方法的研究", 《测绘通报》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500293A (en) * 2022-01-12 2022-05-13 浙江鸿程计算机系统有限公司 Method for processing communication business data of government, enterprise and business buildings

Also Published As

Publication number Publication date
CN111503524B (en) 2022-03-01

Similar Documents

Publication Publication Date Title
CN108038908B (en) Space object identification and modeling method and system based on artificial intelligence
CN105117573B (en) Auto hydraulic model building method based on CAD drainage pipeline networks drawing informations
CN110990905A (en) Auxiliary design system for historical city protection development cooperative control scheme
CN102147830B (en) Method and system for optimally designing water supply pipe network
CN115685787B (en) Modeling simulation method, modeling simulation system and medium for urban gas pipe network
CN111503524B (en) Method for matching urban gas users with pressure regulating box
Whiteaker et al. From a NEXRAD rainfall map to a flood inundation map
Yosino et al. Using BIM and GIS interoperability to create CIM model for USW collection analysis
CN115795768B (en) Pipe network three-dimensional modeling and data updating method and system taking entity form into consideration
CN102751722A (en) Grid network optimization method based on shortest feasible path and historical flow data
CN117271500A (en) Data restoration method and related device for gas pipe network node
CN115345078B (en) Cable management method and device based on cable iteration model
CN113886999B (en) Method for quickly establishing drainage model and GIS (geographic information System) data through CAD (computer aided design) data
CN116542060A (en) Drainage and waterlogging prevention planning terrain model construction method based on legal graph planning
CN114818064A (en) Medium-voltage distribution network bank planning method based on multi-project optimization
CN114254060A (en) Space matching method and system for urban road and public transport line
CN112580131A (en) Rapid search connection method for sub-catchment areas based on GIS (geographic information System) and SWMM (Single wire Meter-based Module)
CN113656488A (en) Integrated management method for urban underground pipelines
CN117408006B (en) Rush repair scheme generation method, device, equipment and medium based on urban fuel pipe network
US20060117034A1 (en) Migrating spatial data between databases
Li Transmission design and optimization at the national level
CN110991086B (en) Water supply pipe network hydraulic model water leakage amount distribution method
Badea et al. Actual Approaches on the Water Utilities Data Models
CN112231328B (en) Distribution network topology information and GIS information mapping and proofreading method based on artificial intelligence
Kalinowski et al. Technological aspects of GEOSECMA for ArcGIS and EPANET integration-case study

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant