EPANET- Pyhton toolkit

Hi,
How I can install EPANET2.2 on anaconda spyder (python 3.9)?
Is there any comprehensive tutorial like "EPANET-MATLAB toolkit’?
thanks,

We have already finished porting EPANET-MATLAB Toolkit in python. We will release it the next week!

2 Likes

Hi dear @Mariosmsk,
Thank you for your answer, did you mean EPANET-Python toolkit?
I’m so enthusiastic that can’t wait for it.

1 Like

Hi @Mariosmsk
On which website, EPANET-Python toolkit has been published?
Thanks,

Hi!


I believe this is what you are looking for.

Cheers,

1 Like

Hi,
Thanks for your attention but I’ve checked it before, there is not any function or example inside this toolkit. Could you please send me some examples or how to use this module?
Thanks,

There is a fairly extensive test script in the repo that demonstrates the wrapper function calls.

1 Like

I could not install epyt on anaconda as you suggested ( conda install -c conda-forge epyt) in:


Should I do something more before installing this toolkit?
Thanks,

Hi @Pedramjazayeri, please use from anaconda environment

Environments -> base (root) -> open terminal -> pip install epyt

python

from epyt import epanet

d = epanet(‘Net1.inp’)

d.getNodeCount()

d.plot()

Examples:

  • Anaconda: conda install -c conda-forge epyt / Not yet implemented.

Regards,
Marios

2 Likes

yes,it was installed.
Thank you so much

1 Like