CN107423520A - Based on CAD secondary development rapid extraction pipeline information SWMM modeling methods - Google Patents

Based on CAD secondary development rapid extraction pipeline information SWMM modeling methods Download PDF

Info

Publication number
CN107423520A
CN107423520A CN201710668908.3A CN201710668908A CN107423520A CN 107423520 A CN107423520 A CN 107423520A CN 201710668908 A CN201710668908 A CN 201710668908A CN 107423520 A CN107423520 A CN 107423520A
Authority
CN
China
Prior art keywords
pipeline
information
search
swmm
cad
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.)
Pending
Application number
CN201710668908.3A
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201710668908.3A priority Critical patent/CN107423520A/en
Publication of CN107423520A publication Critical patent/CN107423520A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/14Pipes

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention is realized the function of the CAD pipe network data rapid extractions under certain format based on CAD secondary development, and it can be automatically switched in SWMM models, the workload of modeling personnel can be greatly reduced, it can all be applied in planning, design and sponge urban construction recruitment evaluation, and the feasibility of this method is demonstrated by the case in certain park.

Description

Based on CAD secondary development rapid extraction pipeline information SWMM modeling methods
Technical field
Instruments of the SWMM as quantitative analysis urban rainwater problem, extensively should in China's rainwater plan and design field With.But how to carry out rapid modeling is the difficult point that model is promoted all the time.The VisualLISP languages carried herein by AUTOCAD Say and quick SWMM model constructions are carried out to the drainage pipeline networks model of DWG forms, and modeling test analysis has been carried out in certain park.Knot Fruit shows:This method is easy-to-use and accurate, can quick and precisely extract the pipe network data in DWG pipe network datas(Caliber, absolute altitude, coordinate Deng), for SWMM models in Chinese further genralrlization using significant.
Background technology
SWMM models are by Environmental Protection Agency(EPA)Subsidize a Urban Storm Flood administrative model freely increased income of exploitation, including water Multiple modules such as amount, water quality, LID.By the researcher of countries in the world be widely accepted for study rainwater problem, China also by It is widely used in sponge city LID is assessed, drainage pipeline networks is checked, city surface source pollution amount is estimated etc..And obtain a series of grind Study carefully achievement.
However, because current China's pipe network information degree is relatively low, most pipe network datas are stored with DWG forms, SWMM can not be handled directly.If being modeled using hand drawing mode, efficiency is low and error is very big.So SWMM models How the key problem of application is based on data with existing progress rapid modeling, can be greatly improved and built by Computer Aided Modeling Rate is imitated, so as to the application to SWMM models and is promoted significant.
Model and file structure
The hydrology in urban drainage pipe network system and hydraulic elements are generalized as pipe duct by SWMM(Link), node(Node)And charge for remittance Area(Catchment)Three types.With nonlinear reservoir modeling rainwash, the conveying of pipe network is calculated with Saint-Venant equation Process, with the pollution of accumulation Wash-off Model simulation rainwash.SWMM models are mainly used in urban area rainfall runoff, combined system The many aspects such as pipeline, the planning and designing of sewage conduct and other drainage systems, scenario analysis and scheme evaluation.When data is full and accurate It can also be applied to the analysis and simulation of non-urban area.
SWMM model file is INP formatted files, has the particular file format being organized in tiles.Each piece is all from one It is attribute area the individual keyword included by bracket, after keyword, the various parameters of model reflect corresponding pipe duct, rain The attribute and correlation of gauge, water catchment area etc..Partial key word is as follows:
[TITLE] engineering title
[OPTIONS] analysis option
[REPORT] output report instructs
[FILES] interface document option
[RAINGAGES] rainfall gauge information
[HYDROGRAPHS] is used to construct the unit hydrograph data that RDII enters flow
[EVAPORATION] evaporates data
[TEMPERATURE] temperature and snow melt data
Respectively section order is any in SWMM INP files, and not all section is necessary.Branch(;)For illustrating in one's own profession, thereafter For annotation rather than data.Data item may be displayed in row and arbitrarily arrange.Each section keyword can be shown as mixing small letter and big WriteMode, only preceding four characters(Plus starting bracket)For distinguishing keyword.
The content of the invention
Model implementation process
Modeling is to carry out the first step of SWMM simulations, based on VisualLISP rapid extractions pipeline information and imports SWMM process Two parts can be divided into, when the extraction of pipeline information, second, the conversion and export of information format;
The extraction of 3.1 pipeline informations
The information that pipeline need to extract mainly has herein below:Caliber, pipe range, bottom absolute altitude in the end pipe of pipeline two, pipeline break coordinate, The corresponding relation of pipeline upstream and downstream and node, the coordinate of node, bottom elevation, node ground elevation in node.In order to extract this A little information, there are three key problems to need to solve, first, the upstream and downstream topological relation of pipeline is established, second, obtaining elevation information simultaneously It is corresponding with pipeline and node, third, caliber information is corresponding with pipeline[7, 8]
3.3.1 the upstream and downstream topological relation of pipeline is established
In order to determine the upstream and downstream of pipeline, an entitled pck self-defined first block is, it is necessary to which user is last by clicking on downstream line End is inserted into pipeline system, and pipeline system outlet position is the basic point of block.The Establishing process of topological relation can use Fig. 1 tables Show:
Fig. 1 pipeline topological relation Establishing process figures
Fig. 1 Flow Chart of Pipelines Topology Establishment
The source code that pipeline topology is established is illustrated in figure 2, its sub-routine " getnewaddnearobjss " carries basis Searching point table obtains newly-increased pipeline, and record information, while updates the task of Searching point table;Rcgx is the tolerance of pipeline end points, Gxename is the linear of pipeline, and gxlayer is pipeline figure layer.
Fig. 2 main program source codes
Fig.2 Main Program Source Code
3.1.2 elevation information and corresponding with pipeline and node is obtained
In order that the absolute altitude caliber information after extraction can be corresponding with pipeline and node, it is necessary to rational data memory format.Here Carry out data storage using table, the data mode of node and pipeline is as follows:
(Node coordinate ground elevation shaft bottom absolute altitude node serial number)
(Bottom absolute altitude caliber pipeline is sat in the absolute altitude downstream tube of bottom in pipeline pel name upstream node numbering downstream node numbering upstream tube Mark pipeline numbering)
Wherein node coordinate and pipeline pel name can be used to decision node or whether pipeline is existing.
Absolute altitude labeling form discussed here is Zhejiang pattern, as shown in figure 3, can realize the letter of other labeling forms in addition Breath extraction.
Fig. 3 well casing dimension style schematic diagrames
Fig.3 Sketch Map of Well Pipe Dimstyle
The extraction flow of absolute altitude is as shown in Figure 4:
Fig. 4 pipeline features absolute altitude identifies and storage flow chart
Fig. 4 Flow Chart of Identification and Storage for Characteristic Elevation of Pipelines
When should be noted that pipeline coordinate preserves, the downstream coordinate of pipeline need to be replaced with downstream node coordinate, to ensure pipeline Information can join end to end after extraction, not influenceed by tolerance;And order of the pipeline coordinate according to upstream to downstream need to be made Arrangement, to ensure data conversion into unlikely entanglement after SWMM forms.
Three-dimensional pipeline elevation information can be determined directly according to terminus Z values, can omit the mark retrieval matching stream of complexity Journey[9]
3.1.3 caliber information and corresponding with pipeline is obtained
Scanned for according to factors such as the tolerance of pipeline midpoint and setting, figure layers, its middle-range is selected if multiple marks are searched From that nearest.Angle judgement also can be according to circumstances added in addition, ensures that mark is parallel with pipeline, reduce error probability.
3.1.4 function merges
Because extraction process need to be completed disposably, step 3, which is dissolved into step 2, turns into complete information extraction function, The topology incorporated again into step 1 afterwards is established among process, you can is often increased a pipeline simultaneously in topology, is obtained the pipe of needs The various information of line, node.
3.1.5 visualize misarrangement function
For the accuracy of visual m odeling technique extraction information, marking Function is added;Component layer divide color by the midpoint of pipeline with Bottom absolute altitude word basic point, caliber word basic point line in pipe corresponding to it, you can whether be clear that information corresponding relation Correctly.The numbering of pipeline and node is marked simultaneously, and the fortune of dawn program is will also realize that by the mark progress of numbering and information connecting line Market condition.
The conversion and export of 3.2 data
3.2.1 data export
Will existing informational table of nodes and existing pipeline information table, exported by foreach functions and increase " t " be used as space, then It can obtain the information form of rule.CAD original Data Styles are illustrated in figure 5, Tables 1 and 2 is respectively the node and pipe extracted Segment data.
Fig. 5 CAD pipeline data
Fig.5 CAD Pipeline Data
The nodal information of table 1 extracts
Table 1 Node Information Extraction
The pipeline section data of table 2 are extracted
Table 2 Data Extraction from Pipe Sections
Note:Coordinate in information table, it is one or more data to (x, y) form, for there is the multi-section-line of flex point equally applicable.
3.2.2 data conversion
Convert the data into as SWMM standard INP forms, be by the behaviour to existing informational table of nodes and existing pipeline information table Make to realize.In data output, it is divided into [OUTFALLS], [JUNCTIONS], [CONDUITS], [XSECTIONS], [COORDINATES], [VERTICES] 6 parts, used by combination of function such as nth, assoc and obtain specify information in table, Exported after the processing such as certain correspondence, calculating.As bottom absolute altitude is skew by counterpart node elevation of bottom in SWMM middle pipes Come what is realized, so need to obtain in pipeline after the absolute altitude of bottom, according to node elevation of bottom corresponding to the search of its node serial number, pass through Exported again after calculating, effect is as shown in Figure 6.
INP files are automatically generated after Fig. 6 extractions
Fig.6 Automatically Generation of INP File after Extraction
4. application case
Certain park is chosen to carry out model checking, pipe network basic data is DWG form pipe network planning charts, and water catchment area basic data is Shp form plan for land figures.Also include a variety of basic datas such as rainfall, flood level, evaporation.According to hereinbefore modeling process institute The CAD plug-in units write carry out pipeline data extraction, and it is as follows to be successfully extracted as INP results.Water catchment area is turned by open source software INPPINS INP forms are changed to, two INP are carried out into keyword can correspondingly merge.Establish complete S WMM models.After input model parameter i.e. Executable simulation, effect are as shown in Figure 7.
Fig. 7 pipe networks and final SWMM models
Fig. 7 Pipe Network and Final SWMM Model
Chicago design rainfall data are inputted respectively and annual minute rainfall data are simulated, and as a result show that the park is advised The annual flow overall control rate for drawing sponge scheme is 91.65%, reaches 90% planning requirement;Plan sewer scheme in P=5a Situation under, no node overflow, meet pipe network drainability requirement.It is difficult that modeling is greatly reduced by this paper rapid extracting methods Degree, improves modeling efficiency.
Summarize
Realize the function of the CAD pipe network data rapid extractions under certain format herein, and SWMM models can be automatically switched to In, the workload of modeling personnel can be greatly reduced, can all be answered in planning, design and sponge urban construction recruitment evaluation With, and demonstrate by the case in certain park the feasibility of method.
Methods described herein still have development space, and such as many drawings are not that each node has elevation mark, missing Part stills need by hand to supplement, can subsequently increase the function of marking auto-complete absolute altitude according to upstream and downstream;Additionally, due to caliber Labeling form is various, at present only will the overall function of extracting, be not carried out automatic identification information needed of mark;In addition the author develops Charge for remittance subregion is imported to SWMM program, is expected to, by two integration procedures, more complete function be realized, in sea in next step Continuous urban planning and design evaluation etc. have more preferable application.

Claims (2)

1. base and CAD secondary development rapid extraction pipeline information SWMM modeling methods, it is characterised in that using programming language according to Position relationship establishes the topological relation between pipeline and between pipeline and mark in CAD diagram paper, by markup information and pipeline information Corresponding extraction is carried out, by extraction result visualization and is converted to the file format specified.
2. according to claim 1 establish in CAD diagram paper between pipeline and between pipeline and mark according to position relationship The method of topological relation, it is characterised in that comprise the following steps;
Step 1:Feature object is established, the search basic point established as topological relation;
Step 2:Imposed a condition according to search basic point and search and search for pipeline;
Step 3:According to the search basic point of the pipeline renewal pipeline searched, imposed a condition according to the pattern feature of mark and search Search for markup information;
Step 4:Circulating repetition step 2 and step 3, until not new pipeline is searched with mark.
CN201710668908.3A 2017-08-08 2017-08-08 Based on CAD secondary development rapid extraction pipeline information SWMM modeling methods Pending CN107423520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710668908.3A CN107423520A (en) 2017-08-08 2017-08-08 Based on CAD secondary development rapid extraction pipeline information SWMM modeling methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710668908.3A CN107423520A (en) 2017-08-08 2017-08-08 Based on CAD secondary development rapid extraction pipeline information SWMM modeling methods

Publications (1)

Publication Number Publication Date
CN107423520A true CN107423520A (en) 2017-12-01

Family

ID=60437442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710668908.3A Pending CN107423520A (en) 2017-08-08 2017-08-08 Based on CAD secondary development rapid extraction pipeline information SWMM modeling methods

Country Status (1)

Country Link
CN (1) CN107423520A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763768A (en) * 2018-05-30 2018-11-06 中船黄埔文冲船舶有限公司 A kind of method and system of automatic reading AutoCAD fitting-out layout drawings
CN111179271A (en) * 2019-11-22 2020-05-19 浙江众合科技股份有限公司 Object angle information labeling method based on retrieval matching and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763768A (en) * 2018-05-30 2018-11-06 中船黄埔文冲船舶有限公司 A kind of method and system of automatic reading AutoCAD fitting-out layout drawings
CN111179271A (en) * 2019-11-22 2020-05-19 浙江众合科技股份有限公司 Object angle information labeling method based on retrieval matching and electronic equipment

Similar Documents

Publication Publication Date Title
CN105117573B (en) Auto hydraulic model building method based on CAD drainage pipeline networks drawing informations
CN105117572B (en) Automatic SWMM hydraulic models construction method based on Storm Sewer Network design schedule
CN105320811B (en) A method of establishing Urban Underground power pipe net topology connection model
CN105224747B (en) Urban waterlogging model building method based on CAD engineering drawings information and design of pipe networks computational chart
Stoter et al. Fully automated generalization of a 1: 50k map from 1: 10k data
CN107563019B (en) Urban distributed hydrological model digitization method for complex underlying surface
CN102289991B (en) Visual-variable-based automatic classification and configuration method of map lettering
CN103927417B (en) Hydraulic model building demands based digital processing method for drainage pipeline network
Tucci et al. Using spatial analysis and geovisualization to reveal urban changes: Milan, Italy, 1737–2005
CN107704531B (en) Automatic merging method for road network intersection nodes in OSM map data
CN110309248B (en) Method for automatically dividing traffic cells of traffic road network based on Voronoi diagram
CN113944887B (en) Pipe network monitoring and tracing method, system, equipment and medium based on directed graph traversal
CN110766792B (en) Grid calculation order coding method based on ArcGIS hydrological analysis tool
CN114662253A (en) Simulation modeling method and device, electronic equipment and storage medium
CN105389666A (en) Distribution network model topology connectivity verification method
CN107423520A (en) Based on CAD secondary development rapid extraction pipeline information SWMM modeling methods
CN115641407A (en) Three-dimensional pipe network incremental updating modeling method and device, storage medium and electronic equipment
CN110363848A (en) A kind of method for visualizing and device of the pore network model based on digital cores
CN108595572A (en) One kind being suitable for urbanized area extracted with high accuracy water system and Watershed Unit method
CN116383950A (en) Multi-platform collaborative outdoor rainwater pipe network parameterization design method and system
CN110737931A (en) ArcGIS-based railway bridge crossing hydrological key parameter extraction method
CN103150313A (en) Address locating method based on space interpolation
Horn et al. History of the US EPA’s River Reach File: a national hydrographic database available for ARC/INFO applications
CN111369102B (en) Method and device for extracting waterlogging risk points
CN115345078A (en) Cable management method and device based on cable iterative model

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171201

RJ01 Rejection of invention patent application after publication