Skip to content

Commit e0a1cdf

Browse files
committed
Initial Commit
1 parent e444ff5 commit e0a1cdf

File tree

3 files changed

+75
-2
lines changed

3 files changed

+75
-2
lines changed

.DS_Store

6 KB
Binary file not shown.

README.md

+75-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,75 @@
1-
# build-workflow-docs
2-
Making PySWMM! This documents the process from start to end!
1+
# Steps to Build SWMM and PySWMM
2+
3+
Author: Constantine Karos and Bryant McDonnell
4+
5+
Date: May 16, 2023
6+
7+
Version: 1
8+
9+
## Summary
10+
11+
PySWMM versions are built and released with a multi-step workflow and requires several tools and GitHub repositories. PySWMM has a layered architecture where C and Python are used. The core is SWMM which is outfitted with an extended API. Using a tool called SWIG (Simple Wrapper Interface Generator), "typemaps" are used to clearly insert the required Python-C code (since Python is written in C) to the build and compile the library. In the final layer, PySWMM abstracts away the "C" feel and makes it Pythonic by implementing an object-oriented paradigm. See the following Figure. The project is organized into several repositories on GitHub. They span from the raw-codebases, the build process, to the testing systems.
12+
13+
![pyswmm-layers](_static/pyswmm-layers.png)
14+
15+
## Requirements and Resources
16+
17+
##### Machine Requirements
18+
19+
-
20+
21+
22+
23+
##### Software Requirements
24+
25+
-
26+
27+
28+
29+
## High-level Steps
30+
31+
##### SWMM/SWMM-API
32+
33+
1. Install all required software
34+
2. Clone the SWMM repo
35+
3. Clone the ci-tools
36+
4. Make your changes to SWMM (optional)
37+
5. Adding Unit Tests
38+
6. Building SWMM
39+
7. Running Regression Tests
40+
41+
42+
43+
##### SWMM-TOOLKIT
44+
45+
1. Clone the SWMM-Python repo
46+
2. Modify (as required) the interfacing files
47+
3. Build Wheel (Will compile SWMM here)
48+
49+
50+
51+
##### PySWMM
52+
53+
1. Clone the PySWMM repo
54+
2. Modify (as required)
55+
3. Adding Unit tests
56+
4. Build
57+
58+
59+
60+
### SWMM/SWMM-API Build Steps
61+
62+
63+
64+
### SWMM-TOOLKIT
65+
66+
67+
68+
### PySWMM
69+
70+
71+
72+
73+
74+
75+

_static/pyswmm-layers.png

27.8 KB
Loading

0 commit comments

Comments
 (0)