Skip to content

Instantly share code, notes, and snippets.

@this-josh
Created April 3, 2022 09:26
Show Gist options
  • Save this-josh/43d4483610e8a3cee817c5392b2f5755 to your computer and use it in GitHub Desktop.
Save this-josh/43d4483610e8a3cee817c5392b2f5755 to your computer and use it in GitHub Desktop.
[TITLE]
[JUNCTIONS]
;ID Elev Demand Pattern
1 18 5 demand ;
2 18 10 demand ;
3 14 0 demand ;
4 12 5 demand ;
5 14 30 demand ;
6 15 10 demand ;
7 14.5 0 demand ;
8 14 20 demand ;
9 14 0 demand ;
10 15 5 demand ;
11 12 10 demand ;
12 15 0 demand ;
13 23 0 demand ;
14 20 5 demand ;
15 8 20 demand ;
16 10 0 demand ;
17 7 0 demand ;
18 8 5 demand ;
19 10 5 demand ;
20 7 0 demand ;
21 10 5 demand ;
22 15 20 demand ;
[RESERVOIRS]
;ID Head Pattern
23 54.66 reservoir26 ;
24 54.6 reservoir27 ;
25 55.5 reservoir28 ;
[TANKS]
;ID Elevation InitLevel MinLevel MaxLevel Diameter MinVol VolCurve Overflow
[PIPES]
;ID Node1 Node2 Length Diameter Roughness MinorLoss Status
1 23 1 606 457 110 0 Open ;
2 23 24 454 457 110 0 Open ;
3 24 14 2782 229 105 0 Open ;
4 25 14 304 381 135 0 Open ;
5 10 24 3383 305 100 0 Open ;
6 13 24 1767 475 110 0 Open ;
7 14 13 1014 381 135 0 Open ;
8 16 25 1097 381 6 0 Open ;
9 2 1 1930 457 110 0 Open ;
10 3 2 5150 305 10 0 Open ;
11 12 13 762 457 110 0 Open ;
12 15 16 914 229 125 0 Open ;
13 17 16 822 305 140 0 Open ;
14 18 17 411 152 100 0 Open ;
15 20 18 701 229 110 0 Open ;
16 19 17 1072 229 135 0 Open ;
17 20 19 864 152 90 0 Open ;
18 21 20 711 152 90 0 Open ;
19 21 15 832 152 90 0 Open ;
20 22 15 2334 152 100 0 Open ;
21 12 15 1996 229 95 0 Open ;
22 11 12 777 229 90 0 Open ;
23 10 11 542 229 90 0 Open ;
24 8 12 1600 457 110 0 Open ;
25 8 10 249 305 105 0 Open ;
26 9 8 443 229 90 0 Open ;
27 6 8 743 381 110 0 Open ;
28 22 8 931 229 125 0 Open ;
29 22 21 2689 152 100 0 Open ;
30 4 3 326 152 100 0 Open ;
31 5 4 844 229 110 0 Open ;
32 6 3 1274 152 100 0 Open ;
33 5 6 1115 229 90 0 Open ;
34 7 6 615 381 110 0 Open ;
35 5 22 1408 152 100 0 Open ;
36 5 7 500 381 110 0 Open ;
37 6 9 300 229 90 0 Open ;
[PUMPS]
;ID Node1 Node2 Parameters
38 22 21 POWER 0 SPEED 0 ;Desc
[VALVES]
;ID Node1 Node2 Diameter Type Setting MinorLoss
[TAGS]
[DEMANDS]
;Junction Demand Pattern Category
[STATUS]
;ID Status/Setting
38 0
38 Closed
[PATTERNS]
;ID Multipliers
;
demand 0.61 0.61 0.41 0.41 0.41 0.41
demand 0.81 0.81 1.23 1.23 1.13 1.13
demand 0.92 0.92 0.92 0.92 1.03 1.03
demand 0.92 0.92 0.82 0.61 0.61 0.61
;
reservoir26 1.009879253567508 1.01170874496890 1.01536772777168 1.01719721917307 1.01664837175265 1.02085620197585
reservoir26 1.02268569337724 1.02451518477863 1.01902671057446 1.01353823637029 1.00987925356751 1.00804976216612
reservoir26 1.00439077936334 1.00073179656056 0.998902305159166 0.998902305159166 0.997072813757776 0.997072813757776
reservoir26 0.998902305159166 1.00073179656056 1.00256128796195 1.00439077936334 1.00622027076473 1.00987925356751
;
reservoir27 1.01098901098901 1.01282051282051 1.01465201465201 1.01465201465201 1.01465201465201 1.01648351648352
reservoir27 1.01648351648352 1.01648351648352 1.01282051282051 1.01098901098901 1.00732600732601 1.00366300366300
reservoir27 1.00366300366300 1.00366300366300 1.00183150183150 1 0.998168498168498 1.00183150183150
reservoir27 1.00183150183150 1.00183150183150 1.00183150183150 1.00366300366300 1.00549450549451 1.00732600732601
;
reservoir28 0.990990990990991 0.992792792792793 0.994594594594595 0.996396396396396 0.998198198198198 0.998198198198198
reservoir28 1 1 1 0.990990990990991 0.987387387387387 0.985585585585586
reservoir28 0.981981981981982 0.980180180180180 0.978378378378378 0.974774774774775 0.972972972972973 0.972972972972973
reservoir28 0.976576576576577 0.978378378378378 0.981981981981982 0.983783783783784 0.987387387387387 0.989189189189189
[CURVES]
;ID X-Value Y-Value
[CONTROLS]
[RULES]
[ENERGY]
Global Efficiency 75
Global Price 0
Demand Charge 0
[EMITTERS]
;Junction Coefficient
[QUALITY]
;Node InitQual
[SOURCES]
;Node Type Quality Pattern
[REACTIONS]
;Type Pipe/Tank Coefficient
[REACTIONS]
Order Bulk 1
Order Tank 1
Order Wall 1
Global Bulk 0
Global Wall 0
Limiting Potential 0
Roughness Correlation 0
[MIXING]
;Tank Model
[TIMES]
Duration 24:00
Hydraulic Timestep 1:00
Quality Timestep 0:05
Pattern Timestep 1:00
Pattern Start 0:00
Report Timestep 1:00
Report Start 0:00
Start ClockTime 0:00
Statistic NONE
[REPORT]
Status Full
Summary No
Page 0
[OPTIONS]
Units LPS
Headloss H-W
Specific Gravity 1
Viscosity 1
Trials 40
Accuracy 0.001
CHECKFREQ 2
MAXCHECK 10
DAMPLIMIT 0
Unbalanced Continue 10
Pattern demand
Demand Multiplier 1.0
Emitter Exponent 0.5
Quality None mg/L
Diffusivity 1
Tolerance 0.01
[COORDINATES]
;Node X-Coord Y-Coord
1 -1316.050 9001.960
2 -552.840 9001.960
3 357.140 9001.960
4 1149.710 9001.960
5 2040.120 9001.960
6 944.230 8297.460
7 1624.270 8297.460
8 63.600 7612.520
9 944.230 7612.520
10 -1032.290 7465.750
11 -1032.290 6917.810
12 -621.330 6575.340
13 -1296.480 6575.340
14 -2128.180 6262.230
15 -621.330 6330.720
16 -1276.910 5782.780
17 -670.250 5782.780
18 -44.030 5479.450
19 -63.600 5782.780
20 484.340 5782.780
21 865.950 5782.780
22 2040.120 5782.780
23 -2128.180 9001.960
24 -2128.180 7465.750
25 -2128.180 5782.780
[VERTICES]
;Link X-Coord Y-Coord
[LABELS]
;X-Coord Y-Coord Label & Anchor Node
[BACKDROP]
DIMENSIONS 0.000 0.000 10000.000 10000.000
UNITS None
FILE
OFFSET 0.00 0.00
[END]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment