Giter Club home page Giter Club logo

Comments (5)

michaelbynum avatar michaelbynum commented on July 3, 2024

I'm not sure about the EPANET simulator. With the WNTR simulator in PDD mode, if your nodes are all at the same elevation, you should not get any negative pressures. However, we do not model emptying pipes, so we do sometimes see negative pressures at nodes around empty tanks with high elevation, if I remember correctly. The negative pressures essentially match the elevation change, indicating an empty pipe.

from wntr.

uthmankareem avatar uthmankareem commented on July 3, 2024

Thank you. I am using wntr in python module. The elevation distribution is between 31 to 39 meters for the different nodes in the network. Their are 4 reservoirs that do not have negative demands.
Actually, the literature I read advised running the simulation and check for negative pressure. If there are any, the nodes and associated pipes should be deleted and the simulation loop should continue like that until there is a simulation where there are no negative nodes again. Then our network performance can now be calculated. I am just wondering if this is necessary given that the wntr documentation did not state all these details. So I was trying to know if negative nodes have been taken care of in the wntr simulation or the chance of negative pressure nodes is rare and so might be negligible.
I am interested in this so as to shorten my code runtime and perhaps, I do not need to be removing or deleting any pipes.
Also, note that the literature recommended removing pipes that broken from the network instead of the methodology and model proposed by wntr. So it is important for me to know if the pipe removal methodology warranted the checking and removal of negative pressure nodes which might not necessary with the methodology and model proposed in wntr documentation.
Lastly, if recomending checking of negative pressure nodes, is it more appropriate to remove them from the network by deleting or the methodology and model proposed by wntr documentation will suffice?
I will be willing to provide more explanation if needed.
Thank you.

from wntr.

kaklise avatar kaklise commented on July 3, 2024

I think this decision to remove the pipes depends on your application. Negative pressures are possible with PDD simulations, however removing pipes will change the hydraulics of the system and might not be needed. Does the literature your referring to use a DD or PDD simulation? Please include a citation.

from wntr.

uthmankareem avatar uthmankareem commented on July 3, 2024

This is a PDD simulation. The direct reference is Shinozuka and coworkers (Okumura and Shinozuka, 1991; Shinozuka, et al.,
1981, 1992; Hwang, et al., 1998).
Also, I will also like to know why "https://wntr.readthedocs.io/" is not loading because I am trying to understand why my simulation is throwing " raise ValueError('cannot infer dimensions from zero sized index arrays')".Is it an issue of non-convergence? Alternatively, how ad where do I access the link with source codes the wntr hydraulic simulation?
Thank you.

from wntr.

kaklise avatar kaklise commented on July 3, 2024

Thanks for the reference.

The user manual is now located at https://usepa.github.io/WNTR/.

You can find the source code at https://github.com/USEPA/WNTR. The code for WNTRSimulation class is in https://github.com/USEPA/WNTR/blob/main/wntr/sim/core.py.

from wntr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.