epanet-plus 0.0.1__cp313-cp313-win32.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of epanet-plus might be problematic. Click here for more details.

Files changed (105) hide show
  1. docs/conf.py +67 -0
  2. epanet-msx-src/dispersion.h +27 -0
  3. epanet-msx-src/hash.c +107 -0
  4. epanet-msx-src/hash.h +28 -0
  5. epanet-msx-src/include/epanetmsx.h +104 -0
  6. epanet-msx-src/include/epanetmsx_export.h +42 -0
  7. epanet-msx-src/mathexpr.c +937 -0
  8. epanet-msx-src/mathexpr.h +39 -0
  9. epanet-msx-src/mempool.c +204 -0
  10. epanet-msx-src/mempool.h +24 -0
  11. epanet-msx-src/msxchem.c +1285 -0
  12. epanet-msx-src/msxcompiler.c +368 -0
  13. epanet-msx-src/msxdict.h +42 -0
  14. epanet-msx-src/msxdispersion.c +586 -0
  15. epanet-msx-src/msxerr.c +116 -0
  16. epanet-msx-src/msxfile.c +260 -0
  17. epanet-msx-src/msxfuncs.c +175 -0
  18. epanet-msx-src/msxfuncs.h +35 -0
  19. epanet-msx-src/msxinp.c +1504 -0
  20. epanet-msx-src/msxout.c +398 -0
  21. epanet-msx-src/msxproj.c +791 -0
  22. epanet-msx-src/msxqual.c +2011 -0
  23. epanet-msx-src/msxrpt.c +400 -0
  24. epanet-msx-src/msxtank.c +422 -0
  25. epanet-msx-src/msxtoolkit.c +1164 -0
  26. epanet-msx-src/msxtypes.h +551 -0
  27. epanet-msx-src/msxutils.c +524 -0
  28. epanet-msx-src/msxutils.h +56 -0
  29. epanet-msx-src/newton.c +158 -0
  30. epanet-msx-src/newton.h +34 -0
  31. epanet-msx-src/rk5.c +287 -0
  32. epanet-msx-src/rk5.h +39 -0
  33. epanet-msx-src/ros2.c +293 -0
  34. epanet-msx-src/ros2.h +35 -0
  35. epanet-msx-src/smatrix.c +816 -0
  36. epanet-msx-src/smatrix.h +29 -0
  37. epanet-src/AUTHORS +60 -0
  38. epanet-src/LICENSE +21 -0
  39. epanet-src/enumstxt.h +151 -0
  40. epanet-src/epanet.c +5937 -0
  41. epanet-src/epanet2.c +961 -0
  42. epanet-src/epanet2.def +131 -0
  43. epanet-src/errors.dat +79 -0
  44. epanet-src/flowbalance.c +186 -0
  45. epanet-src/funcs.h +219 -0
  46. epanet-src/genmmd.c +1000 -0
  47. epanet-src/hash.c +177 -0
  48. epanet-src/hash.h +28 -0
  49. epanet-src/hydcoeffs.c +1303 -0
  50. epanet-src/hydraul.c +1164 -0
  51. epanet-src/hydsolver.c +781 -0
  52. epanet-src/hydstatus.c +442 -0
  53. epanet-src/include/epanet2.h +466 -0
  54. epanet-src/include/epanet2_2.h +1962 -0
  55. epanet-src/include/epanet2_enums.h +518 -0
  56. epanet-src/inpfile.c +884 -0
  57. epanet-src/input1.c +672 -0
  58. epanet-src/input2.c +970 -0
  59. epanet-src/input3.c +2265 -0
  60. epanet-src/leakage.c +527 -0
  61. epanet-src/mempool.c +146 -0
  62. epanet-src/mempool.h +24 -0
  63. epanet-src/output.c +853 -0
  64. epanet-src/project.c +1691 -0
  65. epanet-src/quality.c +695 -0
  66. epanet-src/qualreact.c +800 -0
  67. epanet-src/qualroute.c +696 -0
  68. epanet-src/report.c +1559 -0
  69. epanet-src/rules.c +1500 -0
  70. epanet-src/smatrix.c +871 -0
  71. epanet-src/text.h +508 -0
  72. epanet-src/types.h +928 -0
  73. epanet-src/util/cstr_helper.c +59 -0
  74. epanet-src/util/cstr_helper.h +38 -0
  75. epanet-src/util/errormanager.c +92 -0
  76. epanet-src/util/errormanager.h +39 -0
  77. epanet-src/util/filemanager.c +212 -0
  78. epanet-src/util/filemanager.h +81 -0
  79. epanet-src/validate.c +408 -0
  80. epanet.cp313-win32.pyd +0 -0
  81. epanet_plus/VERSION +1 -0
  82. epanet_plus/__init__.py +8 -0
  83. epanet_plus/epanet_plus.c +118 -0
  84. epanet_plus/epanet_toolkit.py +2730 -0
  85. epanet_plus/epanet_wrapper.py +2414 -0
  86. epanet_plus/include/epanet_plus.h +9 -0
  87. epanet_plus-0.0.1.dist-info/METADATA +152 -0
  88. epanet_plus-0.0.1.dist-info/RECORD +105 -0
  89. epanet_plus-0.0.1.dist-info/WHEEL +5 -0
  90. epanet_plus-0.0.1.dist-info/licenses/LICENSE +21 -0
  91. epanet_plus-0.0.1.dist-info/top_level.txt +11 -0
  92. examples/basic_usage.py +35 -0
  93. python-extension/ext.c +344 -0
  94. python-extension/pyepanet.c +2133 -0
  95. python-extension/pyepanet.h +143 -0
  96. python-extension/pyepanet2.c +1823 -0
  97. python-extension/pyepanet2.h +141 -0
  98. python-extension/pyepanet_plus.c +37 -0
  99. python-extension/pyepanet_plus.h +4 -0
  100. python-extension/pyepanetmsx.c +388 -0
  101. python-extension/pyepanetmsx.h +35 -0
  102. tests/test_epanet.py +16 -0
  103. tests/test_epanetmsx.py +36 -0
  104. tests/test_epyt.py +114 -0
  105. tests/test_load_inp_from_buffer.py +18 -0
python-extension/ext.c ADDED
@@ -0,0 +1,344 @@
1
+ #include <Python.h>
2
+ #include "pyepanet.h"
3
+ #include "pyepanet2.h"
4
+ #include "pyepanetmsx.h"
5
+ #include "pyepanet_plus.h"
6
+
7
+
8
+ PyMethodDef EpanetMethods[] = {
9
+ // EPANET-PLUS
10
+ {"ENopenfrombuffer", method_ENopenfrombuffer, METH_VARARGS, "Python interface for ENopenfrombuffer TODO"},
11
+ {"EN_openfrombuffer", method_EN_openfrombuffer, METH_VARARGS, "Python interface for EN_openfrombuffer TODO"},
12
+
13
+ // EPANET-MSX
14
+ {"MSXENopen", method_MSXENopen, METH_VARARGS, "Python interface for MSXENopen C function from EPANET-MSX"},
15
+ {"MSXopen", method_MSXopen, METH_VARARGS, "Python interface for MSXopen C function from EPANET-MSX"},
16
+ {"MSXsolveH", method_MSXsolveH, METH_NOARGS, "Python interface for MSXsolveH C function from EPANET-MSX"},
17
+ {"MSXusehydfile", method_MSXusehydfile, METH_VARARGS, "Python interface for MSXusehydfile C function from EPANET-MSX"},
18
+ {"MSXsolveQ", method_MSXsolveQ, METH_NOARGS, "Python interface for MSXsolveQ C function from EPANET-MSX"},
19
+ {"MSXinit", method_MSXinit, METH_VARARGS, "Python interface for MSXinit C function from EPANET-MSX"},
20
+ {"MSXstep", method_MSXstep, METH_VARARGS, "Python interface for MSXstep C function from EPANET-MSX"},
21
+ {"MSXsaveoutfile", method_MSXsaveoutfile, METH_VARARGS, "Python interface for MSXsaveoutfile C function from EPANET-MSX"},
22
+ {"MSXsavemsxfile", method_MSXsavemsxfile, METH_VARARGS, "Python interface for MSXsavemsxfile C function from EPANET-MSX"},
23
+ {"MSXreport", method_MSXreport, METH_NOARGS, "Python interface for MSXreport C function from EPANET-MSX"},
24
+ {"MSXclose", method_MSXclose, METH_NOARGS, "Python interface for MSXclose C function from EPANET-MSX"},
25
+ {"MSXENclose", method_MSXENclose, METH_NOARGS, "Python interface for MSXENclose C function from EPANET-MSX"},
26
+ {"MSXgetindex", method_MSXgetindex, METH_VARARGS, "Python interface for MSXgetindex C function from EPANET-MSX"},
27
+ {"MSXgetIDlen", method_MSXgetIDlen, METH_VARARGS, "Python interface for MSXgetIDlen C function from EPANET-MSX"},
28
+ {"MSXgetID", method_MSXgetID, METH_VARARGS, "Python interface for MSXgetID C function from EPANET-MSX"},
29
+ {"MSXgetcount", method_MSXgetcount, METH_VARARGS, "Python interface for MSXgetcount C function from EPANET-MSX"},
30
+ {"MSXgetspecies", method_MSXgetspecies, METH_VARARGS, "Python interface for MSXgetspecies C function from EPANET-MSX"},
31
+ {"MSXgetconstant", method_MSXgetconstant, METH_VARARGS, "Python interface for MSXgetconstant C function from EPANET-MSX"},
32
+ {"MSXgetparameter", method_MSXgetparameter, METH_VARARGS, "Python interface for MSXgetparameter C function from EPANET-MSX"},
33
+ {"MSXgetsource", method_MSXgetsource, METH_VARARGS, "Python interface for MSXgetsource C function from EPANET-MSX"},
34
+ {"MSXgetpatternlen", method_MSXgetpatternlen, METH_VARARGS, "Python interface for MSXgetpatternlen C function from EPANET-MSX"},
35
+ {"MSXgetpatternvalue", method_MSXgetpatternvalue, METH_VARARGS, "Python interface for MSXgetpatternvalue C function from EPANET-MSX"},
36
+ {"MSXgetinitqual", method_MSXgetinitqual, METH_VARARGS, "Python interface for MSXgetinitqual C function from EPANET-MSX"},
37
+ {"MSXgetqual", method_MSXgetqual, METH_VARARGS, "Python interface for MSXgetqual C function from EPANET-MSX"},
38
+ {"MSXgeterror", method_MSXgeterror, METH_VARARGS, "Python interface for MSXgeterror C function from EPANET-MSX"},
39
+ {"MSXsetconstant", method_MSXsetconstant, METH_VARARGS, "Python interface for MSXsetconstant C function from EPANET-MSX"},
40
+ {"MSXsetparameter", method_MSXsetparameter, METH_VARARGS, "Python interface for MSXsetparameter C function from EPANET-MSX"},
41
+ {"MSXsetinitqual", method_MSXsetinitqual, METH_VARARGS, "Python interface for MSXsetinitqual C function from EPANET-MSX"},
42
+ {"MSXsetsource", method_MSXsetsource, METH_VARARGS, "Python interface for MSXsetsource C function from EPANET-MSX"},
43
+ {"MSXsetpatternvalue", method_MSXsetpatternvalue, METH_VARARGS, "Python interface for MSXsetpatternvalue C function from EPANET-MSX"},
44
+ {"MSXsetpattern", method_MSXsetpattern, METH_VARARGS, "Python interface for MSXsetpattern C function from EPANET-MSX"},
45
+ {"MSXaddpattern", method_MSXaddpattern, METH_VARARGS, "Python interface for MSXaddpattern C function from EPANET-MSX"},
46
+
47
+ // EPANET
48
+ {"EN_createproject", method_EN_createproject, METH_NOARGS, "Python interface for EN_createproject C function from EPANET"},
49
+ {"EN_deleteproject", method_EN_deleteproject, METH_VARARGS, "Python interface for EN_deleteproject C function from EPANET"},
50
+ {"EN_init", method_EN_init, METH_VARARGS, "Python interface for EN_init C function from EPANET"},
51
+ {"EN_open", method_EN_open, METH_VARARGS, "Python interface for EN_open C function from EPANET"},
52
+ {"EN_gettitle", method_EN_gettitle, METH_VARARGS, "Python interface for EN_gettitle C function from EPANET"},
53
+ {"EN_settitle", method_EN_settitle, METH_VARARGS, "Python interface for EN_settitle C function from EPANET"},
54
+ {"EN_getcomment", method_EN_getcomment, METH_VARARGS, "Python interface for EN_getcomment C function from EPANET"},
55
+ {"EN_setcomment", method_EN_setcomment, METH_VARARGS, "Python interface for EN_setcomment C function from EPANET"},
56
+ {"EN_getcount", method_EN_getcount, METH_VARARGS, "Python interface for EN_getcount C function from EPANET"},
57
+ {"EN_saveinpfile", method_EN_saveinpfile, METH_VARARGS, "Python interface for EN_saveinpfile C function from EPANET"},
58
+ {"EN_close", method_EN_close, METH_VARARGS, "Python interface for EN_close C function from EPANET"},
59
+ {"EN_solveH", method_EN_solveH, METH_VARARGS, "Python interface for EN_solveH C function from EPANET"},
60
+ {"EN_usehydfile", method_EN_usehydfile, METH_VARARGS, "Python interface for EN_usehydfile C function from EPANET"},
61
+ {"EN_openH", method_EN_openH, METH_VARARGS, "Python interface for EN_openH C function from EPANET"},
62
+ {"EN_initH", method_EN_initH, METH_VARARGS, "Python interface for EN_initH C function from EPANET"},
63
+ {"EN_runH", method_EN_runH, METH_VARARGS, "Python interface for EN_runH C function from EPANET"},
64
+ {"EN_nextH", method_EN_nextH, METH_VARARGS, "Python interface for EN_nextH C function from EPANET"},
65
+ {"EN_saveH", method_EN_saveH, METH_VARARGS, "Python interface for EN_saveH C function from EPANET"},
66
+ {"EN_savehydfile", method_EN_savehydfile, METH_VARARGS, "Python interface for EN_savehydfile C function from EPANET"},
67
+ {"EN_closeH", method_EN_closeH, METH_VARARGS, "Python interface for EN_closeH C function from EPANET"},
68
+ {"EN_solveQ", method_EN_solveQ, METH_VARARGS, "Python interface for EN_solveQ C function from EPANET"},
69
+ {"EN_openQ", method_EN_openQ, METH_VARARGS, "Python interface for EN_openQ C function from EPANET"},
70
+ {"EN_initQ", method_EN_initQ, METH_VARARGS, "Python interface for EN_initQ C function from EPANET"},
71
+ {"EN_runQ", method_EN_runQ, METH_VARARGS, "Python interface for EN_runQ C function from EPANET"},
72
+ {"EN_nextQ", method_EN_nextQ, METH_VARARGS, "Python interface for EN_nextQ C function from EPANET"},
73
+ {"EN_stepQ", method_EN_stepQ, METH_VARARGS, "Python interface for EN_stepQ C function from EPANET"},
74
+ {"EN_closeQ", method_EN_closeQ, METH_VARARGS, "Python interface for EN_closeQ C function from EPANET"},
75
+ {"EN_writeline", method_EN_writeline, METH_VARARGS, "Python interface for EN_writeline C function from EPANET"},
76
+ {"EN_report", method_EN_report, METH_VARARGS, "Python interface for EN_report C function from EPANET"},
77
+ {"EN_copyreport", method_EN_copyreport, METH_VARARGS, "Python interface for EN_copyreport C function from EPANET"},
78
+ {"EN_clearreport", method_EN_clearreport, METH_VARARGS, "Python interface for EN_clearreport C function from EPANET"},
79
+ {"EN_resetreport", method_EN_resetreport, METH_VARARGS, "Python interface for EN_resetreport C function from EPANET"},
80
+ {"EN_setreport", method_EN_setreport, METH_VARARGS, "Python interface for EN_setreport C function from EPANET"},
81
+ {"EN_setstatusreport", method_EN_setstatusreport, METH_VARARGS, "Python interface for EN_setstatusreport C function from EPANET"},
82
+ {"EN_getversion", method_EN_getversion, METH_VARARGS, "Python interface for EN_getversion C function from EPANET"},
83
+ {"EN_geterror", method_EN_geterror, METH_VARARGS, "Python interface for EN_geterror C function from EPANET"},
84
+ {"EN_getstatistic", method_EN_getstatistic, METH_VARARGS, "Python interface for EN_getstatistic C function from EPANET"},
85
+ {"EN_getresultindex", method_EN_getresultindex, METH_VARARGS, "Python interface for EN_getresultindex C function from EPANET"},
86
+ {"EN_getoption", method_EN_getoption, METH_VARARGS, "Python interface for EN_getoption C function from EPANET"},
87
+ {"EN_setoption", method_EN_setoption, METH_VARARGS, "Python interface for EN_setoption C function from EPANET"},
88
+ {"EN_getflowunits", method_EN_getflowunits, METH_VARARGS, "Python interface for EN_getflowunits C function from EPANET"},
89
+ {"EN_setflowunits", method_EN_setflowunits, METH_VARARGS, "Python interface for EN_setflowunits C function from EPANET"},
90
+ {"EN_gettimeparam", method_EN_gettimeparam, METH_VARARGS, "Python interface for EN_gettimeparam C function from EPANET"},
91
+ {"EN_settimeparam", method_EN_settimeparam, METH_VARARGS, "Python interface for EN_settimeparam C function from EPANET"},
92
+ {"EN_getqualinfo", method_EN_getqualinfo, METH_VARARGS, "Python interface for EN_getqualinfo C function from EPANET"},
93
+ {"EN_getqualtype", method_EN_getqualtype, METH_VARARGS, "Python interface for EN_getqualtype C function from EPANET"},
94
+ {"EN_setqualtype", method_EN_setqualtype, METH_VARARGS, "Python interface for EN_setqualtype C function from EPANET"},
95
+ {"EN_addnode", method_EN_addnode, METH_VARARGS, "Python interface for EN_addnode C function from EPANET"},
96
+ {"EN_deletenode", method_EN_deletenode, METH_VARARGS, "Python interface for EN_deletenode C function from EPANET"},
97
+ {"EN_getnodeindex", method_EN_getnodeindex, METH_VARARGS, "Python interface for EN_getnodeindex C function from EPANET"},
98
+ {"EN_getnodeid", method_EN_getnodeid, METH_VARARGS, "Python interface for EN_getnodeid C function from EPANET"},
99
+ {"EN_setnodeid", method_EN_setnodeid, METH_VARARGS, "Python interface for EN_setnodeid C function from EPANET"},
100
+ {"EN_getnodetype", method_EN_getnodetype, METH_VARARGS, "Python interface for EN_getnodetype C function from EPANET"},
101
+ {"EN_getnodevalue", method_EN_getnodevalue, METH_VARARGS, "Python interface for EN_getnodevalue C function from EPANET"},
102
+ {"EN_setnodevalue", method_EN_setnodevalue, METH_VARARGS, "Python interface for EN_setnodevalue C function from EPANET"},
103
+ {"EN_setjuncdata", method_EN_setjuncdata, METH_VARARGS, "Python interface for EN_setjuncdata C function from EPANET"},
104
+ {"EN_settankdata", method_EN_settankdata, METH_VARARGS, "Python interface for EN_settankdata C function from EPANET"},
105
+ {"EN_getcoord", method_EN_getcoord, METH_VARARGS, "Python interface for EN_getcoord C function from EPANET"},
106
+ {"EN_setcoord", method_EN_setcoord, METH_VARARGS, "Python interface for EN_setcoord C function from EPANET"},
107
+ {"EN_getdemandmodel", method_EN_getdemandmodel, METH_VARARGS, "Python interface for EN_getdemandmodel C function from EPANET"},
108
+ {"EN_setdemandmodel", method_EN_setdemandmodel, METH_VARARGS, "Python interface for EN_setdemandmodel C function from EPANET"},
109
+ {"EN_adddemand", method_EN_adddemand, METH_VARARGS, "Python interface for EN_adddemand C function from EPANET"},
110
+ {"EN_deletedemand", method_EN_deletedemand, METH_VARARGS, "Python interface for EN_deletedemand C function from EPANET"},
111
+ {"EN_getdemandindex", method_EN_getdemandindex, METH_VARARGS, "Python interface for EN_getdemandindex C function from EPANET"},
112
+ {"EN_getnumdemands", method_EN_getnumdemands, METH_VARARGS, "Python interface for EN_getnumdemands C function from EPANET"},
113
+ {"EN_getbasedemand", method_EN_getbasedemand, METH_VARARGS, "Python interface for EN_getbasedemand C function from EPANET"},
114
+ {"EN_setbasedemand", method_EN_setbasedemand, METH_VARARGS, "Python interface for EN_setbasedemand C function from EPANET"},
115
+ {"EN_getdemandpattern", method_EN_getdemandpattern, METH_VARARGS, "Python interface for EN_getdemandpattern C function from EPANET"},
116
+ {"EN_setdemandpattern", method_EN_setdemandpattern, METH_VARARGS, "Python interface for EN_setdemandpattern C function from EPANET"},
117
+ {"EN_getdemandname", method_EN_getdemandname, METH_VARARGS, "Python interface for EN_getdemandname C function from EPANET"},
118
+ {"EN_setdemandname", method_EN_setdemandname, METH_VARARGS, "Python interface for EN_setdemandname C function from EPANET"},
119
+ {"EN_addlink", method_EN_addlink, METH_VARARGS, "Python interface for EN_addlink C function from EPANET"},
120
+ {"EN_deletelink", method_EN_deletelink, METH_VARARGS, "Python interface for EN_deletelink C function from EPANET"},
121
+ {"EN_getlinkindex", method_EN_getlinkindex, METH_VARARGS, "Python interface for EN_getlinkindex C function from EPANET"},
122
+ {"EN_getlinkid", method_EN_getlinkid, METH_VARARGS, "Python interface for EN_getlinkid C function from EPANET"},
123
+ {"EN_setlinkid", method_EN_setlinkid, METH_VARARGS, "Python interface for EN_setlinkid C function from EPANET"},
124
+ {"EN_getlinktype", method_EN_getlinktype, METH_VARARGS, "Python interface for EN_getlinktype C function from EPANET"},
125
+ {"EN_setlinktype", method_EN_setlinktype, METH_VARARGS, "Python interface for EN_setlinktype C function from EPANET"},
126
+ {"EN_getlinknodes", method_EN_getlinknodes, METH_VARARGS, "Python interface for EN_getlinknodes C function from EPANET"},
127
+ {"EN_setlinknodes", method_EN_setlinknodes, METH_VARARGS, "Python interface for EN_setlinknodes C function from EPANET"},
128
+ {"EN_getlinkvalue", method_EN_getlinkvalue, METH_VARARGS, "Python interface for EN_getlinkvalue C function from EPANET"},
129
+ {"EN_setlinkvalue", method_EN_setlinkvalue, METH_VARARGS, "Python interface for EN_setlinkvalue C function from EPANET"},
130
+ {"EN_setpipedata", method_EN_setpipedata, METH_VARARGS, "Python interface for EN_setpipedata C function from EPANET"},
131
+ {"EN_getvertexcount", method_EN_getvertexcount, METH_VARARGS, "Python interface for EN_getvertexcount C function from EPANET"},
132
+ {"EN_getvertex", method_EN_getvertex, METH_VARARGS, "Python interface for EN_getvertex C function from EPANET"},
133
+ {"EN_setvertices", method_EN_setvertices, METH_VARARGS, "Python interface for EN_setvertices C function from EPANET"},
134
+ {"EN_getpumptype", method_EN_getpumptype, METH_VARARGS, "Python interface for EN_getpumptype C function from EPANET"},
135
+ {"EN_getheadcurveindex", method_EN_getheadcurveindex, METH_VARARGS, "Python interface for EN_getheadcurveindex C function from EPANET"},
136
+ {"EN_setheadcurveindex", method_EN_setheadcurveindex, METH_VARARGS, "Python interface for EN_setheadcurveindex C function from EPANET"},
137
+ {"EN_addpattern", method_EN_addpattern, METH_VARARGS, "Python interface for EN_addpattern C function from EPANET"},
138
+ {"EN_deletepattern", method_EN_deletepattern, METH_VARARGS, "Python interface for EN_deletepattern C function from EPANET"},
139
+ {"EN_getpatternindex", method_EN_getpatternindex, METH_VARARGS, "Python interface for EN_getpatternindex C function from EPANET"},
140
+ {"EN_getpatternid", method_EN_getpatternid, METH_VARARGS, "Python interface for EN_getpatternid C function from EPANET"},
141
+ {"EN_setpatternid", method_EN_setpatternid, METH_VARARGS, "Python interface for EN_setpatternid C function from EPANET"},
142
+ {"EN_getpatternlen", method_EN_getpatternlen, METH_VARARGS, "Python interface for EN_getpatternlen C function from EPANET"},
143
+ {"EN_getpatternvalue", method_EN_getpatternvalue, METH_VARARGS, "Python interface for EN_getpatternvalue C function from EPANET"},
144
+ {"EN_setpatternvalue", method_EN_setpatternvalue, METH_VARARGS, "Python interface for EN_setpatternvalue C function from EPANET"},
145
+ {"EN_getaveragepatternvalue", method_EN_getaveragepatternvalue, METH_VARARGS, "Python interface for EN_getaveragepatternvalue C function from EPANET"},
146
+ {"EN_setpattern", method_EN_setpattern, METH_VARARGS, "Python interface for EN_setpattern C function from EPANET"},
147
+ {"EN_addcurve", method_EN_addcurve, METH_VARARGS, "Python interface for EN_addcurve C function from EPANET"},
148
+ {"EN_deletecurve", method_EN_deletecurve, METH_VARARGS, "Python interface for EN_deletecurve C function from EPANET"},
149
+ {"EN_getcurveindex", method_EN_getcurveindex, METH_VARARGS, "Python interface for EN_getcurveindex C function from EPANET"},
150
+ {"EN_getcurveid", method_EN_getcurveid, METH_VARARGS, "Python interface for EN_getcurveid C function from EPANET"},
151
+ {"EN_setcurveid", method_EN_setcurveid, METH_VARARGS, "Python interface for EN_setcurveid C function from EPANET"},
152
+ {"EN_getcurvelen", method_EN_getcurvelen, METH_VARARGS, "Python interface for EN_getcurvelen C function from EPANET"},
153
+ {"EN_getcurvetype", method_EN_getcurvetype, METH_VARARGS, "Python interface for EN_getcurvetype C function from EPANET"},
154
+ {"EN_getcurvevalue", method_EN_getcurvevalue, METH_VARARGS, "Python interface for EN_getcurvevalue C function from EPANET"},
155
+ {"EN_setcurvevalue", method_EN_setcurvevalue, METH_VARARGS, "Python interface for EN_setcurvevalue C function from EPANET"},
156
+ {"EN_getcurve", method_EN_getcurve, METH_VARARGS, "Python interface for EN_getcurve C function from EPANET"},
157
+ {"EN_setcurve", method_EN_setcurve, METH_VARARGS, "Python interface for EN_setcurve C function from EPANET"},
158
+ {"EN_addcontrol", method_EN_addcontrol, METH_VARARGS, "Python interface for EN_addcontrol C function from EPANET"},
159
+ {"EN_deletecontrol", method_EN_deletecontrol, METH_VARARGS, "Python interface for EN_deletecontrol C function from EPANET"},
160
+ {"EN_getcontrol", method_EN_getcontrol, METH_VARARGS, "Python interface for EN_getcontrol C function from EPANET"},
161
+ {"EN_setcontrol", method_EN_setcontrol, METH_VARARGS, "Python interface for EN_setcontrol C function from EPANET"},
162
+ {"EN_addrule", method_EN_addrule, METH_VARARGS, "Python interface for EN_addrule C function from EPANET"},
163
+ {"EN_deleterule", method_EN_deleterule, METH_VARARGS, "Python interface for EN_deleterule C function from EPANET"},
164
+ {"EN_getrule", method_EN_getrule, METH_VARARGS, "Python interface for EN_getrule C function from EPANET"},
165
+ {"EN_getruleID", method_EN_getruleID, METH_VARARGS, "Python interface for EN_getruleID C function from EPANET"},
166
+ {"EN_getpremise", method_EN_getpremise, METH_VARARGS, "Python interface for EN_getpremise C function from EPANET"},
167
+ {"EN_setpremise", method_EN_setpremise, METH_VARARGS, "Python interface for EN_setpremise C function from EPANET"},
168
+ {"EN_setpremiseindex", method_EN_setpremiseindex, METH_VARARGS, "Python interface for EN_setpremiseindex C function from EPANET"},
169
+ {"EN_setpremisestatus", method_EN_setpremisestatus, METH_VARARGS, "Python interface for EN_setpremisestatus C function from EPANET"},
170
+ {"EN_setpremisevalue", method_EN_setpremisevalue, METH_VARARGS, "Python interface for EN_setpremisevalue C function from EPANET"},
171
+ {"EN_getthenaction", method_EN_getthenaction, METH_VARARGS, "Python interface for EN_getthenaction C function from EPANET"},
172
+ {"EN_setthenaction", method_EN_setthenaction, METH_VARARGS, "Python interface for EN_setthenaction C function from EPANET"},
173
+ {"EN_getelseaction", method_EN_getelseaction, METH_VARARGS, "Python interface for EN_getelseaction C function from EPANET"},
174
+ {"EN_setelseaction", method_EN_setelseaction, METH_VARARGS, "Python interface for EN_setelseaction C function from EPANET"},
175
+ {"EN_setrulepriority", method_EN_setrulepriority, METH_VARARGS, "Python interface for EN_setrulepriority C function from EPANET"},
176
+ {"EN_gettag", method_EN_gettag, METH_VARARGS, "Python interface for EN_gettag C function from EPANET"},
177
+ {"EN_settag", method_EN_settag, METH_VARARGS, "Python interface for EN_settag C function from EPANET"},
178
+ {"EN_timetonextevent", method_EN_timetonextevent, METH_VARARGS, "Python interface for EN_timetonextevent C function from EPANET"},
179
+ {"EN_getnodevalues", method_EN_getnodevalues, METH_VARARGS, "Python interface for EN_getnodevalues C function from EPANET"},
180
+ {"EN_getlinkvalues", method_EN_getlinkvalues, METH_VARARGS, "Python interface for EN_getlinkvalues C function from EPANET"},
181
+ {"EN_setvertex", method_EN_setvertex, METH_VARARGS, "Python interface for EN_setvertex C function from EPANET"},
182
+ {"EN_loadpatternfile", method_EN_loadpatternfile, METH_VARARGS, "Python interface for EN_loadpatternfile C function from EPANET"},
183
+ {"EN_setcurvetype", method_EN_setcurvetype, METH_VARARGS, "Python interface for EN_setcurvetype C function from EPANET"},
184
+ {"EN_getcontrolenabled", method_EN_getcontrolenabled, METH_VARARGS, "Python interface for EN_getcontrolenabled C function from EPANET"},
185
+ {"EN_setcontrolenabled", method_EN_setcontrolenabled, METH_VARARGS, "Python interface for EN_setcontrolenabled C function from EPANET"},
186
+ {"EN_getruleenabled", method_EN_getruleenabled, METH_VARARGS, "Python interface for EN_getruleenabled C function from EPANET"},
187
+ {"EN_setruleenabled", method_EN_setruleenabled, METH_VARARGS, "Python interface for EN_setruleenabled C function from EPANET"},
188
+
189
+ // EPANET 2
190
+ {"ENopen", method_ENopen, METH_VARARGS, "Python interface for ENopen C function from EPANET"},
191
+ {"ENclose", method_ENclose, METH_NOARGS, "Python interface for ENclose C function from EPANET"},
192
+ {"ENaddcontrol", method_ENaddcontrol, METH_VARARGS, "Python interface for ENaddcontrol C function from EPANET"},
193
+ {"ENaddcurve", method_ENaddcurve, METH_VARARGS, "Python interface for ENaddcurve C function from EPANET"},
194
+ {"ENadddemand", method_ENadddemand, METH_VARARGS, "Python interface for ENadddemand C function from EPANET"},
195
+ {"ENaddlink", method_ENaddlink, METH_VARARGS, "Python interface for ENaddlink C function from EPANET"},
196
+ {"ENaddnode", method_ENaddnode, METH_VARARGS, "Python interface for ENaddnode C function from EPANET"},
197
+ {"ENaddpattern", method_ENaddpattern, METH_VARARGS, "Python interface for ENaddpattern C function from EPANET"},
198
+ {"ENaddrule", method_ENaddrule, METH_VARARGS, "Python interface for ENaddrule C function from EPANET"},
199
+ {"ENclearreport", method_ENclearreport, METH_NOARGS, "Python interface for ENclearreport C function from EPANET"},
200
+ {"ENcloseH", method_ENcloseH, METH_NOARGS, "Python interface for ENcloseH C function from EPANET"},
201
+ {"ENcloseQ", method_ENcloseQ, METH_NOARGS, "Python interface for ENcloseQ C function from EPANET"},
202
+ {"ENcopyreport", method_ENcopyreport, METH_VARARGS, "Python interface for ENcopyreport C function from EPANET"},
203
+ {"ENdeletecontrol", method_ENdeletecontrol, METH_VARARGS, "Python interface for ENdeletecontrol C function from EPANET"},
204
+ {"ENdeletecurve", method_ENdeletecurve, METH_VARARGS, "Python interface for ENdeletecurve C function from EPANET"},
205
+ {"ENdeletedemand", method_ENdeletedemand, METH_VARARGS, "Python interface for ENdeletedemand C function from EPANET"},
206
+ {"ENdeletelink", method_ENdeletelink, METH_VARARGS, "Python interface for ENdeletelink C function from EPANET"},
207
+ {"ENdeletenode", method_ENdeletenode, METH_VARARGS, "Python interface for ENdeletenode C function from EPANET"},
208
+ {"ENdeletepattern", method_ENdeletepattern, METH_VARARGS, "Python interface for ENdeletepattern C function from EPANET"},
209
+ {"ENdeleterule", method_ENdeleterule, METH_VARARGS, "Python interface for ENdeleterule C function from EPANET"},
210
+ {"ENgetaveragepatternvalue", method_ENgetaveragepatternvalue, METH_VARARGS, "Python interface for ENgetaveragepatternvalue C function from EPANET"},
211
+ {"ENgetbasedemand", method_ENgetbasedemand, METH_VARARGS, "Python interface for ENgetbasedemand C function from EPANET"},
212
+ {"ENgetcomment", method_ENgetcomment, METH_VARARGS, "Python interface for ENgetcomment C function from EPANET"},
213
+ {"ENgetcontrol", method_ENgetcontrol, METH_VARARGS, "Python interface for ENgetcontrol C function from EPANET"},
214
+ {"ENgetcoord", method_ENgetcoord, METH_VARARGS, "Python interface for ENgetcoord C function from EPANET"},
215
+ {"ENgetcount", method_ENgetcount, METH_VARARGS, "Python interface for ENgetcount C function from EPANET"},
216
+ {"ENgetcurve", method_ENgetcurve, METH_VARARGS, "Python interface for ENgetcurve C function from EPANET"},
217
+ {"ENgetcurveid", method_ENgetcurveid, METH_VARARGS, "Python interface for ENgetcurveid C function from EPANET"},
218
+ {"ENgetcurveindex", method_ENgetcurveindex, METH_VARARGS, "Python interface for ENgetcurveindex C function from EPANET"},
219
+ {"ENgetcurvelen", method_ENgetcurvelen, METH_VARARGS, "Python interface for ENgetcurvelen C function from EPANET"},
220
+ {"ENgetcurvetype", method_ENgetcurvetype, METH_VARARGS, "Python interface for ENgetcurvetype C function from EPANET"},
221
+ {"ENgetcurvevalue", method_ENgetcurvevalue, METH_VARARGS, "Python interface for ENgetcurvevalue C function from EPANET"},
222
+ {"ENgetdemandindex", method_ENgetdemandindex, METH_VARARGS, "Python interface for ENgetdemandindex C function from EPANET"},
223
+ {"ENgetdemandmodel", method_ENgetdemandmodel, METH_NOARGS, "Python interface for ENgetdemandmodel C function from EPANET"},
224
+ {"ENgetdemandname", method_ENgetdemandname, METH_VARARGS, "Python interface for ENgetdemandname C function from EPANET"},
225
+ {"ENgetdemandpattern", method_ENgetdemandpattern, METH_VARARGS, "Python interface for ENgetdemandpattern C function from EPANET"},
226
+ {"ENgetelseaction", method_ENgetelseaction, METH_VARARGS, "Python interface for ENgetelseaction C function from EPANET"},
227
+ {"ENgeterror", method_ENgeterror, METH_VARARGS, "Python interface for ENgeterror C function from EPANET"},
228
+ {"ENgetflowunits", method_ENgetflowunits, METH_NOARGS, "Python interface for ENgetflowunits C function from EPANET"},
229
+ {"ENgetheadcurveindex", method_ENgetheadcurveindex, METH_VARARGS, "Python interface for ENgetheadcurveindex C function from EPANET"},
230
+ {"ENgetlinkid", method_ENgetlinkid, METH_VARARGS, "Python interface for ENgetlinkid C function from EPANET"},
231
+ {"ENgetlinkindex", method_ENgetlinkindex, METH_VARARGS, "Python interface for ENgetlinkindex C function from EPANET"},
232
+ {"ENgetlinknodes", method_ENgetlinknodes, METH_VARARGS, "Python interface for ENgetlinknodes C function from EPANET"},
233
+ {"ENgetlinktype", method_ENgetlinktype, METH_VARARGS, "Python interface for ENgetlinktype C function from EPANET"},
234
+ {"ENgetlinkvalue", method_ENgetlinkvalue, METH_VARARGS, "Python interface for ENgetlinkvalue C function from EPANET"},
235
+ {"ENgetnodeid", method_ENgetnodeid, METH_VARARGS, "Python interface for ENgetnodeid C function from EPANET"},
236
+ {"ENgetnodeindex", method_ENgetnodeindex, METH_VARARGS, "Python interface for ENgetnodeindex C function from EPANET"},
237
+ {"ENgetnodetype", method_ENgetnodetype, METH_VARARGS, "Python interface for ENgetnodetype C function from EPANET"},
238
+ {"ENgetnodevalue", method_ENgetnodevalue, METH_VARARGS, "Python interface for ENgetnodevalue C function from EPANET"},
239
+ {"ENgetnumdemands", method_ENgetnumdemands, METH_VARARGS, "Python interface for ENgetnumdemands C function from EPANET"},
240
+ {"ENgetoption", method_ENgetoption, METH_VARARGS, "Python interface for ENgetoption C function from EPANET"},
241
+ {"ENgetpatternid", method_ENgetpatternid, METH_VARARGS, "Python interface for ENgetpatternid C function from EPANET"},
242
+ {"ENgetpatternindex", method_ENgetpatternindex, METH_VARARGS, "Python interface for ENgetpatternindex C function from EPANET"},
243
+ {"ENgetpatternlen", method_ENgetpatternlen, METH_VARARGS, "Python interface for ENgetpatternlen C function from EPANET"},
244
+ {"ENgetpatternvalue", method_ENgetpatternvalue, METH_VARARGS, "Python interface for ENgetpatternvalue C function from EPANET"},
245
+ {"ENgetpremise", method_ENgetpremise, METH_VARARGS, "Python interface for ENgetpremise C function from EPANET"},
246
+ {"ENgetpumptype", method_ENgetpumptype, METH_VARARGS, "Python interface for ENgetpumptype C function from EPANET"},
247
+ {"ENgetqualinfo", method_ENgetqualinfo, METH_NOARGS, "Python interface for ENgetqualinfo C function from EPANET"},
248
+ {"ENgetqualtype", method_ENgetqualtype, METH_NOARGS, "Python interface for ENgetqualtype C function from EPANET"},
249
+ {"ENgetresultindex", method_ENgetresultindex, METH_VARARGS, "Python interface for ENgetresultindex C function from EPANET"},
250
+ {"ENgetrule", method_ENgetrule, METH_VARARGS, "Python interface for ENgetrule C function from EPANET"},
251
+ {"ENgetruleID", method_ENgetruleID, METH_VARARGS, "Python interface for ENgetruleID C function from EPANET"},
252
+ {"ENgetstatistic", method_ENgetstatistic, METH_VARARGS, "Python interface for ENgetstatistic C function from EPANET"},
253
+ {"ENgetthenaction", method_ENgetthenaction, METH_VARARGS, "Python interface for ENgetthenaction C function from EPANET"},
254
+ {"ENgettimeparam", method_ENgettimeparam, METH_VARARGS, "Python interface for ENgettimeparam C function from EPANET"},
255
+ {"ENgettitle", method_ENgettitle, METH_NOARGS, "Python interface for ENgettitle C function from EPANET"},
256
+ {"ENgetversion", method_ENgetversion, METH_NOARGS, "Python interface for ENgetversion C function from EPANET"},
257
+ {"ENgetvertex", method_ENgetvertex, METH_VARARGS, "Python interface for ENgetvertex C function from EPANET"},
258
+ {"ENgetvertexcount", method_ENgetvertexcount, METH_VARARGS, "Python interface for ENgetvertexcount C function from EPANET"},
259
+ {"ENinit", method_ENinit, METH_VARARGS, "Python interface for ENinit C function from EPANET"},
260
+ {"ENinitH", method_ENinitH, METH_VARARGS, "Python interface for ENinitH C function from EPANET"},
261
+ {"ENinitQ", method_ENinitQ, METH_VARARGS, "Python interface for ENinitQ C function from EPANET"},
262
+ {"ENnextH", method_ENnextH, METH_NOARGS, "Python interface for ENnextH C function from EPANET"},
263
+ {"ENnextQ", method_ENnextQ, METH_NOARGS, "Python interface for ENnextQ C function from EPANET"},
264
+ {"ENopen", method_ENopen, METH_VARARGS, "Python interface for ENopen C function from EPANET"},
265
+ {"ENopenH", method_ENopenH, METH_NOARGS, "Python interface for ENopenH C function from EPANET"},
266
+ {"ENopenQ", method_ENopenQ, METH_NOARGS, "Python interface for ENopenQ C function from EPANET"},
267
+ {"ENreport", method_ENreport, METH_NOARGS, "Python interface for ENreport C function from EPANET"},
268
+ {"ENresetreport", method_ENresetreport, METH_NOARGS, "Python interface for ENresetreport C function from EPANET"},
269
+ {"ENrunH", method_ENrunH, METH_NOARGS, "Python interface for ENrunH C function from EPANET"},
270
+ {"ENrunQ", method_ENrunQ, METH_NOARGS, "Python interface for ENrunQ C function from EPANET"},
271
+ {"ENsaveH", method_ENsaveH, METH_NOARGS, "Python interface for ENsaveH C function from EPANET"},
272
+ {"ENsavehydfile", method_ENsavehydfile, METH_VARARGS, "Python interface for ENsavehydfile C function from EPANET"},
273
+ {"ENsaveinpfile", method_ENsaveinpfile, METH_VARARGS, "Python interface for ENsaveinpfile C function from EPANET"},
274
+ {"ENsetbasedemand", method_ENsetbasedemand, METH_VARARGS, "Python interface for ENsetbasedemand C function from EPANET"},
275
+ {"ENsetcomment", method_ENsetcomment, METH_VARARGS, "Python interface for ENsetcomment C function from EPANET"},
276
+ {"ENsetcontrol", method_ENsetcontrol, METH_VARARGS, "Python interface for ENsetcontrol C function from EPANET"},
277
+ {"ENsetcoord", method_ENsetcoord, METH_VARARGS, "Python interface for ENsetcoord C function from EPANET"},
278
+ {"ENsetcurve", method_ENsetcurve, METH_VARARGS, "Python interface for ENsetcurve C function from EPANET"},
279
+ {"ENsetcurveid", method_ENsetcurveid, METH_VARARGS, "Python interface for ENsetcurveid C function from EPANET"},
280
+ {"ENsetcurvevalue", method_ENsetcurvevalue, METH_VARARGS, "Python interface for ENsetcurvevalue C function from EPANET"},
281
+ {"ENsetdemandmodel", method_ENsetdemandmodel, METH_VARARGS, "Python interface for ENsetdemandmodel C function from EPANET"},
282
+ {"ENsetdemandname", method_ENsetdemandname, METH_VARARGS, "Python interface for ENsetdemandname C function from EPANET"},
283
+ {"ENsetdemandpattern", method_ENsetdemandpattern, METH_VARARGS, "Python interface for ENsetdemandpattern C function from EPANET"},
284
+ {"ENsetelseaction", method_ENsetelseaction, METH_VARARGS, "Python interface for ENsetelseaction C function from EPANET"},
285
+ {"ENsetflowunits", method_ENsetflowunits, METH_VARARGS, "Python interface for ENsetflowunits C function from EPANET"},
286
+ {"ENsetheadcurveindex", method_ENsetheadcurveindex, METH_VARARGS, "Python interface for ENsetheadcurveindex C function from EPANET"},
287
+ {"ENsetjuncdata", method_ENsetjuncdata, METH_VARARGS, "Python interface for ENsetjuncdata C function from EPANET"},
288
+ {"ENsetlinkid", method_ENsetlinkid, METH_VARARGS, "Python interface for ENsetlinkid C function from EPANET"},
289
+ {"ENsetlinknodes", method_ENsetlinknodes, METH_VARARGS, "Python interface for ENsetlinknodes C function from EPANET"},
290
+ {"ENsetlinktype", method_ENsetlinktype, METH_VARARGS, "Python interface for ENsetlinktype C function from EPANET"},
291
+ {"ENsetlinkvalue", method_ENsetlinkvalue, METH_VARARGS, "Python interface for ENsetlinkvalue C function from EPANET"},
292
+ {"ENsetnodeid", method_ENsetnodeid, METH_VARARGS, "Python interface for ENsetnodeid C function from EPANET"},
293
+ {"ENsetnodevalue", method_ENsetnodevalue, METH_VARARGS, "Python interface for ENsetnodevalue C function from EPANET"},
294
+ {"ENsetoption", method_ENsetoption, METH_VARARGS, "Python interface for ENsetoption C function from EPANET"},
295
+ {"ENsetpattern", method_ENsetpattern, METH_VARARGS, "Python interface for ENsetpattern C function from EPANET"},
296
+ {"ENsetpatternid", method_ENsetpatternid, METH_VARARGS, "Python interface for ENsetpatternid C function from EPANET"},
297
+ {"ENsetpatternvalue", method_ENsetpatternvalue, METH_VARARGS, "Python interface for ENsetpatternvalue C function from EPANET"},
298
+ {"ENsetpipedata", method_ENsetpipedata, METH_VARARGS, "Python interface for ENsetpipedata C function from EPANET"},
299
+ {"ENsetpremise", method_ENsetpremise, METH_VARARGS, "Python interface for ENsetpremise C function from EPANET"},
300
+ {"ENsetpremiseindex", method_ENsetpremiseindex, METH_VARARGS, "Python interface for ENsetpremiseindex C function from EPANET"},
301
+ {"ENsetpremisestatus", method_ENsetpremisestatus, METH_VARARGS, "Python interface for ENsetpremisestatus C function from EPANET"},
302
+ {"ENsetpremisevalue", method_ENsetpremisevalue, METH_VARARGS, "Python interface for ENsetpremisevalue C function from EPANET"},
303
+ {"ENsetqualtype", method_ENsetqualtype, METH_VARARGS, "Python interface for ENsetqualtype C function from EPANET"},
304
+ {"ENsetreport", method_ENsetreport, METH_VARARGS, "Python interface forENsetreport C function from EPANET"},
305
+ {"ENsetrulepriority", method_ENsetrulepriority, METH_VARARGS, "Python interface for ENsetrulepriority C function from EPANET"},
306
+ {"ENsetstatusreport", method_ENsetstatusreport, METH_VARARGS, "Python interface for ENsetstatusreport C function from EPANET"},
307
+ {"ENsettankdata", method_ENsettankdata, METH_VARARGS, "Python interface for ENsettankdata C function from EPANET"},
308
+ {"ENsetthenaction", method_ENsetthenaction, METH_VARARGS, "Python interface for ENsetthenaction C function from EPANET"},
309
+ {"ENsettimeparam", method_ENsettimeparam, METH_VARARGS, "Python interface for ENsettimeparam C function from EPANET"},
310
+ {"ENsettitle", method_ENsettitle, METH_VARARGS, "Python interface for ENsettitle C function from EPANET"},
311
+ {"ENsetvertices", method_ENsetvertices, METH_VARARGS, "Python interface for ENsetvertices C function from EPANET"},
312
+ {"ENsolveH", method_ENsolveH, METH_NOARGS, "Python interface for ENsolveH C function from EPANET"},
313
+ {"ENsolveQ", method_ENsolveQ, METH_NOARGS, "Python interface for ENsolveQ C function from EPANET"},
314
+ {"ENstepQ", method_ENstepQ, METH_NOARGS, "Python interface for ENstepQ C function from EPANET"},
315
+ {"ENusehydfile", method_ENusehydfile, METH_VARARGS, "Python interface for ENusehydfile C function from EPANET"},
316
+ {"ENwriteline", method_ENwriteline, METH_VARARGS, "Python interface for ENwriteline C function from EPANET"},
317
+ {"ENgettag", method_ENgettag, METH_VARARGS, "Python interface for ENgettag C function from EPANET"},
318
+ {"ENsettag", method_ENsettag, METH_VARARGS, "Python interface for ENsettag C function from EPANET"},
319
+ {"ENtimetonextevent", method_ENtimetonextevent, METH_VARARGS, "Python interface for ENtimetonextevent C function from EPANET"},
320
+ {"ENgetnodevalues", method_ENgetnodevalues, METH_VARARGS, "Python interface for ENgetnodevalues C function from EPANET"},
321
+ {"ENgetlinkvalues", method_ENgetlinkvalues, METH_VARARGS, "Python interface for ENgetlinkvalues C function from EPANET"},
322
+ {"ENsetvertex", method_ENsetvertex, METH_VARARGS, "Python interface for ENsetvertex C function from EPANET"},
323
+ {"ENloadpatternfile", method_ENloadpatternfile, METH_VARARGS, "Python interface for ENloadpatternfile C function from EPANET"},
324
+ {"ENsetcurvetype", method_ENsetcurvetype, METH_VARARGS, "Python interface for ENsetcurvetype C function from EPANET"},
325
+ {"ENgetcontrolenabled", method_ENgetcontrolenabled, METH_VARARGS, "Python interface for ENgetcontrolenabled C function from EPANET"},
326
+ {"ENsetcontrolenabled", method_ENsetcontrolenabled, METH_VARARGS, "Python interface for ENsetcontrolenabled C function from EPANET"},
327
+ {"ENgetruleenabled", method_ENgetruleenabled, METH_VARARGS, "Python interface for ENgetruleenabled C function from EPANET"},
328
+ {"ENsetruleenabled", method_ENsetruleenabled, METH_VARARGS, "Python interface for ENsetruleenabled C function from EPANET"},
329
+ {NULL, NULL, 0, NULL}
330
+ };
331
+
332
+
333
+ struct PyModuleDef epanetmodule = {
334
+ PyModuleDef_HEAD_INIT,
335
+ "epanet",
336
+ "Python interface for EPANET and EPANET-MSX",
337
+ -1,
338
+ EpanetMethods
339
+ };
340
+
341
+ PyMODINIT_FUNC PyInit_epanet(void)
342
+ {
343
+ return PyModule_Create(&epanetmodule);
344
+ }