openswmm 5.3.0.dev0__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.
- openswmm/CMakeLists.txt +31 -0
- openswmm/__init__.py +42 -0
- openswmm/_openswmm.pyx +12 -0
- openswmm/data/__init__.py +0 -0
- openswmm/gym/__init__.py +0 -0
- openswmm/openswmm.pxd +10 -0
- openswmm/output/CMakeLists.txt +45 -0
- openswmm/output/__init__.pxd +1 -0
- openswmm/output/__init__.py +13 -0
- openswmm/output/_output.pyi +732 -0
- openswmm/output/_output.pyx +1557 -0
- openswmm/output/output.pxd +368 -0
- openswmm/solver/CMakeLists.txt +50 -0
- openswmm/solver/__init__.pxd +1 -0
- openswmm/solver/__init__.py +22 -0
- openswmm/solver/_solver.pyi +1012 -0
- openswmm/solver/_solver.pyx +1646 -0
- openswmm/solver/solver.pxd +356 -0
- openswmm-5.3.0.dev0.dist-info/METADATA +228 -0
- openswmm-5.3.0.dev0.dist-info/RECORD +36 -0
- openswmm-5.3.0.dev0.dist-info/WHEEL +5 -0
- openswmm-5.3.0.dev0.dist-info/licenses/LICENSE +12 -0
- openswmm-5.3.0.dev0.dist-info/top_level.txt +2 -0
- tests/.DS_Store +0 -0
- tests/__init__.py +3 -0
- tests/data/.DS_Store +0 -0
- tests/data/__init__.py +3 -0
- tests/data/output/__init__.py +22 -0
- tests/data/output/example_output_1.out +0 -0
- tests/data/output/json_time_series.pickle +0 -0
- tests/data/solver/__init__.py +17 -0
- tests/data/solver/non_existent_input_file.rpt +2387 -0
- tests/data/solver/site_drainage_example.inp +499 -0
- tests/data/solver/site_drainage_example.rpt +354 -0
- tests/test_swmm_solver.py +716 -0
- tests/test_swwm_output.py +1048 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Description: This file facilitates retrieval of artiface files for unit testing.
|
|
2
|
+
# Created by: Caleb Buahin (EPA/ORD/CESER/WID)
|
|
3
|
+
# Created on: 2024-11-19
|
|
4
|
+
|
|
5
|
+
import os
|
|
6
|
+
|
|
7
|
+
DATA_PATH = os.path.dirname(os.path.realpath(__file__))
|
|
8
|
+
|
|
9
|
+
EXAMPLE_OUTPUT_FILE_1 = os.path.join(
|
|
10
|
+
DATA_PATH,
|
|
11
|
+
"example_output_1.out"
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
NON_EXISTENT_OUTPUT_FILE = os.path.join(
|
|
15
|
+
DATA_PATH,
|
|
16
|
+
"non_existent_output_file.out"
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
JSON_TIME_SERIES_FILE = os.path.join(
|
|
20
|
+
DATA_PATH,
|
|
21
|
+
"json_time_series.pickle"
|
|
22
|
+
)
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Description: This file facilitates retrieval of artiface files for unit testing.
|
|
2
|
+
# Created by: Caleb Buahin (EPA/ORD/CESER/WID)
|
|
3
|
+
# Created on: 2024-11-19
|
|
4
|
+
|
|
5
|
+
import os
|
|
6
|
+
|
|
7
|
+
DATA_PATH = os.path.dirname(os.path.realpath(__file__))
|
|
8
|
+
|
|
9
|
+
SITE_DRAINAGE_EXAMPLE_INPUT_FILE = os.path.join(
|
|
10
|
+
DATA_PATH,
|
|
11
|
+
"site_drainage_example.inp"
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
NON_EXISTENT_INPUT_FILE = os.path.join(
|
|
15
|
+
DATA_PATH,
|
|
16
|
+
"non_existent_input_file.inp"
|
|
17
|
+
)
|