epyt-flow 0.8.0__py3-none-any.whl → 0.8.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/VERSION +1 -1
- epyt_flow/data/benchmarks/leakdb.py +2 -2
- epyt_flow/data/networks.py +14 -26
- {epyt_flow-0.8.0.dist-info → epyt_flow-0.8.1.dist-info}/METADATA +1 -1
- {epyt_flow-0.8.0.dist-info → epyt_flow-0.8.1.dist-info}/RECORD +8 -8
- {epyt_flow-0.8.0.dist-info → epyt_flow-0.8.1.dist-info}/LICENSE +0 -0
- {epyt_flow-0.8.0.dist-info → epyt_flow-0.8.1.dist-info}/WHEEL +0 -0
- {epyt_flow-0.8.0.dist-info → epyt_flow-0.8.1.dist-info}/top_level.txt +0 -0
epyt_flow/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.8.
|
|
1
|
+
0.8.1
|
|
@@ -491,9 +491,9 @@ def load_scenarios(scenarios_id: list[int], use_net1: bool = True,
|
|
|
491
491
|
|
|
492
492
|
return dem_final
|
|
493
493
|
|
|
494
|
-
week_pattern_url = "https://
|
|
494
|
+
week_pattern_url = "https://filedn.com/lumBFq2P9S74PNoLPWtzxG4/EPyT-Flow/Networks/CCWI-WDSA2018/" +\
|
|
495
495
|
"Dataset_Generator_Py3/weekPat_30min.mat"
|
|
496
|
-
year_offset_url = "https://
|
|
496
|
+
year_offset_url = "https://filedn.com/lumBFq2P9S74PNoLPWtzxG4/EPyT-Flow/Networks/CCWI-WDSA2018/" +\
|
|
497
497
|
"Dataset_Generator_Py3/yearOffset_30min.mat"
|
|
498
498
|
|
|
499
499
|
download_if_necessary(os.path.join(download_dir, "weekPat_30min.mat"),
|
epyt_flow/data/networks.py
CHANGED
|
@@ -153,8 +153,7 @@ def load_net1(download_dir: str = get_temp_folder(), verbose: bool = True,
|
|
|
153
153
|
:class:`~epyt_flow.simulation.scenario_simulator.ScenarioSimulator`.
|
|
154
154
|
"""
|
|
155
155
|
f_in = os.path.join(download_dir, "Net1.inp")
|
|
156
|
-
url = "https://
|
|
157
|
-
"asce-tf-wdst/Net1.inp"
|
|
156
|
+
url = "https://filedn.com/lumBFq2P9S74PNoLPWtzxG4/EPyT-Flow/Networks/Net1.inp"
|
|
158
157
|
|
|
159
158
|
download_if_necessary(f_in, url, verbose)
|
|
160
159
|
return load_inp(f_in, flow_units_id=flow_units_id)
|
|
@@ -201,8 +200,7 @@ def load_net2(download_dir: str = get_temp_folder(), verbose: bool = True,
|
|
|
201
200
|
:class:`~epyt_flow.simulation.scenario_simulator.ScenarioSimulator`.
|
|
202
201
|
"""
|
|
203
202
|
f_in = os.path.join(download_dir, "Net2.inp")
|
|
204
|
-
url = "https://
|
|
205
|
-
"asce-tf-wdst/Net2.inp"
|
|
203
|
+
url = "https://filedn.com/lumBFq2P9S74PNoLPWtzxG4/EPyT-Flow/Networks/Net2.inp"
|
|
206
204
|
|
|
207
205
|
download_if_necessary(f_in, url, verbose)
|
|
208
206
|
return load_inp(f_in, flow_units_id=flow_units_id)
|
|
@@ -249,8 +247,7 @@ def load_net3(download_dir: str = get_temp_folder(), verbose: bool = True,
|
|
|
249
247
|
:class:`~epyt_flow.simulation.scenario_simulator.ScenarioSimulator`.
|
|
250
248
|
"""
|
|
251
249
|
f_in = os.path.join(download_dir, "Net3.inp")
|
|
252
|
-
url = "https://
|
|
253
|
-
"asce-tf-wdst/Net3.inp"
|
|
250
|
+
url = "https://filedn.com/lumBFq2P9S74PNoLPWtzxG4/EPyT-Flow/Networks/Net3.inp"
|
|
254
251
|
|
|
255
252
|
download_if_necessary(f_in, url, verbose)
|
|
256
253
|
return load_inp(f_in, flow_units_id=flow_units_id)
|
|
@@ -297,7 +294,7 @@ def load_net6(download_dir: str = get_temp_folder(), verbose: bool = True,
|
|
|
297
294
|
:class:`~epyt_flow.simulation.scenario_simulator.ScenarioSimulator`.
|
|
298
295
|
"""
|
|
299
296
|
f_in = os.path.join(download_dir, "Net6.inp")
|
|
300
|
-
url = "https://
|
|
297
|
+
url = "https://filedn.com/lumBFq2P9S74PNoLPWtzxG4/EPyT-Flow/Networks/Net6.inp"
|
|
301
298
|
|
|
302
299
|
download_if_necessary(f_in, url, verbose)
|
|
303
300
|
return load_inp(f_in, flow_units_id=flow_units_id)
|
|
@@ -344,8 +341,7 @@ def load_richmond(download_dir: str = get_temp_folder(), verbose: bool = True,
|
|
|
344
341
|
:class:`~epyt_flow.simulation.scenario_simulator.ScenarioSimulator`.
|
|
345
342
|
"""
|
|
346
343
|
f_in = os.path.join(download_dir, "Richmond_standard.inp")
|
|
347
|
-
url = "https://
|
|
348
|
-
"exeter-benchmarks/Richmond_standard.inp"
|
|
344
|
+
url = "https://filedn.com/lumBFq2P9S74PNoLPWtzxG4/EPyT-Flow/Networks/Richmond_standard.inp"
|
|
349
345
|
|
|
350
346
|
download_if_necessary(f_in, url, verbose)
|
|
351
347
|
return load_inp(f_in, flow_units_id=flow_units_id)
|
|
@@ -392,8 +388,7 @@ def load_micropolis(download_dir: str = get_temp_folder(), verbose: bool = True,
|
|
|
392
388
|
:class:`~epyt_flow.simulation.scenario_simulator.ScenarioSimulator`.
|
|
393
389
|
"""
|
|
394
390
|
f_in = os.path.join(download_dir, "MICROPOLIS_v1.inp")
|
|
395
|
-
url = "https://
|
|
396
|
-
"MICROPOLIS_v1.inp"
|
|
391
|
+
url = "https://filedn.com/lumBFq2P9S74PNoLPWtzxG4/EPyT-Flow/Networks/MICROPOLIS_v1.inp"
|
|
397
392
|
|
|
398
393
|
download_if_necessary(f_in, url, verbose)
|
|
399
394
|
return load_inp(f_in, flow_units_id=flow_units_id)
|
|
@@ -440,8 +435,7 @@ def load_balerma(download_dir: str = get_temp_folder(), verbose: bool = True,
|
|
|
440
435
|
:class:`~epyt_flow.simulation.scenario_simulator.ScenarioSimulator`.
|
|
441
436
|
"""
|
|
442
437
|
f_in = os.path.join(download_dir, "Balerma.inp")
|
|
443
|
-
url = "https://
|
|
444
|
-
"asce-tf-wdst/Balerma.inp"
|
|
438
|
+
url = "https://filedn.com/lumBFq2P9S74PNoLPWtzxG4/EPyT-Flow/Networks/Balerma.inp"
|
|
445
439
|
|
|
446
440
|
download_if_necessary(f_in, url, verbose)
|
|
447
441
|
return load_inp(f_in, flow_units_id=flow_units_id)
|
|
@@ -488,8 +482,7 @@ def load_rural(download_dir: str = get_temp_folder(), verbose: bool = True,
|
|
|
488
482
|
:class:`~epyt_flow.simulation.scenario_simulator.ScenarioSimulator`.
|
|
489
483
|
"""
|
|
490
484
|
f_in = os.path.join(download_dir, "RuralNetwork.inp")
|
|
491
|
-
url = "https://
|
|
492
|
-
"asce-tf-wdst/RuralNetwork.inp"
|
|
485
|
+
url = "https://filedn.com/lumBFq2P9S74PNoLPWtzxG4/EPyT-Flow/Networks/RuralNetwork.inp"
|
|
493
486
|
|
|
494
487
|
download_if_necessary(f_in, url, verbose)
|
|
495
488
|
return load_inp(f_in, flow_units_id=flow_units_id)
|
|
@@ -536,8 +529,7 @@ def load_bwsn1(download_dir: str = get_temp_folder(), verbose: bool = True,
|
|
|
536
529
|
:class:`~epyt_flow.simulation.scenario_simulator.ScenarioSimulator`.
|
|
537
530
|
"""
|
|
538
531
|
f_in = os.path.join(download_dir, "BWSN_Network_1.inp")
|
|
539
|
-
url = "https://
|
|
540
|
-
"asce-tf-wdst/BWSN_Network_1.inp"
|
|
532
|
+
url = "https://filedn.com/lumBFq2P9S74PNoLPWtzxG4/EPyT-Flow/Networks/BWSN_Network_1.inp"
|
|
541
533
|
|
|
542
534
|
download_if_necessary(f_in, url, verbose)
|
|
543
535
|
return load_inp(f_in, flow_units_id=flow_units_id)
|
|
@@ -584,8 +576,7 @@ def load_bwsn2(download_dir: str = get_temp_folder(), verbose: bool = True,
|
|
|
584
576
|
:class:`~epyt_flow.simulation.scenario_simulator.ScenarioSimulator`.
|
|
585
577
|
"""
|
|
586
578
|
f_in = os.path.join(download_dir, "BWSN_Network_2.inp")
|
|
587
|
-
url = "https://
|
|
588
|
-
"asce-tf-wdst/BWSN_Network_2.inp"
|
|
579
|
+
url = "https://filedn.com/lumBFq2P9S74PNoLPWtzxG4/EPyT-Flow/Networks/BWSN_Network_2.inp"
|
|
589
580
|
|
|
590
581
|
download_if_necessary(f_in, url, verbose)
|
|
591
582
|
return load_inp(f_in, flow_units_id=flow_units_id)
|
|
@@ -632,8 +623,7 @@ def load_anytown(download_dir: str = get_temp_folder(), verbose: bool = True,
|
|
|
632
623
|
:class:`~epyt_flow.simulation.scenario_simulator.ScenarioSimulator`.
|
|
633
624
|
"""
|
|
634
625
|
f_in = os.path.join(download_dir, "Anytown.inp")
|
|
635
|
-
url = "https://
|
|
636
|
-
"asce-tf-wdst/Anytown.inp"
|
|
626
|
+
url = "https://filedn.com/lumBFq2P9S74PNoLPWtzxG4/EPyT-Flow/Networks/Anytown.inp"
|
|
637
627
|
|
|
638
628
|
download_if_necessary(f_in, url, verbose)
|
|
639
629
|
return load_inp(f_in, flow_units_id=flow_units_id)
|
|
@@ -727,7 +717,7 @@ def load_ctown(download_dir: str = get_temp_folder(), verbose: bool = True,
|
|
|
727
717
|
:class:`~epyt_flow.simulation.scenario_simulator.ScenarioSimulator`.
|
|
728
718
|
"""
|
|
729
719
|
f_in = os.path.join(download_dir, "CTOWN.INP")
|
|
730
|
-
url = "https://
|
|
720
|
+
url = "https://filedn.com/lumBFq2P9S74PNoLPWtzxG4/EPyT-Flow/Networks/CTOWN.INP"
|
|
731
721
|
|
|
732
722
|
download_if_necessary(f_in, url, verbose)
|
|
733
723
|
return load_inp(f_in, flow_units_id=flow_units_id)
|
|
@@ -783,8 +773,7 @@ def load_kentucky(wdn_id: int = 1, download_dir: str = get_temp_folder(),
|
|
|
783
773
|
raise ValueError(f"Unknown network 'ky{wdn_id}.inp'")
|
|
784
774
|
|
|
785
775
|
f_in = os.path.join(download_dir, f"ky{wdn_id}.inp")
|
|
786
|
-
url = "https://
|
|
787
|
-
f"asce-tf-wdst/ky{wdn_id}.inp"
|
|
776
|
+
url = f"https://filedn.com/lumBFq2P9S74PNoLPWtzxG4/EPyT-Flow/Networks/ky{wdn_id}.inp"
|
|
788
777
|
|
|
789
778
|
download_if_necessary(f_in, url, verbose)
|
|
790
779
|
return load_inp(f_in, flow_units_id=flow_units_id)
|
|
@@ -836,8 +825,7 @@ def load_hanoi(download_dir: str = get_temp_folder(),
|
|
|
836
825
|
:class:`~epyt_flow.simulation.scenario_simulator.ScenarioSimulator`.
|
|
837
826
|
"""
|
|
838
827
|
f_in = os.path.join(download_dir, "Hanoi.inp")
|
|
839
|
-
url = "https://
|
|
840
|
-
"asce-tf-wdst/Hanoi.inp"
|
|
828
|
+
url = "https://filedn.com/lumBFq2P9S74PNoLPWtzxG4/EPyT-Flow/Networks/Hanoi.inp"
|
|
841
829
|
|
|
842
830
|
download_if_necessary(f_in, url, verbose)
|
|
843
831
|
config = load_inp(f_in, flow_units_id=flow_units_id)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: epyt-flow
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.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: MIT License
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
epyt_flow/VERSION,sha256=
|
|
1
|
+
epyt_flow/VERSION,sha256=qvZyHcN8QLQjOsz8CB8ld2_zvR0qS51c6nYNHCz4ZmU,6
|
|
2
2
|
epyt_flow/__init__.py,sha256=KNDiPWiHdB9a5ZF1ipjA1uoq61TwU2ThjaStpvSLBtY,1742
|
|
3
3
|
epyt_flow/metrics.py,sha256=W-dolnrmWfoanyvg-knoe2QMUtFwV1xODp4D4EwsQ00,14261
|
|
4
4
|
epyt_flow/serialization.py,sha256=aT4R0vXQgmHaOJ8cyWc8TjcnyFQzwjcHuNbtc1ggM6Y,14191
|
|
@@ -80,14 +80,14 @@ epyt_flow/EPANET/EPANET-MSX/Src/smatrix.h,sha256=heHTNgQNNDTs_Jx0YBts7_B7dPg8VUF
|
|
|
80
80
|
epyt_flow/EPANET/EPANET-MSX/Src/include/epanetmsx.h,sha256=L9y0VKHk5Fg1JZxID9uBzcvLZWOb1xuQP-MkmHH_LD4,3429
|
|
81
81
|
epyt_flow/EPANET/EPANET-MSX/Src/include/epanetmsx_export.h,sha256=h5UMaf6pH_0asRJOmhWUGAZhyA180ui2Cz8_y5h1FKw,1054
|
|
82
82
|
epyt_flow/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
83
|
-
epyt_flow/data/networks.py,sha256=
|
|
83
|
+
epyt_flow/data/networks.py,sha256=esJokdUdRuALYKHIjVJlXziiCiJJEmSYqluI39kNCp8,37898
|
|
84
84
|
epyt_flow/data/benchmarks/__init__.py,sha256=nJ6hqPaPNp8YMizniev3fwOWpzvvNUBMoRF16wACUkE,754
|
|
85
85
|
epyt_flow/data/benchmarks/batadal.py,sha256=sa_OZwO5XIbJONgGMwgok-KCGyHq07WpIQagVq-a-gw,11175
|
|
86
86
|
epyt_flow/data/benchmarks/batadal_data.py,sha256=oIzcysGivMPAgrfzrk5l8i-j6Ii96DPcFa6sL4TSaw8,880
|
|
87
87
|
epyt_flow/data/benchmarks/battledim.py,sha256=yLwiQB0x7yq197XSM77tjHm7E7ucTbrybFaNxZx2TtM,20448
|
|
88
88
|
epyt_flow/data/benchmarks/battledim_data.py,sha256=0vHm-2eAiLv6U-n5dqUUWS1o_szFRy9mVJ3eqDRp4PE,3373
|
|
89
89
|
epyt_flow/data/benchmarks/gecco_water_quality.py,sha256=1buZRJiNf4jsqWYg4Ud90GhqaiLVo4yij3RAZJkzsqE,10985
|
|
90
|
-
epyt_flow/data/benchmarks/leakdb.py,sha256=
|
|
90
|
+
epyt_flow/data/benchmarks/leakdb.py,sha256=xVxfxW9sNFuFiBaKSmqyc1acqj_xkeK-D0G-vw8PT_c,25139
|
|
91
91
|
epyt_flow/data/benchmarks/leakdb_data.py,sha256=FNssgMkC1wqWVlaOrrihr4Od9trEZY7KeK5KuBeRMvM,507058
|
|
92
92
|
epyt_flow/data/benchmarks/water_usage.py,sha256=FLqjff3pha33oEU9ZM3UGPXn9eJJumsJH8Gdj7YFX3A,4778
|
|
93
93
|
epyt_flow/gym/__init__.py,sha256=KNTDtPTEtHwZ4ehHfj9qGw81Z9acFqPIgMzYUzH5_uM,115
|
|
@@ -133,8 +133,8 @@ epyt_flow/uncertainty/model_uncertainty.py,sha256=SD2sYGqj7K0Ys0Lvak4HsbP18A0Smw
|
|
|
133
133
|
epyt_flow/uncertainty/sensor_noise.py,sha256=zJVULxnxVPSSqc6UW0iwZ9O-HGf9dn4CwScPqf4yCY0,2324
|
|
134
134
|
epyt_flow/uncertainty/uncertainties.py,sha256=jzaAwv5--HGc-H4-SwB0s-pAnzhhFuc06IXck7rC5l8,17902
|
|
135
135
|
epyt_flow/uncertainty/utils.py,sha256=gq66c9-QMOxOqI6wgWLyFxjVV0fbG0_8Yzd6mQjNYNo,5315
|
|
136
|
-
epyt_flow-0.8.
|
|
137
|
-
epyt_flow-0.8.
|
|
138
|
-
epyt_flow-0.8.
|
|
139
|
-
epyt_flow-0.8.
|
|
140
|
-
epyt_flow-0.8.
|
|
136
|
+
epyt_flow-0.8.1.dist-info/LICENSE,sha256=-4hYIY2BLmCkdOv2_PehEwlnMKTCes8_oyIUXjKtkug,1076
|
|
137
|
+
epyt_flow-0.8.1.dist-info/METADATA,sha256=t6pvTLDwHzIDuAX0b8YvjGaHG4Mw1buzx9ufEX8FTcc,9218
|
|
138
|
+
epyt_flow-0.8.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
139
|
+
epyt_flow-0.8.1.dist-info/top_level.txt,sha256=Wh_kd7TRL8ownCw3Y3dxx-9C0iTSk6wNauv_NX9JcrY,10
|
|
140
|
+
epyt_flow-0.8.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|