asselapathirana / epanettools

EPANET calling API for python.
Other
16 stars 13 forks source link

How to change PDD parameters #36

Open koheiHasegawa2 opened 4 years ago

koheiHasegawa2 commented 4 years ago

Hi,

I could use the PDD analysis using epanettools and pinpoint important pipes in water distribution systems.

For further analysis, I want to change PDD parameters such as threshold pressures and allowable convergence error.

How can I change these parameters in epanettools?

Thank you

koheiHasegawa2 commented 4 years ago

Postscript: I have read the paper that describes EPANET-emitter, at WDSA 2010. According to that paper, the lowest allowable pressure is set at zero and threshold pressure (called adequate pressure) is indexed P_ECUP.

I could find some e_cup variables in some source code files. But still, I do not know how to change parameters.

mxfeinberg commented 4 years ago

@koheiHasegawa2 any luck on this? Did you try looking at the EPANet source code and making the changes there?

koheiHasegawa2 commented 4 years ago

@mxfeinberg No, I did. I changed my strategy; I am using WNTR to integrate PDD analysis into my program. WNTR's PDD can change the nodal threshold pressures.