|
PRV status in Epanet toolkit v2
Hi,
I developed a tool to solve optimal pipe design in a distribution network and I linked Epanet Toolkit Version 2.00.07 (January 2001) to perform hydraulic analysis.
In simulation task, for each link, I retrieve flow and pipe status with “ENgetlinkvalue” function called from C. As exposed in the toolkit reference, this function can assume value =0 or =1 (closed or open pipe).
In the same tool I want to solve the optimal setting of an existing PRV problem.
Status valve is investigated calling the same function “ENgetlinkvalue”.
But, despite this function can take more values (0,1,2,3,4,5,6,7) related to the status of valve (active, open, closed etc) for each period, results obtained by calling “ENgetlinkvalue” from C is always only 0/1 (valve closed/open).
How I can retrieve more information about status of PRV in my developed tool? I don’t use binary report and I prefer to read parameters values directly from memory.
More thanks.
|