Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title: EPANET Simulation Tool (Gradio +
|
| 3 |
emoji: π§
|
| 4 |
colorFrom: indigo
|
| 5 |
colorTo: blue
|
|
@@ -8,33 +8,33 @@ app_file: app.py
|
|
| 8 |
pinned: false
|
| 9 |
---
|
| 10 |
|
| 11 |
-
# π§ EPANET Simulation Tool (Gradio +
|
| 12 |
|
| 13 |
-
This Hugging Face Space allows you to upload a `.inp` file (EPANET hydraulic model) and simulate it using the [
|
| 14 |
|
| 15 |
π§© **Features**:
|
| 16 |
-
- Upload `.inp` files
|
| 17 |
-
-
|
| 18 |
- View node head results from the first timestep
|
| 19 |
-
-
|
|
|
|
| 20 |
|
| 21 |
π¦ **Powered by**:
|
| 22 |
-
- [Gradio](https://gradio.app/) for
|
| 23 |
-
- [
|
| 24 |
-
- Python 3.11
|
| 25 |
-
|
| 26 |
-
π Compatible with Hugging Face [Chat UI](https://huggingface.co/docs/chat-ui/en/index) and LLM tool use via function calling.
|
| 27 |
|
| 28 |
---
|
| 29 |
|
| 30 |
-
### π
|
| 31 |
|
| 32 |
-
1. Click the **Upload** button
|
| 33 |
-
2. The app will simulate the
|
| 34 |
-
3.
|
| 35 |
|
| 36 |
---
|
| 37 |
|
| 38 |
### π Example Output
|
| 39 |
|
| 40 |
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: EPANET Simulation Tool (Gradio + WNTR)
|
| 3 |
emoji: π§
|
| 4 |
colorFrom: indigo
|
| 5 |
colorTo: blue
|
|
|
|
| 8 |
pinned: false
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# π§ EPANET Simulation Tool (Gradio + WNTR)
|
| 12 |
|
| 13 |
+
This Hugging Face Space allows you to upload a `.inp` file (an EPANET hydraulic model) and simulate it using the [WNTR (Water Network Tool for Resilience)](https://github.com/USEPA/WNTR) library developed by the U.S. EPA.
|
| 14 |
|
| 15 |
π§© **Features**:
|
| 16 |
+
- Upload and simulate EPANET `.inp` files
|
| 17 |
+
- Run hydraulic simulations using WNTRβs built-in EPANET simulator
|
| 18 |
- View node head results from the first timestep
|
| 19 |
+
- Lightweight, Python-only, no EPANET binary required
|
| 20 |
+
- Deployed inside a reproducible Docker container
|
| 21 |
|
| 22 |
π¦ **Powered by**:
|
| 23 |
+
- [Gradio](https://gradio.app/) β for file upload and result display
|
| 24 |
+
- [WNTR](https://pypi.org/project/wntr/) β for EPANET-compatible simulation
|
| 25 |
+
- [Python](https://www.python.org/) 3.11 + Hugging Face Docker Spaces
|
|
|
|
|
|
|
| 26 |
|
| 27 |
---
|
| 28 |
|
| 29 |
+
### π How to Use
|
| 30 |
|
| 31 |
+
1. Click the **Upload** button to submit your `.inp` file
|
| 32 |
+
2. The app will simulate the hydraulic behavior of the network
|
| 33 |
+
3. Youβll see a summary of node heads (pressure level) at time `0`
|
| 34 |
|
| 35 |
---
|
| 36 |
|
| 37 |
### π Example Output
|
| 38 |
|
| 39 |
|
| 40 |
+
|