epyt-flow 0.13.1__py3-none-any.whl → 0.14.1__py3-none-any.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.
- epyt_flow/EPANET/EPANET/SRC_engines/AUTHORS +40 -8
- epyt_flow/EPANET/EPANET/SRC_engines/LICENSE +3 -3
- epyt_flow/EPANET/EPANET/SRC_engines/enumstxt.h +24 -7
- epyt_flow/EPANET/EPANET/SRC_engines/epanet.c +726 -374
- epyt_flow/EPANET/EPANET/SRC_engines/epanet2.c +128 -32
- epyt_flow/EPANET/EPANET/SRC_engines/errors.dat +7 -1
- epyt_flow/EPANET/EPANET/SRC_engines/flowbalance.c +186 -0
- epyt_flow/EPANET/EPANET/SRC_engines/funcs.h +40 -14
- epyt_flow/EPANET/EPANET/SRC_engines/hash.c +177 -177
- epyt_flow/EPANET/EPANET/SRC_engines/hash.h +28 -28
- epyt_flow/EPANET/EPANET/SRC_engines/hydcoeffs.c +192 -40
- epyt_flow/EPANET/EPANET/SRC_engines/hydraul.c +101 -46
- epyt_flow/EPANET/EPANET/SRC_engines/hydsolver.c +85 -24
- epyt_flow/EPANET/EPANET/SRC_engines/hydstatus.c +29 -63
- epyt_flow/EPANET/EPANET/SRC_engines/include/epanet2.h +70 -37
- epyt_flow/EPANET/EPANET/SRC_engines/include/epanet2_2.h +408 -234
- epyt_flow/EPANET/EPANET/SRC_engines/include/epanet2_enums.h +87 -37
- epyt_flow/EPANET/EPANET/SRC_engines/inpfile.c +153 -79
- epyt_flow/EPANET/EPANET/SRC_engines/input1.c +59 -94
- epyt_flow/EPANET/EPANET/SRC_engines/input2.c +73 -202
- epyt_flow/EPANET/EPANET/SRC_engines/input3.c +446 -351
- epyt_flow/EPANET/EPANET/SRC_engines/leakage.c +527 -0
- epyt_flow/EPANET/EPANET/SRC_engines/mempool.c +8 -4
- epyt_flow/EPANET/EPANET/SRC_engines/mempool.h +23 -23
- epyt_flow/EPANET/EPANET/SRC_engines/output.c +5 -4
- epyt_flow/EPANET/EPANET/SRC_engines/project.c +407 -75
- epyt_flow/EPANET/EPANET/SRC_engines/quality.c +12 -2
- epyt_flow/EPANET/EPANET/SRC_engines/qualreact.c +70 -13
- epyt_flow/EPANET/EPANET/SRC_engines/qualroute.c +7 -5
- epyt_flow/EPANET/EPANET/SRC_engines/report.c +88 -20
- epyt_flow/EPANET/EPANET/SRC_engines/rules.c +144 -6
- epyt_flow/EPANET/EPANET/SRC_engines/smatrix.c +19 -19
- epyt_flow/EPANET/EPANET/SRC_engines/text.h +16 -5
- epyt_flow/EPANET/EPANET/SRC_engines/types.h +73 -19
- epyt_flow/EPANET/EPANET/SRC_engines/util/cstr_helper.c +59 -0
- epyt_flow/EPANET/EPANET/SRC_engines/util/cstr_helper.h +38 -0
- epyt_flow/EPANET/EPANET/SRC_engines/util/errormanager.c +92 -0
- epyt_flow/EPANET/EPANET/SRC_engines/util/errormanager.h +39 -0
- epyt_flow/EPANET/EPANET/SRC_engines/util/filemanager.c +212 -0
- epyt_flow/EPANET/EPANET/SRC_engines/util/filemanager.h +81 -0
- epyt_flow/EPANET/EPANET/SRC_engines/validate.c +408 -0
- epyt_flow/EPANET/compile_linux.sh +1 -1
- epyt_flow/EPANET/compile_macos.sh +2 -2
- epyt_flow/VERSION +1 -1
- epyt_flow/__init__.py +1 -1
- epyt_flow/gym/scenario_control_env.py +26 -3
- epyt_flow/simulation/backend/my_epyt.py +58 -13
- epyt_flow/simulation/events/quality_events.py +6 -6
- epyt_flow/simulation/events/sensor_faults.py +24 -24
- epyt_flow/simulation/events/system_event.py +3 -3
- epyt_flow/simulation/scada/scada_data.py +10 -14
- epyt_flow/simulation/scenario_simulator.py +100 -20
- epyt_flow/topology.py +8 -1
- epyt_flow/uncertainty/model_uncertainty.py +292 -150
- epyt_flow/uncertainty/uncertainties.py +2 -2
- {epyt_flow-0.13.1.dist-info → epyt_flow-0.14.1.dist-info}/METADATA +4 -4
- {epyt_flow-0.13.1.dist-info → epyt_flow-0.14.1.dist-info}/RECORD +60 -54
- {epyt_flow-0.13.1.dist-info → epyt_flow-0.14.1.dist-info}/WHEEL +1 -1
- epyt_flow/EPANET/EPANET/SRC_engines/Readme_SRC_Engines.txt +0 -18
- epyt_flow/EPANET/EPANET/SRC_engines/epanet2.def +0 -131
- epyt_flow/EPANET/EPANET/SRC_engines/main.c +0 -93
- {epyt_flow-0.13.1.dist-info → epyt_flow-0.14.1.dist-info}/licenses/LICENSE +0 -0
- {epyt_flow-0.13.1.dist-info → epyt_flow-0.14.1.dist-info}/top_level.txt +0 -0
|
@@ -126,9 +126,9 @@ class Uncertainty(ABC):
|
|
|
126
126
|
Clipped data.
|
|
127
127
|
"""
|
|
128
128
|
if self.__min_value is not None:
|
|
129
|
-
data = np.
|
|
129
|
+
data = np.max([data, self.__min_value])
|
|
130
130
|
if self.__max_value is not None:
|
|
131
|
-
data = np.
|
|
131
|
+
data = np.min([data, self.__max_value])
|
|
132
132
|
|
|
133
133
|
return data
|
|
134
134
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: epyt-flow
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.14.1
|
|
4
4
|
Summary: EPyT-Flow -- EPANET Python Toolkit - Flow
|
|
5
5
|
Author-email: André Artelt <aartelt@techfak.uni-bielefeld.de>, "Marios S. Kyriakou" <kiriakou.marios@ucy.ac.cy>, "Stelios G. Vrachimis" <vrachimis.stelios@ucy.ac.cy>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -20,7 +20,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
20
20
|
Requires-Python: >=3.9
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
22
|
License-File: LICENSE
|
|
23
|
-
Requires-Dist: epyt>=1.2.
|
|
23
|
+
Requires-Dist: epyt>=1.2.2
|
|
24
24
|
Requires-Dist: requests>=2.31.0
|
|
25
25
|
Requires-Dist: scipy>=1.11.4
|
|
26
26
|
Requires-Dist: u-msgpack-python>=2.8.0
|
|
@@ -85,12 +85,12 @@ By this, we not only aim to achieve a better performance of the simulations but
|
|
|
85
85
|
compatibility issues of pre-compiled binaries.
|
|
86
86
|
|
|
87
87
|
#### Prerequisites for macOS users
|
|
88
|
-
The "true" *gcc* compiler (version
|
|
88
|
+
The "true" *gcc* compiler (version 15) is needed which is not the
|
|
89
89
|
*clang* compiler that is shipped with Xcode and is linked to gcc!
|
|
90
90
|
|
|
91
91
|
The correct version of the "true" *gcc* can be installed via [brew](https://brew.sh/):
|
|
92
92
|
```
|
|
93
|
-
brew install gcc@
|
|
93
|
+
brew install gcc@15
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
### PyPI
|
|
@@ -1,46 +1,52 @@
|
|
|
1
|
-
epyt_flow/VERSION,sha256=
|
|
2
|
-
epyt_flow/__init__.py,sha256=
|
|
1
|
+
epyt_flow/VERSION,sha256=xvuHZXpO5y4rVJzdOcEoVP2-y9_vAzwE9SPUv8sCqkw,7
|
|
2
|
+
epyt_flow/__init__.py,sha256=wktX10SXX9GEamDUWR-tcm-8T4d5s6j6aPYr_x4EpOc,1768
|
|
3
3
|
epyt_flow/serialization.py,sha256=uGGN1iZ21ek1u6Xzs4z2xum5Qt8554Wem-wEMGEaa7I,14574
|
|
4
|
-
epyt_flow/topology.py,sha256=
|
|
4
|
+
epyt_flow/topology.py,sha256=FhkPa87vnVX_tQVOKumbRD6kMb3RpGgIdGfZdpmF1Bg,26396
|
|
5
5
|
epyt_flow/utils.py,sha256=R_IE6uuTF2MRjUkgWDEa3xOYk8iorieHCqqQ0tDUZ40,17476
|
|
6
|
-
epyt_flow/EPANET/compile_linux.sh,sha256=
|
|
7
|
-
epyt_flow/EPANET/compile_macos.sh,sha256=
|
|
8
|
-
epyt_flow/EPANET/EPANET/SRC_engines/AUTHORS,sha256=
|
|
9
|
-
epyt_flow/EPANET/EPANET/SRC_engines/LICENSE,sha256=
|
|
10
|
-
epyt_flow/EPANET/EPANET/SRC_engines/
|
|
11
|
-
epyt_flow/EPANET/EPANET/SRC_engines/
|
|
12
|
-
epyt_flow/EPANET/EPANET/SRC_engines/
|
|
13
|
-
epyt_flow/EPANET/EPANET/SRC_engines/
|
|
14
|
-
epyt_flow/EPANET/EPANET/SRC_engines/
|
|
15
|
-
epyt_flow/EPANET/EPANET/SRC_engines/
|
|
16
|
-
epyt_flow/EPANET/EPANET/SRC_engines/funcs.h,sha256=KOM54FtTJi5CfWIRtWaGcCW6NaZx8uxuZ8VlyDRHv3Y,5991
|
|
6
|
+
epyt_flow/EPANET/compile_linux.sh,sha256=le9Hv0mW5eVi3jumL__L8tDmDABpHB8VtRk5TZJS17g,544
|
|
7
|
+
epyt_flow/EPANET/compile_macos.sh,sha256=wsjNoTHBXOe9zEt4GofDXr0zXRYw5smr2YqDGDgt9Nw,559
|
|
8
|
+
epyt_flow/EPANET/EPANET/SRC_engines/AUTHORS,sha256=8nnSXx3x4js8FtPZrcluaIbwm5vUxxCZlGhAAx2XALc,1916
|
|
9
|
+
epyt_flow/EPANET/EPANET/SRC_engines/LICENSE,sha256=XrPEC-tu4Ha8AGxwh4uSTgaENMyXGrsTdVOzsFBk8A0,1090
|
|
10
|
+
epyt_flow/EPANET/EPANET/SRC_engines/enumstxt.h,sha256=aJYz_VOnGF4oJ3spdtbHlJq7k3rJSjc0koszg32Y9FI,4974
|
|
11
|
+
epyt_flow/EPANET/EPANET/SRC_engines/epanet.c,sha256=3zHL-MQKkPapQkcJPPiHYS0RnHmJ9cgM7w_nNGkTF74,182133
|
|
12
|
+
epyt_flow/EPANET/EPANET/SRC_engines/epanet2.c,sha256=AgRfutfQraTcjrE-IlEbejg_BxuzS_Ly98i6OIW3a80,27910
|
|
13
|
+
epyt_flow/EPANET/EPANET/SRC_engines/errors.dat,sha256=5p-lbCKco6-iNNLVUKohi4eLa3sE1l4_F3BuALmW3WE,3014
|
|
14
|
+
epyt_flow/EPANET/EPANET/SRC_engines/flowbalance.c,sha256=zEFAgmMRtKR9KJkEKb7j3JXui01jsnj1zLJiGI3Y_ik,5661
|
|
15
|
+
epyt_flow/EPANET/EPANET/SRC_engines/funcs.h,sha256=bpm0sKJnH9Mydl-HCeLrAZ9kcFn8jZu1a0OMcPYosxQ,7018
|
|
17
16
|
epyt_flow/EPANET/EPANET/SRC_engines/genmmd.c,sha256=qM0JX1LbiGTawbANyXs93XK-khVPMyWhiGQRNQ8SSKE,32936
|
|
18
|
-
epyt_flow/EPANET/EPANET/SRC_engines/hash.c,sha256=
|
|
19
|
-
epyt_flow/EPANET/EPANET/SRC_engines/hash.h,sha256=
|
|
20
|
-
epyt_flow/EPANET/EPANET/SRC_engines/hydcoeffs.c,sha256=
|
|
21
|
-
epyt_flow/EPANET/EPANET/SRC_engines/hydraul.c,sha256=
|
|
22
|
-
epyt_flow/EPANET/EPANET/SRC_engines/hydsolver.c,sha256=
|
|
23
|
-
epyt_flow/EPANET/EPANET/SRC_engines/hydstatus.c,sha256=
|
|
24
|
-
epyt_flow/EPANET/EPANET/SRC_engines/inpfile.c,sha256=
|
|
25
|
-
epyt_flow/EPANET/EPANET/SRC_engines/input1.c,sha256=
|
|
26
|
-
epyt_flow/EPANET/EPANET/SRC_engines/input2.c,sha256=
|
|
27
|
-
epyt_flow/EPANET/EPANET/SRC_engines/input3.c,sha256=
|
|
28
|
-
epyt_flow/EPANET/EPANET/SRC_engines/
|
|
29
|
-
epyt_flow/EPANET/EPANET/SRC_engines/mempool.c,sha256=
|
|
30
|
-
epyt_flow/EPANET/EPANET/SRC_engines/mempool.h,sha256=
|
|
31
|
-
epyt_flow/EPANET/EPANET/SRC_engines/output.c,sha256=
|
|
32
|
-
epyt_flow/EPANET/EPANET/SRC_engines/project.c,sha256=
|
|
33
|
-
epyt_flow/EPANET/EPANET/SRC_engines/quality.c,sha256=
|
|
34
|
-
epyt_flow/EPANET/EPANET/SRC_engines/qualreact.c,sha256=
|
|
35
|
-
epyt_flow/EPANET/EPANET/SRC_engines/qualroute.c,sha256=
|
|
36
|
-
epyt_flow/EPANET/EPANET/SRC_engines/report.c,sha256=
|
|
37
|
-
epyt_flow/EPANET/EPANET/SRC_engines/rules.c,sha256=
|
|
38
|
-
epyt_flow/EPANET/EPANET/SRC_engines/smatrix.c,sha256=
|
|
39
|
-
epyt_flow/EPANET/EPANET/SRC_engines/text.h,sha256=
|
|
40
|
-
epyt_flow/EPANET/EPANET/SRC_engines/types.h,sha256=
|
|
41
|
-
epyt_flow/EPANET/EPANET/SRC_engines/
|
|
42
|
-
epyt_flow/EPANET/EPANET/SRC_engines/include/
|
|
43
|
-
epyt_flow/EPANET/EPANET/SRC_engines/include/
|
|
17
|
+
epyt_flow/EPANET/EPANET/SRC_engines/hash.c,sha256=wY8Rzw-93oNrXUOFsfe4NVRn7NYXhlVHAciQm11goH0,4231
|
|
18
|
+
epyt_flow/EPANET/EPANET/SRC_engines/hash.h,sha256=xRyuJSJz6tQB9Jds6FZtE57kIWq3bgJUf-Bis--QcJI,896
|
|
19
|
+
epyt_flow/EPANET/EPANET/SRC_engines/hydcoeffs.c,sha256=CP0p6F-8000e_9153T9qruJPPjICL1J6Wd2uxNhi7kc,38589
|
|
20
|
+
epyt_flow/EPANET/EPANET/SRC_engines/hydraul.c,sha256=7LXOS5eL0F_V_Hsvy9eOJd-fmVCcUt57dBZro7rRe7M,33865
|
|
21
|
+
epyt_flow/EPANET/EPANET/SRC_engines/hydsolver.c,sha256=tO6zfzyzhoDXGjReE0CRn2_EtEYIM9cxO4kp4-VA3_M,25428
|
|
22
|
+
epyt_flow/EPANET/EPANET/SRC_engines/hydstatus.c,sha256=C7X660ow5T1AmSqIB-EHc7xD5NoF_dGqS9NrufERGi8,13196
|
|
23
|
+
epyt_flow/EPANET/EPANET/SRC_engines/inpfile.c,sha256=obYLcr4DikW89h_uBc-LvLViU2m9gJozZa1CsXy19nY,28208
|
|
24
|
+
epyt_flow/EPANET/EPANET/SRC_engines/input1.c,sha256=W8DJFAaaOwyfiBWei8pVZNAvXyIqlkbxncdliHTLepc,22899
|
|
25
|
+
epyt_flow/EPANET/EPANET/SRC_engines/input2.c,sha256=exe8Lxi3ARXmXSFOsfjUfphQK1JM7z8it6TiygayLcY,22651
|
|
26
|
+
epyt_flow/EPANET/EPANET/SRC_engines/input3.c,sha256=SZpAWtSus00dd78MrFo5JQW1qXE9P0RD_mRXuoHUqwI,68743
|
|
27
|
+
epyt_flow/EPANET/EPANET/SRC_engines/leakage.c,sha256=ygnmgJCAZhpzERdM2hQATlOmbNexH2RclXlH3r8x6Zs,16470
|
|
28
|
+
epyt_flow/EPANET/EPANET/SRC_engines/mempool.c,sha256=3idwF-IfhG4fWZPeESnmG2nWeRpdATaPpiNkPC6wGus,3646
|
|
29
|
+
epyt_flow/EPANET/EPANET/SRC_engines/mempool.h,sha256=JKSJX5vBHjhQ3_rme6MtAkXSy2KPbiKu-7-nMRcp5I8,677
|
|
30
|
+
epyt_flow/EPANET/EPANET/SRC_engines/output.c,sha256=SuOVWz0ZT3hqxqXKOc2DAt7sg3XKKPhKqel89FR0LKU,26680
|
|
31
|
+
epyt_flow/EPANET/EPANET/SRC_engines/project.c,sha256=Z1K01Of1ga4wB6paXkhklM6Z_ny94IZ6pYINFpHVzHM,51675
|
|
32
|
+
epyt_flow/EPANET/EPANET/SRC_engines/quality.c,sha256=dbm7zLxaFu-UaUVRf3ZVMg_aYGKOL7gGKMTFxaR28fE,19839
|
|
33
|
+
epyt_flow/EPANET/EPANET/SRC_engines/qualreact.c,sha256=W2nxecPc3E44EkRUWU_bSFmA_SNYUKMkpIDsVxXSa5E,23731
|
|
34
|
+
epyt_flow/EPANET/EPANET/SRC_engines/qualroute.c,sha256=nq0DtBsWYukvZxn0yYYdYjiGm7kyiAvhqJXEc0FL8sw,21714
|
|
35
|
+
epyt_flow/EPANET/EPANET/SRC_engines/report.c,sha256=WTbkT2rTVvV1kKlfVob1TYhmXqsinkNa6UeKUzlGJ8k,45984
|
|
36
|
+
epyt_flow/EPANET/EPANET/SRC_engines/rules.c,sha256=OaJIr1WCZ0keJp8mxJs2-S_mE8QB1TVKEeprAfhof5Y,39491
|
|
37
|
+
epyt_flow/EPANET/EPANET/SRC_engines/smatrix.c,sha256=NNZIRSKTyzfi_fdWyqwcUsqJXRjFC2pnmRZhTrLX3oA,26020
|
|
38
|
+
epyt_flow/EPANET/EPANET/SRC_engines/text.h,sha256=nhcofb4P9HZ3riZ_s16KCsi_OsGGgKmUqYImnpssclI,17729
|
|
39
|
+
epyt_flow/EPANET/EPANET/SRC_engines/types.h,sha256=a0scDIK9BpLjondXqsjVr5O76VLWf7RoJ3GfaXfueo8,33129
|
|
40
|
+
epyt_flow/EPANET/EPANET/SRC_engines/validate.c,sha256=nT6Xyd2E0ZXVZEZj2Zuo-K_TOBznIGrODUXqXmpMcCI,12117
|
|
41
|
+
epyt_flow/EPANET/EPANET/SRC_engines/include/epanet2.h,sha256=LkyzerbtfgQ-ovogUXYafpnmdXM9p5Cr_giYVVmFcj0,15249
|
|
42
|
+
epyt_flow/EPANET/EPANET/SRC_engines/include/epanet2_2.h,sha256=xiwHquMNuzaHYvpHC-rD00x_UwRvSRQbmf0HopO3yYU,77483
|
|
43
|
+
epyt_flow/EPANET/EPANET/SRC_engines/include/epanet2_enums.h,sha256=vP4c3AhIB6Md2HLS8YaKVXADUqXiuJSu1NmNDl9vhEY,22683
|
|
44
|
+
epyt_flow/EPANET/EPANET/SRC_engines/util/cstr_helper.c,sha256=qFvFKXV0YLtk_Q79T0ERuXlgvsgznPMQKbpzz40xbkI,1348
|
|
45
|
+
epyt_flow/EPANET/EPANET/SRC_engines/util/cstr_helper.h,sha256=2ivKuiOY097jBCFb0hWWoSgZqrxUyo6BVVbdmqkTYlc,727
|
|
46
|
+
epyt_flow/EPANET/EPANET/SRC_engines/util/errormanager.c,sha256=yvdysNOo6yeoSWWYYGsBn6ywtpTmuV5Qpq4Vy_QIdLs,2058
|
|
47
|
+
epyt_flow/EPANET/EPANET/SRC_engines/util/errormanager.h,sha256=ghebj0NO_1lvmFncgUt35t9Z9D4zrWwTSnpxzyfahig,982
|
|
48
|
+
epyt_flow/EPANET/EPANET/SRC_engines/util/filemanager.c,sha256=ul4LdINZ8Lb273KPCRWo1KjCLC6dIzhWE62sXJwX5kc,4666
|
|
49
|
+
epyt_flow/EPANET/EPANET/SRC_engines/util/filemanager.h,sha256=QM0J6ED52S-LjJIOJ3zYw0KRSGnQ9KCogJtf77kqsb0,1844
|
|
44
50
|
epyt_flow/EPANET/EPANET-MSX/MSX_Updates.txt,sha256=CLrBkmZ9YKYsBA1TImXIgKYK-jgemf5aoCLlhcE9tt0,1536
|
|
45
51
|
epyt_flow/EPANET/EPANET-MSX/readme.txt,sha256=Zw0A2HN11LN1L7GY3Ev7XuBcH4Ujof_TSvA3R1LTQVQ,911
|
|
46
52
|
epyt_flow/EPANET/EPANET-MSX/Src/dispersion.h,sha256=qYeHTzI4N2Y2ja0qGkKUBG6aGaD_erNgvHuhGgy0iLM,941
|
|
@@ -90,7 +96,7 @@ epyt_flow/data/benchmarks/leakdb.py,sha256=IEP6-bx9il65kX5mlGK1M9cevQPvAwLaDxg9Y
|
|
|
90
96
|
epyt_flow/data/benchmarks/leakdb_data.py,sha256=FNssgMkC1wqWVlaOrrihr4Od9trEZY7KeK5KuBeRMvM,507058
|
|
91
97
|
epyt_flow/data/benchmarks/water_usage.py,sha256=RiLGLof1HT0luwn7_dG11_nP5U5r9B3L8vDLuwsIKTM,4962
|
|
92
98
|
epyt_flow/gym/__init__.py,sha256=gDIP9VGjKraajsJo6MnPN-TaEUTLnnJNj2c_7jrb8Bg,36
|
|
93
|
-
epyt_flow/gym/scenario_control_env.py,sha256=
|
|
99
|
+
epyt_flow/gym/scenario_control_env.py,sha256=0VT7B1xP-YGYN_eZqY0yHIgzh3u_OZEBhT5B_4fSteY,13655
|
|
94
100
|
epyt_flow/rest_api/__init__.py,sha256=4HilmXhdh6H56UHJBB2WUSULlEBUDnI1FPTP11ft3HE,126
|
|
95
101
|
epyt_flow/rest_api/base_handler.py,sha256=HDLXrMXqgWvxWAsB-3G4plyTyCv27_eBbq4eRl_FeBo,2609
|
|
96
102
|
epyt_flow/rest_api/res_manager.py,sha256=j6-3FUBZNLKM9bCsIDZzSytfDYJbDLRwjn1mIPstTqI,2342
|
|
@@ -108,35 +114,35 @@ epyt_flow/rest_api/scenario/uncertainty_handlers.py,sha256=Pdo2YmiawOqKXWcLs2P-l
|
|
|
108
114
|
epyt_flow/simulation/__init__.py,sha256=nihvZ8O2rJjYQkv7JhtVMqNacO5bA38VtS8Y_0BWrVQ,129
|
|
109
115
|
epyt_flow/simulation/parallel_simulation.py,sha256=ph4KXw9jCt-hiJFJbmC6fNvEsrbQoWV-tFKE5-qSfoQ,6523
|
|
110
116
|
epyt_flow/simulation/scenario_config.py,sha256=uHHwwzCRwooVdODxDNoCOUgfrlol1K-TS8P8_Ja9Coc,30435
|
|
111
|
-
epyt_flow/simulation/scenario_simulator.py,sha256=
|
|
117
|
+
epyt_flow/simulation/scenario_simulator.py,sha256=V5WIs5fvDHRKPq9bq3p2XVLo0Lm3G2EgKfU8wYXTD98,165399
|
|
112
118
|
epyt_flow/simulation/sensor_config.py,sha256=AGAIC5vqcu2UZsglSCwv2pvZ3E0kbTtdaqtFPEMBwSw,94262
|
|
113
119
|
epyt_flow/simulation/backend/__init__.py,sha256=tkJb2NB_hruTv39sYHAq9ffazyA-UzZzFmiy2nYVTqA,23
|
|
114
|
-
epyt_flow/simulation/backend/my_epyt.py,sha256=
|
|
120
|
+
epyt_flow/simulation/backend/my_epyt.py,sha256=9zcHUo-shPuUNewsuxFpbBgtAbbTu7ppSaK6x4Xgt50,34414
|
|
115
121
|
epyt_flow/simulation/events/__init__.py,sha256=gv8ZcvwjJN0Z5MwRXEOVFRNq4X5NPyyqXIQnhBxszQ0,215
|
|
116
122
|
epyt_flow/simulation/events/actuator_events.py,sha256=gNOIZL9WNiIhEANi8yEyGxKx4vSMBZiRpiSJ4BbDL60,8171
|
|
117
123
|
epyt_flow/simulation/events/event.py,sha256=kARPV20XCAl6zxnJwI9U7ICtZUPACO_rgAmtHm1mGCs,2603
|
|
118
124
|
epyt_flow/simulation/events/leakages.py,sha256=pFSbOiKeGeHPZhLAgo2DFFI1QYImd7m167lMW6B-n-U,17838
|
|
119
|
-
epyt_flow/simulation/events/quality_events.py,sha256=
|
|
120
|
-
epyt_flow/simulation/events/sensor_faults.py,sha256=
|
|
125
|
+
epyt_flow/simulation/events/quality_events.py,sha256=XALoRlkVYZ36sBiV8fBxpII7mvyxO9eC0Beq4Xl9IxI,8047
|
|
126
|
+
epyt_flow/simulation/events/sensor_faults.py,sha256=RFR8LjePkDEkCgENHEgCGT7iKYYtr_qq87-IIwN6ezg,8423
|
|
121
127
|
epyt_flow/simulation/events/sensor_reading_attack.py,sha256=2E8q6yWnLxeLgYxW0MHw0GSjlUDjIIZ2GybVRLA7FJQ,7967
|
|
122
128
|
epyt_flow/simulation/events/sensor_reading_event.py,sha256=OWMRWPsvgMgaynMayJ-hQotP9zV5sDIYrOfY0fOCuvc,7586
|
|
123
|
-
epyt_flow/simulation/events/system_event.py,sha256=
|
|
129
|
+
epyt_flow/simulation/events/system_event.py,sha256=plnHp53Xnua5QMmSwrKsU6aP-omrTRCh1tGZLvNX6xI,2603
|
|
124
130
|
epyt_flow/simulation/scada/__init__.py,sha256=pfJhg-tM5DaiZTXs0_1qJsY2R6Py_LwSz6BUFJexfQM,150
|
|
125
131
|
epyt_flow/simulation/scada/complex_control.py,sha256=p2ehLyScJbj2jbyevXf7T3Ot8jnBYWgRR3Cz-m3boB0,22107
|
|
126
132
|
epyt_flow/simulation/scada/custom_control.py,sha256=QzkKcn7t53GcTaRofRDbY-HErcDReMF4utWkck6bN60,4681
|
|
127
|
-
epyt_flow/simulation/scada/scada_data.py,sha256=
|
|
133
|
+
epyt_flow/simulation/scada/scada_data.py,sha256=agVoHYAsnNT_Bqoat6eNbdb5Y3joQhKjWEshUEm6ozY,203274
|
|
128
134
|
epyt_flow/simulation/scada/scada_data_export.py,sha256=WNAFn_WNfzYAEFbl2Al-cOIx-A0ozY4AI60-i_qEHdc,11643
|
|
129
135
|
epyt_flow/simulation/scada/simple_control.py,sha256=wUsxsrgqmYxXR93_atcKbV9E-t3hgqj60ZeTvoBBnoQ,12215
|
|
130
136
|
epyt_flow/uncertainty/__init__.py,sha256=ZRjuJL9rDpWVSdPwObPxFpEmMTcgAl3VmPOsS6cIyGg,89
|
|
131
|
-
epyt_flow/uncertainty/model_uncertainty.py,sha256=
|
|
137
|
+
epyt_flow/uncertainty/model_uncertainty.py,sha256=tCkETlCL__T5yXUDbM9_3l-kXxCHwV4OKTLeYpSbIY0,47343
|
|
132
138
|
epyt_flow/uncertainty/sensor_noise.py,sha256=-AnBfuW1VAx7Ya-q_gJ9bAr7Kx6pzP_y0PvNeuRjXIg,6477
|
|
133
|
-
epyt_flow/uncertainty/uncertainties.py,sha256=
|
|
139
|
+
epyt_flow/uncertainty/uncertainties.py,sha256=QBRbI3zIzkeFScyYD5Dy0TBxuL9jPV4SnVU8QwOrJq8,20495
|
|
134
140
|
epyt_flow/uncertainty/utils.py,sha256=K-ZhyO6Bg7UmNPgpfND0JLa_wRwyrtUUgGTWyWwy-fo,8029
|
|
135
141
|
epyt_flow/visualization/__init__.py,sha256=uQ7lO6AsgLc88X48Te3QhBQY-iDKGvdPtxKCl4b-Mfw,70
|
|
136
142
|
epyt_flow/visualization/scenario_visualizer.py,sha256=vkP0J_OfjvePUz_HehXJkH4CGKR3chAHe_UTx4hQ6XI,57860
|
|
137
143
|
epyt_flow/visualization/visualization_utils.py,sha256=l-EQ9UlY9MDBcOhK-uUZ9c-tX9emVqlo4xSqR-Sg17M,27525
|
|
138
|
-
epyt_flow-0.
|
|
139
|
-
epyt_flow-0.
|
|
140
|
-
epyt_flow-0.
|
|
141
|
-
epyt_flow-0.
|
|
142
|
-
epyt_flow-0.
|
|
144
|
+
epyt_flow-0.14.1.dist-info/licenses/LICENSE,sha256=YRJC2kcAhMlpEeHwUF0lzE-GRXLFyAjXNErI8L5UwYk,1071
|
|
145
|
+
epyt_flow-0.14.1.dist-info/METADATA,sha256=EP9dL17Z-AXpEbq8AW2dtvo51shM2-pPGQubbb0zt3A,9713
|
|
146
|
+
epyt_flow-0.14.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
147
|
+
epyt_flow-0.14.1.dist-info/top_level.txt,sha256=Wh_kd7TRL8ownCw3Y3dxx-9C0iTSk6wNauv_NX9JcrY,10
|
|
148
|
+
epyt_flow-0.14.1.dist-info/RECORD,,
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
This folder archives the EPA/OWA and community collaboration source code files for the EPANET hydraulic and water quality engines for v2.2.0.
|
|
2
|
-
|
|
3
|
-
It contains the source code for the EPANET 2.2 network hydraulic and water quality solver.
|
|
4
|
-
It is written in ANSI-compatible C and can be compiled into either a Windows Dynamic Link Library of functions
|
|
5
|
-
or into a command-line executable.
|
|
6
|
-
|
|
7
|
-
The DLL version of the solver (epanet2.dll) is used with
|
|
8
|
-
the EPANET 2 user interface executable (epanet2w.exe) to
|
|
9
|
-
form a complete Windows modeling package. It also serves
|
|
10
|
-
as the function library for the EPANET Programmer's Toolkit,
|
|
11
|
-
allowing developers to construct their own customized pipe
|
|
12
|
-
network analysis applications.
|
|
13
|
-
|
|
14
|
-
All the files except main.c are needed to build the DLL version of the solver.
|
|
15
|
-
The file main.c needs to be incudled for building a command-line executable.
|
|
16
|
-
Epanet2.def should be inculded as a module definition file
|
|
17
|
-
for building the DLL that can be used in EPANET user inferface (epanet2w.exe).
|
|
18
|
-
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
LIBRARY EPANET2.DLL
|
|
2
|
-
|
|
3
|
-
EXPORTS
|
|
4
|
-
ENaddcontrol = _ENaddcontrol@24
|
|
5
|
-
ENaddcurve = _ENaddcurve@4
|
|
6
|
-
ENaddlink = _ENaddlink@20
|
|
7
|
-
ENaddnode = _ENaddnode@12
|
|
8
|
-
ENadddemand = _ENadddemand@16
|
|
9
|
-
ENaddpattern = _ENaddpattern@4
|
|
10
|
-
ENaddrule = _ENaddrule@4
|
|
11
|
-
ENclearreport = _ENclearreport@0
|
|
12
|
-
ENclose = _ENclose@0
|
|
13
|
-
ENcloseH = _ENcloseH@0
|
|
14
|
-
ENcloseQ = _ENcloseQ@0
|
|
15
|
-
ENcopyreport = _ENcopyreport@4
|
|
16
|
-
ENdeletecontrol = _ENdeletecontrol@4
|
|
17
|
-
ENdeletecurve = _ENdeletecurve@4
|
|
18
|
-
ENdeletedemand = _ENdeletedemand@8
|
|
19
|
-
ENdeletelink = _ENdeletelink@8
|
|
20
|
-
ENdeletenode = _ENdeletenode@8
|
|
21
|
-
ENdeletepattern = _ENdeletepattern@4
|
|
22
|
-
ENdeleterule = _ENdeleterule@4
|
|
23
|
-
ENepanet = _ENepanet@16
|
|
24
|
-
ENgetaveragepatternvalue = _ENgetaveragepatternvalue@8
|
|
25
|
-
ENgetbasedemand = _ENgetbasedemand@12
|
|
26
|
-
ENgetcomment = _ENgetcomment@12
|
|
27
|
-
ENgetcontrol = _ENgetcontrol@24
|
|
28
|
-
ENgetcoord = _ENgetcoord@12
|
|
29
|
-
ENgetcount = _ENgetcount@8
|
|
30
|
-
ENgetcurve = _ENgetcurve@20
|
|
31
|
-
ENgetcurveid = _ENgetcurveid@8
|
|
32
|
-
ENgetcurveindex = _ENgetcurveindex@8
|
|
33
|
-
ENgetcurvelen = _ENgetcurvelen@8
|
|
34
|
-
ENgetcurvetype = _ENgetcurvetype@8
|
|
35
|
-
ENgetcurvevalue = _ENgetcurvevalue@16
|
|
36
|
-
ENgetdemandindex = _ENgetdemandindex@12
|
|
37
|
-
ENgetdemandmodel = _ENgetdemandmodel@16
|
|
38
|
-
ENgetdemandname = _ENgetdemandname@12
|
|
39
|
-
ENgetdemandpattern = _ENgetdemandpattern@12
|
|
40
|
-
ENgetelseaction = _ENgetelseaction@20
|
|
41
|
-
ENgeterror = _ENgeterror@12
|
|
42
|
-
ENgetflowunits = _ENgetflowunits@4
|
|
43
|
-
ENgetheadcurveindex = _ENgetheadcurveindex@8
|
|
44
|
-
ENgetlinkid = _ENgetlinkid@8
|
|
45
|
-
ENgetlinkindex = _ENgetlinkindex@8
|
|
46
|
-
ENgetlinknodes = _ENgetlinknodes@12
|
|
47
|
-
ENsetlinknodes = _ENsetlinknodes@12
|
|
48
|
-
ENgetlinktype = _ENgetlinktype@8
|
|
49
|
-
ENgetlinkvalue = _ENgetlinkvalue@12
|
|
50
|
-
ENgetnodeid = _ENgetnodeid@8
|
|
51
|
-
ENgetnodeindex = _ENgetnodeindex@8
|
|
52
|
-
ENgetnodetype = _ENgetnodetype@8
|
|
53
|
-
ENgetnodevalue = _ENgetnodevalue@12
|
|
54
|
-
ENgetnumdemands = _ENgetnumdemands@8
|
|
55
|
-
ENgetoption = _ENgetoption@8
|
|
56
|
-
ENgetpatternid = _ENgetpatternid@8
|
|
57
|
-
ENgetpatternindex = _ENgetpatternindex@8
|
|
58
|
-
ENgetpatternlen = _ENgetpatternlen@8
|
|
59
|
-
ENgetpatternvalue = _ENgetpatternvalue@12
|
|
60
|
-
ENgetpremise = _ENgetpremise@36
|
|
61
|
-
ENgetpumptype = _ENgetpumptype@8
|
|
62
|
-
ENgetqualinfo = _ENgetqualinfo@16
|
|
63
|
-
ENgetqualtype = _ENgetqualtype@8
|
|
64
|
-
ENgetresultindex = _ENgetresultindex@12
|
|
65
|
-
ENgetrule = _ENgetrule@20
|
|
66
|
-
ENgetruleID = _ENgetruleID@8
|
|
67
|
-
ENgetstatistic = _ENgetstatistic@8
|
|
68
|
-
ENgetthenaction = _ENgetthenaction@20
|
|
69
|
-
ENgettimeparam = _ENgettimeparam@8
|
|
70
|
-
ENgettitle = _ENgettitle@12
|
|
71
|
-
ENgetversion = _ENgetversion@4
|
|
72
|
-
ENgetvertex = _ENgetvertex@16
|
|
73
|
-
ENgetvertexcount = _ENgetvertexcount@8
|
|
74
|
-
ENinit = _ENinit@16
|
|
75
|
-
ENinitH = _ENinitH@4
|
|
76
|
-
ENinitQ = _ENinitQ@4
|
|
77
|
-
ENnextH = _ENnextH@4
|
|
78
|
-
ENnextQ = _ENnextQ@4
|
|
79
|
-
ENopen = _ENopen@12
|
|
80
|
-
ENopenH = _ENopenH@0
|
|
81
|
-
ENopenQ = _ENopenQ@0
|
|
82
|
-
ENreport = _ENreport@0
|
|
83
|
-
ENresetreport = _ENresetreport@0
|
|
84
|
-
ENrunH = _ENrunH@4
|
|
85
|
-
ENrunQ = _ENrunQ@4
|
|
86
|
-
ENsaveH = _ENsaveH@0
|
|
87
|
-
ENsavehydfile = _ENsavehydfile@4
|
|
88
|
-
ENsaveinpfile = _ENsaveinpfile@4
|
|
89
|
-
ENsetbasedemand = _ENsetbasedemand@12
|
|
90
|
-
ENsetcomment = _ENsetcomment@12
|
|
91
|
-
ENsetcontrol = _ENsetcontrol@24
|
|
92
|
-
ENsetcoord = _ENsetcoord@20
|
|
93
|
-
ENsetcurve = _ENsetcurve@16
|
|
94
|
-
ENsetcurveid = _ENsetcurveid@8
|
|
95
|
-
ENsetcurvevalue = _ENsetcurvevalue@16
|
|
96
|
-
ENsetdemandmodel = _ENsetdemandmodel@16
|
|
97
|
-
ENsetdemandname = _ENsetdemandname@12
|
|
98
|
-
ENsetdemandpattern = _ENsetdemandpattern@12
|
|
99
|
-
ENsetelseaction = _ENsetelseaction@20
|
|
100
|
-
ENsetflowunits = _ENsetflowunits@4
|
|
101
|
-
ENsetheadcurveindex = _ENsetheadcurveindex@8
|
|
102
|
-
ENsetjuncdata = _ENsetjuncdata@16
|
|
103
|
-
ENsetlinkid = _ENsetlinkid@8
|
|
104
|
-
ENsetlinknodes = _ENsetlinknodes@12
|
|
105
|
-
ENsetlinktype = _ENsetlinktype@12
|
|
106
|
-
ENsetlinkvalue = _ENsetlinkvalue@12
|
|
107
|
-
ENsetnodeid = _ENsetnodeid@8
|
|
108
|
-
ENsetnodevalue = _ENsetnodevalue@12
|
|
109
|
-
ENsetoption = _ENsetoption@8
|
|
110
|
-
ENsetpattern = _ENsetpattern@12
|
|
111
|
-
ENsetpatternid = _ENsetpatternid@8
|
|
112
|
-
ENsetpatternvalue = _ENsetpatternvalue@12
|
|
113
|
-
ENsetpipedata = _ENsetpipedata@20
|
|
114
|
-
ENsetpremise = _ENsetpremise@36
|
|
115
|
-
ENsetpremiseindex = _ENsetpremiseindex@12
|
|
116
|
-
ENsetpremisestatus = _ENsetpremisestatus@12
|
|
117
|
-
ENsetpremisevalue = _ENsetpremisevalue@12
|
|
118
|
-
ENsetqualtype = _ENsetqualtype@16
|
|
119
|
-
ENsetreport = _ENsetreport@4
|
|
120
|
-
ENsetrulepriority = _ENsetrulepriority@8
|
|
121
|
-
ENsetstatusreport = _ENsetstatusreport@4
|
|
122
|
-
ENsettankdata = _ENsettankdata@32
|
|
123
|
-
ENsetthenaction = _ENsetthenaction@20
|
|
124
|
-
ENsettimeparam = _ENsettimeparam@8
|
|
125
|
-
ENsettitle = _ENsettitle@12
|
|
126
|
-
ENsetvertices = _ENsetvertices@16
|
|
127
|
-
ENsolveH = _ENsolveH@0
|
|
128
|
-
ENsolveQ = _ENsolveQ@0
|
|
129
|
-
ENstepQ = _ENstepQ@4
|
|
130
|
-
ENusehydfile = _ENusehydfile@4
|
|
131
|
-
ENwriteline = _ENwriteline@4
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
******************************************************************************
|
|
3
|
-
Project: OWA EPANET
|
|
4
|
-
Version: 2.2
|
|
5
|
-
Module: main.c
|
|
6
|
-
Description: main stub for a command line executable version of EPANET
|
|
7
|
-
Authors: see AUTHORS
|
|
8
|
-
Copyright: see AUTHORS
|
|
9
|
-
License: see LICENSE
|
|
10
|
-
Last Updated: 12/07/2018
|
|
11
|
-
******************************************************************************
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
#include <stdio.h>
|
|
15
|
-
#include "epanet2.h"
|
|
16
|
-
|
|
17
|
-
void writeConsole(char *s)
|
|
18
|
-
{
|
|
19
|
-
fprintf(stdout, "\r%s", s);
|
|
20
|
-
fflush(stdout);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
int main(int argc, char *argv[])
|
|
24
|
-
/*--------------------------------------------------------------
|
|
25
|
-
** Input: argc = number of command line arguments
|
|
26
|
-
** *argv[] = array of command line arguments
|
|
27
|
-
** Output: none
|
|
28
|
-
** Purpose: main program stub for command line EPANET
|
|
29
|
-
**
|
|
30
|
-
** Command line for stand-alone operation is:
|
|
31
|
-
** progname f1 f2 f3
|
|
32
|
-
** where progname = name of executable this code was compiled to,
|
|
33
|
-
** f1 = name of input file,
|
|
34
|
-
** f2 = name of report file
|
|
35
|
-
** f3 = name of binary output file (optional).
|
|
36
|
-
**--------------------------------------------------------------
|
|
37
|
-
*/
|
|
38
|
-
{
|
|
39
|
-
char *f1,*f2,*f3;
|
|
40
|
-
char blank[] = "";
|
|
41
|
-
char errmsg[256] = "";
|
|
42
|
-
int errcode;
|
|
43
|
-
int version;
|
|
44
|
-
int major;
|
|
45
|
-
int minor;
|
|
46
|
-
int patch;
|
|
47
|
-
|
|
48
|
-
// Check for proper number of command line arguments
|
|
49
|
-
if (argc < 3)
|
|
50
|
-
{
|
|
51
|
-
printf(
|
|
52
|
-
"\nUsage:\n %s <input_filename> <report_filename> [<binary_filename>]\n",
|
|
53
|
-
argv[0]);
|
|
54
|
-
return 0;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// Get version number and display in Major.Minor.Patch format
|
|
58
|
-
ENgetversion(&version);
|
|
59
|
-
major = version/10000;
|
|
60
|
-
minor = (version%10000)/100;
|
|
61
|
-
patch = version%100;
|
|
62
|
-
printf("\n... Running EPANET Version %d.%d.%d\n", major, minor, patch);
|
|
63
|
-
|
|
64
|
-
// Assign pointers to file names
|
|
65
|
-
f1 = argv[1];
|
|
66
|
-
f2 = argv[2];
|
|
67
|
-
if (argc > 3) f3 = argv[3];
|
|
68
|
-
else f3 = blank;
|
|
69
|
-
|
|
70
|
-
// Run EPANET
|
|
71
|
-
errcode = ENepanet(f1, f2, f3, &writeConsole);
|
|
72
|
-
|
|
73
|
-
// Blank out the last progress message
|
|
74
|
-
printf("\r ");
|
|
75
|
-
|
|
76
|
-
// Check for errors/warnings and report accordingly
|
|
77
|
-
if (errcode == 0)
|
|
78
|
-
{
|
|
79
|
-
printf("\n... EPANET ran successfully.\n");
|
|
80
|
-
return 0;
|
|
81
|
-
}
|
|
82
|
-
else if (errcode < 100)
|
|
83
|
-
{
|
|
84
|
-
printf("\n... EPANET ran with warnings - check the Status Report.\n");
|
|
85
|
-
return 0;
|
|
86
|
-
}
|
|
87
|
-
else
|
|
88
|
-
{
|
|
89
|
-
ENgeterror(errcode, errmsg, 255);
|
|
90
|
-
printf("\n... EPANET failed with %s.\n", errmsg);
|
|
91
|
-
return 100;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
File without changes
|
|
File without changes
|