OpenWaterAnalytics / epanet-python

python wrapper for epanet library
76 stars 40 forks source link

Water quality analysis error #52

Closed GalPerelman closed 4 years ago

GalPerelman commented 4 years ago

Hi, When calling quality analysis functions such as EN.initQ() or EN.runQ() I get the following error:

File "path_to_epamodule.py/epamodule.py", line 624, in ENinitQ
if ierr !=0: raise ENtoolkitError(ierr)
epamodule.ENtoolkitError: Error 105: water quality solver not opened

I'm using Python 3.7 on windows 64 bit

samhatchett commented 4 years ago

Thanks for reporting. To avoid confusion, I've labelled this for the sub-project it applies to.

You could also try the pip-installable owa-epanet package and see if that one works for you.

GalPerelman commented 4 years ago

Hi Sam Just realized what was my problem I misunderstood the right way to use these functions

Thank you for the quick response

samhatchett commented 4 years ago

great, feel free to close the issue if you feel that this is resolved. best of luck!