epanettools
epanettools copied to clipboard
Error 302
when use the codes of usage :
import os, pprint pp=pprint.PrettyPrinter() # we'll use this later. from epanettools.epanettools import EPANetSimulation, Node, Link, Network, Nodes,
... Links, Patterns, Pattern, Controls, Control # import all elements needed from epanettools.examples import simple # this is just to get the path of standard examples file = os.path.join(os.path.dirname(simple.file),'Net3.inp') # open an example es=EPANetSimulation(file)
it shows that error 302. Could you help me to deal with this? Thank you. P.S. I'm using python 3.7 with windows 10.
Hi,
It says in Epanet documentation: File Error 302: cannot open input file.
so its something wrong with your file. Be sure you are doing everything okay in your epanet model.