We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5a7b64 commit 40bd318Copy full SHA for 40bd318
…les/python/EX_NewFunctions_2_3_EPANET.py epyt/tests/testFunctions_2_3.pyepyt/examples/python/EX_NewFunctions_2_3_EPANET.py renamed to epyt/tests/testFunctions_2_3.py
@@ -1,17 +1,15 @@
1
-from epyt import epanet
2
-
3
-# inpfile = "Richmond_standard.inp"
+"""
+EPANET Python Toolkit (EPyT) Test Part 5
+This file is provided to ensure that all functions can be executed correctly.
4
+Step-by-step execution. You may also use breakpoints.
5
6
-# #Warning that a link is missing and the network is not fully connected
-# inpfile = "BrokenNetwork.inp"
7
-# d = epanet(inpfile)
8
-# d.unload()
+from epyt import epanet
9
10
inpfile = "Net1.inp"
11
d = epanet(inpfile)
+# Setcurve
12
13
-# d.getNodeNameID('dakjsdfhjksdfhsd')
14
-# setcurvetype functions
15
d.setCurveTypePump(1)
16
d.printv(d.getCurveType(1))
17
d.setCurveTypeVolume(1)
0 commit comments