# Water Transfer time in each pipe(what's the unit of velocity and length in "getLinkVelocity" and "getLinkLength"))?

#1

Hi all

and http://wateranalytics.org/EPANET/globals_func.html

but i can’t find answer of my question, could somebody here help me?
I need to have water transfer time in each pipe in my network(d-town) I mean ,How long does it take to get water from node i to node j?

For example, in the image that I uploaded the time for water transfer from node 5 to 17 is one minute, it is 28 minute from node 6 to node 13.

is there any command in Epanet- MATLAB toolkit that i can use it ?

thanks & Best
Ken

#2

Simply calculate this for each pipe from the flow velocity and pipe length.

#3

Hi @kobusvanzyl , thanks . as what you said, I calculated the velocity and length of the each pipe . do you mean I should use this formula : time = length /velocity ?

I calculated “transfer time” by this formulation but my result was too big, for example I have the transfer time greather than 14500 for some pipe.( my network is d-town, http://emps.exeter.ac.uk/engineering/research/cws/resources/benchmarks/expansion/d-town.php unfortunately I can’t upload file because I am new in this community, that’s why I put the link)

What’s the unit of this transfer time ?

Do you know which sysmtem of measurment this toolkit used? I mean lengths of pipes in meters ? Or what’s the velocity unit? Is it m/s?

#4

I think the unit of time is second.

#5

Hi, @karwan_eng. thanks,
How can I make sure the time is in seconds?
It’s very important for me to know the time unit
Is there a way to understand?

#6

@kenkavaza, you can check the function `d.getFlowUnits` and check here: https://github.com/OpenWaterAnalytics/EPANET/wiki/Units-of-Measurement
or `d.getBinUnits.BinLinkVelocityUnits` . Also for newest version of EMTv2.2(not released) we include the function d.getUnits

e.g. LPS – > meters/sec

#7

You can check the unities in Epanet in this path (Data, option , Hydraulic)