Closed aferust closed 2 years ago
Negative pressures are a good indicator for detecting unsatisfying demands. I can only get negative pressures if I comment out this line.
https://github.com/OpenWaterAnalytics/epanet-python/blob/dev/epanet-module/epamodule.py#L596
The code causing the error. pressure = em.ENgetnodevalue(nodeindex, em.EN_PRESSURE)
Probably i just catch the error
Negative pressures are a good indicator for detecting unsatisfying demands. I can only get negative pressures if I comment out this line.
https://github.com/OpenWaterAnalytics/epanet-python/blob/dev/epanet-module/epamodule.py#L596
The code causing the error. pressure = em.ENgetnodevalue(nodeindex, em.EN_PRESSURE)