Skip to content

FAVAD implementation always uses US units for “m” (EN_LEAK_EXPAN) #899

Description

@dapaez270

Not sure if this is by design or if there is a missing unit conversion in leakage.c, but to replicate the FAVAD simulation results in SI units (e.g., LPS or MLD), the value for the leak expansion rate due to pressure EN_LEAK_EXPAN, known as “m”, needs to be in [10^-6 ft].

For example, consider the test case below. Only pipe C2 has an EN_LEAK_AREA = 20 and EN_LEAK_EXPAN = 0.5. The resulting pressure heads in the upstream and downstream junctions are 45.796m and 42.992m. If the units of “m” where in [10^-6 m], the leakage flow rate EN_LINK_LEAKAGE should be 4.6048Lps:

Image

However, the current simulation gives a leakage flow rate of 3.1107Lps, which corresponds to using the previous equation but with “m” in [10^-6 ft]:

Image

Given that most literature available on the values of “m” reports it in SI units (mainly by Kobus; e.g., Greyvenstein & Van Zyl, 2007), it seems that SI projects should use [10^-6 m] as the units for EN_LEAK_EXPAN.

`[TITLE]

[JUNCTIONS]
;;ID Elev Demand Pattern
J1 0.0000
J3 0.0000
J6 0.0000

[RESERVOIRS]
;;ID Head Pattern
R1 50.0000

[PIPES]
;;ID Node1 Node2 Length Diameter Roughness MinorLoss Status
C1 R1 J1 200.0000 100.0000 100.0000 0.0000
C2 J1 J3 200.0000 100.0000 100.0000 0.0000
C3 J3 J6 200.0000 100.0000 100.0000 0.0000

[DEMANDS]
;;Junction Demand Pattern Category
J6 5.000000

[LEAKAGE]
;;Pipe Leak Area Leak Expansion
C2 20.000000 0.500000

[ENERGY]
GLOBAL EFFIC 75.0000
DEMAND CHARGE 0.0000

[TIMES]
DURATION 0:00:00
HYDRAULIC TIMESTEP 1:00:00
QUALITY TIMESTEP 0:05:00
REPORT TIMESTEP 1:00:00
REPORT START 0:00:00
PATTERN TIMESTEP 1:00:00
PATTERN START 0:00:00
RULE TIMESTEP 0:06:00
START CLOCKTIME 0:00:00
STATISTIC NONE

[OPTIONS]
UNITS LPS
PRESSURE METERS
HEADLOSS H-W
UNBALANCED CONTINUE 10
QUALITY NONE
DEMAND MULTIPLIER 1.0000
EMITTER EXPONENT 0.5000
BACKFLOW ALLOWED YES
VISCOSITY 1.000000
DIFFUSIVITY 1.000000
SPECIFIC GRAVITY 1.000000
TRIALS 40
ACCURACY 0.00100000
TOLERANCE 0.01000000
CHECKFREQ 2
MAXCHECK 10
DAMPLIMIT 0.00000000

[REPORT]
PAGESIZE 0
STATUS NO
SUMMARY NO
ENERGY NO
MESSAGES YES
NODES NONE
LINKS NONE
Elevation NO
Demand PRECISION 2
Head PRECISION 2
Pressure PRECISION 2
Quality NO
Length NO
Diameter NO
Flow PRECISION 2
Velocity PRECISION 2
Headloss PRECISION 2
Quality NO
State NO
Setting NO
Reaction NO

[TAGS]
;;Object ID Tag

[COORDINATES]
;;ID X-Coord Y-Coord
J1 -391.000000 210.500000
J3 -240.000000 212.500000
J6 -116.000000 216.500000
R1 -466.000000 146.500000

[END]
`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions