Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Material and age in network model #349

Closed
frank-hulo opened this issue May 5, 2023 · 1 comment
Closed

Material and age in network model #349

frank-hulo opened this issue May 5, 2023 · 1 comment
Labels

Comments

@frank-hulo
Copy link
Contributor

Summary
Hi, I was wondering if are there any ideas or developments within this community to add material and pipe age to the network model. I understand that the basis is Epanet, but it might be really interesting in stochastic simulations. I also understand that this data is often available in other files however, most utilities are not fully synced in naming between GIS and hydraulic systems.

What is your opinion about this?

@kaklise
Copy link
Collaborator

kaklise commented May 5, 2023

Custom attributes can be added to any network component, see https://wntr.readthedocs.io/en/latest/waternetworkmodel.html#add-custom-element-attributes for an example. This can include attributes like material and pipe age, which can be used in stochastic simulations.

WNTR now includes methods to build water network models from GIS data. See https://wntr.readthedocs.io/en/latest/model_io.html#geodataframe-representation for more information. To use the from_gis method, you can read GIS files (i.e., shapefile, geojson) into Python and create a dictionary of GeoDataFrames. The column names from a utility database often need to be modified before using this method in WNTR.

Feel free to post comments on how these capabilities work for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants