Skip to main content
Log in

Automatic Generation of Water Distribution Networks from Streets Layout

  • Published:
Water Resources Management Aims and scope Submit manuscript

Abstract

This article focuses on creating a model for the automatic generation of the EPANET input file from the layout of the arrangement of the streets designed in a CAD environment. From this layout a binary image is built, in which each pixel will be black if is inside the street and, otherwise, white. In order to determine the location of the pipes and nodes that are in the middle of the streets, the Zhang and Suen method of thinning binary images was used. After the image was thinned, the main challenge was to identify the pixels that will be considered as nodes of the network due to the irregular geometry of the streets. To solve this problem, a set of algorithms was developed on the theme of binary image processing. Two street layouts were used, one hypothetical and the other real. For both layouts, the model proved to be efficient, automatically generating the EPANET input format file with the pipes located within the streets.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18
Fig. 19
Fig. 20

Similar content being viewed by others

Data Availability

Not applicable.

Code Availability

The code is available in the following link: www.aquacad.net/automaticgeneration.

References

Download references

Author information

Authors and Affiliations

Authors

Contributions

Luis Henrique Magalhães Costa: Interpretation of data, drafting the article, revising the article critically for important intellectual content, final approval of the version to be published, and agree to be accountable for all aspects of the work.

Gustavo Paiva Weyne Rodrigues: Interpretation of data, drafting the article, revising the article critically for important intellectual content, final approval of the version to be published, and agree to be accountable for all aspects of the work.

Corresponding author

Correspondence to Luis Henrique Magalhães Costa.

Ethics declarations

Ethics Approval

Not applicable.

Consent to Participate

Not applicable.

Consent for Publication

Authors consent to the manuscript for publication.

Conflict of Interest

None.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Costa, L.H.M., Rodrigues, G.P.W. Automatic Generation of Water Distribution Networks from Streets Layout. Water Resour Manage 35, 1299–1319 (2021). https://doi.org/10.1007/s11269-021-02785-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11269-021-02785-8

Keywords

Navigation