Comments (7)
The table references unit conversions for EPANET INP files. Data that is stored in a WNTR water network model and the results from a simulation (EpanetSimulator or WNTRSimulator) are all in SI units. Flowrate is in m^3/s. I see that flowrate is not listed at the top of that page, we'll fix that.
from wntr.
sorry i just had a follow up question, you mention all data is in SI units. so should I be writing my pipe diameters in M? and not mm as shown in the conversion table?
https://wntr.readthedocs.io/en/latest/units.html
from wntr.
@tyjchen Good catch. There is a typo in that table. Diameter should be in meters. We will get that fixed.
from wntr.
@tyjchen Please disregard my last comment. I spoke too quickly. There is not a typo. The table you are referencing specifies units for Epanet inp files. Pipe diameters should indeed be specified in mm. However, once the model is loaded into a WaterNetworkModel object, pipe diameters are all in meters as specified here https://wntr.readthedocs.io/en/latest/units.html#units. Does that make sense?
from wntr.
@michaelbynum thanks for the response, i'm still a little unsure of what the "right" units are. just to make sure: when an existing .inp file is read the diameters are converted automatically from from inches to meters. if i want to add say a new pipe of 10 inches to the model (using wntr.add_pipe()), i should also use meters?
or should i convert the diameters in the existing model from M to mm?
from wntr.
When using wn.add_pipe()
, diameter should be specified in meters. At the very top of the previously mentioned webpage (https://wntr.readthedocs.io/en/latest/units.html#units), there is a bulleted list of units. These are the units used in WNTR. Anytime you interact with WNTR python objects, you should use these units. Table 4 on the same page is only for inp files.
from wntr.
@michaelbynum thank you!
from wntr.
Related Issues (20)
- runnin the program HOT 3
- wntr.network.options has some abnormal annotation contents HOT 1
- Writing an inp file 'self' argument error message HOT 2
- Create a control object or rule object from text input HOT 5
- Get the reactions tab in the inp file from a water network instance HOT 1
- Add PBV support to [VALVES] section
- Generating Interactive leaflet networks HOT 7
- Pipe status problem HOT 4
- AttributeError: 'WaterNetworkModel' object has no attribute 'write_inpfile' HOT 3
- Differences with my epanet from zero model and inp from wntr model HOT 4
- Values in [DEMANDS] section are repetead and others are missing HOT 8
- Unable to remove leaks from network model HOT 3
- Not able to save the network with modified elements as an INP file. HOT 2
- EPANET Error 110 HOT 1
- leaflet map popups HOT 5
- Todini Index Calculation for the Net6 network - Values outside the range [0,1] HOT 5
- Update EPANET binaries for MacOS arm64 HOT 1
- Version compatibility for dependencies HOT 1
- Pressure Threshold for Resilience indices like Todini and MRI HOT 2
- Problems to run parallel processing with WNTR / EPANET HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wntr.