Pipe Network Simulation Analysis Computer Program
Pipe Network Simulation Analysis Computer Program
DigitalCommons@USU
Reports Utah Water Research Laboratory
1-1-1990
Recommended Citation
Jeppson, Roland W., "Pipe Network Simulation Analysis Computer Program - NETWK" (1990). Reports. Paper 298.
http://digitalcommons.usu.edu/water_rep/298
This Report is brought to you for free and open access by the Utah Water
Research Laboratory at DigitalCommons@USU. It has been accepted for
inclusion in Reports by an authorized administrator of
DigitalCommons@USU. For more information, please contact
[email protected].
USERS MANUAL
PIPE NETWORK
SIMULATION ANALYSIS
COMPUTER PROGRAM - NETWK
By
Roland W. Jeppson,
Professor
. -~
~ March 1990
'j;
USERS MANUAL FOR PIPE NETWORK SIMULATION
ANALYSIS COMPUTER PROGRAM USU-NETWRK
by
Roland W. Jeppson
March 1990
Price $25
-i-
=
-ii-
USU-NElWK ON IBM-PC COMPUTERS
= The next couple of pages are applicable compressed form on them. In order to get these
if you have obtained a version of USU-NETWK programs off the diskette and in executable form
for use on a PC. Read them carefully before it is necessary that you properly install and
installing USU-NETWK. decompress them by completing the following
The diskette that you have received steps (These steps assume your PC is operating
contains the executible element of the network under DOS and that the DOS commands are
analysis and design program that has been accessible):
developed at Utah State University. It also
contains the executible element of a pre-processor 1. Place the distribution diskette labelled
program PIPEINPT to assist in preparing input USU-NETWK in one of your diskette drives. (If
data files, and a post-processor program PLTNET the distribution diskette is a 5 1/4 inch, high
that will display the network and its solution on density, diskette then this must be a 1.2 meg
the PC monitor provided that the PC contains a drive.) Make sure that the default drive is where
graphics card. (All IBM compatibles will not you want the program to go, i.e. when installing
allow the graphics even if they have a graphics USU-NETWK on a hard disk, the default drive
card.) The diskette also contains a couple of should be C:, D: etc.
example data files for small networks These few
pages are intended to get you started and provide 2. Type A:INST_NET (or B:INST_NET
instructions to get the program up on your Pc. if the diskette is in drive B:)
To effectively use the program you will [Note: _ is the underscore not the minus
need to read this manual This manual is written sign -, and is typed by pressing
to also serve the needs of users of USU-NETWK this key while simultaneously holding
on large computers. Most of the input described down the Shift key]
in the manual applies to this PC version of the
program. The manual indicates which options and 3. Respond to the prompts. You will be
commands are acceptable only to the larger ask to provide your license number. This number
program. will be in the license agreement with the
Unless you have indicated otherwise, the distribution diskette. You will be ask give the
program you have received requires that the PC drive that the distribution diskette is in. Type
contain co-math processor such as an 8087 and either 1 or 2 as appropriate. You will be ask to
will require a PC that has 512 kbytes of RAM. If give a subdirectory that the files will be stored on.
the PC you plan to use USU-NETWK on does A good choice for a subdirectory is NETWK.
not have a co-math processor, you should request To use USU-NETWK thereafter you
that a diskette be sent that does not require it. should first make the subdirectory into which the
Also if you wish to use USU-NETWK on a PC programs are installed your default directory by
that has only 256 kbytes of memory you should typing CD\NETWK (or whatever the
indicate this. The program for a PC with only 256 subdirectory name is). This subdirectory should
kbytcs will accommodate a pipe network with 300 then be used for input and output files as well.
pipes.
Ignore any message such as "File not
found" that you get during the installation of
Installing program on your PC USU-NETWK. If you get the message that
directory NETWK (or the name you gave) cannot
The following instructions assume that be created, it simply means that this directory
your PC has a hard disk. If it does not then you already exists, and the installation will overwrite
will need to use one diskette for the program and any files with the same name in this directory.
another for the input and output data files (see
the next section). It is important that you follow Should you have ordered the PC version
these instructions carefully. of USU-NETWK that also has the capability to do
time-dependent problems, and have requested that
The diskette(s) that contains the USU- you also receive the steady state version of USU-
NETWK package will have the programs in NETWK, then this steady state version will be
under a directory \STEADY\ if the distribution directly from the diskelle by placing this diskette
diskette is a 1.2 mega 5 1/4 inch (high density) in a floppy drive, make this the default drive, and
diskette, or on a 1.4 mega 3 1/2 inche diskette. type TUTOR. Should TUTOR be on the same
You can determine whether this subdirectory exist distribution diskette with the other USU-NETWK
by giving the command DIR A: (or DIR B: if programs, then it is necessary to put TUTOR on
the distribution diskette is in drive B:). The your hard disk or another floppy diskette. If you
steady-state version of USU-NETWK will be wish to install TUTOR on your hard disk, then
under the name NETWKS.EXE. The added S place the distribution diskette that contains
stands for steady state, and to execute it rather TUTOR in a floppy drive compatible with the
than the simulation version type its name. You diskette. If a subdirectory TUTOR exists on this
can install the steady state version of USU- diskette, then make this the default directory of
NETWK in the same subdirectory on a hard disk the floppy by typing A: (or B: if the distribution
as the simulation version, or a different diskette is in drive B) followed by CD\TUTOR.
subdirectory. In either case you need to complete Next make the hard disk the default drive again by
the following steps to also install the steady-state typing C: (or the drive you want TUTOR installed
version of USU-NETWK. on). With the hard disk your default drive type
1. Make the subdirectory STEADY on A:INSTALL ( or B:INSTALL). (Note the name
the floppy drive where the distribution diskette is is now INSTALL and not INST_NET as above.)
the default drive by typing: A: (or B:) then type
CD\STEADY.
2. Make the hard disk the default drive EXECUTING USU-NETWK
again by typing C: (or D: if you which this
installed on drive D:, etc.) To execute the program after it is
3. Type A:INST_NET (or B:INST_NET installed give the command, NETWK. When the
if the distribution diskette is in drive B) program asks: WHAT FILE CONTAINS INPUT
4. Respond to the prompts as above DATA? give the name of the file that you have
selecting 5 (to install everything). Generally only prepared with an editor or the pre-processor
the element NETWKS.EXE will be installed. program PIPEINPT, to define the network
However, another version of PLTNET.COM might problem you want solved. If you respond with
also be installed. This latter version of PLTNET TTY or REMOTE then USU-NETWK expects to
with the extension .COM utilizes only CGA receive input data for the problem directly from
graphics capabilities, whereas PLTNET.EXE the keyboard. Such use is practical only for very
utilizes EGA, or VGA graphics capabilities. small networks. When the program asks: WHAT
Should PLTNET.COM be installed on the same FILE NAME SHOULD CONTAIN OUTPUT?
directory as PLTNET.EXE, and the PC has EGA give the file to which the output is to be written.
or VGA graphics, you should either delete You can display this output file on your monitor
PLTNET.COM or rename PLTNET.COM to afterward with the command TYPE followed by
PLTNETC.COM or some other name or else it the same name. If you want the output to be
will be executed when you give the command displayed to the monitor directly given TTY or
PLTNET, rather than PLTNET.EXE. On the REMOTE for this file name. The length of the
other hand if the PC only has CGA graphics, then file names that USU-NETWK accepts is 12
delete PLTNET.EXE. characters or less including the extension and
drive deSignation if it precedes the name.
NOTE: If you use a word processor such
INSTALLATION OF TUTOR FOR USU- as WordPerfect or WordStar, it is necessary that
NETWK the file be written to disk as an ASCII (or TEXT
files) for NETWK to read them. For example
With the distribution of USU-NETWK with WordPerfect, you will need to use the test
you will likely have also received a TUTOR IN/OUT key when writing the data to disk.
program to help you get started. This TUTOR
may eome on a separate diskette, or be in a
subdirectory TUTOR on the distribution diskette EXAMPLE PROBLEMS
if this distribution diskette is 3 1/2 inch in size or
is a high density 5 1/4 diskette. If the TUTOR is Several small example pipe network
on a separate diskette then you can use TUTOR problems will be included with the distribution of
iv-
USU-NETWK. These are in the compressed file of NETWK terminate the first lines of the general
INPUT. ZIP, and will be decompressed during the graphics file with /,s rather than 999 either replace
above "install" procedure if you select to have this the / with a 999 or attempting to read the graphics
done when prompted i.e. by selection menu item file with PROFILM. On the other hand when
5 (to have everything installed). The example using OFPLOT either replace the 999's with a lor
problem on the file EXAMPLT.DAT is designed place a I in front of the 999's with an editor.
to write files that allow you to use the graphics The program PROFILM will ask:
post processors PLTNET, PROFILM, OFPLOT, SELECT THE NO. FOR TYPE OF PLOT YOU
etc. The x and y coordinates of the nodes are DESIRE.
given in this file, which is necessary to do any For the first plot select 2 (for "Pressure bars at
graphics. Also to display networks on the monitor nodes of network"). Thereafter you will be ask to
of your PC it must contain a graphics adaptor. A GIVE FOLLOWING: 1 - type of bar, 2 - scale
good way to get started in using PLTNET is to factor, 3 - width and 4 - units. The numbers listed
use the example network, EXAMPLT. The file after these items are values that PROFILM
that PLTNET utilizes is written by NETWK if the suggests. For your first display type in these
option NETPLT=1 is in the $SPECIF list of values, i.e. type in 2 .3 10 0 After the plot is
options. The more general purpose graphics file, displayed take a carefully look at the pipe
that PROFILM and OFPLOT use, is written by . numbers and the network's layout. To reactivate
NETWK if the option NETPLT=3. PROFILM from just displaying the plot press the
It is suggested that you complete the enter key.
following exercises using the example problem Have PROFILM make a second display,
EXAMPLT.DAT: but this time when ask: SELECT THE NO. FOR
1. Execute USU-NETWK by typing TYPE OF PLOT YOU DESIRE give 1 for "Head
NETWK, and when ask for the input file give the profiles over selected sequences of pipes. Place
name EXAMPLT.DAT, and give TrY for the three such profile on the display by giving 3 when
output file, so that the solution will be displayed ask, and then give the follow three sequences of
on the screen. Upon completion of the solution pipe numbers:
USU-NETWK will have written a file 65421/
PLTNET.DAT for PLTNET to use. 6 5 10 11 16 27 28 31/
2. Execute the graphics program 3029 17 27/
PLTNET by typing PLTNET. When ask if you Next have PROFILM make a contour plot
wish to change options type an N for no the first by responding with 3 ("Contour map of heads or
time, also when ask WHAT DO YOU WANT ON pressures") for the TYPE OF PLOT YOU
PLOT? you can select "All setting OK" by typing DESIRE. You will be ask to give 5 values for the
10. You will see this network displayed on your following 5 items: (1) No. of Contours, (2)
PC's monitor. Press the return to activate Value of smallest contour, (3) Contour interval,
PLTNET again. Reading the instructions related (4) Frequency of heavy line, & (5) maintain x and
to the use of PLTNET will inform you about what y scales or fill screen. Appropriate values might
this processor can do. be:
3. Use an editor to change the option 32400540
NETPLT in the file EXAMPLT.DAT to The values give by PROFILM, associated with the
NETPLT=3, save this altered file, and execute request, help you decide what to give for these 5
NETWK again. Setting option NETPLT=3 cause items.
the general purpose graphics file to be written by With this preliminary introduction with
USU-NETWK. If you are ask during this PLTNET and PROFILM you might wish to play
execution to give the file name for the graphics with the options, changing colors, character styles
data type PLOTlO.DAT. and sizes until you get what is most pleasing to
4. Execute the graphics program you.
PROFILM by typing PROFILM. This program is
written in PASCAL and it requires strings of three
nines to terminate reading of the first lines of PC's with two floppy diskette drives but
input from the graphics file PLOTlO.DAT. no hard disk
Programs, such as OFPLOT, written in
FORTRAN require that a / terminate reading If your PC does not have a hard disk,
these lines rather than 999. Should your version
-v-
then it will be necessary to keep your input and Give the command: NETWK and then enter the
output data files on another diskette, and run data as shown below.
NETWK from the program diskette in the other
drive. The following description assumes that the
program diskette will be in drive A: and the data WHAT FILE CONTAINS INPUT DATA?
diskette in drive B:. To install the program
initially do the following: TTY
1. After turning the PC on place the
DOS diskette in drive A and wait for it to boot. WHAT FILE NAME SHOULD CONTAIN
2. Place an unused diskette in drive B, OUTPUT?
and give the command FORMAT B: and follow
the instructions. TTY
3. Copy the EDLIN editor on the
diskette in drive B with the command COPY THREE RESERVOIR PROBLEM
EDLIN. COM B: (if you want to use another 1*
editor, or word processor delete this step.)
4. Give the command B: to make B your TITLE GIVEN TO NETWRK
default drive. THREE RESERVOIR PROBLEM
5. Replace the system diskette with the ALL DEMAND FLOWS ARE MULTIPLIED
diskette included herein and give the command BY 1.000
A:INSTALL. When asked for a file where the
output to the example problem should go give $SPECIF NPRINT=-I,COEFRO=.005 $END
TTY, that indicates the ouput will go to the PIPES
monitor directly. (If you give another name then 10 11500 8
that filename will be established, and you can see 20110006
the solution output, thereafter, by either giving the 3 10 1200
command TYPE filename, or TYPE NODES
TYPEFILENAME>PRN: to have it printed. 10350
Every time you want to use a new data RESER
diskette for input and output data for network 1500
problems it is necessary to follow this same 2450
procedure. Subsequently you will want to issue 3300
the command DEL *.DAT to delete the data files RUN
for the example networks, however.
Output from NETWK
Examples: PIPES 3
NODES 1
In the following example USU-NETWK is SOURCE PUMPS 0
used to solve the classical 3 reservoir problem that BOOSTER PUMPS 0
can be found in most fluid mechanics books. RESERVOIRS 3
MINOR LOSSES 0
PRVS 0
NOZZLES 0
CHECK VALVE 0
BACK PRES. V. 0
t-::~-; 300' DIE HEAD DEV. 0
all roushneslil coef. '" 0.006" RESERVOIR(NOZZLE) PIPES AND THEIR
ELEVATIONS ARE
1 500.0 2 450.00 -3 300.00
FLOW FROM PUMPS AND RESERVOIRS
EQUALS .000
-vi-
ITERATION 3 SUM .172E+OO
ITERATION 4 SUM .166E-Ol
ITERATION 5 SUM .157E-03
UNITS OF SOLUTION ARE
DIAMETERS - INCH
LENGTH - FEET
ELEVATIONS - FEET
PRESSURES (PSI)
FLOWRATES -(CFS)
6 5 2 1500
~m
I" 7 5 3 15006
.& IU
II .. 86510008
RESER
6 4840
7 2 242 4 220 6 194 8 160 10 120 12 75 4650/
RUN IA control C is given
,to exit input mode, and E
Iis given to exit.
-vii-
TUTOR FOR USU-NETWK
A tutor is available to assist you in getting distinguished. If your PC does not have a graphics
acquainted with the operation and input data card, or has a graphics card that is not compatible
requirements for USU-NETWK. This tutor is not with what TUTOR requires, you can still benefit
intended to replace this manual, but for an by use of this tutor.
individual who would rather sit at a PC terminal In making copies of this tutor diskette it is
than read a manual, the tutor will be helpful in necessary that the DOS DISKCOPY command be
getting started. If you have received the tutor in used rather than the DOS COpy command. The
the distribution of USU-NETWK and wish to use files on this diskette that have the extension .DAT
it, then you should read the rest of this page of the are input files for 8 small problems that are
manual. covered by TUTOR. You might want to print
To use the USU-NETWK tutor you should these input data files, and have the output that
do the following: USU-NETWK produces from them go to a file
1. Place the TUTOR diskette in a floppy disk with the same name but with the extension .OUT.
drive, i.e. drive A: If you print these output files, you can see if your
2. If this is not your default drive, make this program of USU-NETWK produces the same
drive the default drive by typing A: solutions as given by the TUTOR. The two
3. Type the command TUTOR to run the solutions should be identical.
program.
Most of the instructions given by TUTOR
are in text form. Sketch of small networks are
provided for which input data is subsequently
prepared. The PC that you are using must have an
IBM graphics card, and be fully IBM compatible
for these displays to work properly. If your PC has
a color monitor, numbers that denote pipes, and
nodes on these sketches will be in different colors
so that these values can be easily
(0.1500)
Pump Curve
Q (gpm) hp (ft)
1200 80
1800 73
3500 55
(1800.700)
-viii-
PREFACE
This manual describes the data that a HGL elevations through selected sequences of
versatile computer program USU-NETWK pipes, (b) display the pressure, pressure head, or
requires to complete a time dependent solution of HGL elevation as bars at the nodes of the
llowrates and pressures throughout a pipe network, or (c) draw a contour type map of the
neLwork. This program can be used for steady- pressure, pressure head, or HGL elevation.
state analysis and design, as well as simulation 4. A program OFPLOT that is contains the same
solutions through some period of time. In fact, calcomp graphics plotting capability in the full
unless specified otherwise, a steady-state solution program but is intended for off line use. 5. A
is assumed. program PRINT that is capable of efficiently
supplying requested specific information from a
A smaller version of the program is not direct access file written by the simulation version
capable of the time-dependent solution, but is of USU-NETWK, related to the solution at any
capable of doing most of the types of steady-state time. This last auxiliary program is described at
analyses described in this manual. If you have the in Appendix E of this manual. 6. A program
version of USU-NETWK for use on 16 bit IBM PLTTIM that will display variables from the
compatible PC's it may only do steady-state solution plotted against time, from time-dependent
analyses. soltuions.
You, as a user, may have acquired this Programs PIPEINPT and PLTNET are
smaller version of the program, because you described near the first of the manual after a
believe Lhis capability would meet your needs, your preview of the input to USU-NETWK is provided.
computer limitations, or for other reasons. This A TUTOR program is also available with PC's to
manual is still applicable for your program. All help users get acquainted with USU-NETWK and
basic information which describes the physical some of the flexibility it allows in input. Also a
features of the pipe network are identical for the documentation program for larger computers is
simulation and the steady-slate versions of USU- available that can be used in place of this manual
NETWK. The difference is that the simulation for help in using USU-NETWK. Help in using
version accepts additional data describing the time this TUTOR are given in a preliminary page of
dependent operation and characteristcs of the this manual.
network. In reading the manual you will be able
to identify those data items which are "additional The full version of USU-NETWK has the
time dependent data." Therefore, if your version ability to drive a calcomp plotter to produce a
handles only steady-state solutions this manual is graph of the network and its solution for inclusion
applicable to your program, if you ignore those in repons. If your installation subscribes to the
parts of the manual devoted to input data for DISSPLA graphiCS routines, then USU-NETWK
simulations. Also a few seldom used options are is also capable of producing a three-dimensional
not implemented for the steady-state version of perspective drawing of the network and its
the program. These are denoted by #. solution, as well as generating contour type maps
of pressure or HGL elevation lines. These can be
In addition to a description of data sent to a variety of graphics devices. Other
requirements for USU-NETWK, a pipe network auxiliary graphics programs are also available.
analysis and design program, this manual contains
descriptions of the use of auxiliary program that The complete program allows several
can be used in connection with USU-NETWK. forms for the input data. The standard form is
These programs consist of: 1. A preprocessor, discussed in the body of this user's manual with
PJPEINPT that assists in the preparation of other allowable forms described in Appendixes A
steady-state input data, 2. A post processor, and B. If you decide on a given form of input and
PLTNET that displays the network and selected wish to use it exclusively, the size of the program
solutions items to the monitor of a PC, and can be reduced. For example, if only the standard
3. A post processor program PROFILM that (a) form of input is desired, then subroutine AINPUT
will display profiles of pressure, pressure head, or and the references to it and its entry points may
-ix-
be removed. A reduced version of the simulation also perform time-dependent analysis is
program does not contain subroutine AINPUT dimensioned for 600 pipes, etc. A version for a
and other subroutines. If the command PIPE- PC that is dimensioned for 500 pipes, and 430
nodes is not to be utilized then the subroutine nodes will run slight faster than the version that
PNREAD may be removed. The size of the allows up to 1000 pipes. Since most all networks
program can be further reduced by descretion. can be skelonized to 500 pipes or less this smaller
For example three different solution algorithms program is often the one. distributed.
exist in the original program. The elimination of
the subroutine SOLSYM removes the solution In this user's manual there is no attempt
algorithms which establishes a symmetric positive to describe the methods used in USU-NETWK. to
definite Jacobian matrix for the Newton Method provide solutions to either analysis or design
of solution, which is ordinarily called upon if no problems. Rather this user's manual is devoted
pressure reduction valves, back pressure valves, or exclusive to describing the input data, and the use
other devices exist that destroy symmetry in this of USU-NETWK. in solving various types of
matrix. Solution subroutines SOLNYM and network problems.
BAND handle any problem. Also subroutines
SPARSE, SPARSA, SPARSB and EQUATS,
which utilize special sparse matrix solution
methods, handle any problem. Therefore, a
solution to any network could still be obtained
with SOLSYM removed; and/or with the sparse
matrix methods or SOLNYM and BAND
removed. The PC steady-state version of USU-
NETWK contains only the sparse matrix
subroutines, as does a smaller version of the
simulation program.
-x-
TABLE OF CONTENTS
USU-NETWK ON IBM-PC COMPUTERS iii
TUTOR viii
PREFACE x
-xi-
-xii-
PREVIEW
The program USU-NETWK is designed to PIPES
make the input as simple as possible, while Pipe no., Upstream node no., Downstream node
simultaneously allowing the user considerable no., Length, Dia., Coef.
flexibility in describing a network problem for a
computer solution. At the first rapid reading of
this manual, the new user may get the impression NODES
that a lot must be understood before preparing Node no., demand, elev.
the input data for USU-NETWK. To dispel this PUMPS
possible false impression this preview section is Pipe No., Qz' Hl , Q2' H 2, Q3' HH3' Sump elev.
given at the beginning of the manual. You should
read this section if you are a new user, and BOOST
prepare data for some simple networks such as Pipe No., Ql' H l , Q2' H 2, Q3' H3
those illustrated below, before reading the
remainder of the manual. That is you should get RESER
solutions to some problems before you concern Pipe No., Elev. of water surface in reservoir
yourself with all the possibilities that are allowed,
and are described in the rest of this manual. The network on the following page gives
From experiences in teaching undergraduate Fluid an example of how this is actually done. If the
Mechanics classes in the Col1ege of Engineering at data given below under "Input Data" were stored
USU, the writer has found that a 15-30 minute on a computer disk file, USU-NETWK executed,
lecture on the use of USU-NETWK, accompanied and this file name given for the input file when
by a two page handout similar to this preview prompted for it, then the output given under
equips students with sufficient understanding to "SOLUTION" would shows the output produced
use the program in solving assigned steady state by USU-NETWK for this network.
analysis and design problems. The input data
needed to define a network analysis problem is Input data
described below. and illustrated by a small example THIS IS A SIMPLE EXAMPLE
that follows. 1*
PIPES
MINIMUM INPUT DATA 1 0 1 500 8 .0102
REQUIREMENTS 2128006/
3421200/
Line No.1 - Provides the title for the 5 1 3/
network. This title is followed by a 1* in columns 4231000/
I and 2 in a new line after the title is complete. 6438008/
704500/
SUbsequent Lines The remaining lines of NODES
input contain command names followed by data of 1050
the type dictated by that name. Command names 2 1/
are words such as PIPES, NODES, PUMPS, 3 1.5/
BOOSTer, RESERvoirs, starting in column 1 and 40/
spelled to 5 upper case characters correctly. Each PUMPS
command is followed by lines of data which 7 1 55 1.2 54 1.4 5 50
provide information of the type denoted by the RESER
command. These data are free format, i.e. 1100
separated by one or more blanks, or a comma, and RUN
may be terminated with a / if the data given
previously for this item is to be used. The word
RUN or END denotes end of input data. The When USU-NETWK is executed it will
items contained in lines of input after the ask you what the name of the input data file is.
command names are as given below. You then give the name of the disk file that
contains the input data for the network. If you
-xiii-
-~. give TTY or REMOTE in response to this
prompt, then USU-NETWK expects you to enter
the data line after line directly from the keyboard.
Next you will be ask (prompted) to supply a name
for the output file. A file with the name you give
will be opened and the solution written to it for
later printing or examination by you with an
editor. If in response to this second prompt you
give TTY or REMOTE, then the solution output
will come directly to your terminal, or monitor if
you are working on a Pc. Example Simple Network
SOLUTION
100'
TITLE GIVEN TO NETWORK
THIS IS A SIMPLE EXAMPLE
ALL DEMAND FLOWS ARE MULTIPLIED BY 1. 0000 (1)
PIPES 7
NODES 4 8-500 [1]
SOURCE PUMPS 1
BOOSTER PUMPS 0
RESERVOIRS 1
MINOR LOSSES 0
PRVS 0
NOZZLES 0
CHECK VALVE 0
BACK PRES. v. 0 (7)
DIF. HEAD DEV 0
SPECIFIED PRES 0
PIPE 2ND ORDER COEF LINEAR COEF SHUT-OFF HEAD SUMP ELEV
7 -600.000 1315.000 -660.00 50.00 1.5
RES.(NOZZLE) PIPES & THEIR ELEV. ARE
1 100.0 50' -=:-1-::!!--t
JUNCTION EXT. FLOW PIPES AT JUNCTION
1 1 .000 -1 2 5
2 2 1.000 -2 -3 4
3 3 1.500 -5 -4 -6
4 4 .000 3 6 -7
FLOW FROM PUMPS AND RESERVOIRS EQUALS 2.500
ITERATION= 1 SUM= . 538E+00
ITERATION= 2 SUM= .547E-01
ITERATION= 3 SUM: .499E-02
PUMPS:
PIPE HEAD FLOW HORSEPOWER KILOWATTS KWATT-HRS/DAY
7 45.62 1.25 6.49 4.84 116.14
UNITS OF SOLUTION ARE
DIAMETERS - inch
LENGTH - feet
HEADS - feet
ELEVATIONS - feet
PRESSURES - (psi)
FLOWRATES - (cfs)
DARCY-WEISBACH FORMULA USED FOR COMPUTING HEAD LOSS
PIPE DATA
PIPE NODES HEAD HLOSS
NO. FROM TO LENGTH DIAM COEF FLOW RATE VELOCITY LOSS /1000
------------------------------------------------------------------------------
1 0 1 500. 8.0 .010200 1. 25 3.57 3.28 6.55
2 1 2 800. 6.0 .010200 .69 3.50 7.24 9.05
3 4 2 1200. 6.0 .010200 .34 1. 74 2.82 2.35
4 2 3 1000. 6.0 .010200 .03 .15 .03 .03
5 1 3 1200. 6.0 .010200 .56 2.85 7.27 6.05
6 4 3 800. 8.0 .010200 .91 2.61 2.85 3.56
7 0 4 500. 8.0 .010200 1.25 3.59 3.31 6.62
NODE DATA:
NODE DEMAND HGL
NO. (cfs) (gpm) ELEV HEAD PRESSURE ELEV
----------------------------------------------------------------
1 .000 . 00 50 . 46.72 20.25 96.72
2 1. 000 448.83 50. 39.48 17.11 89.48
3 1. 500 673.24 50. 39.46 17.10 89.46
4 .000 . 00 50 . 42.31 18.33 92.31
-xiv-
ANOTHER POSSIBILITY 40502091 625
50500500
An alternative to providing pipe lengths is 6 0 50 2591 625
to give the x and y coordinates at the nodes of the PUMPS
network. These coordinates are necessary if a 6 1 55 1.2 54 1.4 5 50
plot of the network and its solution is requested. RESER
To inform USU-NE1WK that pipe lengthS will 5100
not be given, but rather these should be computed RUN
from x and y coordinates, the option LENGON =0 '
must be added to a list of options between In addition to the differences discussed
$SPECJF and $END i.e. a line such as, above, please note the following differences occur
$SPECIF LENGON=O $END in this input data and that used earlier because
is added after the /*. With the option NODESP=1 is given in the options list: 1. there
LENGON =0 included in the list of options, are 6 lines of data after the NODES command
lengthS are not given as the 4th item after the instead of 4; two extra lines for the two source
PIPES command, but rather x and y coordinates nodes, 2. the demands at these source nodes are
are given as items 4 and 5 after the NODES 0, e.g. the amounts of flow supplied by the sources
command. In order to give the locations, e.g. the are not demands, but will be flowrates determined
coordinates, of the sources of supply (the reservoir as part of the solution, 3. source PUMPS and
and the source pump) it will also be necessary to RESERvoirs are identified by their node numbers
number sources of supply as nodes. The now rather than the pipes that connects them to
reservoir that supplies the previous "simple the network, and 4. pipes 1 and 7 now list the
nctwork" will be numbered as node 5, and the source nodes 5 and 6 respectively, as their
source pump will be given the node number 6. If upstream nodes rather than O. In the previous
thc x and y coordinates are as given in the small "input data" O's for node numbers denoted "non-
table below (these existent" nodes, but are needed for if there were
omitted then the pipe lengths would be taken as
Node x-cord. y-cord. the downstream node numbers.
I 500 500 Why don't you write down the input data
2 1000 1125 that would be correct if the option LENGON =0
3 1591 o were not included in the $SPECIF list, but
4 2091 625 NODESP= 1 remains in the list.
5 o 500 lengthS for pipes, that will be used in the
6 2591 625 solution for computing head losses, etc. can be
given under the PIPES command and x and y
coordinates don't give the same length to all pipes coordinates, that will be used for plotting of the
as used previously), then an alternative "Input network, can also be given under the NODES
Data File" would contain the following: command by leaving LENGON =0 out of the
options list but adding NETPLT= 1 to this list
that indicates that a plot of the network is to be
THIS IS A SIMPLE EXAMPLE created.
1* Example Simple Network
$SPECIF NODESP= I,LENGON =0 $END
PIPES
I 5 1 8.0102 t--=-'=--i 100'
2 126/
342/
5 I 3/ (1)
423/
6438/ 8
764/
NODES
1050500 500
2 1 50 1000 1125
3 1.5 50 1591 0 (7)
1.5 (1591,0)
-xv-
-xvi-
J
1"0-
2. What flowrate occurs between the reservoirs?
~
, 15 c"' _ 3000 m
e = .02 em
57
40 m
What diameters are~needed -14r-"- "Clt.: all nodes?
150 1 l~'L< I
<
..... 3. What flowrate in each pipe? (2)
cfs
,
.....
380'
(3)
, 0 4 cfs
e .004" 1900 ~1 (5) "\
all pipes elev 350' 151 1800 i '6l
10. Pressures were measureo'for the plpe flew below as shown on the sketch.
Determine both"the appropriate Darcy-Weisbach equivalent sand roughness coef-
4. Assume the head produced by the pumps are known and equal to I:1.p(l) =50 ficient, and the Hazen Williams coefficient for the two pipe.
and Hp(2)=40 ft_ What is the flowrate in each pipe? 1. 5 ds
100' 2S00' 28'
1. cfs
3" - 1000' 1--90' 2.
p ~ 36.4 psi
8" - 1500' 0'
t 522 psi
40 psi
p
l
5. The heads of the pumps are Hp(1)=50 ft, Hp(2):40 ft, Hp(3)=35 ft, and
Hp(4)~60 ft_ Find the flow in each pipe_
-xviii-
Problem from Fluid Mechanics Text
Below is a pipeline problem taken from a Fluid Mechanics Text Book. Solve
the problem using USU-NETWK.
"At a section of a pipe where it divides into two pipes the pressure is
300 kPa, Z = 40 m and V = 3 m/s. One of the parallel pipes, which is 0.2 m dia
and 400 m long, contains a globe valve, two closed return bends, and a turbine
which extracts 98 Nm/kg of energy from the flow. The other pipe, which is 400
m long, contains a pump which supplies 50 Nm/kg of energy to the flow. The pipes
both exist into a reservoir of surface elevation 50 m. The pipes are commercial
steel. The temperature of the water is 15 0 C. Find the diameter of the pipe
containing the pump if the Q entering the parallel pipes is 0.0877 m3/s."
The following could be done in defining the problem for USU-NETWK: (1)
This could be interpreted as. a 3 pipe network; pipe 1 joins into the 2 parallel
pipes and its other end is attached to a reservoir with the proper surface
elevation just slightly different from the specified head of, z+p/-y+V 2 /2g =
40+300/9.8+9/19.62 = 71.07m specified at the junction of the parallel pipes in
the problem. This pipe 1 will be small in diameter and long so it will carry
a negligible amount of flow, especially since the HGL at its two ends will be
about equal. (2) The two parallel pipes of the problem will feed reservoirs each
with a water surface elevation of 50 m, as stated in the problem. (3) The
turbine will be handled as a pump with a negative head. The information given
for the pump and turbine indicate units of Nm/kg of energy. If these units are
divided by g (the acceleration of gravity), then the more conventional meters
of head are obtained. Thus the extraction of 98 Nm/kg is equivalent to 9.9898
m of head, and the input by the pump of 50 Nm/kg is equivalent to 5.0968 m of
head.
One might use the type #1 DHEAD command for these heads, or alternatively specify
pumps, as suggested above. If pumps are used then either a pump curve must be
generated, or a guess about the flow rate mad~ the power computed, and if this
guess is not very close adjust the horsepower of the pumps. Notice for the
turbine the heads associated with the flow rates will be negative, and the power
will be negative if this option is selected. (4) The minor losses can be
combined into a single minor loss coefficient equal to about 11. With this
approach the for USU-NETWK to solve this problem might be:
Fluid Mechanics problem from text book
/ft
$SPECIF DESIGN=1,NUNIT=2,NFLOW=3,NPGPM=3 $END
PIPES
1 0 1 1000 .05 .00046
2 1 0 400 .2/
3 1 0 400 0./
NODES
1 .0877 40 71.07
RESER
1 71.08
2 50
3 50
MINOR
211
BOOSTER
3 .02 5.2 .04 5.1 .06 4.9 0./
2 .02 -9.5 .05 -10 .11 -14 0./
RUN
-xix-
UNITS and CONVERSION FACTORS
OF 2
ft21s c m /s
-xx-
SUMMARY OF MOST FREQUENTLY USED OPTIONS
(These are included in the $SPECIF list. A * denotes default values)
COEFRO default roughness coef. (.oI02") NOMD1A enter new list of nominal diameters
0* use default nomial diameters
DESIGN analysis or special design sol. 1 read in list of nominal diameters
O' analysis solution
1 special design sol. NOMSOL follow special design sol. with analysis based on
3 special solution to solve for roughness nominal dia.'s (has meaning only if DESIGN""I)
coefficient O stop with special design solution
1 flow design sol. with analysis based
GAMMA specific weight of fluid 62.4 (for water) on nearest nominal diameters
-xxi-
-xxii-
SUMMARY OF COMMANDS THAT ENTER DATA
and default order of data after command
PIPES ITERA
No., upstream node, downstream node, length, dia., No. of iterations allowed for solution
coef.
UNITS
NODES designator of type of units
No., demand, elevation (pressure, x & y coord. and
check data may also follow) ERROR
convergence criteria
RESERVOIRS
designation(pipe--NODESP=O,node--NODESP=l), VISCOSITY
water surface elevation kinematic viscosity of fluid
PUMPS WEIGHT
designation, 0I' HI' 02' H2, 03' H3, elev. of water specific weight of fluid
surface
or PEAKF #
designation, power, On' elev. of water surface/ peaking factor, list (range) of nodes
J>IPE-(items below may be omitted, pipe and node number are END (no data follows)
integers; all other values must contain a decimal point) end of detailed input data
pipe, dia., length, coef., upstream node, demand, RUN (no data follows)
elev. (pressure, x-cord, y-cord), downstream node, same meaning as END, if command CHECK is
demand elev. (pressure, x-cord, y-cord) included in input END must be used
MINOR
pipe, loss coef, # implement only on simulation version of USU-NE'lWK
QGIVE #
pipe, flowrate
DFRAC
mult. of following demands
-:xx:iii-
-xxiv-
INTRODUCTION
Analysis of flow in pipe networks is 2. node oriented input. With pipe oriented input
required to determine the ability of water the network's layout is defined by the end nodes
distribution systems to supply water to residential, associated with each pipe. These end nodes define
commercial, and industrial users at acceptable the network's connectivityand topology. In this
pressures and to meet emergency demands, such as form of input it is convenient to also supply
those needed to fight fires. The digital computer pipe diameters, lengths, and wall roughness
has made analyses of larger pipe networks feasible. coefficients on the same line as the pipe number
However, a good computer program should use and its upstream and downstream nodes.
computer resources wisely, accurately simulate Elevations of nodes and the demands at the nodes
hydraulics, and minimize the effort required by a are additional data, that are needed for an analysis
user to obtain solutions. Program USU-NETWK but which are not needed to define the network's
was developed to meet these requirements. layout. In the standard form of input these
additional node data are given on separate lines.
This manual provides the basic A command PIPE-nodes, however, allows this
information needed in preparing data needed to additional data to be given after any node number,
obtain analyses and design solutions, including as does the form of input described in Appendix
simulations through time, with USU-NETWK. A In preparing the data under the pipe oriented
The manual does not describe the methods used input, category 1 above, the user goes from one
by the program to obtain these solutions. pipe to the next of the network, until he includes
Methods for obtaining such solutions can be found every pipe in the network; therefore it is pipe
in the book "Analysis of Flow in Pipe Networksu1 oriented.
which is devoted to methods for solving large flow
distribution systems, as well as the other technical In the node oriented form of input,
literature on the subject. The material herein is category 2 above, Ute layout, or lopology, of the
intended to acquaint the user with the input data network is defined by giving the pipe numbers
requirements of USu. In brief, however, the which join at each node of the network. In this
program solves the corrective flowrate system of form of input the user moves from node to node
equations using the Newton method. of the network and jots down the pipe numbers
that join at each node. In this form of input the
USU-NETWK has been developed to demand at each node, as well as the elevation of
allow the user much versatility in obtaining the node are logically given on the same line as
computer solutions to any steady-state flow that node. However, such necessary auxiliary data
problems dealing with flow in a piping system. as pipe diameters, lengths and wall roughness
The program has been designed to make it as easy coefficients are given on separate lines. This
as possible to use. The amount of data need to latter node oriented form of input is described in
describe a network is minimal, and free of any Appendix B.
format requirements, e.g. items do not need to be
in any specified columns. The more general There are a couple of reasons for
program allows alternate forms of input. The discussing the different type of input here. One,
form which is considered most basic is described to let you know why the Appendixes are included
in the main portion of this manual. In this in the manual, but more importantly to alert you
standard form of input, names such as PIPES, to the fact that an effective way of discovering
NODES, PUMPS etc. are used to enter data of a errors that you make in input is to use the other
given type. Appendices A and B describe type of data in checking your network. USU-
alternative forms of input. While there are several NETWK prints out the node oriented form of
variations of input data allowed within each data that describes the network whether you use
category, it is useful to consider the input data as the pipe or node oriented input under the default
being in: 1. the category of pipe oriented input, or level of extra output. That is the pipes numbers
are listed that join at each node. Likewise, with
1Jeppson, Roland W., 1976, Butterworth the next level of extra output, a special table is
Publishers, 80 Montvale Avenue, Stoneham, MA printed that gives the node numbers at the ends of
02180-2422. each pipe. When you prepared data on the basis
-1-
of "pipe oriented" input a most effective way of option might also be used if a large number or
checking the network that you defined is to separate analyses are anticipated that do not
examine the tables giving pipes at nodes while change the network. Then the process of defining
looking at the map of the network, and vice the loops can be eiiminated but taking the loops
versus. defined by USU-NETWK from the output file and
editing them into the input file.
By giving USU-NETWK both the node as
well as the pipe oriented input you can have the Extensive internal checking of the data for
program check that the two definitions are consistency and correctness in describing a valid
identical. Any discrepancies will be identified, and network occurs, and meaningful error messages
processing will be terminated. Often giving such are provided to assist the user in locating errors
a dual definition of a network is preferred over should a problem be detected by USU-NETWK.
checking by hand, but it does require more input USU-NETWK has an engineering
data. (See the option NETCHK for a description economic analysis package attached to the
of how to define the layout of a network twice.) hydrauliC analysis packages. Therefore, if desired,
you can request as complete a cost analysis be
The input form described in the main done as you are willing to provide cost data for.
portion of this manual uses a description name, or Having an
command name, to enter data of a given type. engineering economic analysis done as part of the
These names are associated with the type of data
they enter. Some of these names are: PIPES, computer "run" provides you information related
NODES, PUMPS, RESERvoirs, VALVES. There to costs of alternative designs or configurations.
is a list of data items under each name, but the
order of items in the list can be changed with an The general features and capabilities of
option so that often input files that were USU-NETWK, are described in the next section.
developed for other network solvers, can be read This description should assist you in understanding
with minor changes by USU-NETWK. In the the types of networks that can be analyzed, and
alternative forms of input described in Appendix the relatively large number of options that are
A and B, no such command is used. Rather the available. This description will help you decide
different data must be ordered in accordance with what components of your distribution system to
the prescribed sequence. include in the analysis, but you may wish to read
it later, after you have had some experience in
Some users wish to identify pipes and/or using USU-NETWK. You may skip to the
nodes by Characters, and not just numbers. If following section, "Description of Input Data."
desired strings of any 8 characters, including
numbers and blanks, may be used to identify pipes
and/or nodes. When using this option, however,
the free format input is lost for this portion of the
data because field widths of 8 characters must be
used for these identifies. (See the option
OUTPUl for a description of how this is done.)
-2-
VERSATILITY OF COMPUTER PROGRAM
Features of the program are: amount of additional computer time for a network
analysis its use is recommended.
1. A solution will be provided for any
system of connected pipes with (or without) 4. Loops in the network are determined
supply or source pumps, booster pumps, supply internally. If PRY's are present and a path of
reservoirs or tanks, minor loss devices, pressure connected pipes does not exist between
regulators (or pressure reducing valves, PRV), consecutively listed reservoirs and/or source
check valves and orifices at ends of pipes. The pumps, this is noted, and all alternative reservoirs,
network generally will contain loops, but may and source pumps are examined to find a path. If
consist only of pipes supplied by reservoirs and/or no path is available, it is noted that the PRY's
source pump but without any natural loops, or isolated the network into two or more pressure
may consist only of pipes (with or without loops) zones as the solution continues. If desired, the
with all inflows and outflows known. Branching end points for such pseudo loops between
networks without real or pseudo loops will also be reservoirs and/or source pumps can be specified.
accommodated. Special input allows p consist of This option permits the user to assist the program
of pipes in some branched system to be described in minimizing the amount of computations by
by just a few kilines and the solution for such will assisting the program in producing a narrower
size all pipes to give the specified sof the banded Jacobian matrix. An option can be turned
hydraulic grade line. on the informs USU-NETWK that the pairs of
sources of supply selected between which to form
2. Either English (ES) or International pseudo loops should be optimized to result in the
(SI) units may be used. If ES units are used, pipe least number of terms in these energy equations.
diameters may be given in inches or feet, pipe
lengths in feet of 1,000 feet, and demands (or 5. Reservoirs (or tanks) and source
consumptions) may be in cubic feet per second pumps may supply the network, and booster
(cfs), fallons per minute (gpm) or million gallons pumps may exist in any pipeline. Operating
per day (mgd). If SI units are used, pipe characteristics of pumps may be defined by (a)
diameters may be given in meters or centimeters, supplying three pair (or up to 10 pairs if selected
and lengths in meters or 1,000 meters and by an option) of flow rate versus head produced.
demands (or consumptions) in cubic meters per These values are taken from a pump's
second, or liters per second. In addition to the characteristic curve, (b) by giving the power
above volumetric flowrates, mass or weight (horsepower if ES units or kilowatts if SI units)
flowrates may be used. When using ES units that the pump supplies the flow and its normal
weight flowrates are in Ib/sec and mass flowrates capacity (flow rates may be cfs, gpm or mgd if ES
in slugs/second. When using SI units weight units are used, and m3 /s or liters per second if SI
flowrates are in newtons/second and mass units are used), or (c) by providing the coefficients
flowrates in kg/second. for a 2nd degree polynomial that becomes the
mathematical description of how much head the
3. Frictional head losses may be based pump produces as a function of the flow passing
on the Darcy-Weisbach formula, the Hazen- through it. Any number of pumps may operate in
Williams formula or the Mannings formula. The series or parallel at a given station. If not
program will determine internally whether the specified, one is assumed. The pump
Darcy-Weisbach or Hazen-Williams formula is to characteristics can be given for different rotational
be used by the magnitude of the first roughness speeds than the pumps are operating at, and the
coefficient. When the Darcy-Weisbach formula is rotational speeds of pumps can be changed during
used, no approximations are used. Rather, the time-dependent solutions, or series of solutions for
proper equation is determined and the friction the same basis network with components changed.
factor computed exactly dependent upon both the
Reynolds number and the relative roughness e/O. 6. Input data are free format, i.e., can be
Since the Darcy-Weisbach equation is more punched in any columns with a blank or a comma
fundamentally sound from a hydraulic viewpoint as the delimiter between individual data items.
and its use results in zero (or insignificant) The exception to this rule is that commas separate
-3-
option items in the $SPECIF and $1DATA lists. 10. The printed output is self-explanatory,
Any time the last items are identical to those and the amount of intermediate output is easily
given previously these need not be included in the controlled. 1\vo alternatives are available for the
line of data. The line is terminated by a /. final solution results (not available when doing
Termination of some lists, which may otherwise be time dependent simulations). One such
very long is with a /. When using the PIPE- alternative produces two tables: one with an entry
NODES command items are arbitrarily omitted for each pipe and one with an entry for each
within the record but not terminated with a /. node. (These tables are limited to 80 columns for
Generally pipe lengths are given. However, in teletype output. The other alternate gives the
place of giving lengths, the x- and y-coordinates at node data as part of the entry for each pipe.
nodes may be used to define the physical layout of (This output uses 131 columns.) If checking of
the network. problem specifications is desired before
completing a solution, this can be accomplished by
7. Pressure reducing valves and/or back examining the printed output if the "check" option
pressure valves may be inserted in any pipe of the is specified giving pipes joining at junctions,
network provided they don't exist in consecutive internally generated loops and other such data.
pipes with no other pipes at their joint junction or
the pipe supplied by reservoirs or source pumps, 11. Extensive checking of input data
Le., PR V's don't exist in pipes which are supply occurs, which will identity the majority of the
lines for then they become the effective reservoir. commonly made mistakes. To further verity the
The PRV's act as check valves if flow reverses in correctness of the network the user can select an
pipes containing them during the solution. If the option in the program that allows him to define
upstream head (or pressure) is less than the the layout of the network twice, once using the
valve's setting, the program will note this and pipe oriented form of input and once from the
replace the PRV with a minor loss device. Thus, node oriented form of input. USU-NETWK will
the 3 ways that PR V's operate are simulated, i.e., identity any descrepencies between these two
(a) They may operate in maintaining the definitions of the network.
downstream pressure and head constant. (b)
They may shut off preventing reverse flow but 12. Check valves are allowed in any pipe.
allowing the downstream pressure to drop below Should check valves shut-off, the system of
the valve's pressure setting. (c) They act as check equations being solved is altered to reflect this
values shutting of the flow in that pipe should the rather than setting the resistance of this pipe high
flow attempt to be in the direction opposite to the as is commonly done. Therefore, pipes containing
direction of the PRV. shut-off check valve, or PR V's have exactly zero
The same modes of operation exist of flow through them.
back pressure valves, BPV's.
13. Reservoirs and source pumps may be
8. A string of separate analyses of the given a node number or left unnumbered, i.e.,
same basic network is allowed in which selected given a zero when providing the input data.
components of the network are changed. Any of Generally, they are left unnumbered; thus,
the following changes are allowed: (a) reducing the amount of data required. If such
multiplication of all previous demands by a source nodes are numbered, then reservoirs and
specified factor, (b) the diameter, length or source pumps are identified in the input data by
roughness of selected pipes, (c) the demands at this node number rather than the usualy pipe
selected modes, (d) the water surface elevation of number which connects this source to the network.
selected reservoirs of water surface from which Furthermore, and option can be turned on that
source pumps obtain their supply, (e) the number allows pipes, nodes, or both pipes and nodes to be
of pumps operating in parallel or series may be identified by 8 character strings. Also remarks
changed, (t) the rotational speed of the pump can can be placed at the end of input lines, and these
be changes, (g) the elevation of any nodes, (h) all remarks can be printed in the solution tables.
pipe roughness to a new value, and (i) coefficients Also lines in the input may be comment out" of
for minor loss devices. active use by placing a % in front of them.
9. 1 Minor loss devices can be inserted in 14. The pipes and nodes may be
any pipe of the network. numbered arbitrarily (integers less than 5000), and
-4-
do not need to be entered in the sequence of properties such as the specific weight and
ascending numbers. Furthermore, pipes do not kinematic viSCOSity to that of any desired
need to be numbered. If not numbered, then they incompressible fluid.
are identified in the output by the sequence
number of the input data as well as the nodes at 19. If in using the two table form of
their two ends. output, remarks are to be printed to the right of
lines for certain pipes or node in these tables,
15. Nozzles (or orifices) are allowed at these remarks can be part of the input.
the ends of any pipe. The diameters of these
nozzles can be specified differently than the pipe 20. Three separate forms of input are
diameters and discharge coefficients may be given. allowed: 1) That described in the body of this
Otherwise, default discharge coefficients ar taken. users manual, which will be referred to as the
standard form of input, 2) that described in
16. The program is designed for batch or Appendix A, and 3) that described in Appendix B.
time-shared use. (Use of the program on a PC is there are variations allowed within these different
essential identical to time-shared use in that the forms as well. The standard form of input enteres
user responds to prompts for the input and output data of a given type through a command name.
files, etc.) If use occurs from a teletype under The other forms of input have a prescribed order
time-shared use, the program goes into an and do not use names. The first two forms are
interactive mode allowing input and output files to pipe oriented input data, i.e., the layout or
be designated dynamically by the user. topology of the network is defined by the pipe and
its end nodes. The Appendix B input is node
17. The program can be instructed to go oriented input that defines the layout or topoloyg
into simulation mode. If this vastly expanded of the network from the pipe numbers that join at
capability of the program is utilized, the each node.
performance of the network over any designated In addition to the different forms of input,
period of time is analyzed. options permit changes in the order of items lists
If operated in simulation mode, additional on the more important input records (or cards).
data are needed. These data give: (1) dimension- Consequently, the program can read data directly.
less demand functions for various uses and with few if any changes, that have been prepared
designates which nodes are assocated with each for another program.
such demand function, (2) elevation-storage
capacity curves for reservoirs and tanks and (3) 21. By specifying both pressure (or HGL)
operating rules or schedule for pumping stations, at nodes in addition to the demand, network
and many other commands related to controlling components can be sized. For each such dual
and specifying what changes with time or as a specification a component such as a pump pipe
function of conditions within the system. diameter, or pressure reduction valve is sized. In
In simulation mode considerable flexibility the limit it is possible to size as many components
of output is allowed. (1) Seperate tables such as as there are junctions in the network. In this
those for a single steady stage analysis may be limit an efficient algorithm can be selected that
printed for each time step, or a specified multiple does not require an iterative solution. With wise
of time steps. (2) Special tables giving pressures use of this design capability all pipes can be sized
are designated nodes as a function of time can be by first reducing the network t a branched system
selected. (4) A direct (random) access file that contains as many junctions as pipes, and after
containing the simulation solution can be created. these pip sizes are determined add the remaining
If number (4) is selected, any item of information pipes and have the program size them.
can be printed subsequently as the user, in time-
shared mode or batch mode, requests; that is by 22. A versatile engineering economic
means of simple instructions any desired analysis of the network can be performed. One
information at any time step can be obtained at time capital costs and/or unit coists can be given
near zero computer costs. for various system components. The results of
these cost analyses give the present worth, and
18. USU-NETWK assumes water at equivalent annual reoccurring costs for each such
standard temperature is the fluid. Other fluids component identifed.
can be accommodated by altering the fluid
-5-
USU-NETWK'S PREPROCESSOR
In this section of the manual the use of prompts the user so he is constantly aware of what
an auxiliary program PIPEINPT is described that is needed next. The output file written by
assists in preparing input data files for use by PIPEINPT consists of input data that can be used
USU-NETWK. Because this program may be for the steady-state version of USU-NETWK that
used prior to using USU-NETWK for obtaining a runs on PC's directly, but if desired this file can
solution of a network problem it is referred to as also be used for the larger version of the program
USU-NETWK's preprocessor PIPEINPT. The use that also will performance a solution through
of this preprocessor program, is not required. time. If the later solution through time is desired
Some people will prefer to get acquainted with the the output file from PIPEINPT can be used for
input data allowed by USU-NETWK from reading the majority of the input, and the additional data
this manual, and then using an editor, or even that describes the time varying characteristics of
word processor that they are acquainted with in the problem can be added thereafter using a
preparing the input data. Others will find the use editor, or word processor.
of PIPEINPT helpful in preparing input data files.
However, PIPEINPT was never designed to do all The program PIPEINPT prompts its user
the editing, etc. that is generally done in relative to what it wants next, and therefore the
moditying a given data file for the various best method for getting acquainted with its use is
solutions that are typically obtained in a complete to run the program as you read this three page
study of a water system. There is an full screen description~
editor with a help file that describes how to use it
that can be acquired as part of PIPEINPT, but Since program PIPEINPT writes a formatted
this editor is generally not included in the file that can be read more rapidly by
PIPEINPT program since most individual will not USU-NETWK than the format free file that it will
want to learn another editor, but use the editor also read, a small amount of computer time saving
(or word processor) they are familiar with to edit will also result from use of PIPEINPT. The
USU-NETWK files. PIPEINPT was designed option NETPLT=13 should be set to take
specifically for users that have the PC version of advantage of this fixed format input. If a
USU-NETWK. It only runs on IBM compatible graphical display is desired then NETPLT must be
PC's, but can be used to prepare input data files changed to 14 (and also LENGON=O, unless the
for USU-NETWK that is running on a larger X- and Y- coordinates are to be added to the file
system. If this later mode of use occurs a that USU-NETWK will write for input to the plot
convenient method of operation is to let program PLTNET) in the $SPECIF list when this
PIPEINPT help prepare input data files on the PC file is to be used on an IBM compatible Pc.
and then transfer these files to the disk of the
larger computer system with a software The basis input to USU-NETWK might
communications package such as KERMIT, or be divided into the following three categories: 1.
CROSSTALK. The title of the network for which the data
applies. (This title is terminated by an /*.) 2. The
The description of the use of PIPEINPT list of options that are enclosed between $SPECIF
given below assumes that you have some and $END, and 3. The detailed data that
familiarity with the input data requirements of described the layout of the network, its pipe sizes,
USU-NETWK. As a minimum familiarity with the demands for which the solution applies, and
this input you should read the PREVIEW section the operation of pumps and reservoir to meet
in this manual and obtain solutions to the small these demands. The Preprocessor program
networks given there by executing USU-NETWK PIPEINPT utilizes these three categories of input
in solving them before reading this section, and in the order in which they are listed above.
using PIPEINPT.
The first question that PIPEINPT asks its
The preprocessor program PIPEINPT is user is to be supplies a file name that will contain
designed to help prepare input data for the its output file, or the input data for USU-
network analysis and design program NETWK. This name must conform to the
USU-NETWK. This preprocessor program MS-DOS file naming requirements. It can consist
6
of a drive designation, a path and a file name with the command name, or by typing the command
an extension following the file name. For example name. If you select to type the command name
C:/YY/FIL1.DAT. Generally, however, the default make sure that the "caps lock" key is on. Upon
drive and directory will be used and, therefore, the selecting the command it will appear at the top of
file name with an extension will be all that is the screen waiting for you to enter the data called
given, i.e. FILl.DAT. Next the user is asked for for under this command. The prompt at the
a title that he wishes to give the network. The bottom of the screen will list the items that must
title typed in by the user will be duplicated in the be entered under this command in the order in
file written by PIPEINPT. This title can consist of which they are to be entered.
up to 10 lines, and must be terminated on a new
line with a/*. Immediately upon pressing the In entering the data under any command
return key after typing the /* the user is prompted it is important to note that the following three
with a screen full of the available options that keys have special meanings: 1. the space bar
exist in the PC version of USU-NETWK, and (causes the value just entered to be placed into
what their default values are set to. To change the file and the input line at the bottom of the
any of these options type in the number that is screen now applies for the next item). 2. the
shown associated with an option. For those return key (causes this line of input to be
options that permit only two settings (I.e. a 0 or completed. If not all entries called for have been
a 1) the screen will show this option immediately entered the line will be completed with values
changed. For options for which 3. or more previously entered.), and 3. the divide key or I
possibilities are allowed, a prompt appears at the (causes the input under this command to be
bottom of the screen that shows the valid values, completed, and the bottom prompt lines to show
or indicates what the option means. For example the available commands again). Thus if you
if you type in 1, which is the number associated should press the return key at the beginning of
with the option NFLOW, you are shown that valid the line this line will be a duplicate of the
values are from 0 through 8. If you type in the previous line, except pipe and node numbers
number associated with VISC you are prompted which will be incremented by 1. Therefore, you
by the lower line on the screen telling you this is want to be careful to not press the space bar, the
the kinematic viscosity. For these latter type return key or the I key except when appropriate.
options you must next type in the appropriate However, by pressing the space bar after a value
value. Upon pressing the return key this value has been completely entered, or the return key if
will appear after the = following the option name. the remaining items are the same as on the
You must also press the return key after entering previous line you can enter the data rapidly with
the number associated with the option. To let a minimum of key strokes. The return key should
program PIPEINPT know that you are through be pressed when you complete a line rather than
changing options you type a number such as 43, the space bar. If you type a number in incorrectly
which is larger than the last number associated it can be corrected using the backspace key prior
with the last option, and press the return key. to pressing the space bar or return key. Simply
Only those options that are changed will appear in press the backspace key as many times as needed.
the options list of the output file. Should you Each time you press backspace the cursor will
want an option to appear in this output file with move backward over one more character. Now
the default value, you can either select it twice if type in the correct value. The value that appears
it is a two valued option or type in the same value in the input line at the bottom of the screen will
as its default is if it is a multivalued option. be entered in the proper column in the table
shown above on the screen.
Next you are prompted for the detailed
data that describes the physical characteristics of Up to twenty lines of input will appear on
the network. This data will be entered with a the screen under any given command. After this
command name such as PIPES, NODES, etc. To the top line will disappear from the screen as the
remind you what these commands consist of you last line is entered. A very limited editing
will see them listed on the bottom two lines, with capability of values in these 20 lines that appear
a prompt line above this that asks you to select on the screen can be accomplished as described
the command name for the type of input you wish below.
to give next. This command name can be selected
by either typing the number that is associated with The last command that should be selected
-7-
is END (or its item 12), or STOP (or its item 13). entered PIPEINPT permits you to correct values
Upon selecting the END command PIPEINPT in the detailed data that follows the command
assumes that you are through with the input for such as PIPES, NODES etc. as long as these
the network and supplies the RUN command at values remain on the screen, i.e. are within the 20
the end. It writes the rest of the data on its lines under any command that are not scrolled off
output file, i.e. the file name you supplied the top of the screen. Other changes, or editing
previously, and terminates. If the STOP is of the file must be done with an editor or word
selected instead, the RUN is not added to the end processor.
of the file in anticipation that you wish to supply
additional data later. If at a later time you give To utilize this limited editing capability
this same file name, you will be informed that the simply press one of the arrow keys on the
file already exists, and asks if you wish to add to extended pad portion of the keyboard. Pressing of
it. Upon responding with a Y or YES, any data these arrow key moves the cursor to an entry on
provided will be appended at the end of the the screen in the direction of that arrow key. The
existing file. If you terminate with an END during item on which the cursor is directed is shown
this session, the RUN command will be the last blinking. You simply move to the entry that
line written to the file. needs to be corrected by pressing the appropriate
arrow keys. When you are at this value press the
The data file written by PIPEINPT will space bar to indicate that this is the number you
conform with the requirements described in the wish to correct. At the bottom of the screen you
user's manual except in the case of source pumps, will see a prompt to enter the correct value. Type
or booster pumps if you select this option from in the corrected value and press the return key.
PIPEINPT. The data requested from you by If there are additional values to correct press one
PIPEINPT for pumps is identical to that described of the arrow keys again and repeat the above
in the user's manual, namely a pipe (or node if process. If you wish to delete an entire line this
NODESP=I) and three pair of flowrates and can be done by pressing the delete key in place of
corresponding heads produced by the pump giving the corrected value. The entire line that
followed by the water surface elevation of the the blinking value is on will disappear. When you
supply for a source pump. However, the output are through making such corrections, press the E
file will contain the coefficients of a second degree key to return to the position you were at in
polynomial that passes through the three points entering data prior to pressing an arrow key.
that you give, the water surface elevation and the
normal capacity of the pump, i.e. the middle, or
second flowrate value you give. If you wish to use ILLUSTRATIVE EXAMPLE IN USING
the option of giving the power supplied to the PIPEINPT
fluid by the pump and its normal capacity just As a simple example to get acquainted
enter a zero (0) for the next item called for. The with PIPEINPT you should execute this program
flowrates given in connection with pumps must be to prepare the input data file to solve the network
in the units designated by the option NPGPM. problem illustrated below. Read the following
USU-NETWK expects to read data for pumps as description as you execute PIPEINPT. The first
written by PIPEINPT when the option prompt you receive from PIPEINPT is the name
NETPLT=13 or 14. If NETPLT = 14, then when of the data file that the problem description
this data is submitted to USU-NETWK for a should be written to. You might give
solution it will write a file that contains TESTPI.DAT for this file name. You will next be
information needed by the post processor program ask to give a title for the network problem and to
PLTNET to graphically display the network on the terminate giving lines of title with */. Type in
screen. However, in order to use this graphical the following:
capability it is necessary that x- and y- coordinates
by given in describing the physical layout of the Illustration to use PIPEINPT
1*
network.
Next you will see the screen filled with the default
Limited Editing Capabilities options. Since all of these apply to this problem
type 43. The bottom of the screen now displays
In addition to allowing you to correct a the command names. Type 1 to select PIPES and
value with the backspace key before it has been enter: 1 0 1 3000 15 .005 Enter (press the space
-8-
bar between values, and the Enter key at the end TESTPI.DAT when ask for the input data file.
of the line). For the second line of PIPES data You might type TTY for the output file to have
type: the results from the solution displayed directly to
2 1 2 4000 12 Enter the screen.
Note that the coefficient for the 1st pipe has been
added upon pressing the enter key. For pipe 3
just press the Enter key, and note that the data
Q hp
from pipe 2 is taken to fill in this line. For pipe (cfs) (ft)
4 type
2.0 30
4 3 4 4000 8 Enter 3.5 24
5.0 15 1 cfs
and press only the Enter key for pipe 5.
Next press the divide (or forward slash) cfs
key I to get the command names to appear at the
bottom of the screen again. Now press 2 to select
10-6000
the NODES command and type in the following: " ,,\:)\:)
\..' I :;'V cfs
1 1 500 Enter ,<::l/
Enter All e ::: 0.005"
~~t:~ 700' All Elev. ::: 500'
Enter
General Specifications
(a) Title of network up to 10 records long and terminated with a 1* (or *1) in columns
1 and 2 of final record. (For IBM computers the */ must be uSed). (b) The list of
1 options beginning with $SPECIF (or &SPECIF) in column 2 and ending with $END (or &END).
The list between these two consist of the parameter name followed by a comma. Only
those parameters whose values are to be set different from the default need to be
included.
"'This second category of input is different if the forms of input described in Appendix A or B are selected.
The selection of these alternate forms of input is controlled by the option INPUTA in the $SPECIF list.
-10-
GENERAL SPECIFICATIONS
(OPTIONS)
-11-
Alphabetical list of parameter names that may occur in $SPECIF list.
=========================================================
COEFRO
ER8
12 CORNOD 12
16
'* CORPIN
FLOWFC
'* 12 CORPU I 13
12 GAM1A 16
CORPUM f 13
HLETTE I 16
DESIGN
ICOST
13
17
E~UDIA
I GL
16
INITAL
!RESID
'* 222416 ERROR
INPUT
ISIML
''**
22
24
INPUTA A/I
ITERA
23 IOEX
24 LENGON
34
24
roUT I
LENORG
23
25
roUTI #
LOOPRD
23
25
IOUTO /I
LOOPSE
17
23
26
MANNI 28 MAX 28 NCONTI 28 NELEV 28 N~UAT 29 NEQUDI I 29 NETCHK 29
NETPLT 30 NEWSTR I 31 NFLOW 31 NHAZEN 32 N HK # 32 NODESO 32 NODESP 32
NOMOIA 32
34
NOMSOL
Nl'RINT
32
34
NOPARP
Nl'Rl'RV
'* 33 NOSTOP'*
34 Nl'RPUM
33
35
NPERCT 33
Nl'RRES I 35
NPGPM
Nl'RTRM
34
35
NPLENG
NPSERI
34
35
36 NSYMMT AI 36 NTRAND I 38 38 NUNIT 38 OUTPU1 39 PCHAR3 43
44 PLOTH A$ 44 PRESMA 44 44 l'RVLOS 44 REYNUM 44 TVSUM 45
SUM1 # 45 TVSUM2 45 VELMAX 45 45 VISC 45
#These options are not included in the allowable $SPECIF list of the version of the program that
only does steady-state analysis. The Calcomp graphics plotting capability may be obtained with the steady-
state version of the program in which even NETPLT, HLETIE and PLOTH will be included.
'" These options are not included in the allowable $SPECIF list of the PC-DOS version of USU-
NETWK that does have the time-dependent solution capabilities.
-12-
been entered in almost any way. Depending upon pipe and node numbers, as the first three items,
= whether CORP IN = I, 2 or 3, the following is must be right justified in fields of 5 and the
allowed: remaining 3 values in fields of 10 as specified by
If CORPIN - 1. The order of data after the format. The difference is that whenever a
PIPE- is altered. If so, the first record after the roughness coefficient is not given by leaving
command PIPE- must contain the new positions columns 36-45 blank the value given by
for the following 10 items: (1) the pipe no., (2) COEFRO=.OO5 will be used rather than that
the diameter, (3) the length, (4) the roughness given for a previous pipe in the list.
coefficient, (5) the upstream node, (6) the demand
at the upstream node, (7) the elevation at the
upstream node, (8) the downstream node, (9) the ILLUSTRATION OF USE OF CORP IN =2
demand at the downstream node, and (10) the /*
elevation at the downstream node. This data must $SPECIF CORPIN=2,COEFRO=.OO5 SEND
be entered so that it can be read under the format NODES
(F5.0,3FI0.0,F5.0,FI0.0,F5.0,2FI0.0). 1 .8 100
If CORPIN - 2. The effect is the same 21.2/
if CORPIN=2, as that described above for 3 1./
CORPIN =I, except that in addition to the order PIPE
of the data being changed the format of the input (3F5.0,3FI0.0,4F5.0)
data must be specified using F,E or G fields. This 1,5,4,6,2,7,8,3,9,10
format specification is given before the integers 1 0 1 1200. 8. .015
that define the new order. For example, if 2 1 2 1400. 6.
CORP IN =2, the first two lines after the PIPE- 3 1 2 1000. 6. .025
command (or immediately before the pipe data if 4 3 2 1500. 6.
Appendix A input is used) could be, RESER
(3F5.0,3FI0.5,5X,4F5.0) 1200
1,5,4,6,2,7,8,3,9,10 RUN
These two lines will cause input to be in the order
as that after the PIPES command except that it As another example assume roughness
must be in the specified columns. (Formatted coefficients are given after the downstream node
input under the PIPES (and other commands) also and before the pipe length. Then if the $SPECIF
occurs if option NETPLT=13.) To understand list contains CORPIN=2, the first two lines after
how these last 10 values determine the new the command PIPE- would consist of:
positions, list the 10 input items in their usual (3F5.0,3FlO.5,4F5.0)
order as described under the command PIPE-. 1,6,5,4,2,7,8,3,9,10
The 10 given values indicate the new positions for With CORPIN=2 the format of the input
each of these 10 items, e.g. pipe no. is in position data is specified and, if desired, the usual order
1, diameter is in position 5, length is in position can be retained by giving 1,2,3,4,5,6,7,8,9,10 as the
4, etc. Items 6 (demand at the upstream node), 7 new order. Input efficiency can thus be gained by
(elevation at the upstream node), 9 (demand at allowing fixed format input over the free format
the downstream node) and 10 (elevation at input. (See NETPLT=13, IOUTI & IOUTO,
downstream mode) are given positions 7,8,9 and also.)
10, respectively, beyond the portion of the Jine If CORPIN - 3. The effect is to read the
that will actually contain any data. Thus these last input according to the standard format
4 items will be read in as zeros. Since the rules (F5.0,3FI0.0,F5.0,2FI0.0,F5.0,2FI0.0)
under PIPE- allow these items to be omitted the but not rearrange the order of the input. Thus if
zeros have no effect. The values for these items CORPIN =3 no additional lines are required after
can be filled in with the NODES command. the PIPE command. However, the data must
As a simple example consider the 4 pipe conform to the columns specified in the above
network supplied by one reservoir as defined by format. This restriction applies whether the data
the data below. In this data the option is entered via the command PIPE, or under the
CORPIN=2 is used. The data after the command input described in Appendix A resulting from
PIPE- is that under the PIPES command because including INPUTA=1 in the $SPECIF list.
of the new order specified by the second line of
integers after the PIPE command, except that the Since many items of input can be omitted
-13-
using the PIPE- command and it can be used in curve are provided (PCHAR3=O in the $SPECIF
conjunction with other commands, considerable list), they must occur after the reordered data. If
flexibility is available. If data files exist for other CORPUM=I, then the first line after the
network analyses programs these files may be $SPECIF list (or after the lines required if
readable by USU-NETWK. almost directly. By CORPIP=I, and CORNOD=I) must contain 7
having USU-NETWK. write data file, or have the integers that either designate (a) the new positions
post-processor, PLTNET write such a file, this for (1) QI' (2) HI' (3) Q2' (4) H 2, (5) Q3' (6) H3,
data can be converted to the standard input used ,and (7) elevation of water surface, or (b) the new
by USU-NETWK. for subsequent analyses after it positions for (1) the power the pump supplies to
has once been read, if desired. the fluid, (2) its normal capacity, and (3) the
elevation of the water surface. For case (b) only
CORPIP # the first three values have any meaning but 7
integer values are required and can be given as
This option, when set to 1 (Le. 4,5,6 & 7. Caution must be exercised in mixing
CORPIP= I), allows a new order of items after the methods of specifying pump characteristics
PIPES command to be specified. This new order between using 3 points on the curve and power
is specified by giving the new positions for the plus normal capacity, since altering the order
length, diameter and roughness coefficient alters the order for all pump input data regardless
immediately after the $SPECIF list. Note that the of the method used to designate pump
first 3 items, the pipe number, the upstream node performance. (See explanation under CORPIP for
and the downstream node cannot have their order understanding how the new order is defined.)
changed. The new order is specified by giving an For example, if the water surface elevation
integer value that represents the new position of is to occur immediately after the pump
items in the list whose order can be changed. For designation (pipe no., or node no. depending upon
example if data after the PIPES command consists NODESP) then the following integers would be
of: 1. the pipe no., 2. the upstream node, 3. the given: 2,3,4,5,6,7,1.
downstream node, 4. the diameter, 5. the length,
and 6. the roughness coefficient (Le. the length DESIGN
and diameter are interchanged from the standard
order), then this line would consist of: 2,1,3. This option is how you tell USU-NETWK
To understand how to designate these new that you want special design solutions rather then
position numbers, list the variables that can be an analysis solution. Values that DESIGN may
changed in their standard order, Le. I-diameter, have are: 0 (default - analysis solution), 1
2-length, and 3-coefficient. The first integer above (determine diameters for NJ pipes from pressures
designates the new position for the diameter, i.e. at all nodes), 2 (special "least cost" design
2. The second integer 1, since it gives position for described in Appendix D), 3 (determine wall
the length, indicates the length is first, and the roughness coefficients for NJ pipes), and 4 (and 5)
final integer 3 indicates that the roughness (specified velocities in branched pipes)
coefficient retains is 3rd position of the variables
whose positions can be changed. If DESIGN - 1. When DESIGN = 1, then
USU-NETWK is told that it is to determine the
CORPUM# diameters of as many pipes as there are junctions
(nodes), NJ, in the network, by means of a
This option, when set to 1 (i.e. computational efficient method. (NJ = number of
CORPUM=I), allows a new order of items after junctions, or nodes, of the network excluding
the PUMPS, BPUMP and BOOST commands. sources if these are numbered as nodes with the
The pump's designation must be first, but the option NODESP=1.) An alternative, but much
order of the 3 pairs of values that define the poorer choice than setting DESIGN = 1, is to
pump curve, and the pump's sump, or wet well introduce as many differential head devices as
water surface, elevation (or inlet pressure) can be there are network nodes and specify the
altered, or if the pump's performance is defined by pressures, or HGL elevations at all nodes by using
its power and normal capacity, the order of these the DHEAD command. Doing the latter adds NJ
and the water surface elevation can be altered. If additional equations to the system of corrective
more than 3 points on the pump characteristic flowrate equations being solved. With
DESIGN=I the solution is accomplished with NJ
-14-
linear equations. prepared. A means of proceeding is to make
When DESIGN=l the pressure, the adjustments after the program has indicated that
pressure head, or elevation of the HGL, your specifications do not satisfy this second
respectively according to whether IHGL=O, 1 or restriction, and through this process acquire a
2, must be given at all nodes of the network. better understanding of the network's
When using the NODES command these pressure performance. A better alternative is to start with
values are given after the nodal elevation, as a 4th a network with as many junctions as there are
item in the list of input. When using the PIPE- pipe, because you can always then determine the
command these nodal pressure values are given as direction that a flow must be in and specify an
an additional data item containing a decimal point appropriate slope for the HGL. Thereafter add
after either the upstream nodal elevation, or the minimum pipe diameters to those pipes that form
downstream nodal elevation. A demand, and the loops of the system. The option IHGL allow
elevation must be given before the pressure when special input to make this easier for you.
using the PIPE- command. If DESIGN = 2. When DESIGN =2 in
Since NJ pipe diameters will be the $SPECIF list, then a special interactive
determined as part of the solution, it is necessary portion of USU-NETWK (the full program, but
to designate NJ pipes as having unknown not on PC's under DOS) is activated that assists
diameters. The remaining, NL=No. of pipes - NJ, in determining the "least cost" design. This design
diameters must be known. The pipes whose may suggest alternate pipe layout configurations.
diameters are unknown must be given a diameter Its use is described in Appendix D of this manual.
equal to zero in the data following the PIPES
command or the PIPE- command. An alternative If DESIGN = 3. When DESIGN=3 in
for branched networks with as many nodes as the $SPECIF list, then a special solution is
pipes is to use the special input described under requested to determine as many pipe wall
IHOL. The following additional options: IHGL, roughness coefficients as there are junctions in the
NOMSOL and NOMDIA provide control over the network. The same rules apply when DESIGN =3
special design solution activated by DESIGN = 1, as when DESIGN=l with the exception that NJ
or DESIGN =3. coefficients must be given zero values. When
In preparing data for this special design DESIGN =3 all pipe diameters must be given and
solution the following two restrictions must not be the roughness coefficients of the pipes are solved
violated. 1. At least one pipe at each junction so that the given pressures, heads, or HGL
must have its diameter unknown, i.e. not all pipes elevations (depending on the option IHGL) are
at a junction can have their diameters specified, satisfied. The roughness coefficients that are
and 2. The HGL's produced from the specified solved for can be: (1) the equivalent sand
nodal pressures must be consistent with the roughness of the pipe for use in the Darcy-
direction that the flow in the pipe must have to Weisbach equation, (2) the Hazen-Williams C, or
satisfy the demand here. A simple case of (3) the Manning's n. Since coefficients are given
violating this second restriction would be a dead as zero, it is necessary to provide NEQUAT or
end pipe with a positive demand at its end, but an NHAZEN in the $SPECIF list with the
HGL elevation at its downstream end above the appropriate value if either Corn are to be solved
HGL elevation at its upstream end. A slightly for.
more complex situation would exist at a node of
degree 2 with one pipe given a diameter and the If DESIGN = 4. When DESIGN=4 in
other not, and for which the flow rate in the pipe the SSPECIF list, then you must give the
of known diameter (which is determined by its end velocities that are to occur in pipes that are not
HGL elevations, length, diameter and roughness) included in any loops of the network rather than
is less than the demand at the node, yet the HGL their diameters, and the diameters for those pipes
elevations for the other pipe requires that its flow that are in loops of the network. These velocities
be away from the junction. Nodes of degree 3, or are given whether the diameters are called for
higher, may violate the second restriction, also if under the PIPES or PIPE- command.
at least one pipe does not have its flow in the DESIGN=4 is a special design in which pipes that
direction required by continuity. It is generally are branches, without loop, may be sized to give
difficult to not violate this second restriction, desired velocities.
unless considerable understanding of the network's If the network is a branched system all
performance exists when the data is being pipes will have their diameters determined to give
-IS-
the specified velocities. However, for looped If DESIGN =4 is given, and the network
networks you must understand fully the layout of is not given any sources of supply (i.e. no RESER
the network so that as the data is prepared you or PUMPS commands occur in the input data),
will know whether you are giving a pipe diameter, then it is necessary to give a node number, and its
or a velocity in a pipe. USU-NETWK will assist HGL elevation after the RUN (or END)
you by providing you a list of pipes whose command since this is then a special network with
diameters must be given and whose velocities must all external flows specified.
be given. You request this assistance by setting
DESIGN =5, and prepare the input data without EQUDIA
being concerned whether a pipe is in a loop or See NEQUDI
not. This input could give a value for the pipe
diameter in the first line after the PIPES
command, and terminate all other lines under this ERROR (ER8)
command with a I. Mter this run with
DESIGN =5, from which you are given two lists of The error parameter that determines the
pipes by USU-NETWK; (1) those pipes that are accuracy of the solution. The iterative solution
part of loops and (2) those pipes that are not part process wilI terminate when the absolute sum of
of any loop, you edit this data file, giving either changes in Q's between consecutive iterations is
pipe diameters, or velocities as required. Should less than ERROR. The error parameter can also
you wish to specify other pipe velocities (or be set by assigning NDIGIT, an integer, equal to
diameters) than those that USU-NETWK defaults n in the equation ERROR = lO-n. The default
to by its built-in loop finding process, you can value is 0.01, for ES units and 0.001 for SI units.
utilize the option LOOPRD, and provide the loop For example the options list could contain:
data. However, when using LOOPRD valid and ERROR=.OOOl.
complete loop data must always be given. Should
you wish to specify the diameters of some of the
pipes that do not have loops passing through
them, this can be done by giving a diameter
FLOWFC
See PEAKF.
proceeded by a minus sign.
DESIGN =4 can be used in connection
with the options NOMSOL=1 (10 or 21) and
NOMDIA=1. If NOMSOL is not given a value GAMMA
(Le. the default of NOMSOL=O is left), then the
solution will consist of diameters computed exactly The specific weight of the fluid in Ib/ft3 or
to give the specified velocities. This solution will N/m3 depending upon whether ES or SI units are
be given in the usual output tables, rather than being used. If not given 62.4 Ib/ft3 or 9800 N/m3
the special output tables that are given when for water are assumed, respectively depending
DESIGN=1 or =3, in other words the table will upon whether ES or SI units are used. The
not contain the computed diameter plus a specific weight can also be entered by a command
standard diameter. With NOMSOL=I, however, WEIGHT. For example the $SPECIF list of
this solution will be followed by one in which the options could contain GAMMA=55 for a fluid
closest standard diameter, or nominal diameter, with a specific wight less than that of water.
will be used. If NOMSOL =10 thru 20 then the
next larger standard diameters will be used in this HLETTE#
follow on solution, and if NOMSOL=21 thru 30,
then the next smaller standard diameters will be Determines the vertical height of the
used. There is not provision that allows this pipe letters that will be used on a Calcomp plot.
to be divided into two segments one diameter Default =.13 inches. A menu will be displayed if
smaller than and one larger than the computed a Calcomp plot is ask for, and one of the items
diameter, as with a regular analysis solution. Use listed here allows the letter height to be changed.
of NOMDIA allows you to give a list of standard Therefore HLETTE is seldon used, but can be
diameters if the default values are not what you used so that the menu item need not be changed.
want. In using SI units, or diameter in other than For example HLETTE=.09 could be included in
inch sizes, a list of standard diameters must be the $SPECIF list of options.
given because the default values are in inches.
-16-
leaST network that can be added to include the loop
forming pipes. These three functions are
If ICOST = I, then a cost, or engineering described separately below.
economic, analysis of the network is done. If
ICOST= I, then additional cost data must be Function # 1:
supplied after the RUN or END command, and If the value of IHGL is positive and less
after other data if options call for it. These than 3, then it designates whether: (1) nodal
additional cost data are described in a subsequent pressures, (2) nodal heads, or (3) HGL elevation
section in this manual under the title "Cost Input are given so that NJ pipe diameters, or roughness
Data." As a minimum this additional data must coefficients can be computed.
consist of END that indicates that the default cost
data are to be used. The only two costs that are If IHGL=O then nodal pressures are given
computed if other cost data are not provided is in psi, if NUNIT=O, or NUNIT=l, and if NUN IT
the default costs of pipes, and the default costs of =2 or NUNIT=3 then the units of pressure must
energy consummed by pumping. If ISIML= 1 also be in kPa (kilo Pascals, i.e. kilo Newtons/m 2). If
exists in the $SPECIF list, then the value given IHGL=I, then pressure heads, or the head above
ICOST determines the time step interval for which the node's elevation in feet or meters, respectively,
cost analyses will be performed. If ICOST=l, is given depending upon whether NUNIT=O or 1,
then a cost analysis will take place after each new or NUNIT >2 for SI units.
time step solution. If ICOST=2, then every other If IHGL=2, then elevations of HGL, or
such solution will have a cost analysis associated the absolute elevation position of the piezometric
with it, etc. For each such requested cost analysis surface is given, respectively, in feet or meters
new cost data can be supplied. As a minimum depending upon whether ES or SI units are used.
this cost data must consist of an END. Generally This latter HGL elevation at any node is the sum
cost analyses will be obtained with steady state of the elevation of the node, and the pressure
solutions, and therefore one would only supply head.
one set of cost data. However, if costs associated (default IHGL=2 for elevations of HGL)
with flow from tank, or other items that are
dependent upon flow rates are given then a series Function # 2:
of costs analysis may be obtained at specified time If the value of IHGL is negative or equal
intervals. USU-NETWK does not average, or to 3, then USU-NETWK is informed that special
provide a composite for all these time varying input follows. There are two different types of
costs. The user is responsible for this composite special input allowed, which are distinguished on
interpretation. the basic of whether IHGL is negative or
IHGL=3.
IHGL If IHGL = -2 or IHGL = - S, then USU-
NETWK is informed that special additional data
The option IHGL has meaning only if is given immediately after the $SPECIF list that
DESIGN > 0, and then it has three separate defines a branched network in which all pipe
functions. The first function designates the units diameters are sized so that a specified slope of the
that are associated with the nodal pressures that hydraulic grade line, HGL is satisfied. The
must be given with DESIGN=l or DESIGN=3, absolute value given to IHGL determines the
the second function is to inform USU-NETWK logical FORTRAN unit from which this additional
that special input follows that defines a branched data is read. If IHGL=-S and the program is used
network, or a branched portion of a network (for from a time shared terminal, or running on a
which additional loop forming pipes may be added stand alone PC, you supply this special data from
through the regular input), and the third function your keyboard in response to prompts from the
is to generate the HGL elevation needed with computer. These prompts correspond to the input
DESIGN=l or = 3 based upon HGL elevation data as described below, and thus act as reminders
values given at intersection points of a of what you should know from reading this section
rectangular grid system superimposed over the of the manual. If IHGL=-2, then this special
network. In addition the command IHGL can be input follows immediately after the $SPECIF list
used to have USU-NETWK write out a data file of options, Le. on the line after the $END before
that contains the branched portion of pipe the first command in the same file that contains
the other input data. The special data is
.17
embedded in the regular data because when (2) The ending node number of the tree branch,
reading input from a disk file FORTRAN or trunk extension. These nodes must form a
LOGICAL unit 2 is used. At least one regular continuous sequence of numbers from the trunk
command, and END or RUN must be given in node number 1.
addition to this special data which terminates with (3) The slope of the HGL of this branch of the
and END. Therefore, two ENDs may exist. If tree. If the option NPLENG= 1 (length of pipes
IHGL is another negative number, such as -7 (-3 are given in 1000 ft or m), then this slope is in ft
is not allowed because it is the FORTRAN output (or m) per 1000 ft (or 1000 m) of pipe length.
unit number, and -4 is not allowed if remarks are (4) The pipe lengths within this branch of the
used at the end of lines after the PIPES or tree. Items (1) and (2) or items (1) through (3)
NODES commands, and -5 or -6 are not allowed can be terminated by a slash, /. If all lengths are
because they are generally the standard terminal the same, only one length needs to be given; that
assignments) then this special input can be placed is this list can be terminated anywhere after item
in a separate file that will be read as a default file (2) with the remaining items taken from the last
for that logical unit, i.e. on a VAX operating such value given for that item. Often the list of
under VMS the file name would be FOROO7.DAT, lengths are terminated with /. The list of lengthS
or under Microsoft FORTRAN as used for the PC is limited to 99 values. These succeeding lines of
version of USU-NETWK. the user will be input may spill over into several lines if the
prompted for the file name. Often this special number of pipes between (1) and (2) is large and
data is the only data given, but additional most of the lengthS are different. A new line is
components including, pipes and nodes can be given for each additional branch of the network,
added to define the network using the usual but any actual branch may be divided into two or
commands. This special input allows for large more lines if one desires to specify this branch as
branched network to be defined with just a few two or more branches.
lines of input. (See Example problem 18) If the option LENGON =0, then rather
This special additional input data consists than pipe lengths this item (4) consists of a list of
of the following: pairs of x & y coordinates for each succeeding
node along this branch of the network. These
First line contains the following 5 values: coordinates occur in pairs, and therefore, the list
can contain up to 49 pairs of values. When this
(a) The HGL elevation of the first node, which list of pairs is terminated by a / (as it must be),
must be the final trunk of the tree that forms the then all remaining pipes in the branch whose
branched system. coordinates are not given will be pipes of the
(b) The discharge from (or into) this tree trunk same length and direction as those of the last pipe
node. If positive the flow from the other nodes whose end coordinates are given. In other words
move toward this node; if negative this tree trunk the differences in the x and y coordinates of the
node supplies the network. If this given discharge remaining pipes will be the same as these
does not equal the sum of the external flow from differences for the last pipe with both end
the rest of the nodes, properly accounting for sign, coordinates given.
then a message is printed, but the discharge is For any branch of the tree in which items
corrected to equal the sum of all other external (c), (d) or (e) above change from the value given
flows. previously, a command ELEV, DEMAND or
(c) The elevation of this tree trunk node. COEF can be given followed by the altered value.
(d) The discharge from (or into, if negative) the These new values for the branch's end elevation,
next group of nodes until its magnitude is changes and its nodal demands and/or pipe wall roughness
with the command DEMAND. This value may be coefficients must precede the data for this branch
negative or positive, but is generally of opposite (1) through (4) above. Elevations are assumed to
sign to that in item (a) above. vary linearly from the beginning to the end of a
(e) The pipe roughness coefficient for pipes until branch.
its value is changed with the command COEF. Study the following example of a 43 node
network to better understand how this special
Succeeding lines consist of: input can be used to define a branched network,
or the branched portion of a network that may
(1) The beginning node number of the tree contain loops in other portions of it. Examples
branch, or trunk extension. of networks in a later portion of this manual
-18-
provide additional examples. branched network:
In addition to the above three commands
(ELEV, DEMA & COEF), the command TREE NE1WORK
/.
DHEAD (which stands for differential head, and
$SPECIF IHGL=-2,DESIGN=I,NFLOW=1,
can be truncated to the four characters DHEA) NPLENG=1 $END
can be given to include a pump or any other 152. 12900. 85. -300..005
differential head device with a constant head (i.e. 1 10 .0005 2. 04/
a # 1 DHEAD device described under this 220/
command name). After the command DHEA two 2 28 .0004 3. A/
COEF
values are required: 1. the pipe number that .012
contains the differential head, and 2. the 2137/
magnitude of this differential head (positive or 21 40 .0003 3. A/
negative). The command DHEA must precede 38 42/
38 43 .0003 1.5/
the branch data that contains the pipe number END
given in the line after DHEA. RUN
-19-
roughness coefficients under the COEF command prompt with:
described above. The case of two different Give no. corresponding to what you want on file:
roughnesses is accomodated, however. If the 1 - Length under PIPES data but no
roughness coefficient given in the first line of this coordinates under NODES,
special input is preceded by a negative sign, i.e. 2 Length under PIPES data &
item (e) above is given a negative value, then an coordinates under NODES after HGL,
additional line immediately following this line is 3 Length under PIPES data &
read that contains the following two values: (la) coordinates under NODES after elev.
the second roughness coefficient, and (lb) the 4 No lengths under PIPE & coordinates
diameter for which this second roughness after Elev.
coefficient should apply. The second roughness
coefficient will apply for all larger diameter pipes
as well.
If this value for the roughness coefficient
is less than minus 1000, then two extra lines are
requires, the first consists of the beginning pipe
number and the second consists of two values, a
second roughness coefficient and the diameter that
separates pipes with the two roughness
coefficients. Pipes larger than the given diameter
will have the second coefficient applied to them,
and smaller pipes will have the coefficient given in
the first line of special input apply to them.
Generally different roughness coefficients
will not be entered for other laterals with the
COEF command if this special extra input is
given. However, should other roughness values be
specified under the COEF command then they will
apply only to pipes with smaller diameters than
given by the input (lb) above, and pipes of the
diameter given by (lb) and larger will be given
roughness coefficients equal to the value specified
under COEF plus the difference between the value
given by item (la) above and the value given as
item (e) on the first line of input above.
20-
- Example with ground elevations also changing
EXAMPLE OF BRANCHED NETWORK WITH INFLOW
AT ITS TRUNK. Elevations change.
there will be NOY separate lines under (d) and
each lines will contain 1+NOX values, the first of
/*
$SPECIF NFLOWc4 NPGPM=4 ANUNIT=2,NOMDIA=1,
which is the y that defines this y=constant grid
NOMSOL=l,ICOST= i ,IHGL=-~.NPLENG=l. lines, and the remaining NOX values are the HGL
DESIGN=1,NPRINT=-2 $END
150 -3520 100 220 -1000.0005 elevations at the intersections with the x=constant
.005 1.17
101 grid lines. In illustrating this input by a small
ELEV
60 example below data items (a), (b) and (c) are on
117 110 .6 15. 5./ the same line, i.e. the first line afler the $SPECIF
DHEAD
108 20 list of options, and item (d) is on NOY separate
116 106/
116 101/ lines.
END
RUN This special additional input is illustrated
14 .28 .36 .565 .72 .87 1.075 1.17 1.32 1.475 1.6
1.8 2 2.2 2.4/ by the small example network shown below. In
117 150
INTEREST"'. 08 this example the two x=constant grid lines are
LIFE=60
PIPES show by the two dashed vertical lines on the
UNIT=14 Sketch, and the 3 y=constant grid lines are shown
.28 128 .36 162 .565 245 .72 306 .87 368 1.025 430
1.17 656 1.32 740 as dashed horiwntal lines. However, the 2nd or
1.475 822 1.6 900 1.8 950 2 1000 2.2 1045 2.4 1090
PUMPS
UNIT=.12
middle y=constant lines coincides with the pipes
CAPI=180000. (1),(3) & (5) and therefore is not visible.
END
Function # 3:
If IHGL=3, then special additional input
data is provided that allows USU-NETWK to
generate the elevations of the HGL over the
network. These additional data define HGL
elevations at intersection points of a rectangular
grid system. When this third function is utilized
the following occurs: (1) The elevation of the
HGL at nodes are generated by interpolation of
surfaces over the network that defined the HGL
elevation. The HGL surface is defined by
additional data that are described below, (2) The
x- and y- coordinates must be given for each node
in the regular data entered with the NODES or
the PIPE- command, rather than the pressure,
head or HGL elevations. The position for the
nodes defined by these coordinates are used to
computer the HGL elevations from the HGL
surfaces of (1).
The special additional data must be given
immediately after the $SPECIF list of options and
consists of:
(a) The number of x = constant grid lines, NOX,
(b) The number of y = constant grid lines, NOY,
(c) The x values of each succeeding x equal EXAMPLE OF USING IHGL=3 TO
constant grid lines (NOX of these values must be GIVE HGL PLANES OVER NETWORK.
1*
given), $SPECIF IHGL=3,NFLOW=1,DESIGN=1
$END
(d) The y values of each successive y equal 2 3 O. 3700.
O. 800. 750.
constant grid line followed by the HGL elevations 1000. 780. 730.
at each of the intersections this y = constant grid 1900. 800. 750.
PIPES
line has with the NOX x = constant grid lines. 1000
1 1 2 1500 O. . 005
While this input is free format and may be on a 2 3 2 10001
3 2 5/
single line if it will fits within 80 columns, it is 4 4 5 1400/
5 5 6 1200/
useful to the separate (d) above into separate 6 7 6 1000/
7 8 6 1200/
lines, one for each y=constant grid line. Then 1 -800 720 0 1000
2 0 720 1500 1000
3 -300 720 1200 1900
-21-
4 -200 720 1490 0 values; an integer that is the pipe number and a
5 0 720 2500 1000
6 1900 720 3700 1000 real that consists of the flow rate. The units of
7 -300 720 3500 1900
8
RUN
-300 720 3400 0 this flow rate are determined by the option
NFLOW and this input comes after the RUN or
END command.
INITAL INITAL=-3 then the input is as with
INITAL = -1 except it must be given in another
In the version of USU-NETWK that also file with the name INITALDAT, and is not
does time-dependent solutions there are two placed after the RUN or END command. If this
subroutines to provide initial flowrates which file does not exist USU-NETWK will prompt for
satisfy all junction continuity equations. The the file name that contains the initializing flow
second such subroutine requires a previous valid rates.
solution. It is normally called upon to initialize INITAL=-4 then the input is as with
flows after the first solution for time zero has INITAL = -2 except it must be given in another
been obtained, or the first of a series of file with the name INITAL.DAT, and is not
alternative solutions has been obtained when using placed after the RUN or the END command.
the CHANGE command to defined a series of
separate solutions.. If INITAL=O is added to the If the initializing flow rates are given in
$SPECIF list, then all initializations will be basic units, e.g. cfs when the problem is in ES
produced by the subroutine which does not utilize units, or m3/s when the problem is in SI units,
information from a previous solution. (Default, regardless of the units used for the demand input
INITAL=l). as determined by the option NFLOW then 10
In addition to the usage of the option should be subtracted from the above values. In
INITAL with the version of USU-NETWK that other words INITAL -11 is the same as
also has the capabilities to do time dependent INITAL = -1 except that regardless of the value
solution in which this option determines whether of the option NFLOW, the initializing flow rates
the initialization of pipe flow rates is to be based will be in basic units, cfs or m3/s.
on the past solution, or generated by the same The initializing flow rates must satisfy
subroutine that produced the first initialization, it each and every junction continuity equation within
can be used to read in the initial flow rates. This the network. USU-NETWK will check that this
alternate use of the option INITAL occurs if its is the case, and if the values do not satisfy the
value is negative, and is also implemented in some condition that the sum of all flow rates into a
of the version of USU-NETWK that alJow only junction are the same as flow rates out of a
for steady state solutions. The different allowable junction (including the demand) then a message to
negative values that may be assigned to INITAL this effect is written, and the solution is
have the following meanings: termina ted.
INITAL=l then the initializing flow
rates are given after the RUN or END command INPUT #
e.g. are in the same file as the other input data.
The sequential order in which these flow rates Allows the FORTRAN logical input unit
must be given is the same as the order that the to be specified. If TTY or REMOTE is given in
pipes are entered under the PIPES or the PIPE- response to the prompt from USU-NETWK for
command. The direction of the flow is established the input file name then INPUT=5, the standard
by the first and the second nodes given after the terminal or keyboard input. If a file name is given
PIPES or the PIPE- command, and a negative to this response, then INPUT=2, and the input is
value indicates that the starting flow rate is in the read from the given file. Should your computer
opposite direction. The units of this flow rate are installation have different logical unit number
the same as that used for the demands, and is assigned, or if unit 2 cannot be used for input for
determined by tile option NFLOW. some reason, then by adding INPUT to the
INITAL=2 then each initializing flow $SPECIF list the flexibility is allowed to use these
rates is preceded by its pipe number. With units without recompiling USU-NETWK. Similar
IN ITAL=-2 the order of the initializing flow rates flexibility of the output unit is allowed with the
does not need to agree with the order of the other option lOUT.
pipe data input, but the input consists of pairs of
-22-
INPUTA # used to write this file. For example if IOUTO=20
were indued in the $SPECIF list of options than
Allows three different forms of input data data would be written to a file using Fortran
to describe a network. If logical unit 20. Since data in this file is in
INPUTA -0, then the standard form of input specified columns, USU-NETWK can read the
described in this main body of the manual is used. data in this file faster than it can a file prepared
In this form a command name enters data of the by an editor, but unformatted. However, this file
specified type. (Default INPUTA=O) can be edited to change data it contains so that
INPUTA -1, then the form of input data described the problem read with IOUTI is different than the
in Appendix A is used. one for which the data was written. Thus the use
INPUTA=2, then the form of input data described of IOUTO, and IOUTI above, is an alternative to
in Appendix B is used. using the CHANGE capability of USU-NETWK
in obtaining a series of solutions for a network
lOUT # problem that is being studied. An important
differences is that the user can examine the
Allows the user to specify the logical solution just obtained and use this as a guide in
FORTRAN output unit on which the solution deciding what changes should be made for the
results will be written. If TrY or REMOTE is next solution. An alternative means of writing an
given in response to the prompt from USU- output data file is available with option NETPLT.
NETWK for a file name on which the output In making changes to this file, (1) the
should be written, then IOUT=6, the usual order of data as described below must be
terminal, or monitor output device. If a file name maintained, (2) the FORMATS for the data that
is given to this response then IOUT=3. If lOUT are described below must be maintained, and (3)
is included in the $SPECIF list of options then the pump characteristics must be defined by giving
the value assigned to lOUT will be the output the coefficients for the second degree polynomial
logical units on which the solution results are used to define the head versus flowrate curve for
written. Thus, if needed, assigning lOUT a value the pump. These coefficient are given as part of
allow flexibility at different computer installation the solution output, unless suppressed with a
in ~ending the output to various output devices, small value of NPRINT.
which may include tapes, for example, on which
the output is to be stored. The order of data in this file is as follows:
(1) A line that gives the number of the
following in the network using the FORMAT
IOUTI # (1615): (a) pipes, (b) nodes, (c) source pumps, (d)
booster pumps, (e) reservoirs, (f) minor losses, (g)
Reads the formatted data written by a
pressure reduction valves, (h) nozzles, (i) check
previous execution of USU-NETWK with the
valves, (j) back pressure valves, (k) sum of
option IOUTO equal to the same logical unit
reservoirs, nozzles, PRVs and BPVs, and if
number or prepared according to the FORMATS
NOCHK=1 then (I) total loops, (m) pseudo loops
indicated under the description below under
, and (n) real loops.
IOUTO. IOUTI can only be used if this data file
(2) The pipe data with the FORMAT
has been previously written. For example if
(315,2F15.3,F15.7)
during a previous execution of USU-NETWK
(3) The node data with the FORMAT
IOUTO=20, then ifIOUTI=20 during this run the
(I5,2F15.5,(915. If NOCHK is greater than 0
input for the network will be read from this file,
besides the node number, demand, and elevation
and this file must have the input in the FORMAT
the lines of the node data contain the pipe
described under the option IOUTO.
numbers that connect to each node.
(4) The reservoir data. This data depends
upon whether NODESP=O or NODESP=1. If
IOUTO # NODESP=O the FORMAT is (I5,F15.5), and the
items are (a) the internal pipe number i.e. pipe
The option IOUTO instructs USU- sequence number under the PIPES or PIPE-
NETWK to write an input data file under the command, and (b) the water surface elevation. If
built-in FORMAT. The value given to IOUTO NODESP=1 the FORMAT is (215,2FlO.5), and
is the FORTRAN logical unit number that will be the follOwing 4 items are needed on each line: (a)
-23-
the internal pipe number that connect the flowrate and the energy loops. Only the corrective
reservoir to the network, (b) the node number flowrate loops are written, however. When using
given the reservoir, (c) the water surface elevation lOUT!, this second set of loop data will be
in the reservoir, and (d) the ground elevation at generated.
the reservoir node.
(5) The pump data. This data is also IRESID
different depending upon NODESP. If
NODESP=O, then the FORMAT is It may be possible to save a small amount
(I5,5EI5.8,I,EI5.8) and the following items are of computer time by not redefining the Jacobian
given: (a) the internal pipe number, i.e. pipe Matrix and completely solving the new linear
sequence number under the PIPES or PIPE algebra problem for the final few iterations of the
command, (b) the coefficient for the squared term Newton method. This option allows for use of the
for Q, (c) the coefficient for the linear term, (d) last solution of the Jacobian problem to be
the constant coefficient all for a second degree fit utilized if the sum of changes is less than IRESID
of the pump characteristics modified by the water (a real value). Experience has indicated little if
surface elevation and .5*QBNBP, (e) the any computer time is saved and use of IRESID is
transformation term QBA, (1) the normal capacity, discouraged. It can only be used in conjunction
and (g) the water surface elevation. If with the sparse matrix solution method (default
NODESP=I, the FORMAT is IRESID=O).
(2J5,4EI5.8J,3EI5.8) and the following items are
given: (a) the internal pipe number, i.e. pipe ISIML#
sequence number under the PIPES or PIPE-
command, (b) the node number (external value) Setting ISIML=l indicates that the
for source pumps and 0 for booster pumps, (c) the solution to the network is to be time-dependent,
coefficient for the squared term for Q, (d) the and therefore additional data as described under
coefficient for the linear term, (e) the constant the major section "Additional Data for a
coefficient all for a second degree fit of the pump Simulation Solution" is required (default,
characteristics modified by the water surface ISIML=O)
elevation and .5*QBNBP, (1) the transformation
term QBA, (g) the normal capacity;, (h) the water
surface elevation, and (i) the ground elevation at
ITERA (MAX)
the pump node.
The maximum number of iterations that
(6) The minor loss data according to the
are allows in order to obtain a solution. The
FORMAT (15,FlO.5) that consist of the pipe
number, and this loss coefficient. default number is set to 15 (but may be different).
For example if ITERA=6 were included in the
(7) The pressures reduction valve data
$SPECIF list then the solution process would
according to the FORMAT (15,FI5.9,FlO.5)
terminate after the 6th Newton iteration even if
consisting of the pipe number, the distance from
it upstream junction of the PRY, and the HGL the error condition ERROR were not meet.
elevation of the PRY setting.
(8) The nozzle data according to the
FORMAT (15,FI5.8) and consisting of the pipe LENGON
number and the nozzle coefficient, CNOZZ.
(9) The internal pipe numbers containing This option permits lengths of pipes to be
check valves under the FORMAT (1615), and determined by providing x and y coordinates for
(10) The back pressure valve, BPV, data the nodes rather then giving the pipe lengths.
according to the FORMAT (15,2FI0.5), and The default is that pipe lengths are provided, and
consisting of the pipe number, the distance from this default corresponds with LENGON = 1
the PRY to the downstream node, and the HGL (lengths of pipes on). If x and y coordinates are
setting. provided, i.e. LENGON =0, then NOD ESP must
If NOCHK is greater than 0, then in also be set to 1, because with NODESP=O there
addition to the above 10 types of items, the pipe is no means for providing the coordinates of
numbers defining the loops of the network are sources of supply and consequently no means exist
also given. If PRVs or BPVs are present two sets for USU-NETWK to compute the length of pipes
of loops are used in the solution; the corrective that connect sources of supply to the network. If
24
LENGON =0 is included in the $SPECIF list of with LENGON =0 with the PC steady-state
options, then the following changes must be made version of USU-NETWK.
to the input data described in the section
Detailed Steady-State Data Requirements under
the PIPES, NODES and PIPE- commands. Under
the PIPES command the fourth item, or the pipe LENORG
length, is omitted so that only the following 5
items exist: 1. pipe no., 2. upstream node no., 3. In the final solution table the lengths of
downstream node no., 4. pipe diameter, and 5. pipes printed will be their actual lengths plus any
pipe waH roughness coefficient. Under the equivalent lengths for minor losses within them
command NODES the x and y coordinates of the under the default options. If their actual lengths
node are provided after the elevation of the node are to be printed then set LENORG=1.
so that instead of 3 items of input the input
consists of the following 5 items: 1. node no., 2.
demand at node, 3. elevation of node, 4. x LOOPRD
coordinates of node, and 5. y coordinate of node.
Should DESIGN = 1, then the elevation of the Is an option that allows for the loop data
HGL (or head or pressure) at the node is to be read in as input data rather than being
provided as the 4th item followed the x and y generated internally by USU-NETWK. If
coordinates. Should NETPLT be given a value LOOPRD=l then the loop data must be supplied
greater than 0 but less than 13, so that the x and as input in addition to the other required data.
y coordinates are provided as input already on the If the standard form of input is used (i.e. that
lines after the NODES command, then the only described in the body of this manual rather then
difference in input with LENGON=O is that pipe in Appendixes A or B), then this loop data
lengths are omitted from the data after the PIPES follows the RUN or END command immediately.
command. The first record of additional data consists of two
If the PIPE- command is used in place of integers; the number of pseudo and the number of
PIPES and NODES to enter data, then the pipe real loops (pseudo loops connect sources of
lengths are omitted from their usual position after supply, PRY, and/or BPV). This line is followed
the diameter on lines after PIPE-. However, the x by loop data, each line of which lists the pipe
and y coordinates are provided after the elevation numbers around each separate loop. One and
given for either the upstream or downstream only one line is used to define each loop. Pseudo
node. In other words there are now 4 real values loops must be given before real loops. The pipe
that follow the node numbers on lines after the number is given a positive value if the direction
PIPE- command. Therefore, the input data under transversed around the loop is in the direction of
the PIPE- command is similar to that if 0 < assumed flow, and pipe numbers must be preceded
NETPLT < 13, with the exception that the pipe by a minus sign if the direction traversed around
length is not given. Since sources of supply must the loop is opposite to the assumed direction of
have been identified by nodes when LENGON =0, flow. To see how these loops are defined you
it is not permissible to have only one node per should set NPRINT= 1 or larger, and study the
lines of data under PIPE- as is permitted with loop data that USU-NETWK places in the output
NODESP=O if the coordinates are to be used only file.
for plotting. Also whenever coordinates (or HGL If the network contains pressure reduction
elevations) are given it is not permitted to omit valves, or back pressure values, then it is necessary
the demand at a node. Therefore, with to repeat the loop data twice (including the line of
LENGON=O there must be 4 real values with a data that gives the number of pseudo and real
decimal point that fol1ow the integer node values. loops). The first set of loop data is for the
If DESIGN= 1 is also included, then the HGL corrective flow rate loops and the second for the
elevation (or head or pressure) at the node must energy loops. See modification # 4 of the input
follow the elevations giving 5 such values that for Example Problem # 1 for an example.
follow the node numbers. With LENGON left IfINPUTA=l (that is if the form of input
equal to the default value of 1 and DESIGN=l, described in Appendix A is used) and
then 3 real values must follow all integer node LOOPRD= 1, then the first record in front of the
values for data entered through the PIPE- corrective flowrate loops are not given since this
command. The use of PIPE- is not permissible
-25-
data is given in the options under $ASPECI. then USU-NETWK assume that you are giving the
= INPUTA=2 requires loop data. The option pairs of sources between which pseudo loops are
INPUTA=3 is used when the form of input is as to be formed by the order in which these sources
described in Appendix B, with the exception that are given in the input data. The first pseudo loop
loop data are not provided but rather are will be formed between the first and the second
generated internally. In other words INPUTA=2 source pump; the next psuedo loop will connect
or INPUTA=3 has the same effect as LOOPRD the second to the third source pump, etc. The
:::: 1 or 0 if the data form described in Appendix last source pump will have one pseudo loop
B is used. between it and the first reservoir, the next loop
LOOPSE will be between the first and the second reservoir;
and finally there will be a loop from the last
This option allows control over the reservoir to the first PRY, etc. the last PRY to
pseudo loops that will be used in setting up the first BPV, etc. If only one source pump exists
problems for solutions. The amount of then the first pseudo loop will be between it and
computations required to obtain a solution the first reservoir etc. The above assumes that a
depends upon the length of loops (Le. the number connected path of pipes exists between the two
of pipes in a loop). Should some loops be very sources, but if pressure regulating valves exist then
long then the amount of arithmetic require for such connected paths may not exist between all
each Newton iteration in solving the linear system sources for the energy loops. USU-NETWK will
of equations become large especially if one of the determine this and find alternative sources to
banded methods of solution is used as described connect when it is necessary, while still
under the option NSYMMT. Pseudo loops maintaining the independence of the equations
between sources of supply (reservoir, source defined by these loops.
pumps, PRY and BPV) have the potential of In setting up the system of hydraulic
being long. A long loop will occur for example if equations that needs to be solved two separate
it is formed between two sources of supply that sets of loops are formed by the above procedure
are at opposite ends of a large network. In using if pressure regulating valves are present or other
USU-NETWK the user has four means by which special device exists in the network; namely the
he can control loops. corrective flowrate loops, and the energy loops.
(1) The sources of supply can be entered The corrective flowrate loops do not involve
in the input data in an appropriate manner, as PRY's or BPV's and the energy loops, about
described below, to keep psuedo loops short. which the head losses are equated to the
(LOOPSE::::O, the default). differences in HGL elevations at the sources, do
(2) The complete loops, both the include the PRY's and BPV's as if they were
corrective flow rate and energy, can be given by sources of supply. (See the book "Analysis of
using the option LOOPRD. Flow in Pipe Networks" by Jeppson for an
(3) The end pipes for psuedo loops explanation of these two different loops.) Thus in
betwcen sources of supply can be specified. entering the data one should enter the second
(LOOPSE::::1) pump after the PUMPS command as the pump
(4) USU-NETWK can be requested to closest to the first pump, and the third pump so
optimize the set of pseudo loops. (LOOPSE;:;:2) it is close to the second, etc. The last line after
The last 3 of these means can be selected among the PUMPS command should represent a source
through the use of the option LOOPSE. The that is close to the first reservoir entered under
default is LOOPSE=O which results in (1) above. the RESER command, and the second line under
Reasons why (1) above is the default are given RESER should be a reservoir close to the first
below. reservoir etc. Pseudo loops for energy equations
are form between the downstream side of PRY's
LOOPSE=O (default) and other sources, and between the upstream side
By selectively pairing reservoirs, source of BPV's and other sources. Therefore, the order
pumps and/or pressure control valves so that in which lines occur after the command VALVE
minimum sequences of pipes are needed to should be such that the downstream side of the
connect them the length of loops can be keep first PRY is close to the upstream side of the first
small allowing the banding subroutine to find a BPV, etc.
smaller band width for the Jacobian and result in For example if there are 5 source pumps
reduced computer execution time. If LOOPSE=O with pipes 8, 1, 30, 200 and 121 connecting them
-26-
La the network, 4 reservoirs connnected to the LOOPSE=1
network by pipes 2, 10, 50 and 231, and 2 PRY's The method referred to as (2) above, of
in pipes 38 and 56, then as the default USU- contrOlling the formation of pseudo loops by
NETWK would attempt to form the corrective providing the pipe pairs between which both the
flow rate loops between the following pairs of corrective flow rate loops and the energy loops are
pipes: (8,1), (1,30), (30,200), (ZOO,121), (121,2), to be formed, is selected by setting LOOPSE=1 in
(2,10), (10,50), and (50,231) and the energy loops the $SPECIF list of options. This option allows
between the following pairs of pipes: (8,1), (1,30), much more flexibility than ordering sources as
(30,200), (200,121), (121,2), (2,10), (10,50), they are entered. Since several other sources
(50,231), (231,38), (38,56). Since the corrective (including PRVs and BPVs) might be paired with
flowrate loops might contain the pipes with PRVs, the same source, this option does require extra
but the energy loops cannot, the first of these thought and input data on the part of the user.
loops often are different even though they contain These pairs of pipes are given immediately after
the same end pipes. the RUN or END command.
Should there be no path of connected Each new energy pseudo loop thus
pipes between the end pipes selected in this specified must represent a new independent
manner, then a message to this effect is printed, equation, e.g. that is not redundant with those
provided NPRINT is large enough, and an already given. USU-NETWK assumes you know
alternate pair of end pipes is chosen. Should all what you are doing when you give pairs of pipes
such pairs be exhausted and still no pipe to a with LOOPSE=2, and mistakes in giving these
particular end pipe found then additional messages pair can cause unpredictable results. Giving pairs
arc wriLLen and the solution either terminated or between which no connected series of pipes exist
perhaps continued if it appears a valid single will result in termination of the solution, but for
neLwork may exist. If no path exists from a other mistakes on your part no checking is done.
particular source of supply to any other source of If PRVs or BPVs are presenL then two
supply it means that the network is actually two such sets of integer values must be given that
separate hydraulic systems. USU-NETWK provide the end pipes for (1) the corrective flow
assumes you have made a mistake, should this rate loops, and (2) the energy loops. The number
occur, and terminates the solution. You must of pair of integers required with LOOPSE=1
process this dual system as two separate analyses. equals the number of sources of supply (source
For many networks the user can easily pumps plus reservoirs minus one for the corrective
examine the map of his water system, and follow flow rate pseudo loops, and the number of sources
the above guideline in entering data. There are of supply including the PRVs and BPVs as
factors that do complicate the above, however. It artificial reservoirs (source pumps + reservoirs
is possible that PRY's and/or BPV's separate the +PRVs+BPVs) minus one for the energy loops.
network into 2 or more different pressure zones, When using the DHEAD command additional
in which event there will be no paths of connected pseudo loops will be formed between the node
pipes beLween all sources of supply and pressure whose HGL is specified and the source given, but
control valves. In some systems it is possible to these are not included in the above pairs.
form shorter pseudo loops by connecting two or Likewise specifying unknown demands, but known
more sources to a single source. It can occur that HGVs with the command SETPR, etc. will add LO
the ordering of sources as described above to keep the number of pseudo loops, but again you do not
the corrective flow rate loops short may result in include these as pairs. Modification 5 of the input
long energy loops or vice versus. (Other things data for Example #1 illustrates the use of
being equal it is best to favor keeping the energy LOOPSE=1.
loops short over keeping the corrective flow rate As a final means of forming pseudo loops
loops short.) In some systems it is possible to you can request that USU-NETWK optimize the
form shorter pseudo loops by connecting two or set of both corrective flow rate loops and energy
more sources to a single source. Therefore, even loops to minimum the lengths of all of these
if one gave full consideration to the above loops. One might assume this is the best solution,
ordering it may not represent a very good solution and should be the default. The problem is that a
LO the problem of getting the best set of pseudo considerable amount of computer effort is
loops defined for a given network. Setting necessary to perform this optimization. Often it
LOOPSE= 1 or 2 provides other possiblities. is much easier for an individual to do quite a
satisfactory job by simply looking at a map of the
27
piping system. The computer does not view a specify that Manning's Equation is to be used in
map of the network. Rather it must form all computing the relationships between the
possible loops and then make a number of head losses and fiowratcs in the pipes of the
decisions about which of all of these possible network. From the magnitude of the wall
loops are the best sets to use. The table below roughness coefficient USU-NETWK cannot
shows the number of independent loops that are distinguish whether the Darcy-Weisbach Equation
potentially available (without pressure zones or the Manning's Equation is to be used, and the
occurring) as a function of the number of sources former equation will be used. Therefore, it is
of supply. mandatory to specify MANNI=l, or NEQUAT=2
With LOOPSE=3 all of these loops will if Manning's Equation is to be used.
be formed, or attempted to be formed, and
decisions made about which of these to use so
that they are all as short as possible, while still MAX
representing a set of independent equations. See lTERA
There are three methods that could be used to
handle the information related to these loops
within the program: (1) the information could all NCONTI
be retained in memory, (2) it would be written to
a direct access file, and retrieved as necessary NCONTl=l causes USU-NETWK to act
later, or (3) the loops could be repeatedly similar to when NOSTOP=l, however, does not
redetermined whenever they are needed by the terminate execution when error conditions
optimization scheme. Increased computer times associated with appurtenances of the network are
are definite disadvantages of (2) and (3). For a detected.
large number of sources, method (1) will require
a large amount of memory since each loop may
require a large number of word or information.
NELEV
The decision was to use (1) above, but discard, Le.
replace information as soon as it is apparent that
This option has a dual function; one
a loop will not become part of the final set of
associated with the standard input, and the second
pseudo loops. Furthermore, since it is not
when the form of input described in Appendix B
possible to determine in advance how much
(Le. INPUTA=2 or 3 is given in the $SPECIF
memory may be required, and it would be costly
list).
to check each time new loop information is
In connection with the standard input
obtained whether memory is still available, no
NELEV can be given the value -1 to specify that
checking is done within the
an extra table should be written that distinguishes
program to terminate execution if adequate
pressure heads and velocity heads for the different
memory is not available.
pipes that join at each node of the network.
If a number of solutions for a network are
Ordinarily NETWK does not make any distinction
anticipated one might first use this option, and
between the elevation of the energy line, (the sum
then later use LOOPSE= 1, or better yet to extract
of the elevation head, the pressure head, and the
these loops from the output obtained with
velocity head), and the elevation of the hydraulic
NPRINT= 1 or larger, and then add them to the
grade line (the sum of the elevation head, and the
input data with the option LOOPRD=l, or use
pressure head). However, if it is important that
the options IOUTO and IOUTI in obtaining these
some difference be made then this can be
additional solutions.
accomplished by setting NELEV=-l. With
NELEV=-l a special extra table will gives the
No. sources 2 5 10 15 20 30 50 75 100 160 pressure head and pressure at each node that joins
Pseudo loops 1 10 45 105 190 135 1225 2775 4950 12720 every junction of the network by substracting the
different velocity heads in the pipes from the
elevation of the energy line. Since the pipes
joining at a junction will generally have different
MANNI velocities in them these pressure heads will be
different. The reported values in the NODES
Manni set equal to 1, is an alternate to DATA table will be the elevation of the energy
setting NEQUAT=2 in the $SPECIF list to
-28-
line, and the head reported in this extra table will NEQUDI (EQUDIA)
be the sum of the pressure head and the velocity
head. In addition if NELEV=-l then a loss will This option only has meaning if
be assume equal to one-half the velocity head, for differential head devices of type # 2 are entered
flow in any pipe leaving a reservoir, and a full with the command DHEAD. If the differential
velocity head will be assume to be lost for any head is of a magnitude so that the combined head
flow in a pipe entering a reservoir. caused by the frictional head loss plus the
USU-NETWK is not designed to correctly differential head can be achieved by another size
solve pipe flow problems for which velocity heads pipe, then USU-NETWK will compute the
are dominate over pressure head, as is the case for diameter of this equivalent pipe. These equivalent
a small diameter venturi, or aspirator. For such diameters are the pipe sizes that the command
problems concern about what controls the DHEAD can be used to determine. If this special
elevation of the energy line in pipes upstream and table of equivalent pipe diameters is not to be
downstream of nodes must exist. USU-NETWK created NEQUDI=O should be given. (Default
assume the energy lines are the same for all pipes NEQUDI=l)
that connect at a node.
If NELEV is given a value in conjunction NETCHK
with INPUTA=2 or 3, then it can have the values
o or 1. The default is NELEV=1. If NELEV=O, This option allow the network's layout, or
then the elevation of the node is read in topology to be defined by both pipe and node
immediately after the demand on the line of group oriented input data, and therefore is useful in
No. 27, described in Appendix B, before the pipes verifying that the input data is correct that is
which join at that node. If NELEV=l, then the being used by USU-NETWK in providing
elevation is read on a separate line as described in solutions. The default is NETCHK = 0 which
Appendix B. indicates that the node oriented data is not given.
The following four values can be given to
NEQUAT NETCHK to allow different methods for
providing this additional data that usually defines
Determines what equation will be used to the network's layout: -1, 1, -2 or 2. If NETCHK
define the relationships between the headlosses is positive, i.e. 1 or 2 then the node oriented data
and flowrates in pipes. If NEQUAT=O then the is provided after the elevation of the node after
Darcy-Weisbach Equation will be used; if the NODES command. If NETCHK is negative,
NEQUAT=l then the Hazen-Williams Equation i.e. -lor -2, then this additional data follows the
will be used; and if NEQUAT=2 then the RUN or END command. The difference between
Manning's Equation will be used. absolute value of 1 and 2 is whether the assumed
USU-NETWK will determine whether to direction of flow should be checked in every pipe
use the Darcy-Weisbach Equation or the Hazen- between this data and that given in the pipe
Williams Equation based on the first pipe wall oriented data. If NETCHK= III directions of flow
roughness coefficient given under the PIPES or are not checked whereas if NETCHK= 121
the PIPE- command, and therefore, NEQUAT is directions of flow must be the same in both
generally not included in the $SPECIF list. If no definitions of the network.
pipe roughness values are given so that the default The extra data requires if NETCHK is not
value of COEFRO is used, then this value will equal to zero consist of the pipe number that join
determine the equation that will be used, and at each node of the network. If the value is 2 or -
since the default value of COEFRO=.Ol02, if it is 2, then these pipe number must be preceeded by
not incJuded in the $SPECIF list, the Darcy- a minus sign (Le. be the negative of the pipe
Weisbach equation will be used. However, if the number) if the assumed flow direction is into the
Manning's Equation is to be used either junction.
NEQUAT must be given a value of 2 or MANNI To summarize the following is available
a value of 1 because the magnitude of Manning's with this option:
n and the equivalent sand roughness, e cannot be 1. If NETCHK=-l, then after the RUN or END
distinguished. Selling NHAZEN = 1 is equivalent command extra data must be given that lists the
to NEQUAT=l, as is MANNI=l equivalent to pipes that joint at the nodes of the network.
NEQUAT=2. These data are on separate lines, and the data on
29
these lines is described as Card No. 27 using the or possibly none of the graphics routines, and
alternate node oriented form of data described in therefore only the formatted input feature
Appendix B. Each line of this data consists of (a) described above may be controlled by NETPLT.
the demand at this node, (b) the elevation of this If the absolute value of NETPLT=1 (i.e.
node if NELEV =0, but if NELEV = 1 then the lor -1) then a computer generated Calcomp Plot
elevation is not given, i.e. (b) is skipped, (c) the of the network will be generated. Depending
pipe numbers that join at this node. These lines upon the installation and the graphics drivers, this
must be in the same order as the node data given Calcomp Plot may be directed to other graphic
after the NODES command, and if the PIPE- devices. This plot consists of the layout of the
command is used the order of these data must be network, with pipes and nodes labeled if desired,
the same as the order in which node numbers first as well as pipe diameters and length printed.
appear. Demands at nodes may be printed. Flowrates in
2. If NETCHK=l, then pipe numbers that join at pipes may be printed, and pressure at nodes may
the node are listed after the elevation on lines be printed. A menu will appear before the plot
after the NODES command. It is not possible to file is written that allows selection of the items
set NETCHK= 1 and use the PIPE- command to you desire to have on the plot, as well as its size,
enter the basis data for the network. Specified and the height of the lettering on the plot. The
directions of flow are not checked i.e. it is not version of USU-NETWK designed to run on PC's
necessary to give minus values if the assumed under DOS will write data to a file PLTNET.DAT
direction of flow is into the junction. if NETPLT=l, that can be used by the post
3. If NETCHK=-2, then the input is identical to processor PLTNET to display the network, and
that described with NETWK=-l, except that if the selected item from its solution. See Appendix C
assumed direction of flow for a pipe is into that and the explantion in using program PLTNET.
node its number is preceded by a minus sign.
4. If NETCHK=2, then the input is identical to Summary of option NETPLT
that described with NETWK= 1, except that if the
assumed direction of flow for a pipe is into that This option controls:
node its number is preceded by a minus sign. 1. Output files for graphics
For an examples that uses this option see 2. Writing data files that can be used as
Modification # 1, # 2 and # 3 for Example No. input to USU-NETWK, or other graphics
1. programs.
3. Reading formatted input files created
NETPLT with PIPEINPT.
-30-
= 2 Same as 1 except original input next solution.
data does not have x & y coordinates for nodes of
network. These are, therefore, provided in NFLOW
another file.
= - 2 Same as 2 except you can give This option tell USU-NETWK what units
message to operator. are associated with the demands that are given
= 3 More general graphics output file under the NODES, or the PIPE- commands. In
will be written that contains information for addition to several volumetric units for flowrate,
auxiliary programs to use such as: USU-NETWK also allows weight and mass
(a) PLTNET3 (Requires that DISSPLA flowrates to be used.
software be present) - makes: Depending upon the value given to
(1) 3-D perspective display of NFLOW the following units apply to demands:
network & HGL. NFLOW = 0, in cfs if ES units are used,
(2) Contour map of pressure, in m3/s if SI units are used.
etc. NFLOW = 1, in gpm (allowed only with
(3) 3-D perspective over contour ES units).
map. NFLOW = 2, in mgd (allowed only with
(b) PROFILM - makes ES units).
(1) HGL-elev. & elev. profiles NFLOW = 3, in m3/s (allowed only with
thru selected sequences of pipes. SI units).
(2) Network layout with pressure NFLOW = 4, in liters/s (allowed only
bars at nodes. with SI units).
(3) Contour map type map that NFLOW = 5, in pounds/s (allowed only
shows lines of constant pressure, with ES units).
pressure head, or HGL-elevations. NFLOW = 6, in Newtons/s (allowed only
with SI units).
(c) OFPLOT - draws the network and NFLOW = 7, in slugs/s (allowed only
selected solution items similar to the plot with ES units).
routines included as part of the full NFLOW = 8, in kHograms/s (allowed only
simulation version of USU-NETWK with SI units).
OFPLOT is a separate program for PC
(or larger computer use) that consists of In solving a network problem, USU-
the same plotting subroutines that are NETWK assumes the fluid is incompressible, Le.
built into the full simulation version of the internal energy or enthalphy of the fluid is not
USU-NETWK. included in the energy equation. For some
problems a reasonable assumption is that the
= 13 & 14 Informs USU-NETWK that internal energy does not change, but since the
input data is according to format from PIPEINPT fluids density, or specific weight, might change
(& PLTNET). If = 14, then a data file written significantly because of large temperature or
for PLTNET to use will be written from the pressure changes, an overall volumetric flow rate
solution. balance does not exist. For such problems USU-
NETWK can produce a valid enough solution for
many purposes by giving demands in units of
NEWSTR# weight or mass flowrates. Then continuity is
When a series of solutions for a basic satisfied, since all computations will be based on
network are being obtained using the CHANGE these weight or mass flowrate units. If cfs (or
command, or by running a time dependent m3/s) are already in an input data file, weight or
solution, the usual procedure is to leave PRY's mass flowrates can still be specified for demands
etc., that have shut off in that condition for the by giving PEAKF the value of 62.4 or 1.94 for ES
next solution or time step solution. By setting units, or for SI units setting PEAKF=9800 or =
NEWSTR = 1 this procedure will be altered so 1000, respectively. Likewise PEAKF may modify
that all devices will be opened, or put in the gpm or mgd, etc. to weight or mass flowrates.
condition denoted by the original data, prior to An example of a problem in which weight
beginning the iterative process of obtaining the or mass flowrates should be used is the feed water
train system of a steam turbine power plant where
31
the water leaving the condensor may have a NODESP
temperature of UXfF or less and be at a pressure
of 14.0 psia so that here the fluid's specific This option must be set equal to 1
weight is 62.0 Ibs/ft3 . As the fluid passes through (NODESP=I) if source pumps and reservoirs are
several stages of heaters and pumps and arrives at given node numbers. If these sources of supply
the boiler end, its temperature may be 400F or are given node numbers, these node numbers must
more, and be at a pressure of 1000 psia or more, be given in the node data after the NODES
so that its specific weight is now 53.3 Ib/ft3 . The command. If they are not numbered (NODESP
large change in the specific weight makes =0, the default) then O's are given to denote
volumetric flowrates meaningless. nonexistent nodes for pipes that connect a source
Another example is the flow of natural of supply to the network when using the PIPES
gas within a portion of the distribution network command. If nodes are numbered with
where internal energy is near enough constant to NODESP=I, then nozzles just like reservoirs (and
be assumed constant. source PUMPS) are identified by their node
number, and must also be numbered as nodes.
NHAZEN
NOMDIA
If NHAZEN = 1 USUNETWK is told to
use the Hazen William equation for the hydraulic This option has meaning only if DESIGN
computations. If NHAZEN > 1, then Manning's = 1, and then indicates to USUNETWK that a
equation is used. The same is achieved by setting list of standard pipe diameters will be given from
NEQUAT=1. which to select standard pipe sizes from. If
NOMDIA=O, the default, then the default
NOCHK# diameters given below wiU be used for this
purpose. If NOMDIA= 1, then immediately after
This option has meaning only when used the RUN command, this list of standard diameters
in conjunction with IOUTO and IOUTI. It must be provided. This data is provided by giving
determines whether the input data will be checked the number of new standard diameters in the list,
for errors, etc., or not. If NOCHK is greater than followed by the values of these diameters all on
o then the data read in from file IOUTI will not the same line. Because of the dimensions in the
be checked for errors or whether a network is program, the number in this list must be 20 or
properly defined. Thus with NOCHK > 0 less. When using SI units this list must be given
computer time can be saved. Not only is the data since the default standard diameters are in inches.
not checked for errors, but also the corrective The list of standard diameters, if the default
flowrate loops are not regenerated. Thus if the NOMDIA=1 is: 0,4,6,8,10,12,15,18,20,24,30,36,
data file written by setting IOUTO >0 is changed 42,48,54,60,72,84,96,108 inches.
so that loops must be different, then it is
necessary that this loop data which is stored in the NOMSOL
file also be changed, or NOCHK=O so that these
loops will be regenerated. It is not possible to set Has meaning only if DESIGN=l, and
NOCHK=O with IOUTI > 0 if NOCHK was set then determines whether USU-NETWK will stop
equal to 1 when the file was written with IOUTO when the special design solution is completcd, or
> O. The reverse is possible, however, that is whether it will foHow this design solution with an
NOCHK can be equal to 1 when using IOUTI > analysis solution in which the standard diameters
o even if NOCHK=O when the file was created will be used for the pipes whose diameters were
with IOUTO>O. (Default NOCHK=I) not specified. If NOMSOL=O, the default, then,
USU-NETWK stops when the solution for the
NODESO unknown diameters is complete. If NOMSOL= 1
then an analysis solution follows using the closest
Determines whether or not the output in standard diameter to those computed.
the NODES DATA table will be listed in the
order of ascending nodes or in the order Used in NOMSOL can also be used for special
the input data file. NODESO=llist in ascending computations associated with standard diameters
order (Default NODESO=I) and the deSign solution of pipe diameters.
Generally no distinction is made between the
energy line and the hydraulic grade line. If
velocity heads are significant, and these head will
cause significant head and pressure differences in in the network as the equivalent pipe, thus
pipes that join at a junction, then USU-NETWK parallel pipes will be easily identified in the
can be instructed not to ignore the velocity heads output Table of PIPE data. The default for
in computing nodal pressures and heads by setting NOPARP=O, since many networks do not contain
NOMSOL negative. If NOMSOL=-l, then this parallel pipes and considerable internal checking
distinction is made and an analysis based on the is necessary to determine which pipes are parallel,
standard diameters does not occur. If and thus this checking is eliminated. If parallel
NOMSOL=-2, then an analysis of the network pipes do exist in the network, especially if many
using the standard diameters is performed. parallel pipes do exist, NOPARP should be set
The standard diameter is generally taken equal to 1. It is obvious that any parallel pipes
closest to the computed diameter. If the diameter that are removed from the network cannot contain
just larger than the computed diameter is to be special devices such as PRVs, BPV, check valves,
selccted, then set NOMSOL equal to a value form booster pumps, differential head devices, and
10 thru 20. If NOMSOL= 15, then the analysis minor losses. If such devices should exist in only
based on the standard diameters will not be one pipe of a group of parallel pipes the option
performed. If the diameter just smaller than the NOPARP=1 can be used provided this pipe
computed diameter is to be selected, then set occurs in the input data before the other pipes
NOMSOL=21 through 30. If NOMSOL=25 then that are parallel with it, since the position of the
the analysis solution based on the next smallest first pipe is used for the equivalent pipe. Since
diamter will not be performed. If NOMSOL=99, the pOSition for the other parallel pipes are
then instead of assuming a single diameter exist removed, i.e., these pipes are not assumed to be in
for the links between the nodes, the links will be the network, diagnostic messages will indicate the
composed to two pipe sizes with the standard devices have been specified in a nonexistent pipe
diameters just smaller and just larger then the and the solution terminated. In using either the
computed diameter. The lengthS of these two Hazen-Williams or the Manning's equations minor
pipes win be computed. No analysis will follow if losses will be handled properly with NOPARP=1
NOMSOL=99 since the specified HGL elevation provided only the first pipe of the group contains
are satisfied exactly. such a device. Since the equivalent pipe must be
redetermined depending upon the total flow
through a group of parallel pipes if the Darcy-
NOPARP # Weisbach equation is used, minor losses will not
be handled completely correct even if the first
If a network contains a number of groups pipe contains this minor loss. It is also not
of parallel pipes it is possible to save possible to change any of the characteristics of
computational effort in the solution by forming an removed pipes through the CHANGE command.
equivalent pipe for these groups of parallel pipes
and thus reduce the number of pipes and number
of loops used in the solution. For example, if ten NOSTOP#
pipes are eliminated in this process the number of
simultaneous equations that must be solved will be If the correct number of energy loops is
reduced by ten also, since each such removed not determined to equal the number of unknowns,
parallel pipe removes a 2 pipe loop from the basic then USU-NETWK stops execution. This
loops of the network. NOPARP allows control condition occurs when there is an error in the
over whether an equivalent pipe will be created to specifications of the network:. By setting
duplicate the hydraulic characteristics of each NOSTOP= 1 this error condition will be ignored.
group of parallel pipes or not. If NOPARP=O Generally, however, execution will terminate later
equivalent pipes will not be formed. If NOPARP because of a singular matrix condition or some
= 1 the network will be examined for all parallel other condition.
pipes and any such group of pipes with the same
upstream and downstream nodes will be replaced
by an "equivalent hydraulic pipe" in carrying out NPERCf
the solution. The removed pipes will be restored,
however, at the time the solution tables are USU-NETWK may be assisted in
printed. All pipes in the group will be entered in obtaining a better initialization by providing
the table in the position of the pipe that remains
-33-
estimates for the amount of inflow (or outflow as NPLENG
a negative inflow) from each of the sources of
supply. To provide such estimates NPERCf must If set to a value greater than zero, i.e.,
be given a value of 1 or 5. If NPERCT= 1, then NPLENG=l, then the length of the pipes are to
estimates are in fractions of the total demand. If be given in 1000 feet or 1000 meters.
NPERCT=5, then these estimates are in the units
used in specifying the demands. The order in NPNRES #
which these estimates are given is the same as the
order of reservoirs in the input data, followed by Applicable only if ISIML= 1, and then
the order of source pumps in the input data, i.e. denotes whether pump rules and changes in pump
according to the internal reservoir and source rotational speeds are to use pressure at designated
pumps numbers. In the absence of such assistance nodes, or elevations of the water surfaces in the
in initializing each reservoir is assumed to supply reservoirs to control the number of pumps which
an equal inflow to the network if the pipes that will be operating, i.e. whether the rule depends on
connect reservoirs to the network have their the pressure at a node of a reservoir water surface
downstream nodes on the network. The elevation.
unassisted initialization assumes source pumps If NPNRES=O, then the pressure at the
supply an amount equal to their normal capacities, designated node control the number of pumps
generally. which will operate at a station. If NPNRES=l,
If NPERCf is greater than 0, the then the water surface elevation in a designated
estimates of the inflow data come after the RUN reservoir controls the number of pumps which will
or END command, i.e, are the last data line operate at a station. This same option can be
required in the input data besides the CHANGE placed in the $TDATA list.
data or SIMULATION data. This line comes
after the data described if LOOPSE= 1.
NPRINT (IOEX)
NPGPM
Determines the amount of extra outpul
This option indicates the units of flow that will be printed. A NPRINT=3 suppresses all
associated with describing the pump such extra output and NPRINT=lO gives the
characteristics. These flows may be in different maximum amount. The default value for
units than the units of demands. Depending upon NPRINT=O.
the value of NPGPM the following are assumed
regarding lhe units associated with any flowrates
associated with defining pump curves:
NPGPM=O, flowrates in cfs if ES units
NPRPRV
are used; in m3 /s if SI units are used.
Allows for the setting of pressure
NPGPM=l, flowrates in gpm (allowed
only with ES units). reduction valves and back pressure valves to be
NPGPM=2, flowrates in mgd (allowed given in terms of the elevation of its downstream
only with ES units). HGL elevation, or its pressure setting in psi, when
using ES units, or Pascals when using SI units. If
NPGPM=3, flowrates in m3/s (allowed
only with SI units). NPRPRV =0, then this setting is given in ft (or
meters) of head. This HGL elevation equals ph
NPGPM=4, flowrates in liters/s (allowed
only with SI units). +elevation of the PRY or BPV. If NPRI)RV=l
then this setting is given in psi, when using ES
NPGPM=5, flowrates in pounds/s
(allowed only with ES units). units, or Pascals, when using SI units. When this
NPGPM=6, flowrates in Newtons/s option is used, the elevation of the, PRY or B~V
(allowed only with SI units). is assumed at the point determmed from Its
NPGPM=7, flowrates in slugs/s (allowed location in the pipe as though the pipe were a
only with ES units). straight line between its nodes. (Default
NPGPM=8, flowrates in kilograms/s NPRPRV=O)
(allowed only with SI units).
34
NPRPUM less than the value specified for the device, then
the device is removed from operation. If this
Allows for giving pressure at the inlet of process is not finding the proper status for devices
source pumps instead of the water sump elevation. effectively, i.e. devices are repeatedly shut-off and
If NPRPUM=l, pressure in psi is given, when then opened again, or removed from operation,
using ES units, and pressure in Pascals is given and then placed back in operation, then NPRTRM
when using SI units. These pressures will be the may be given a value different from the default
last item given after the command PUMPS. This value of 0 to allow the user to effect some control
option is useful when analyzing gas flows in of this process. The values of NPRTRM have the
networks by USU-NETWK, assuming that following effects:
compressibility (i.e. thermodynamic) effects can be
neglected. In such situations, the pressure of inlet NPRTRM=O Do the usual thing in shutting off
sources of supply to pumps are known, and the the flow if conditions seem to call for this, or
sump elevation is an artificial quantity obtained by removing PRY's and SPY's from operation.
dividing the pressure by the specific weight of the
gas plus the elevation of the pump location. NPRTRM=l Print the results from the solution
just obtained which indicates that the PRY should
be removed from operation before redoing the
solution with the PRV(s) removed. Examining
NPRRES this solution can give the user insight into the
operation of the PRV(s), and whether its setting
Allows reservoir sources of supply to have should be changed. (Simulation version only)
pressures specified rather than water surface
elevations. If NPRRES=l, then pressure is given NPRTRM=2 Shut-off only one PRY at a time
in psi when using ES units, and Pascals when before performing additional iterations toward the
using SI units, in place of the water surface solution. The PRY that will be shut-off, if more
elevation described after the command RESER. than 1 PRY has a negative flow rate through its
When using this option with NODESP=O, the pipe is the one in the pipe with the largest
elevation needed to convert the given pressure negative flow rate.
into an HGL elevation is taken as the elevation of
the node downstream from the reservoir since no NPRTRM=3 Display information on the monitor
ground elevation is given at the reservoir. This showing the flow rates, etc through pipes that
option is useful for pipe networks containing gas contain PR V's, and ask the user to response
flows (when thermodynamic effects are whether any PRY with a negative flow rate
insignificant) and heads are artificial quantities through its pipe should be shut-off or not. Thus
computed by dividing pressure by the specific the user can prevent a PRY from shutting off the
weight. If NPRRES=l, then pressures for all flow by indicating that its flow should not be shut-
reservoirs in the network must be given as the off. This prompting will occur during each
second item on all lines after the command subsequent iteration for which the residual is less
RESER. then TVSUM and a negative flow rate occurs in
the pipe during this iteration. Also the user will
be able to specify what PR V's should be removed
from operation, or restored to operation.
NPRTRM NPRTRM=4 The same occurs as with NPRTRM
=3 with the addition that the value of the current
Allows the user control over the manner
TVSUM (that determines when to check if PRY's
in which pressure reduction valves and back
should shut-Off) is displayed and the user is
pressure values are shut-off, or removed from
requested to give a new value that will be used
operation, etc. The usual mode of operation of
thereafter.
PRY's and SPY's is to maintain the pressure, or
HGL elevation setting that is given in the input
data. However, should the direction of flow try to
reverse, then the device will shut-off the flow NPSERI
when the residual becomes less than TVSUM, or
if the HGL elevation supplied by the system is This option allows pumping stations to be
references for purposes of specifying number of
-35-
pumps in series or parallel by: (a) their number is to introduce a transformation for pumps (see
(like the order of their occurrences in the input Jeppson's book ftAnalysis of Flow in Pipe
date), (b) by the pipe connecting them to the Networks"). This transformation generally
network, or (c) by their node number, if given a accelerates convergence, but destroys the symmetry
node number with NODESP=1. See data under of the Jacobian matrix used in the Newton
commands SERIES and PARALLEL. If Method. If NSYMMT=O, then method # 1 is
NPSERI=O, pumping stations are used in solving the problem.
identified by the pump number, i.e. by the Another method, called method # 2,
sequence number of the pump as determined by maintains symmetry in the Jacobian matrix, and
the order of the pump data after the PUMPS consequently does not introduce the pump
command. transformation. Since the Jacobian cannot be
NPSERI=l, pumping stations are made symmetric when PRY's, BPV's or
identified by the pipe number that connects the differential head devices introduced by the
source pump to the network or which contains the DHEAD command, and when pressure at nodes
booster pump. (Default, NPSERI=I) are specified with the SETPR command method #
NPSERI=2, source pumping stations are 2 can not be used if any such device exists in the
identified by their node number. NPSERI=2 can network. Method # 2 is allowed only for
be used only if these sources of supply are problems for which a symmetric positive definite
numbered as nodes by giving NODESP= 1 in the Jacobian Matrix is possible from the equations
$SPECIF list also. Booster pumps will still be that solve for the corrective flowrates in the loops
identified by the pipe they are in. of the network. USU-NETWK will determine this
if you select method # 2, and inform you.
Method # 2 is selected by giving NSYMMT= l.
NSORTP A third solution method, called method #
3, utilizes special sparse matrix methods in solving
This option control the order of pipes in the linear system of equations for each Newton
the output table. If NSORTP=l the pipes in the iteration. Method # 3 allows a symmetric, or a
output tables will be arranged in ascending order nonsymmetric matrix, and is the only method built
of their numbers, i.e. the smallest pipe number into the PC version of USU-NETWK.
will be the first entry in this table, and the largest To summarize the use of NSYMMT in
pipe number will be the last pipe. If NSORTP=O, selecting the method of solution the following
then the order in the PIPE DATA table will be occurs:
that of the pipe data contained in the input data. IfNSYMMT=-l, USU-NETWK will select
(Default NSORTP=I) whether to use method # 1, or method # 2 based
on whether symmetry of the Jacobian matrix can
be maintained or not.
NSYMMT# If NSYMMT=O, method # 1 will be used.
If NSYMMT= 1, method # 2 will be used
This option allows selection between three if pOSSible, otherwise method # 1 will be used if
separate solution methods that the full version of devices in the network do not allow symmetry, and
USU-NETWK has built into it. The PC version a message will inform you that method # 2 cannot
has but one solution method, as may be the case be utilized for this network.
with other reduced version of USU-NETWK, and If NSYMMT=5, method # 3, the sparse
therefore this use of NSYMMT will have no matrix routines will be utilized. (Default
effect. In addition NSYMMT can be used to NSYMMT=5, generally, but may be NSYMMT=-
control how USU-NETWK handles computing 1)
friction factors for use in the Darcy-Weisbach Note: If convergence is not achieved in
equation for turbulent flows that are close to using method # 2 or method # 3, and PR V do
laminar, where a discontinuity exists in the Moody not exist, you should set NSYMMT=O and see if
diagram. See description below for this use of convergence does occur. The use of method # 1
NSYMMT. Valid values for NSYMMT are: -1 may require more computer time than method #
(the default), 0,1,2,5 & 7. 2, but generally it also is capable of converging to
One method of solution that USU- a solution when pump characteristics adversely
NETWK may use, which will be called method 1, influence convergence. It is possible, however, to
create a network containing pumps for which no
-36-
solution exists. For example, if two pumps with between being computed by the Colebrook-White
flat curves supply a network in close proximity, equation and the laminar flow equation. Should
but produce quite different heads, may result in a this occur even for one pipe in the network, then
saddle point in the mathematics of the pump with convergence to the solution will not take place.
the lower head (i.e. an iminary solution) because By specifying that NSYMMT=2, or
it can not provide the needed head. For such NSYMMT=7, a continuous relationship between
situations convergen to a solution can not occur the friction factor and Reynold's number, i.e. the
or the flowrate will be negative through one of the flowrate in each pipe is established. Use of this
pumps. Of course such situations should not be relationship should prevent the lack of
allowed in real piping systems. convergence that would occur if the regular
In obtaining a time dependent solution relationships are used. Before you can assume
USU-NETWK. will get in trouble should an that the lack of convergence is due to the above
altitude valve shut off flow from (or to) a switching between laminar and turbulent flow you
reservoir and it is attempting to obtain the should verify that the flowrates in some pipes may
solutions based on a symmetric matrix, i.e. method be laminar. This determination can be done by
# 2. The program does not know in advance if an computing the Reynold's numbers associated with
altitude valve will shut of and in the interests of the flowrates given by the nonconverged solution.
efficiency selects method # 2 if NSYMMT=-1. Another easier means for determining whether the
Should this happen you will need to rerun the flow is laminar is to set NPRINT larger, so that
problem with NYSMMT=O, or NSYMMT=5. the coefficients and exponents from the
In addition to the above use of NYSMMT exponential relationship are output, or requesting
it has the following use. By setting NSYMMT=2, the wider single table of output by setting
or NSYMMT=7 you can request that USU- OUTPUI = 0 or 2. (The PC version of
NETWK. use an alternative method for evaluating USU-NETWK. does not print the exponents when
the frictional head losses. This alternative method NPRINT is set large.) If an exponent is 2 (or one
is only applicable for use with the Darcy-Weisbach for the exponent minus 1 that is printed with
equation, and will give result that differ from the NPRINT set larger) it indicates that laminar flow
regular solution only if the flow in some pipes is exist in that pipe.
laminar, or very close tb laminar. However, the To provide a continuous relationship
use of this alternative method may be necessary to between the friction factor and the Reynold's
achieve convergence because of the discontinuity number (or flowrate), the laminar relationship
that exist in the friction factor f associated with f=64/Re is modified as follows:
Reynold's number around 2100. When the 1. The friction factor is computed from
Darcy-Weisbach equation is used, then the Colebrook-White equation for a Reynold's
USU-NETWK check to determine whether the number of 2100 and the value for the relative
Reynold's number associated with the flow in any roughness e!D for that pipe.
pipe is less than or greater than 2100 after each 2. The values of a and b in the equation
iteration. Should this Reyn<:>ld's number be less f = a/Q**b are computed so this equation
than 2100 (Le. the flow is' laminar) then the produces the f computed by step 1 for Re equal to
friction factor is computed equal to 64 divided by 2100, and f = .128 for Re = 500 (This is the f
Reynold's number, otherwise the implicit produced by f=64/Re), i.e. a straight line
Colebrook-White equation is solved (or the wholly relationship is assumed on a log-log plot between
rough equation is solved should this be the laminar relationship for a Reynold's number
applicable). The friction factor solved from the of 500 and that produced by the Colebrook-White
Colebrook-White equation has quite a different equation for a Reynold's number of 2100.
magnitude than the friction factor computed under 3. Since the laminar flow relationship will
the assumption that the flow is laminar. For produce an infinite value for the friction factor as
example at a Reynold's number of 2100 the the Reynold's number approach zero, a linear
Colebrook-White equation gives f = .050 for a relationship is assumed to apply between Re=500
6-inch cast iron pipe (e=.0102 inches) whereas the & f = .128 and an f = 1.0 for a Reynold's number
laminar relationship f = 64/Re gives f = .030. of O. The switching between the relationship from
Therefore, a discontinuity in the friction factors step (2) and step (3) however, may not occur until
occurs for flows with small Reynold's numbers the Reynold's Number is less than 200 or possibly
about 2100. In the iterative solution process the 150 depending upon what is set at the time the
computation of the friction factor may alternate program is compiled.
-37-
In summary if the solution fails to of 100 is added to the above values of NTRAND
converge, and it can be determined that the flow then USU-NETWK will complete N time step
may be laminar in some pipes of the network, solutions between each solution whose results will
then the problem of lack of convergence may be be written in the usual manner of output. For
corrected by setting NSYMMT = 2 or NSYMMT example if NTRAND=200, only every second
= 7. With NSYMMT=2, solution method used solution will have the usual table output given. If
will be based on banding the Jacobian matrix just NTRAND=202 then every other time step will be
as if NSYMMT=O, and if NSYMMT=7, the added to the file TABLE.DAT, but the results for
solution will be based on the sparse matrix each time step will be written to the direct access
methods just as when NSYMMT=5. It is file.
important to note that the above applies only
when the Darcy-Weisbach equation is used. This If NTRAND is minus 100, or minus 200
special solution may be used for other problems a print frequency for both the direct access file,
for which no laminar flows occur, but with a slight and regular output tables can be established.
increase in computation times, generally. Giving NTRAND values such as: -101, -102, -103,
-201,-202, etc. tell USU-NETWK that the absolute
multiple of 100 is the frequency that should be
NTRAND# used to add to the direct access file, and the last
digit determines the frequency of writing regular
This option applies only if ISIML=I, and tables.
allows control over whether the usual tables of
output will be written, or a special direct access NUMPIP
data file will be created, or both. In addition
NTRAND can be used to determine the This option must be set equal to 1 if the
frequency, i.e. time increments at which, these files pipes are not given a number in the input data
will be added to. The direct access file mentioned under the command PIPE or PIPE-. If
above can be used by the auxiliary program NUMPIP= 1, then the sequence order in which the
PRINT, described in Appendix E, to provide pipe data occurs in the input file determines the
interactively most any desired portion of the pipe number, i.e. pipes are actually numbered
solution, or complete tables at any time. sequentially starting with 1 for the first pipe.
NTRAND determines the type of output for a When NUMPIP=I, pipes are designated only by
time-dependent solution as follows: their two nodes in the input, but in the output are
NTRAND=O, The solution tables for given their sequence numbers. Also for other data
each time step will consist of the regular tables that requires a pipe number to be given, such as
obtained with OUTPUl=1. A direct access file a pipe that contains a booster pump, the sequence
will not be created. (Default NTRAND = 0) number must be given. (Default NUMPIP=O, for
NTRAND=I, only a direct access file will giving pipe numbers in the input data.)
be written that contains information for auxiliary
program PRINT to provide the solution at any
time requested. NUNIT
NTRAND=2, both a direct access file and
the creation of another file will occur which This parameter is used to distinguish
contains solution tables for each time step in the problem using the International System of units,
usual format of the two table form of output. SI, from those based on the English units e.g. the
Only the tables portion of the solution will be ES system of units. It also allow for variations in
written to this extra file. The additional units for diameters, and equivalent sand roughness
information usually printed to the output file coefficient with these two systems of units. The
besides the solution tables will still be directed to value of NUNIT has the following effect:
the output file given in response to the prompt NUNIT=O, then the diameter and wall
requesting the name of the output file. The name roughness, e (for the Darcy-Weisbach Eq.) are in
of this extra file that will be created is inches, and the length in feet (or 1000 feet if
TABLE.DAT. NPLENG= 1). This is the default.
In addition to the above uses NTRAND NUNIT=I, then the diameter, wall
controls whether the results will be written to the roughness, e, and the length are in feet (or the
files after each time step, or not. If a multiple N
-38-
length in 1000 feet if NPLENG=l). and the coefficient and exponent in the
NUNIT=2, then the diameter, wall exponential equation for defining the flowrate
roughness, e, and the length are in meters (or the head loss relationship. For output control the
length in 1000 meters if NPLENG=l). option OUTPU1 indicates the following:
NUNIT=3, then the diameter and wall OUTPUl=O, then the single wider table is
roughness, e are in centimeters, and the length in used for the output of the solution.
meters (or 1000 meters). OUTPUl=l, (the default) then the two
NUNIT=4, then the diameter and wall separate tables, one contain PIPE DATA and on
roughness, e are in millimeters, and the length in containing NODE DATA are used for the output
meters (or 1000 meters). of the solution.
If the Hazen-Williams, or the Manning's OUTPUl=2, then the solution is
equation is used, then the above units designated duplicated by writing the solution to both the
for the wall roughness, e, are not applicable. This single, as well as the two tables. For time-
same control may alternatively be exercised by dependent solutions the two table form is required
using the command UNITS. if special output or the direct access file is to be
written. Also selection of string for pipe and
node identification automatically selects the two
OUTPUI table form of output as described below.
This option has three roles. The first is USE TO IDENTIFY PIPES AND NODES BY
to specify the output table(s) that should be used ALPHA-NUMERIC STRINGS
for the solution. The second is to allow pipes
and/or nodes to be identified by 8 character strings PIPES and NODES may be identified by
rather than numbers. The third is to control the alpha-numeric strings of up to 8 characters in
precision, or formatting, Le. the number of digits length, if desired, rather than using numbers
to the right of the decimal point of values printed (integers). To communicate this usage to USU-
in the output solution tables. The valid values for NETWK the option OUTPU1 in the $SPECIF list
OUTPU1 are: 0, 1, 2, 11, 12, 13 (-11,-12,-13 in the should be given a value of 11, 12 or 13. The
case of the simulation version) and these values following applies:
added to 1000, 2000,. . 9000 to control the 1. If OUTPUl=ll then both PIPES and
formatting in output tables. The first three are NODES are identified by 8 character strings.
for the first role, the values 11, 12 & 13 denote 2. If OUTPUl=l2 then only PIPES are
whether "pipes & nodes", just "pipes", or just identified by 8 character strings.
"nodes" will be identified by characters, 3. If OUTPUl=l3 then only NODES are
respectively, and adding the thousands control identified by 8 character strings.
formatting. When using the version of USU-NETWK
that also allows time dependent solutions, then
USE TO CONTROL OUTPUT SOLUTION the above values can be preceded by a minus sign
TABLES with the effect that in the solution tables the
USU-NETWK can use either or both of internal pipe and node numbers will be given in
two different forms to report the usual solution addition to the alpha-numeric identifiers. Thus, if
results. One form, the default forms, consists of OUTPUl=-ll then in the PIPE DATA table
two separate tables for the solution. The first (given as part of the solution) the first three
table provides PIPE DATA, i.e. there is an entry columns will contain: 1. the internal pipe number,
for each pipe of the network in this table, and the 2. the upstream internal node number, 3. the
second table provides NODE DATA, i.e. there is downstream internal node number, 4. the pipe
an entry for each node of the network in this string identifier, 5. the upstream node string
table. Unless the option of using 8 characters to identifier, 6. the downstream node string identifier,
identify pipes, and nodes is used, these tables are and the other usual items of data. Each line in
restricted to 80 column in width. The second the NODE DATA table will contain the follOwing
form of output consist of a single table that can columns: 1. the internal node number, 2. the node
used up to 132 columns across a line. This single identifiers, and the other usual items of data. If
table does, however, contain information not in OUTPUl=-l2, then the internal pipe numbers will
the two table form of output, such as the friction be given in the first column before the pipe
factor, if the Darcy-Weisbach equation is utilized, identifiers. If OUTPUl=-l3, then after the pipe
-39-
numbers in the PIPE DATA table two extra new command, including the RUN and END must
columns will be included for the internal upstream be preceded by the word STOP. The exceptions
and downstream node numbers, and the NODE are the first command, NODES, and if only pipes
DATA table will contain the internal node are identified by character strings, then the first
numbers in addition to the node string identifiers. command PIPES is not preceded by STOP.
Presently the PC version of USU-NETWK accepts S. It is not possible to use the
only positive values for the option OUTPUl. "CHANGE" command to define alternate analyses
Furthermore, if PIPES and/or NODES are by using PIPE or NODE character identifiers.
identified by alpha-numerics strings then the input If CHANGE data does change pipe diameters,
data file to USU-NETWK must adhere to the lengths, or demands at nodes, then the internal
following special requirements: number for the pipe or node must be given.
1. NODES must be the first command Internal numbers are described later.
that is given after the $SPECIF list of options. 6. When giving lists of pipe identifiers
The exception is if only PIPES are given as under such commands as VALVC (check valves),
character strings (OUTPU1=l2); then the PIPES or MINOR (minor losses) , it is necessary that
command may be first. each succeeding identifier be within the next field
2. Since up to 8 characters, including of 8 character width. This list of pipe identifier
blanks, can be used for the character identifiers it must be terminated by a / in the first character
is necessary that this data be given in 8-character position of the next 8 character field. If pipes are
field widths. This requirement means that after numbered in the usual manner (OUTPU1 = 13),
the PIPES command that the first 8 positions of then this list may be the usual free format for the
each input line are for the pipe identifier, and if integers it contains.
NODES are also identified as character strings 7. The options NSORTP and NODESO
then positions 9 through 16 and 17 through 24, for having entries in the PIPE DATA and NODE
respectively, are reserved for the two nodes at the DATA output tables listed in ascending order,
ends of this pipe. In identifying devices such as now have no meaning. Both of these tables will
source PUMPS, RESERvoirs, and NOZZLes the retain the order of the input data under the
character string identifier for the pipe or for the PIPES and NODES commands, respectively.
node must be in the first 8 columns of these lines Furthermore, it is not possible to use the single
of input data depending upon whether the option table output (e.g. that given if OUTPU1=0, or
NODESP=O, or NODESP=l, respectively. If =2).
NODESP=O, and pipes are numbered (not 8. If the option NODESP=O (the default
identified by a character strings), then the usual unless set to 1 in the $SPECIF list), then
free format applies to the later integer data, and upstream nodes for pipes that connect sources of
if NODESP=l, and nodes are numbered, then the supply to the network do not have an upstream
usual free format applies to these lines, and the node. In using numbers for nodes these non-
node number (integer) is the first value on the existent nodes are identified by a zero in the data
line. For devices such as VALYES (PR V's), and after the pipes command. When using alpha
VALVC (check valves), that are always in pipes, numeric identifier for nodes (IOUTPUll =11 or
the 8 character fields must be used for the pipe 13) the same zero can be used provided it occurs
identifies for these input lines if OUTPU1=11 or in the first column of the 8 width field for this
= 12, but these lines of input retain their usual node identifier. The other alternative is to leave
free format input if pipes are numbered, i.e. the full 8 character field for this non existent node
OUTPU1=13. A / at the beginning of the next identifier blank. If NODESP=O, and pipes are
field terminates the list. denotes with a alpha numeric identifier
3. The PIPE-nodes command cannot be (I OUTPUll =11 or 12), then the identifier for the
used to enter any data if either PIPES or NODES pipe that connects a reservoir or a source pump to
are identified by character strings. Rather the the network must be used in identifying pipes
commands PIPES and NODES must be used. under the RESER and PUMPS commands.
4. Since any character string is accepted 9. The PIPE DATA output table will
in the first column for the identifier, except a % exceed 80 columns and, therefore, if the output is
which denotes that this line does not constitute a sent to a monitor with only 80 columns across a
line of input, it is necessary to terminate data of line directly by giving TTY for the output file
a given type. This termination is done by the name then each line will be broken with the last
word STOP in columns 1 through 4. Thus each portion of the line displayed below the first
-40-
portion of the line. Thus the table will be the option NODESP=O of not having sources of
difficult to read. The same is true if output files supply numbered as nodes are given below.
are displayed with a TYPE, or COPY DOS
Both PIPES and NODES are identified by
command. (A terminal or PC with the capability character strings.
of displaying 132 characters across a line can be {*
$SPECIF NODESP=l,NFLOW=l~NPGPM=l.
set to this mode and show the tables properly.) OUTPUT1=11,PEAKF=2.5 $ENu
NODES
When printing output files written by USU- NODELN1 a 301
NODELN2 2001
NETWK with abs(OUTPUl) > 10 (but without NODELN3 2001
NODELN4 1501
thousands added) either wider paper than 8 1/2 NODELN5 200/
NODELN6 1501
inch paper must be used, or a font should be used NODELN7 0/
that prints 16.5 characters per inch. This applies NODELN8 0/
STOP
only if PIPES are designated by character strings. PIPES
PIPELN1 NODELN8 NODELN1 500 8 130
See the description of the auxiliary program PIPELN2 NODELN1 NODELN2 5001
PIPELN3 NODELN2 NODELN3 500/
PRNT to accomplish this. PIPELN4 NODELN1 NODELN4 1500 61
PIPELN5 NODELN3 NODELN4 2000 61
10. Much of the extra output that can be PIPELN6 NODELN4 NODELN5 25001
PIPELN7 NODELN6 NODELN5 2500 81
requested by setting the option NPRINT larger PIPELN8 NODELN6 NODELN3 15001
PIPELN9 NODELN7 NODELN6 5001
than 0 will show pipes and nodes as internal STOP
integer numbers rather than their character RESER
NODELN8 100
strings. These internal numbers are established by NODELN7 120
STOP
the order in which the input data occurs after the VALVC
PIPELN3 PIPELN7 PIPELN6 /
PIPES and the NODES commands. These STOP
RUN
internal numbers can be displayed associated with
Only PIPES are identified by character strings.
the alpha-numeric identifiers by setting the option
NPRINT=5 or larger, and as noted above can be ~;PECIF NODESP=l ANFLQW=l,NPGPM=l,
OUTPU1=12,PEAKF=~.5 $END
shown in the solution tables by placing a minus in NODES
1 0 301
front of 11, 12 or 13 when using USU-NETWK 2 2001
3 2001
on larger computers. 4 150/
5 200/
11. When specifying number of pumps in 6 1501
7 01
series or parallel at stations with the SERIES or 8 0/
STOP
PARAL commands, the option NPSERI will PIPES
PIPELN1 8 1 500 8 130
automatically be set to 0, and it is necessary that PIPELN2 1 2 I
the data after these commands use the pump PIPELN2 3 2 /
PIPELN4 1 4 1500 6/
station numbers, e.g. the order of the data after PIPELN5 3 4 2000 6/
PIPELN6 4 5 2500/
the PUMPS and BOOSTer commands. Also it is PIPELN7 6 5 2500 8/
PIPELN8 6 3 1500/
necessary that the command BOOSTer be used PIPELN9 7 6 5001
STOP
rather than BPUMP for booster pumps. RESER
8 100
Use of character strings does not change 7 120
STOP
the manner in which USU-NETWK internally VALVC
keeps track of pipes, nodes, loops, etc. for the PIPELN3 PIPELN7 PIPELN6
STOP
network. This internal book keeping is done with RUN
the internal numbers. These internal numbers are Only NODES are identified by character strings.
1*
established by the order in which PIPES and $SPECIF NODESP=l ANFLOW=l ANPGPM=l,
ICOST=1.0UTPU1=1~.PEAKF=~.5 SEND
NODES are first entered in the input data. The NODES
NODELN1 0 301
use of character strings is a convenience to the NODELN2 2001
user who wishes to have a more easily understood NODELN3 2001
NODELN4 1501
mean for separating pipes and nodes in different NODELN5 2001
NODELN6 150/
parts of the distribution network. An alternative NODELN7 0/
NODELN8 0/
to the use of character strings is to use numbers STOP
PIPES
starting with different hundreds, or possibly 1 NODELN8 NODELN1 500 8 130
2 NODELN1 NODELN2 500/
thousands, but this limits the number of zones, or 3 NODELN2 NODELN3 500/
4 NODELN1 NODELN4 1500 6/
pipes within a designated zone. 5 NODELN3 NODELN4 2000 6/
6 NODELN4 NODELN5 1500/
Example of input data files for a small 7 NODELN6 NODELN5 2500 8/
network that identify: (1) both PIPES and 8 NODELN6 NODELN3 1500/
9 NODELN7 NODELN6 500/
NODES, (2) only PIPES, (3) only NODES with STOP
RESER
character strings and (4) the same as (1) except NODELN8 100
NODELN7 120
STOP
VALVC RESER
376 PIPELN1 100
STOP PIPELN9 120
RUN STOP
INTEREST=.12 VALVC
LIFE=80 PIPELN3 PIPELN7 PIPELN6
RESERVOIRS STOP
CAPI=3000 RUN
WATER RESER
UNIT=3000 RESEER,1 PIPELN1 100
UNIT=4500 6,RESER,2 PIPELN9 120
UNIT=12000 ,NODES , 1-5 STOP
OPERATING VALVC
CAPI"'2000 PIPELN3 PIPELN7 PIPELN6 /
UNIT=2000, PIPES, 1-4 STOP
ADDITIONAL RUNINTEREST=.12
MAINT. LIFE=80
UNIT=4000,RESER RESERVOIRS
UNIT=3500,FLOWS CAPI=30000
UNIT~2500,PIPES,1-4 WATER
END UNIT=30000,RESER,1
UNIT=45000,RESER,2
Pipes and Nodes iden~ified by charac~er UNIT=12000,NODES,l-5
s~rings OPERATING
/* CAPI=20000
$SPECIF NFLOW=l,NPGPM=~~ICOST=l UNIT=200Q. PIPES , 1-4
OUTPU1=12,PEAKF=2.5 $ENU ADDITIONru.
NODES MAINT.
NODELNl 0 30/ UNIT=4000,RESER
NODELN2 200/ UNIT"'3500,FLOWS
NODELN3 200/ UNIT=2500 , PIPES , 1-4
NODELN4 1501 END
NODELN5 2001
NODELN6 1501
STOP
PIPES
PIPELN1 0 NODELN1 500 8 130
PIPELN2 NODELN1 NODELN2 500/ USE TO CONTROL FORMATTING IN TWO
PIPELN3 NODELN2 NODELN3 500/
PIPELN4 NODELN1 NODELN4 1500 6/ TABLES FORM OR OUTPUT
PIPELN5 NODELN3 NODELN4 2000 61
PIPELN6 NODELN4 NODELN5 25001
PIPELN7 NODELN6 NODELN5 2500 8/
PIPELN8 NODELN6 NODELN3 1500/ It is possible to change the number of
PIPELN9 0 NODELN6 500/
STOP digits printed beyond the decimal for the following
quantities when using the two table form of
Table showing which parameters can have their printed formats altered using values of the option OUTPUI
equal to 1000 or greater.
-42-
Examples
OUTPUl-3101 - digits beyond decimal: l-flowrate in PIPE DATA; l-demand & O-elev. in NODE DATA
OUTPU1=6210 - digits beyond decimal: O-length in PIPE DATA; l-elev. & 2-pressure in NODE DATA
output in (a) the PIPE DATA: length, diameter, corresponding head, H, as a pair), or more then
and pipe flowrate; and (b) the NODE DATA: first three points are to be used to define pump
column of demand, elevation, and pressure. The characteristics. The operation of pumps is defined
control over these formats is by means of the by passing a second degree polynomial through 3
option OUTPUI as given in the tables below. pairs of values of Q and H. This polynomial
Incontrol over these formats is by means of the understanding the information in these tables the
option OUTPUI as given in the tables above. In option OUTPUI is given a value between 100 and
understanding the information in these tables the less than 9999. Starting from the left side of this
option OUTPUI is given a value between 1000 value the digits after the thousands are numbered
and less than 9999. Starting from the left side of from 1 to 3. The value give to these 3 individual
this value the digits after the thousands are digits specifies the number of digits that will be
numbered from 1 to 3. The value give to these 3 printed after the decimal point. This becomes the
individual digits specifies the number of digits that mathematical description that replaces the "pump
will be printed after the decimal point. curve" and defines its operating characteristics.
Thethousands denotes what will be controlled, i.e. Three points are generally adequate to properly
1000 indicates only PIPE DATA formats will be define the operation of a pump if for the solution
controled; 2000 indicates only NODE DATA requested it is operating near its normal capacity
formats will be controled, etc. as shown in the (where the pump achieves it maximum efficiency).
second table below. The values given to the digits However, if a pump is poorly suited to do the job
numbered 1 to 3 control different parameters. needed in a network, it may be forced to operate
The first (or No.1) digit, or the hundreds digit, with a flowrate, and head quite different from its
controls either the format of the tlowrate in the maximum efficiency point. Under such conditions,
PIPE DATA, or the format of the pressure in the or under vastly varying conditions at different
NODE DATA The second (or No.2) digit, or times during a time-depend en solution, 3 pairs of
the tens digit, controls either the format of the points on a pump curve may not be adequate. By
diameter in the PIPE DATA, or the format of the adding the option PCHAR3 = 0 to the $SPECIF
elevation in the NODE DATA output solution list of options up to 10 pairs of values of Q versus
table. Finally the No.3, or units digit, controls H can be given to define pump characteristics.
either the format of the length in the PIPE When more than 3 pairs of values are provided,
DATA, or the demand in the first column of the USU-NETWK still fits a 2nd degree polynomial
NODE DATA between 3 pairs of consecutive points, but the 3
Anytime the value given to OUTPUI is points will be altered as the solution progresses so
1000 or greater, two things are communicated to that the flow in the pipe containing the pump
USU-NETWK. First it should use the default two during the iterative solution processes will be
table form or output, and second that the number bracketed by the 1st and last of these three points,
of digits printed after the decimal point of three unless the flowrate is less than or larger then the
parameters is specified by the values in the three smallest Q and largest Q in the list. When giving
numbered digits. Thus if it is desired that the more than three points they must be arranged in
length have two digits printed beyond the decimal ascending order of magnitude of Q.
point, and the diameter have zero decimal points, If PCHAR3 = 1 (the default), only three
then OUTPU1=1202 should be included in the pairs of values for flowrate Q and pump head H
$SPECIF list of options. The first 2 after the 1 can be given. The order of these points if then
for the thousand simply keeps the standard 2 unimportant.
digits of precision for the pipe flowrate. The 1000 If a solution shows negative heads
indicates the format of the parameters in the first produced by some pumps, or fails to converge
column of the table below are being specified, i.e. properly the problem might be eliminated by
the parameters in the PIPE DATA defining the pump characteristics with more than
three points. When doing this it is even
permissible to provide some heads that are
PCHAR3 associated with negative flowrates, as an extension
of the pump characteristic curve to the left of the
This option is used to communicate if origin. This extension may be made artificially
three pairs of points (flowrate, Q, and a steep, but should be smooth enough to ensure
that a 2nd degree polynomial fits the data wiLhout
-43-
wild behavior between the points. An alternative inches.) See Appendix C for more information.
= to using more than three points is to spread the
points out over a wider range of flowrates. USU-
NETWK assumes that the middle of the 3 points PRESMA
represents the normal operating conditions for the
pump, and if the solution shows considerable If a value is given to PRESMA other than
deviation from this operation a message is written zero, then the pressure at each node will be
informing the user of this. examined, and any pressure greater than this value
A utility program PUMCUR, which is will be flagged. All such flagged values will be
described in Appendix F is designed to help you written to the output file before the summary
easily visualize how the pump data you give is table(s) which give the solution results. The
interpreted by USU-NETWK in defining how pressure given by PRESMA is in psi, when using
much head a pump produces as a function of the ES units, and Pascals when using SI units.
flowrate passing through the pump. Should
convergence to a solution not occur, or negative
flows occur in pipes containing pumps, then you PRESMI
might well be specitying pumps that are
incompabible in their combined operation. Such If a value is given to PRESMI other than
situations should be avoided in practice since a zero, then the pressure at each node will be
pump under these conditions will only consume examined, and any pressure less that this value will
energy but not contribute to the flow through the be flagged. All such flagged values will be written
network. to the output file before the summary table(s)
which gives the solution results. The pressure
given by PRESMI is in pSi, when using ES units,
PEAKF (FLOWFC) and Pascals when using SI units.
All external demands are multiplied by
this value. Giving this option different values for PRVLOS
consecutive solutions allows the total demand level
to be changed without preparing new input data. Under special conditions the upstream
Only one value needs to be Changed. This option pressure may drop below the pressure setting of
might also be used to convert from any units PRY's. Should this condition occur the PRY
which the demand may be given in, into cfs, etc. becomes inoperative, but acts like a minor loss
For example, if demands are in ac-ft per day device. PRVLOS is the minor loss coefficient, K,
PEAKF should equal 1.9835 to convert to cfs with in the equation HL = K(Vi2g) for such minor
NFLOW=O. Likewise giving PEAKF=l.55 is losses. Default is PRVLOS = 10)
equivalent to setting NFLOW=2. Also if the
convention of the data is minus for demands
outfrom the network (opposite to the convention
of USU-NETWK) this can be allowed by setting
REYNUM
PEAKF=-l. (See the commands PEAKF,
If the Darcy-Weisbach equation is used to
andDFRAC as well as command under
determine head losses as a function of flowrate
CHANGES for other possible method for
and if minor losses are present, the equivalent
changing demands from those in the input data
length of pipe to duplicate the minor loss device
file on a more selective basis.)
is computed on the basis of a specified ReynOlds
Number. This equivalent length is not adjusted
during the solution process if LENORG=l.
REYNUM is the Reynolds for which the
PLOTH # equivalent length is first computed. If
LENORG=O, the value given to REYNUM will
Determines the height (in the y direction) have no effect on the final solution results.
of the plot on the Calcomp Plotter in inches. The (Default REYNUM=500,OOO.
maximum and minimum y-coordinates will be
found, and the x and y coordinates scaled so that
this specified height is achieved. A menu will
appear just before the plot is made that allows
you to change this value. Default is PLOTH=20
-44-
TVSUM VELMAX
If a value other than zero is given to
This option contains the value of the VELMAX, then the velocity in each pipe will be
absolute sum of changes in flowrates between examined. Any velocity whose magnitude exceeds
consecutive iterations at which the flow in pipes the value of VELMAX in feet per second, when
containing PRY's is checked to see if the flow using ES units, or in m/s when using SI units, will
direction is reserved. If a negative flow occurs in be flagged. All such flagged values will be written,
any such pipe the PRY, etc. is shut-off. No and identified in the output solution file between
check is made to determine if a PRY, etc. should the summary tables which give the PIPE DATA
shut-off if this sum of changes is greater than results and the NODE DATA results. These
TVSUM. The default value is 2 + (No. pipes)/10, velocities will be examined only if the two table
but not more than 40. form of output (OUTPU1=1 or 2) is selected.
VELMIN
TVSUMI #
If a value other than zero is given to
In order to prevent an occurrence in VELMIN, then the velocity in each pipe will be
which a PRY, or check valve, continues to cycle examined. Any velocity whose magnitude is less
open and then close between consecutive than the value of VELMIN in feet per second,
iterations, the value of TVSUM is reduced each when using ES units, or in m/s when using SI
time a device changes its condition of operation. units, will be flagged. All such flagged values will
TVSUMI is the factor by which TVSUM is be written, and identified in the output solution
multiplied if a device shuts-off. (Default file between the summary tables which give the
TVSUMI =0.85) PIPE DATA results and the NODE DATA
results. These velocities will be examined only if
the two table form of output (OUTPU1=1 or 2)
TVSUM2 # is selected.
-45-
-46-
DETAILED STEADY-STATE DATA REQUIREMENTS
Commands that enter data The latter method is most convenient,
especially if subsequen t analyses may wish to
Numeric data which describe the network utilize this data again. NETWK will ignore any
in detail are introduced by a command, or line in the input file that contains a % in column
descriptive name, that precedes the numeric data # 1. USU-NETWK also will ignore any
of a specific type. The first 5 characters of these information that occurs after a / anywhere in a
commands must be identical to those described in line unless this I is followed immediately by an R
this portion of the manual. Furthermore, these in which case the text thereafter wil1 be taken as
commands must be given in upper case letters, so a remark as explained in the next paragraph.
when making up the input data file, etc. make
sure that the "caps Lock" is on. The individual Use of "remarks" at the end of input lines
commands are (listed in alphabetical order): (Not implemented in Steady-State PC program)
BOOSTer, BPVALve, CHECK input, DESIGN,
DFRAC, DHEAD, END ,ERROR, ITERAtion, Remarks can occur on any data line after
LPIPE, NLPIPe, LNODE, NLNODe, MINOR, a /. If these remarks occur on lines after either
NODES, NOZZLes, PARALlel, PEAKF, PIPES, the PIPES, NODES, or PIPE- commands they will
PIPE-nodes, PRINT, PUMPS, QGIVE, be printed in the solution tables at the end of
RESERvoir, ROTATional, RUN, SERIES, these same pipe or node lines, provided that an R
SETPRessure, UNITS, VALVCheck, VALVE follows the I. In other words to tell USU
(prv), VISCOsity, WEIGHT. Characters beyond NETWK that you wish to have these remarks
the fifth character are not examined by the retain and printed in the solution tables an R
computer and, therefore, command names may be must follow the I without any blanks between.
added to if additional characters help clarify the Thus if a line after the PIPES command is:
name. There must be at least one line containing 12 4 7 2400. 20./R THIS PIPE NEEDS TO BE
data after the command if this name implies data REPLACED the remark "THIS PIPE NEEDS TO
follows. The three commands that do not call for BE REPLACED" will appear at the end of the
data are: CHECK, RUN and END. Generally all line for pipe 12 in the solution table for PIPE
the data of this type will follow a single command. DATA. Likewise, any remark on a NODES line
However, as many of the same commands as preceded by an /R after the required data will be
desired may be included in the input data file. written in the output file after the line for this
The exceptions to this rule are that the data given node in the NODE DATA solution table.
on the last of the following lines will be used: Similarly remarks after a /R on a line after the
lTERA, UNITS, ERROR, VISCO and WEIGHT, PIPE- command will appear on the appropriate
hecause these commands introduce a single value. line in the table for PIPE DATA. Remarks are
These same values can be introduced by options restricted to 32 (or 36 depending on the computer
in the $SPECIF list. R UN and END are used) characters after the /R, and if they occur on
exceptions also since they indicate that the data lines that are not truncated by a I, then the /R
for describing the network has all been given, and must follow the last number without any blanks,
no more commands of those listed above are read or a comma, between. These remarks can be used
after an END or RUN only in connection with the two table form of
output, that is the option OUTPU1=1, or
Use of % in column 1 OUTPU1=2 must be in effect. The ability to
retain, and write remarks in the solution tables
In doing several different analyses of a does not exist in the PC steady-state version of
given network in which some components of its USU-NETWK
description are changed it may be desirable to
keep the original data available. Two methods of General requirements. free format. and
keeping data from previous analyses in the file truncation of Jines
are: (1) Use an editor to move these lines of the
file to after the last END of the data file, and Every data file must contain a PIPES and
(2) placing a % in the first column in front of NODES command, or the command PIPE- with
the lines. appropriate data following them, since every
-47-
network has pipes and nodes. The other item. Many pipe will have the same diameter, and
= the above rule indicates that they need not be
commands are optional, depending upon the
configuration of the network, and the type of given provided the diameter last given is still
analysis being requested. The data after all correct. The first item in the list, the pipe
commands is free of any format requirements, number, is different for each pipe, and therefore
unless special options are included in the it can never be truncated.
$SPECIF which alter this. If OUTPU1> 11 an
exception occurs so that data fields 8 characters in List of commands and what they enter
width are reserved for the pipe and/or nodes that
are identified by a string of characters rather than The type, and order of data, which follow
by integers. Another common exception is if each of the commands are described in the
NETPLT=13 or =14, indicating that the data is following paragraphs. The items described by the
formatted according to that produced by the numbers 1, 2 ... under each of the heading, which
preprocessor PIPEINPT. The free format data are the commands, established the default order of
can separate individual items in the list with a data under this command. In the case of the
blank or more between them, or a comma, or a simulation version of USU-NETWK this default
comma followed by one or more blanks. order can be changed by the options whose names
It is not necessary to provide all of the begin with COR. The descriptions of these
items call for under the commands. The rule that commands are given below in alphabetical order
USU-NETWK follows is that if a line of input is to make it easier to find a given command, rather
terminated with a / before all of the items called than according to their frequency of usage. See
for under the command are given, then the the first paragraph in this major section for a list
missing items should equal the value last given to of commands that are available.
that particular item. In other words a / in a line
of input causes two things to occur: 1. the BOOSTer pump or BPUMP
reading of this line is stopped, and 2. items called
for are given values equal to those last given in The input under the command BOOST or
the input file. Generally it is not necessary to BPUMP is identical to that described under
terminate a shorten list with a /, since for most of PUMPS with the exception that nodes cannot be
the input USU-NETWK expect all called for items used to identify booster pumps even if
10 be on a single line of input. After reading 20 NODESP= 1, and no elevation of the source of
consecutive blanks termination in reading a line supply exists. The direction of flow through the
occurs as if a / existed. However, for some lists, pump must be specified by the "upstream" and
such as the list of pipes containing check valves, "downstream" nodes in the pipe data for this pipe
several lines may be read, and these lines must be as entered under the command PIPES or PIPE-.
tcrminated with a /. The input consists of use (a), (b), or (c) below.
The exception to the rule that data at the
end of a list can be omitted by giving a /, is the (a) using three (or more points, see PCHAR3)
data after the command PIPE-. Under this points to define the pump's characteristics,
command decimal are required to be given with all 1. The pipe number (which is the pipe
real values, and decimal points are not given with identifier if OUTPU1 = 11, or OUTPU1 = 12) that
integer values such as pipe and node numbers. contains the booster pump,
Here data in the list can be left out from within 2. The flowrate Ql'
the line. With the other data after a command, 3. The head, H 1 produced by the pump
the default order of item under the command are corresponding to Ql'
arrange so that generally the most frequently 4. The f1owrate, Q2' corresponding to
repeated items occur at the end. For example most efficient operation of pump
after PIPES the last item in the list is the 5. The head, H 2, produCed by the pump
roughness coefficient. If, therefore, all pipe in the corresponding to Q2'
network have the same roughness coefficient, it 6. The flowrate Q3,
need only be given on the first line after PIPES. 7. The head, H3, produced by the pump
Then if a subsequent analysis is to use a different corresponding to Q3.
roughness coefficient, only one value need be This 7th item is terminated with a / or a 0 as an
changed in the input data file to define this new extra value for the water surface elevation.
problem. Diameter is the second from the last
-48-
(b) giving power the pump supplies to the fluid meters depending upon whether ES or SI units
- and its normal capacity, are used, respectively.
1. The pipe number(or identifier) that 3. The pressure setting of the BPV,
contains the booster pump, expressed in elevation of the hydraulic grade line,
2. The power of the pump times its HGL, immediately upstream from the valve. The
efficiency in units of horsepower when using ES HGL elevation is in feet or meters depending
units, and in units of KiloWatts when using SI upon whether ES or SI units are used respectively.
units, If the option NPRPRV=1 then pressure is given
3. The normal capacity of the pump, i.e. instead of the elevation of the HGL, but this
its flowrate at peak efficiency. HGL is computed on the basis of the pipe being
This third item should be terminated with a I a straight line between its end nodes.
For additional explanation about the input
data after the BOOST or BPUMP command see Example of back pressure valve data
the description under PUMPS. BPVAL
5500 340
(c) giving coefficients to 2nd degree polynomial. 15300 360
(See explanation under command PUMPS for this
input.) CHECK
Example of booster pump data This command does not have any lines of
BOOST data following it. If the command CHECK is in
20 1.2 400. 1.0 420..8 430./ the input data file, it informs USU-NETWK that
it should not attempt to obtain a solution, but
BPVAL (back pressure valve) rather check the data to find any error. This
command may be used when you first try
A back pressure valve, BPV, is used to "running" a new network problem, and you know
maintain a constant pressure at the upstream side from your past experience that you will
of it, thus maintaining a pressure in the upstream undoubtedly have made some mistakes. The
portion of the network that would become too command END must be the last of the detailed
small if the BPV were not installed. A BPV data requirements when a CHECK is given. RUN
accomplishes this by discharging only sufficierit and CHECK imply opposites.
flowrate through the pipe in which it is installed
to maintain the desired upstream pressure. DESIGN
The maintenance of a constant upstream
pressure may be considered the normal mode of The command DESIGN is an alternative
operation of a back pressure valve. Obviously, to setting DESIGN=1 in the $SPECIF list of
should the pressure on the upstream side of the options. The command DESIGN must appear
BPV drop below its pressure setting, the value can before the NODES, or PIPES command or the
only shut-off the flow, but cannot maintain the PIPE-nodes command since USU-NETWK must
pressure setting. A shut-off BPV is a secondary be informed that pressure are provided following
mode of operation. Finally, as a third mode of the nodal elevations and it is not to terminate
operation, some back pressure valves permit when a zero is given for a pipe diameter.
reversed flow from the downstream to the DESIGN indicates to USU-NETWK that a special
upstream sides of the valve. In this mode the design solution is requested in which it is to solve
BPV becomes effectively inoperative, but since it for NJ pipe diameters or roughness coefficients,
is an obstruction in the line it becomes a minor etc. as defined under the option DESIGN.
loss. USU-NETWK determines the mode of (NJ=the number of junctions in the network).
operation and does what is necessary to Values after the command DESIGN can be: 0, 1,
accommodate how a BPV actually works in 2, 3, 4 or 5. The input data accompanying this
practice. special design solution requested with DESIGN
Data for a back pressure valve consists of: equal to 1 or 3 must (a) give NJ pipe diameters
1. The pipe number (integer) that equal to zero, and (b) provide the pressures (or
contains the back pressure valve. HGL elevations), as well as, the demands at all
2. The distance between the back pressure nodes of the network.
valve and its pipe's downstream node in feet or
-49-
DFRAC is introduced in a pipe somewhere in the network,
which is the differential head device.
The command DFRAC has one value that The type # 2 differential head device is
follows it. This value is a new peaking factor, or very useful in designing a network in that it allows
multiplier of demands. Any nodes entered in the both the pressure (or HGL elevation), as well as
input list after DFRAC will have their demands the demand, to be specified at a given node. In
multiplied by the given value. Thus the command order to specify both of these, something in the
DFRAC allows the value given to PEAKF (or network must increase or decrease the head, such
FLOWFC) in the $SPECIF list to be altered as a pump, or a pressure reduction valve.
repeatedly through the input data. An additional However, the amount of this increase or decrease
NODES command (or the PIPE-nodes command) in head is unknown. The magnitude of the
would follow each occurrence of the command differential head will be provided as part of the
DFRAC, unless DFRAC is used as a replacement solution. From this magnitude an appropriate
of PEAKF, and occurs before the NODES or device can be selected to provide the incremental
PIPE- command. head indicated. If the magnitude is positive, a
booster pump is called for, or if the frictional loss
DHEAD is greater in magnitude than the positive
differential head, a larger size pipe can be used.
This command is used to introduce a If the magnitude is negative a pressure reduction
differential head device which allows a solution to valve can be inserted in the pipe or a smaller size
situations in which both demands and pressures pipe used to give the same frictional head loss as
are specified at some nodes in the network. This the given size pipe, plus the differential head loss.
command is useful to size network components, If the option NEQUDI=l, then USU-NETWK
such as heads and capacities of pumps, setting for provides a table of such equivalent pipe sizes,
pressure reduction valve, or determine pipe whenever an equivalent pipe can be used. Thus,
diameters, i.e. design network components. in addition to providing design information for
A differential head device may create a pumps, or head reduction devices, the type # 2
positive head in a pipe line such as a booster differential head device can be used to size pipes.
pump, or a negative head, such as a pressure The user must use sound judgement in
reduction valve, in addition to the fluid frictional specifying differential head devices of type # 2,
head loss. There are two types of differential because a problem can easily be specified for
head devices, as far as USU-NETWK is which no solution exists. For example, it is
concerned. The first type, or type # 1, is one for obvious that an HGL elevation, or pressure, at a
which the amount of the differential head is node may be specified too small for even an
specified. The second, or type # 2 is referred to infinite resistance to flow in a pipe, to meet,
as a design differential head device for which the especially if this pipe is far removed from the
amount of the differential head is unknown. The node where the pressure is speCified. The flow
magnitude of this differential head is to be simply comes to the node through other paths,
determined such that the pressure, or HGL and arrives with too large a pressure.
elevation, at a specified node equals some given There are many other possible situations
amount. The demand is also specified at this for which solutions are not possible. For instance,
node. The command DHEAD enters both types the pressure at the node downstream from a single
# 1 and type #2 differential head devices. The supply source for a network cannot be specified
device is type # 1 if input items 3 and 4 below are unless the differential head is inserted in that
given zero values. For a type # 2 device an pipe, since this is already uniquely determined by
additional energy equation will be written between the reservoirs water surface elevation, the total
the node of the specified HGL elevation (or demand which must come through this pipe, and
pressure) and one of the sources of supply. You the pipe headloss properties. Likewise, it is not
must give both the source of supply as well as the possible to specify pressures at two nodes from
HGL (or pressure) at the node where this is to be this node, if no other pipes join at this node,
specified. That is, a differential head device of without these pipes containing a differential head
lype # 2 allows both the head and demand at a device. USU-NETWK does not attempt to
designated node to be specified. In order to determine all the situations that you might specify
satisfy this dual condition, an additional unknown for which solutions are not possible. This burden
is left to you. However, if convergence to a
-50-
= solution does not occur it is likely that you have meters, depending upon whether ES or SI units
an impossible situation specified. The user is, are used, respectively, at the node in item # 3. If
therefore, wise to Hmit the number of iterations item # 3 is negative this value will be taken as the
allowed by using ITER or MAX as options. pressure (in psi or Pascals) and USU-NETWK
Before using a large number of differential head converts the given value to an HGL elevation by
devices in a single solution the user should have dividing the pressure (appropriately converted to
some knowledge about the network's performance. psf) by the specific weight of the fluid to get
Input data consist of: pressure head and adds this amount to the
1. The pipe number containing the elevation of the node. If type # 1 device is
differential head device, intended, this item is given a zero, or truncated by
2. The amount of this differential head. a I.
In the case of type # 1 devices, this head (in feet
or meters depending upon whether ES or SI units Example of input under the DHEAD command
are used, respectively) will be added to the DHEAD
frictional head loss in the pipe. If type # 2 5 -10.5 01
devices are being introduced this is only an 10 5. 4 11 165.
estimate of the differential head loss. A head
loss is negative and an increase in head, or a END
positive differential head, increases the HGL
elevation from the upstream node of the pipe The command END denotes the end of
toward the downstream node of the pipe. the detailed data, and upon encountering END,
Obviously, upstream and downstream nodes for USU-NETWK stops looking for additional
pipes with DHEAD devices in them are commands. Depending upon options that may be
important, as are specified flow directions for set there can be data after the END.
pipes containing booster pumps, PRY's, check If NPERCf= 1 in the $SPECIF list, then
valves, and back pressure valves. the fraction of the total demand coming from each
3. The node number where the HGL source of supply is required as further data after
elevation (or pressure) is specified for a type # 2 END.
device. If this value is preceded by a minus sign Also if end pipes for pseudo loops are
(I.e. is negative), then USU-NETWK assumes that specified as denoted by setting LOOPSE= 1 in the
pressure is being given in psi for ES units, and in $SPECIF list, then this data also follows the END.
Pascals (N/m2) for SI units, rather than as a HGL If all external flow are specified to a network, i.e.
elevation. A zero for this third item indicates to no reservoirs, or source pumps exit then it is also
USU-NETWK that a type # 1 device is intended necessary to supply a node number and an HGL
and, therefore, it does not set up the additional elevation as a starting value for the HGL
equation needed to solve for the differential head elevations and pressures of nodes to be computed.
for a type # 2 device. These two values also follow the end for such
4. The designation of a source of supply special networks.
for type # 2 devices (i.e. a source pump, or
reservoir) that USU-NETWK should use to form ERROR
an energy loop to, from the node given in item #
3. If the option NODESP= 1 this designation is This command introduces a single value
a node number assigned to the source. Otherwise after it, which is the error parameter that
it is the pipe number that connects the source to determines when the Newton iterative solution
the network. In order to save computations this process will be terminated. When the absolute
source should be in the proximity of the node of sum of the changes in flowrates is less than this
item # 3, since it is used to obtain an additional amount, the iteration stops. Use of the command
energy equation to allow for a differential head in ERROR is an alternative method to setting
the pipe of item # 1 to be solved for. It should ERROR= to this value in the $SPECIF list of
also not be a source that has little influence on options.
the flow in the pipe of item # 1 or the pressure
at the node of item # 3. If this is to be a type # Example of the use of ERROR
1 differential head device, the value should be ERROR
zero. .0005
5. The elevation of the HGL in feet, or
-51-
FORMAt GAMMA
If the option NETPLT=13, or = 14 then Has same action as WEIGT. (see
USU-NETWK is told that the input data is WEIGT)
formatted. The default formatting for this input
data, that is expected ordinarily, is that written by
the preprocessor PIPEINPT. For input under the
command PIPES this expected format is as
follows:
(3I4,F8.2,FlO.2) if LENGON =0 ITERAtion
(3I4,F8.1,F8.2,FlO.2) if LENGON=1
and if NUMPIP= 1 then the PIPES format is: This command is an alternative to using
(2I4,F8.2,FlO.2) if LENGON =0 ITERA or MAX in the $SPECIF list of options,
(2I4,F8.1,F8.2,FlO.2) if LENGON=1 and as such it sets the maximum number of
The default formatting for input under other Newton iterations that will be allowed in obtaining
commands such as NODES, RESER, PUMPS, the solution. If not given in either place, the
etc. that have one integer followed by real default value of 8 or 15 will be assumed.
variables is:
(I5,7FlO.2) Example of the use of lTERA
The command FORMAT allows any other ITERA
format to be given prior to reading data that is in lO
columns specified by this given format. The given
format information must begin with a left LPIPE,NLPIPE,LNODE,NLNODE
parentheSis, (, and end with a right parenthesis, ),
and contain the information as it would in a These four commands are listed together
FORTRAN FORMAT statement. The length of because they are all designed to permit the user to
this format information is restricted to 48 not have all pipes or nodes of the network appear
characters or less. For example if the data is in the two tables form of output. Generally it
formatted that contains the items expected under will be desired to have all pipes and nodes listed
the PIPES command and is in the following in the final solution tables. However, for large
columns: (1) diameter 1-10, (2) length 11-20, (3) networks especially if the analyses are later ones
roughness coefficient 21-30, (4) pipe number 31- of a series, or steps in time dependent solutions it
35, (5) upstream node number 3640 , and (6) may be desirable to not have all pipes, or nodes
downstream node number 41-45, the following two appear in the solution tables. The commands
lines of input must precede the PIPES command LPIPE (standing for list pipe), and NLPIPE
for USU-NETWK to properly read this input: (standing for not list pipe) allow the user to either
give a list of pipe numbers that should be listed in
FORMA the final pipe data table from the two table form
(T31,3I5,Tl,3FlO.2) of output, or give a list of pipe numbers that
should not be contained in this final pipe data
The FORMAT command followed by the table, respectively. The pipe numbers can be
proper format information can precede any other listed as individual values separated by a blank or
command, and the given format information will comma, or a range of pipes can be given by
apply until it is changed by another FORMAT including a - between the beginning and ending
command. For the given format to be utilized it pipe numbers of the consecutive series, or any
is necessary that the option NETPLT also be set combination of these. Pipe numbers given in this
to 13 or 14, informing USU-NETWK that the list that do not actually exist in the network will
input is in given columns, and FORTRAN be ignored. Likewise the commands LNODE
FORMATTED input is to be utilized rather than (standing for list node) and NLNODE (standing
free format information. Otherwise the format for not list node) allow for specifying node
information will be ignored and the input will be numbers to include, or exclude from the node data
read as if it is free format. When using formatted table from the two table form of output,
input it is not possible to truncate items from !he respectively. If NODESP=I, such that the
ends of input lines, as can be done when usmg sources of supply are numbered as nodes, then
free format input, however.
-52-
lhese extra nodes will always appear in the node of the pipes here so that pressure and pressure
data table and cannot be deleted with the heads, etc. can be computed. These two items of
command NLNODE. Furthermore, when using information are not contained in the items after
the NODESP= 1 option it is necessary that these the PWES command, and therefore constitute
nodes occur in the input list of nodes after all additional information not logically entered under
real nodes. If it is desired that sources of supply the pipe oriented form of input. In addition if x
not be listed in the output table, then the option and y coordinates are to be given for plotting of
NODESP=O should be used. The program the network, or used to define the layout of the
anticipates that you will either use LPIPE or network from which pipe lengthS are computed
NLPIPE, but not both. Attempts to use both they are also items that are supplied to USU-
commands will result in unpredictable results. NETWK with the NODES command.
Likewise either LNODE or NLNODE should be Furthermore, with the option DESIGN=1 or
used but not both. DESIGN=3 HGL elevations are given, and these
become an item entered with the NODES
Example of using LPIPE & LNODE command. Also "data to check the network"
LPIPE might be given with the option NETCHK=2, and
1 3-7 30-50 140/ these come after the NODES command.
LNODE Therefore, the list of items under the NODES
4-7 24 40 50-70/ command will be expanded upon depending upon
the options in the $SPECIF list. The first three
MINOR items listed below are always entered with the
NODES command, and the others dependent
The command MINOR provides the loss upon whether an option call of it (them) or not.
coefficient for devices, such as possibly globe
valves, that produce extra losses in a pipe in 1. The node number (an integer unless
addition to fluid frictional losses. Devices that OUTPUl=l1 or 13, in which case an 8 character
cause small losses such as large radius bends, gate identifier replaces the number) for which this data
values, etc. are handled as part of the frictional applies. The node numbering does not need to
loss in a pipe, generally. In fact, the common contain all numbers from 1 to the lotal number of
practice is to use "extra" losses such as those nodes in the network, or be7. Re in consecutive
introduced by MINOR sparingly in defining a order. Depending upon the dimensions of the
network. Often the magnitude of loss coefficients program these integer node identifiers must be
are "guessed at", and consequently an equally less than some limit such as 5000, 10000 or 15000.
satisfactory procedure is to accommodate extra 2. The external flow, or demand, at this
"minor losses" as part of the pipe wall roughness node. If inflow occurs at this node, the demand is
coefficient. The following two items occur on a negative value, and outflows are positive. The
each line after the command MINOR: units of this demand must be those designated
1. The pipe number which contains the with the option NFLOW. If the option
minor loss device, and NODESP= 1 in the $SPECIF list, such that source
2. The coefficient K in the minor loss pumps and reservoirs are identified as nodes in
equation, the network the demands given for these
2 "artificial" nodes must be zero. In olher words
hL = K (V /2g).
you do not provide an estimate of the flowrate
Example of the command MINOR from supply pumps, or reservoir, or into reservoirs
MINOR as a demand. Flowrates from sources of supply
22.5 are part of the solution. Therefore, a demand is
18.5 considered an external flow from (to) the network.
(If you want to supply estimates of flowrates from
NODES sources see the option LOOPSE.)
3. The elevation of the node with units of
The command NODES supplies feet or meters, depending upon whether ES or SI
information about the demands (consumptions or units are used, respectively. If NODESP= 1, then
if negative inflows) that are assumed to take place the elevation given for sources should be the
at the junctions of the network, and the elevations ground elevation. The water surface elevations for
reservoirs, and the sump elevations for source
-53-
= pumps are given under the commands RESER Example of data after NODES with the option
and PUMPS. The default of NODESP=O does NETCHK=2, but DESIGN=O
not provide an entry in the NODES DATA table NODES
when giving the solution for sources of supply 1 1.2 500. -6 2 4 7/
since they are not numbered as nodes, and no 2.8500 -28 10/
ground elevation is needed then. 5 1.1 52036/
8 O. 520 7 6 -31
Example of node data without options set
that require more data after the NODES Example of data after NODES with the option
command LENGON =0 (The last two items are the x & y
NODES coordinates)
1 1.2 500. NODES
2.8/ 1 1.2 500. O. 1000.
5 1.1 520. 2 .8 500 1200. 500.
80./ 5 1.1 520 1000. -400.
8 O. 520 1800. -300.
4. The next possible item after the Examples of data after NODES with the option
NODES command is the elevation of the HGL LENGON=O & DESIGN=l
elevation ( or pressure head, or pressure NODES
depending upon IHGL), if and only if the option 1 1.2 500 620 0 1000
DESIGN=l or DESIGN=3 in the $SPECIF list. 2 8 500 618 1200 500
If DESIGN=O, but other options call for more
information under the NODES command, the
items listed below move into this fourth position.
NOZZLes
5. If either the option LENGON =0, or 0
< NETPLT < 13 , which indicate that pairs of x The command NOZZL introduces data
and y coordinates are going to be given, then the describing a sprinkler nozzle, or orifice at the end
x coordinates in feet, or meter, respectively of a pipe. Besides the more obvious uses of this
depending upon whether ES or SI units are used, command, it might be used to determine how
is given as extra data after the NODES command. much flow the network might be able to provide
6. The y coordinate of the node at a fire hydrant if it were fully opened. One
corresponding with the x coordinate given as item would need to know the hydrants opening size,
# 5. and its discharge coefficient. Data after the
7. If the option NETCHK is given in the NOZZL command consists of:
$SPECIF list then the pipe numbers that join at 1. The pipe number (integer) at whose
this node are includes as this item of data. end the nozzle exits. Nozzles exit at the ends of
pipes just like sources of supply do. One might
8. Remarks may occur at the end of any view a nozzle as a negative source, but with
line of input if /R precedes this remark. The R different characteristics. Therefore, if
after the / tells USU-NETWK that you want the NODESP=O the ends of pipes where nozzles exist
remark recorded. Otherwise any comments you are not given a node number and after the PIPES
place on lines of the input file after a / will be command this end would be denoted by a O. If
ignored. Remarks are restricted to 32 (or possibly NODESP=l, then the nozzle ends of pipes must
36) characters. Similar remarks are permitted be given a node just as the sources of supply are
after the PIPES and the PIPE- commands. This given a node. Under this option this item is the
input is listed as item 8. However, regardless of node number given to the nozzle end of the pipe.
the options it is always the last item if given. For 2. The diameter of the nozzle, or orifice
example if a line under NODES were as follows: in the same units that are used for pipe diameters.
8240. 220./R NODE AT INTERSECTION #10 This diameter is assumed to be short in length, i.e.
then in the NODE DATA table node 8 will have no frictional Joss is computed for a pipe of some
NODE AT INTERSECTION #10 at the end of length with this diameter.
its line. 3. The discharge coefficient of the nozzle
or the orifice. For an orifice this will be
-54-
approximately 0.6. line is the peaking factor and the second is the list
4. The elevation of the nozzle or orifice. of node numbers for which this peaking factor
(Given only if NODESP=O) applies. The command PEAKF thus accomplishes
5. If desired, an estimate of the HGL the same as the option PEAKF (FLOWFC) only
upstream from the nozzle may be given. If not if all nodes are listed such as 1-320, but allows
given the starting HGL elevation is generated greater flexibility in that different groups of nodes
internally in USU-NETWK. If this item is not can have the given demands multiplied by
given, then # 4 is terminated by a I. Likewise, if individual factors. Any number of groups of two
other entries are as previously given they may be lines can occur after the command. The first of
omitted by ending with a /. each pair consists of a single real value, the
multiplier or peaking factor. The second of the
Example of nozzle data with NODESP=O pair, containing the node numbers, may consist of
NOZZLES single integer values separated by blank(s) or a
82..58 100./ comma, or by a - (minor sign) between two
12 1.5 .62 80. 120. integers to denote the range from the first through
the last node. If the - is used no blank spaces can
If NODESP=1 (Le. Nozzles numbered as nodes) occur between the two integers. The second line
If node numbers are used to identify must be terminated with a I.
nozzles, then the input item no. 4 above will be The command PEAKF must be entered
given on the NODES line for this node, and after the NODES command (or PIPE-command)
consequently item # 5 above replaces item #4, used to enter the nodes for which it gives peaking
but might be deleted by ending item #3 with a I. factors. The command PEAKF can be used in
connection with PEAKF in the specification list
Example of nozzle data with NODESP= 1 $SPECIF if desired. When PEAKF appears in
NOZZLES both places all given demands are multiplied by
152./ the value given to PEAKF in the $SPECIF list
182.3 .56/ first. Thereafter, the new resulting demand is
again multiplied by the value entered for the
PARALlel designated nodes through the command PEAKF.
The same node number may appear under more
It is possible to specify that any number than 1 group of two lines under the PEAKF with
of pumps of the same curve characteristics as the effect of having the multiplication
given by the PUMPS of BOOST command are accumulative.
operating in parallel (or in series) at a station.
Two items of data are needed to specify pumps in Example of using the command PEAKF
parallel, and are: PEAKF
1. The designation of the pumping 1.5
station according to whether NPSERI=O, 1 or 2 1 3 10-16 20 31-451
by pump number, pipe number, or node number .8
(if a source pump station and NODESP=l). 2221
2. The number of pumps operating in
parallel at this station. PIPES
Example of the PARALLEL command The command PIPES enters data for each
PARAL pipe in the network as well as its nodes, length,
32 diameter and roughness coefficient and this data
41 describes the systems connectivity and physical
characteristics. The items under the pipes
PEAKF command consist of:
1. The number (integer) associated with
This command does not replace the this pipe. If the option NUMPIP=l is included in
option PEAKF, but could be used to do so. After the $SPECIF list, then this first item is omitted,
the command PEAKF there are two lines of data and the pipe numbers associated with pipes in the
that constitute the needed information. The first output data will be according to the sequence
number of the pipe in the input data. Pipes do
-55-
not need to be numbered sequentially, nor do all 6. The wall roughness coefficient for this
numbers from 1 to the total number of pipes in pipe. Depending upon whether you wish the
the network need to exist in the input data file. flowrate, headloss relationship to be bases on (a)
Duplicate pipe numbers will be identified by a the Darcy-Weisbach, (b) the Hazen-William, or (c)
message to this effect, but processing of the the Manning's equation, this coefficient will be:
solution will continue. The maximum number (a) the equivalent sand roughness in the units
that can be assigned to a pipe will vary depending designated by NUNIT, (b) the Hazen-William's C,
upon the dimensions allowed by the version of or (c) Manning's n for the given pipe. If you
USU-NETWK that you are using, but will be don't use NEQUAT in the $SPECIF list, then
5000, or larger. USU-NETWK will decide whether the coefficient
If the option OUTPUI > 10, then this is for use in the Darcy-Weisbach equation of the
first item under the PIPES command must be an Hazen-Williams equation according to the
8 character string (which may include blanks). See magnitude of the first coefficient encountered in
the description under OUTPUI in the section of the input.
this manual that describes options for more detail 7. Remarks. Generally remarks are not
about this string of 8 characters as a pipe given associated with a pipe, but if you wish to
identifier. have a remark in the solution table for the PIPE
2. The number (integer) of the node at DATA you must follow the last given item with a
the upstream end of this pipe. If OUTPUl=l1 or /R. The R after the / tells USU-NETWK that you
13, then this will be an 8 character string. For want the remark recorded. Otherwise any
most pipes the user may not know the direction of comments you place on lines of the input file after
flow, and for these pipes upstream and a / will be ignored. Remarks are restricted to 32
downstream have no significance. USU-NETWK (or possibly 36) characters, and similar remarks
will determine which is the correct upstream and are permitted after the NODES and the PIPE-
downstream nodes as the solution is obtained. commands. For example if a line under pipes
However, for pipes that contain booster pumps, were as follows:
valves, etc. upstream and downstream nodes must 1247 2400. 20./R THIS PIPE NEEDS TO BE
be given correctly. REPLACED
In the two table form of output an then in the PIPE DATA table pipe 12 will have
asterisk (*) precedes the numeric data for the pipe THIS PIPE NEEDS TO BE REPLACED at the
if you select the incorrect direction for flow, as a end of its line. (Only the simulation version of
help should you want to know if you have the USU-NETWK allows for remarks.)
direction of flow reversed in some pipes.
3. The number (integer) of the node at Example of pipe data with LENGON=1 (the
the downstream end of this pipe. The same default)
applies as stated above for item # 2. PIPES
4. The length of this pipe in feet, or 3 8 2 1500. 6..008
meters depending upon whether ES or SI units 7 1 42000. 8/
are used, respectively. Two options have an effect 924 1000/
on this length. If NPLENG= 1, then these lengths 10 3 8/
must be given in 1,000 feet or 1,000 meters. If the 12 4 7 2500 10/
option LENGON =0, then this item is omitted
from this list, and the pipe length will be Example of pipe data with LENGON =0, and
computed from the x and y coordinates of the NUMPIP=1
nodes which are required as other input under the PIPES
NODES command. 826..008
5. The diameter of this pipe in the units 148/
designated by the value given to the option 2 4/
NUNIT. (If the option DESIGN=4 (or =5) is 38/
used then for any pipe that is not part of a loop 4710/
this item will be the velocity specified for this
pipe. The pipe diamete for this non-looped pipe PIPE-nodes
will be solved for to provide teh specified velocity.
See the option DESIGN =4 for further The command PIPE- introduces both the
explanation.) pipe and node data on the same line, one line for
-56-
each pipe. Therefore, it can replace both the for PIPE DATA at the end of the line for the
PIPES and the NODES command in defining the given pipe. A line cannot exceed 80 characters in
physical characteristics of a network. The length. By examining items with decimal points
command PIPE- may be used exclusively for and those without decimal points, USU-NE1WK
supplying all the information for pipes and nodes permits many of the items listed above to be
or it may be used to provide only a portion of this omitted for any line. The items which may be
data, in which case the omitted, or must be omitted are as follows:
commands PIPES and NODES would be needed Item # 1, the pipe number, NOP(I), must
to supply the remaining data. be omitted if and only if NUMPIP= 1 in the
The general form of data entered by the $SPECIF list of options.
PIPE- command is given by the numbered items 1 Item # 4, the roughness coefficient, E(I),
through 10 below. However, depending upon may be omitted on any line. Whenever E(I) is
options in the $SPECIF list, this list of items is not given on any line the standard value given by
added to or deleted from. Many of the items the option COEFRO will be assigned as the
listed may be omitted as descibed later. With all roughness coefficient for this pipe. The default
default options the list of item entered by the value for COEFRO is 0.0102 inches for a cast
PIPE- command are (FORTRAN variable names iron pipe in ES units.
are given for each item that are referred to in a Item # 5, the upstream node number,
table that follows): Lll, if a source of supply (or sink) such as a
1. The pipe number, NOP(I) reservoir, souree pump, or nozzle exists at an end
2. The pipe diamter, D(I) (If the option of this pipe, and NODESP=O (the default) in the
DESIGN =4, then instead of pipe $SPECIF list. If desired a 0 (zero) may be
diameter this will be the specified entered for this now existent node.
velocity for the non-looped pipe as Item # 6, the demand, QJ(Lll) may be
described under the option DESIGN.) omitted on any line. If QJ(Lll) is zero this
3. The pipe length, L(I) demand does not need to be given on any line. If
4. The wall roughness coefficient, E(I). QJ(Lll) is not zero, it must be given at least
This value will be the equivalent sand roughness, once, but may be duplicated on other lines if
c, for the Darcy-Weisbach equation, C for the desired. If different values of QJ(Lll) are given
Hazcn-Wiliams equation, and n for Manning's on different lines, the last value given will be
equation. taken as this demand.
5. The upstream node number of the Item # 7, the nodal elevation,
pipe, Lll ELEV(Lll), may be omitted on any line if ilS
6. The demand, or external flow, at the value is given on another line. IF NODESP=O
upstream node, QJ(Lll) ELEV(Lll) must be omitted as must QJ(Lll) if
7. The elevation of the upstream node, this upstream node number Lli is omitted.
ELEV(LlI) Item # 9, the demand at the downstream
8. The downstream node number of the node, QJ(L22), may be omitted on any line. If it
pipe, L22 is zero this demand does not need to be given on
9. The demand, or external flow, at the any line. If QJ(L22) is not zero, it must be given
downstream node, QJ (L22) on at least one line, but may be duplicated on
10. The elevation of the downstream other lines if desired. If different values are given
node, ELEV(L22). for QJ(L22), the last value will be taken.
In providing these data decimal points Item #10, the elevation at the
must be included with real variables, and cannot downstream node, ELEV (L22), may be omitted on
be included with integers. Items 1, 5 and 8 are any line. The same rules apply as for ELEV(Lll).
inlegers. The rest are reals. Therefore, decimal One important rule that must be kept in mind for
points must be given with items 2, 3, 4, 6, 7, 9 and QJ(Lll), ELEV(Lll), QJ(L22), and ELEV(L22)
10. is that if only one decimal point number follows
As is the case with other data, this data is a node number (LlI or L22) , then this will be
free format; that is, the data items are separated assumed to be the elevation and not the demand.
by one or more blanks, or a comma which may be The reason for this rule is that many demands
followed by blanks. If a line is followed by a !R may be zero, and therefore need not be included
any remarks following this up to 32 characters will as zeros, but may be included as a zero if desired.
be keep track of, and written in the solution table A summary of the items which may occur
-57-
~
Table of possible entries and the order of these items (with CORPIN =0) after the PIPE- command. (Note
that options LENGON=O dictates that pipe lengths L(I) be omitted; NUMPIP=1 dictates that NOP(I) be
omitted; DESIGN=1 or =3 dictates that an HGL elevation, pressure head, or pressure be given, and this
will value will follow the elevation ELEV(Lll) or ELEV(L22); and if 0<NETPLT<9 or LENGON =1 then
x and y coordinates are needed, and these follow the HGL elevation of elevation of the node. Furthermore,
the roughness coefficient E(I) may be omitted from any line.
Q
Item of input
Case no. #1 #2 #3 #4 #5 #6 #7 #8 #9 #10
1 NOP(I) 0(1) L(I) E(I) Lll QJ(Lll) ELEV(Lll) L22 QJ(L22) ELEV(L22)
2 NOP(I) 0(1) L(I) E(I)Lll ELEV(Lll) L22 ELEV(L22)
3 NOP(I) D(I) L(I) E(I) LII L22 QJ(L22) ELEV(L22)
4 NOP(I) 0(1) L(I) E(I) Lll QJ(Lll) ELEV(Lll) L22 ELEV(L22)
5 NOP(I) 0(1) L(I) E(I) Lll ELEV(Lll) L22 QJ(L22) ELEV(L22)
6 NOP(I) 0(1) L(I) E(I) Lll L22 QJ(L22) ELEV(L22)
7 NOP(I) 0(1) L(I) E(I) Lll L22 ELEV(L22)
8 NOP(I) 0(1) L(I) E(I) Lll ELEV(Lll) L22
9 NOP(I) 0(1) L(I) E(I) Lll L22
10 NOP(I) 0(1) L(I) E(I) L22
11 NOP(I) 0(1) L(I) E(I) L22 QJ(L22) ELEV(L22)
12 NOP(I) 0(1) L(I) E(I) L22 ~
a NOP(I) _ pipe number; 0(1) - pipe diameter; L(I) - pipe length; E(I) - roughness coefficient; Lll -
upstream node no.; L22 - downstream node no; QJ(Lll) - demand at upstream node; QJ(L22) - demand at
downstream node; ELEV(Lll) - elevation at upstream node; ELEV(L22) - elevation at downstream
node.
on any line after the PIPE- command is given in given a value greater than zero, but LENGON=1,
lhe table above. In this table items are lined up then L(I) remains but the x and y coordinates
in columns, but in the input data need be follow either ELEV(Lll),or ELEV(L22), or both.
separated only by a single blank, or comma. When giving x and y coordinates the restriction is
Since E(I) may be left out of any line this that both the demand and elevation must be given.
table actually represents 24 different cases that are If DESIGN=1 or DESIGN=3, then the elevation
allowed under the PIPE- command. Furthermore, of the HGL, the pressure head, of the pressure
with the default of NODESP=O (source of supply (depending upon the option IHGL) must follow
nol numbered as nodes) it is possible to enter a the nodal elevation ELEV(Lll), ELEV(L22) or
o for LI1 to denote this non existent node if this both. If NETPLT > 0 or LENGON =0 along
is preferable or leaving it out. It is important to with DESIGN> 0, then after the HGL elevation
nOle that the 12 cases given in this table apply the x and y coordinates are given, so that 5 values
only under the default options, and that several containing decimal points may follow either the
options do change items in the list. With upstream node, L11 or the downstream node, L22.
LENGON=O item # 3, L(I), must be omitted, The restriction for this latter situation is that x
and x and y coordinates may be given after the and y coordinates cannot be given unless the
elevation for the upstream, or for the downstream, nodal pressure is given first, and both the nodal
or both nodes (not permitted with the PC steady- demand and elevation must also be given.
state version of USU-NETWK). These elevations
must contain a decimal point. If NETPLT is
Example of use of the PIPE- command under under it by lines under the RESER and BOOST
default options commands, since a source pump consists of a
1 12. 5000..01 3 1.2 148. 4 3.0 150. pump in a pipe line, like a booster pump, plus a
2 8. 1000. 1 5 1.5 165. reservoir with a known water surface elevation.
5 14.6000. 7 1.6 180. The data after the PUMPS command
mathematically describes the operation of a pump,
Example of use of the PIPE- command with i.e. provides information so that the head
NUMPIP=l produced by the pump can be defined as a
12. 5000..01 3 1.2 148. 4 3.0 150. function of the flowrate in the pipe that contains
8. 1000. 1 5 1.5 165. the pump. There are two means for doing this.
14. 6000. 7 1.6 180. The best is to provide pairs of flowrate Q and
corresponding head H produced by the pump to
Example of use of the PIPE command with define this relationship. The second method is to
DESIGN=l provide the power the pump supplies the fluid (its
1 12. 5000..01 3 1.2 148. 220.43.0 150. 248. power rating multiplied by its efficiency) and its
2 8. 1000. 1 5 1.5 165. 255. normal capacity. These are described below
5 14. 6000. 7 1.6 180. 275. starting with item 2.
Data after the PUMPS command consists
Example of use of the PIPE command with of:
LENGON=O 1. The pump station identifier. Under
8 24. 140. 1 2. 1000. O. O. 2 1.5 1040. 1500. O. the default options this identifier is the pipe
9 18. 135. 2 3 1.3 1010. 1500. 2000. number that connect the source pump to the
10 12. 130. 4 1.2 1040. O. 2000. 3 network, i.e. the pipe that contains the pump. If
NODESP= 1 then this identifier is the node
number assigned to the source pump, instead of
PRINT the pipe number. If NUMPIP=O and
NODESP=O then the pipe number given to
The command PRINT allows an identify this pumping station is the sequencia I
alternative means for controlling the amount of number of this pipe after the PIPES or PIPE-
output just as the option NPRINT (or IOEX) in command.
the options list does. The command PRINT is If the option OUTPU1= 11 or 12 is in the
followed by a single integer value from -3 to 10. $SPECIF list, such that pipes (and/or nodes) are
The command PRINT changes the print option identified by 8 character strings, then the identifier
after it is entered, and may appear as many times given for this item is that identifier i.e., the 8
as wanted. Thus if one desires that only the character string for this pipe (or node). Not only
NODES information that is given in the input are the characters used important but also their
data file be written to the output file PRINT position in the field of 8 character width, i.e. a
followed by 4 may preceded the NODES data, and blank in the pipe identifier before PIPEN02 is
PRINT followed by 0 may follow the NODES not the same as PIPEN02 with a blank after it.
data. If one desired all of the input data file to be See the description under the option OUTPU1 for
written to the output file the option NPRINT= 10 more explanation about use of character strings
could be in the $SPECIF list, and then just before for identifiers.
the RUN command the command PRINT could
be followed by -3.
PUMPS
The command PUMPS enters data for
source pumps. An alternative to the use of the
command PUMPS would be to replace each line
-59-
First method (pairs of 0 versus H) Second method (power & normal
capacity)
2. The flowrate, Ql' at the first point on
the pump's characteristic curve in the units This alternate is used if a pump curve is
designated by the option NPGPM. not available but the pumps power rating is
3. The head, HI' produced by the pump known, and its normal capacity is known (or
corresponding to Ql' assumed). When using this alternative USU-
4. The flowrate, Q2' at the second point NETWK generates a 2nd degree polynomial
of the pump's characteristic curve. This flowrate equation that defines the head produced by the
is assumed to be the normal capacity (i.e. point of pump as a function of its flowrate typical of most
greatest efficiency) for the pump, provided that common mixed flow pumps. However, each pump
on Iy 3 points are given to define the pumps has it unique characteristics of operation, and
operating curve. consequently the results may differ from your
5. The head, H2 , produced by the pump pump when you use this option, and the solution
corresponding to Q2' shows a flowrate through this line quite different
6. The flowrate, Q3' at the third point of from the normal capacity of the pump.
the pump's characteristic curve. 2. The power supplied the fluid by the
7. The head, H3 , produced by the pump pump in horsepower, or kilowatts, depending upon
corre.<;ponding to Q3' whether ES or SI units are used, respectively.
(All heads are in feet when using ES units and in 3. The normal capacity of the pump in
meters when using SI units.) the units designated by the option NPGPM.
4. The elevation of the source of supply
This list of pairs of Q versus H can be as described under 8 above. This fourth item
expanded to 10 pairs if the option PCHAR3=0 in must be terminated with a I so that USU-NETWK
the $SPECIF list of options. Under this option can determine that you are using this alternative
the next item, i.e. the water surface elevation, method of input.
must be terminated with a I, and the normal
capacity is taken at the flowrate nearest the Example of data after PUMPS (using the power
middle of the list of pairs. Furthermore under the and normal capacity)
option PCHAR3 it is necessary that the flowrates PUMPS
be listed in ascending (increasing) order of 1 12. 1.5 32001
magnitude. 15 15. 1. 3100./
8. The elevation of the well, or reservoir
water surface from which the pump receives its Third method (giving coefficient of 2nd degree
supply in feet or meter, depending upon whether polynomial
ES or SI units are used, respectively. This supply
surface is often call the sump water surface If the pump station identifier is negative,
elevation. If the option NPRPUM=I, this is the then USU-NETWK will read in the constants a, b
pressure at the pump's inlet instead of the and c in the second degree polynomial equation
elevation of the water surface. given below to define the pump curve.
See Appendix F, that describes a utility
program PMPCUR, to help you understand and Hp = aQ2 + bQ + c
visualize how a given set of imput data actually
defines a pump's operating characteristics, and in which H is the head produces by the pump
how you might provide data to more nearly and Q is thl flowrate. Both head and flowrate are
duplicate the opertion of a pump. in basis units. The preprocessor PIPEINPT will
Example of data after PUMPS (first method) obtaine, and write the pump curve giving these
PUMPS coefficients rather than 3 points. When this is
5 1 300 1.2 290 1.4 270 3000 done then the preprocessor does the work of
9 2 350 1.8 355 1.6 357 2800 filling the second degree polynomial to the 3 pairs
of data rather than having USU-NETWK do these
computations. Upon using the utility program
-60-
PMPCUR described in Appendex F of this manual this pipe specified. Therefore, by providing
you may wish to also provide these values. If so negative pipe numbers as input under QGlVE the
the input data consists of: user communicates to USU-NETWK that he is
1. The pump identifier (pipe no. if not certain whether the flowrate in a pipe is
NODESP=O, or node no. if NODESP=l actually specified. It will only be specified if it is
preceeded by a negative sign. possible to control the flowrate by a valve.
2. The coefficient a in the above Should the flowrate in this pipe be less than that
equation. desired, then the actual achievable flowrate is
3. The coefficient b in the above accepted.
equation. The solution for problems that use the
4. The coefficient c in the above QGIVE command to specify flowrates in interior
equation. pipes will report, as extra data, the heads (positive
5. The elevation of the fluid source for or negative) required in these pipes for the
the pump. selected flowrates to be possible. Data after the
USU-NETWK will print the coefficients a, band command QGIVE include:
c under the default level of NPRINT for each 1. The pipe number that contains the
pump. specified flowrate.
2. The specified flowrate. This flowrate
QGIVE will be assumed from the upstream node to the
downstream node. If a reversed direction is
This command permits flowrates in desired this flowrate can be negative.
selected pipes to be specified. It is sometime Important note: If remarks are provided
desirable to be able to specify the flowrate that after data following the PIPES or PIPE-
must exist in a pipe. While QGIVE permits such commands, then it is necessary that the pipes with
Oowrates to be specified, there are situations for specified flowrates must occur in the input data
which QGIVE is not applicable, and therefore the file after the pipe with the last remark associated
following explanation if provided. QGIVE cannot with it. The reason for this restriction is that
be used to specify the flow in a dead end pipe, USU-NETWK does not consider pipes with
because the demand at its end, that is not specified flowrates the same as regular pipes and
connected to another pipe, already specify what they are removed in its counting of pipes.
the flowrate in it must be. If a specified flowrate
is to come from a source of supply it should be Example of the QGIVE command
handled as a dead end pipe with a negative QGIVE
demand. If the pipe is "interior" so that loops of 1 1.1
the network pass through it, then its flowrate can 100 1.2
be specified through the command QGIVE. A
special application for which QGIVE might be
used is in connection with a valve in a pipe that
controls the flowrate by being partly closed. For RESERvoirs
such applications there is a maximum flowrate
that is possible when the valve is fully opened. In The command RESER is used to enter
other words no positive head (or head increase in data that define the water surface elevations in
the direction of flow) is permitted to achieved the reservoirs or tanks. As such a reservoir serves two
specified flowrate; rather only negative heads, or functions from the viewpoint of hydraulics of the
headlosses in addition to the fluid frictional losses network. First, it provides a source of supply
arc allowed. This application can be (which may be out from the network, as well, but
communicated to USU-NETWK by placing a whose magnitude is unknown), and second, it fixes
minus sign immediately before the pipe number the elevation or the HGL at this point. For
described below. If a negative pipe number is steady-state analyses, this elevation is constant.
given and the solution for this pipe indicates a For time-dependent solutions the initial reservoir
positive head is required, then USU-NETWK: (1) water surrace elevation is specified in the
will reject this as the desired solution to the definition of the network, and a stage-volume or
network, (2) remove this pipe as a pipe whose storage relationship (given under the time-
flowrate is specified, and (3) recompute the dependent data) controls how this elevation may
solution to this new network without the flow in change with time. Only one pipe may connect a
-61-
reservoir to a network, and this pipe cannot and corresponding heads that you read from the
= contain devices such as a pressure reduction valve, pump curve before entering the data for USU-
for example. If it did then the PRY would NETWK to use under the PUMPS or the BOOST
effectively specify the head at this position. Data command. Alternatively you can give the data as
after the RESER command consist of the read from the pump curve, and then use the
following two items: ROTAT command and have USU-NETWK scale
1. The identifier for the reservoir (an up the flow rates and heads.
integer unless pipes or nodes are given as 8 Dimensional analysis can be used to
character strings). If the option NODESP=O (the develop the following two similarity relationships
default), then this identifier is the pipe number for the operation of homogenous pumps:
that connects this reservoir to the network. If
3
NODESP= 1 in the $SPECIF list, then this Flow rate - {Q/ND3 }1 = {Q/ND }2
identifier is the node number assigned to this
source of supply. Pump head - {H/N2D2} 1 = {H/N2D2} 2
2. The elevation of the water surface in
the reservoir, or tank in feet or meters, depending in which Q is the flow rate through the pump, N
upon whether ES or SI units are used, is its rotational speed, D is its impeller diameter,
respectively. If the option NPRRES = 1 in the and H is the head produced by the pump. The
$SPECIF list, then the pressure is given instead of subscripts 1 and 2 represent two different
the water surface elevation operating conditions, or two homogenous pumps.
The assumption USU-NETWK makes in The applications of the above two similarity laws
initializing the problem for the Newton iterative in USU-NETWK is_ limited to changing the
solution is that the flow is from reservoirs to the rotational speed N. The first similarity law above
network unless you indicate otherwise. Should indicates that the flow rate Q varies proportional
you assume the flow is from the network into the to the rotational speed N, and the head produced
reservoir, i.e. it is filling, there are two method by the pump H varies as the square of the
you can use to tell USU-NETWK this. The first rotational speed.
is to give a negative pipe number for # 1 above The input under the command ROTAT
(negative node numbers are not permitted). A consists of pairs of numbers. The first of each
second better method is to give this as the pair consists of the pump designation. and the
downstream node in the data entered with the second the ratio of the desired rotational speed of
PIPES or PIPE- command. Denoting flows into the pump to the rotational speed for which the
reservoirs, where this is most likely the case, will input data under the PUMPS or BOOST
result in USU-NETWK providing a better flow command apply. The designation of the pump is:
initialization, and generally result in fewer (a) according to pump number, i.e. its order in the
iterations for a solution, therefore. input data, (b) the pipe number that connect the
source pump to the network, or that contains the
booster pump, or (c) the node number for source
ROTAT pumps if NODESP= 1 in the $SPECIF list
according to whether NPSERI=O, = 1, or =2,
The command ROTAT stands for respectively. Thus pumps under the ROTAT
rotational speed of pumps. This command can be command are identified the same as they are
used in entering original data for a network. The under the SERIES or the PARALlel commands.
same command, under CHANGE data, and similar This list of pairs of values must be terminated
commands associated with time dependent data with a / and generally will only be one line long,
allow for different rotational speeds for pumps to but may extend unto other lines if desired. If you
be specified. Use of this command with the prefer each pair of values may be on a separate
original input data allows the information line. For the example above for which pump
associated with pumps under the PUMPS or the data is given for 1200 rpm, but the operation of
BOOST command to be for a different rotational the pump is at 1500 rpm, and if the pump
speed than the pumps are operating under for the designator is 1, the input line after the ROTAT
requested solution. For example the data you command would be 1 1.25/
have from the pump curve may be for 1200 rpm,
but the pump is actually operating at 1500 rpm. Example
One method would be to scale up the flow rates, ROTAT
-62-
2 1.4 5.9 7 1.3/ These data are described in the next section of
this manual under the heading "Change Data."
SERIES
RUN
The command SERIES is used to specify
The command RUN tell USU-NETWK that any number of pumps are in series at a given
to: 1. terminate reading data that defines the pumping station. Two items of data are need in
network, and 2. to obtain a solution. The END each line after this command. They are:
command caused the same. For any problem it is 1. The designation of the pumping
possible to have the following data appear after station according to whether NPSERI=O,l, or 2 by
the RUN or END commands, depending upon pump number, pipe number or node number (only
options set, and the nature of the network: if NODESP=l, also). If a booster pumping
1. Node oriented input used to station has more than one pump in serier (or
duplication the definition of the network's layout parallel), it cannot be designated by node number.
to assure correctness of the input data (see the If NPSERI=2, booster pumps are still designated
option NETCHK=-1 or =-2). by pipes.
2. Data needed for time-dependent 2. The number of pumps in series.
solutions. This data is expected only by the
simulation version of the program, and then only Example of the command SERIES
if the option ISIML= 1 in the $SPECIF list. This 2 3/
input data is described in the subsequently section 42/
entitled "Detailed Dynamic Simulation Data
Requirements." SETHGL and SETPRessure
3. The node number and the HGL
elevation at this node that gives the starting value In the analysis of a pipe networks
for hcad and pressure computations. This pressures may be known rather than demands.
additional line of data is required if, and only if, The command SETPR and SETHG allow for a
the network is the special simple network without nodal pressure, or HGL elevation to be given and
any sources of supply such as a source pump or have USU-NETWK compute the demand (which
reservoir. For such networks all exterior flows are is assumed unknown) at some other node, or the
given and the sum of positive demands equalS the same node, for each entry. The commands
sum of negative demands. Fluid mechanics text SETPRe (standing for setting pressure) and
books often give these simple network as SETHGI (standing for setting HGL elevation) can
illustrative problems. This node and HGL be used to either specify the pressure or the
elevation one needed if IHGL=-l, for example if elevation of the hydrauliC grade line at nodes,
no PUMPS or RESER are given and respectively. If the command SETPR is used the
NOMSOL=l is included in the $SPECIF list of pressure will be given in psi when using ES units
options. for pipe diameters and lengths (e.g. NUNIT less
4. Pairs of end pipes to be used to define than 2) and in kilo pascals, kPa, when using SI
the pseudo loops. These values are given if, and units for diameters and lengths (e.g. NUNIT= 2
only if, LOOPSE = 1 in the $SPECIF list. Should or =3). When pressures are given the pressure
PRY's exist in the network, it is necessary to give head is added to the elevation of the node to
both pairs of end pipes for the corrective flowrate establish the hydraulic grade line elevation. If the
loops, and the energy loops. data is entered with the command SETHGI, then
5. Estimates of the fraction of total the elevation of the hydraulic grade line is given
demand, or the flowrates coming from each in feet or meters dependent, respectively whether
reservoir and source pump of the network. These ES or SI units are used for the problem. In
values are given if, and only if, NPERCT =1 in order to satisfy the specified pressure at a node it
the $SPECIF list. is necessary that a demand is adjusted somewhere
6. The cost data called for if ICOST=1 in the network. The input data under these
or greater in the $SPECIF list. commands consist of:
7. CHANGE data for an alternative 1. The node number where the pressure
analysis to define a network with some elements (or elevation of the HGL) is specified.
altered but which is still the same basic network.
63-
2. The node whose demand is to be = 1, then the diameter, wall roughness,
adjusted, e.g. solved for as part of the solution. and length are in feet.
This node can be the same node as the node in # = 2, then the diameter, wall roughness
1, but may be any other real node (e.g. not a and length are in meters,
source node if these are numbered with the use of = 3, then the diameter, wall roughness
the NODESP= 1 option). are in cm, and the length is in meters.
3. The pipe number that connect a source
of supply, e.g. a reservoir or source pump, to the VALVCheck
network. This item is required to save effort in
the program to find the source with the smallest The command VALVC enters data for a
paths from the nodes given in # 1 and # 2. This check valve, which prevents flow in a direction
source of supply should be as close as possible to opposite to that specified from the upstream to
the nodes given in # 1 and # 2 to minimize the downstream node of the pipe. The data are:
computations involved in the solution process. 1. The list of pipe numbers (integers)
The pipe number is required and no option allow that contain the check valves, terminated with a /.
for the source number, or its node number if Since only one item of information, the
NODESP=l. pipe number, is need for each check valve, this
4. The pressure, or elevation of the HGL, data is different in that it is not necessary to have
that is being specified at the node given by # 1, a different line for each additional check valve, but
respectively depending whether SETPR or they can, and generally are all on a single line. A
SETHG is used. check valve is different than a pressure reducing
The use of the commands SETPR and valve (PRV). The PRY holds the pressure
SETHG is different from the use of the DHEAD constant downstream from it regardless of the
command. With the latter command the solution upstream pressure, whereas a check valve only
determines a differential head needed in a pipe, prevents reverse flow. A PRY acts as a check
such as a pump if positive, or a loss device if valve should the flow in its pipe reverse it flow
negative, or a different pipe size that will satisfy direction.
the specified pressure. With the commands
SETPR and SETHG and external flow to or from Example of data after the VALVC command:
the network will be solved for in order to satisfy 4682/
the given pressure. Generally the demand at the
node of # 3 above will be given a value of zero VALVE (pressure reduction valve, PRY)
under the NODES or PIPE- command, since this
demand is designated as unknown. However, a Pressure reducing valves (PRV's) or
demand may be given if desired. If a demand is pressure regulators are used to reduce pressure to
given the value will be utilized in the initialization a specified amount regardless of the flowrate
of the flowrates needed for the iterative solution through the pipe. If the flow reverses in a pipe
process, and a good guess of the amount may line that contains a PRY, then it shut off the flow,
reduce the number of iterations needed for a and acts like a check valve. Should the pressure
solution. upstream from the PRY be less than the pressure
setting, the valve becomes inoperative, i.e. opens
Example of using SETPR and SETHG as wide as it can, but it can not maintain the
SETPRE SETHGL pressure setting. Under wide open operation a
2 5 1 40 2 5 1 592.31 PRY has the effect of a minor loss, very similiar
7 7 3 45 7 7 3 603.85 to a globe valve. USU-NETWK will determine
which of the above 3 conditions should exist at a
UNITS PRY, and obtain the correct solution accordingly.
PRY's cannot exist in consecutive (connected)
The command UNITS enters a single pipes, or pipes from reservoirs or source pumps
integer value. It is an alternative to the use of the for obvious reasons. Data entered after the
option NUNIT in the $SPECIF list. If the value command VALVE consists of:
following the command UNITS equals: 1. The pipe number (integer) which
= 0, then the diameter and wall contains the pressure reduction valve.
roughness, e, are in inches, and the length in feet 2. The distance between the upstream
(or 1000 feet),
-64-
node of this pipe and the valve in feet or meters, will be the same for all pipes, i.e. it is not possible
depending upon whether ES or SI units are used. to enter VISCO intermittently between pipes and
3. The pressure setting of the PR V have its value changes.
expressed in elevation of the hydraulic grade line
(HGL-elevation), immediately downstream from Example of the VISCO command
the valve. This HGL-elevation is in feet or VISCO
meters, depending upon whether ES or SI units 1.275E-6
are used. If the option NPRPRV=1, the pressure
is given instead of the HGL elevation. To WEIGHt
compute the HGL-eIevation from this pressure
USU-NETWK assumes that the pipe is a straight The command WEIGHT allows the
line between its end nodes to find its elevation at specific weight of a fluid to be given as an
the location of the PRV. alternative to using the option GAMMA in the
$SPECIF list. One value follows the command
Example of PR V data after the command VALVE WEIGHT, e-j. the specific weight of the fluid in
VALVE Ib/ft3 or N/m , depending upon whether ES or 'SI
2 100 340 units are used, respectively. If not given, 62.4
3 160370 Ib/ft3 is assumed if ES units used, and 9800 N/m3
is assumed if SI units are used by setting
VISCOsity NUNIT=2 or greater.
-65-
-66-
CHANGE DATA
USU-NETWK allows changes to be made detailed input data is that in the body of this
tn the basic network, and obtains a solution for manual, or according to the rules described in
the new network thus defined without having to Appendix A or Appcndix B.
makc thosc changes in the original input data filc. Changes to the network are specified by
Solutions obtained in this manner are rcferred to providing pairs of lines for each type of change.
as alternate solutions. Generally less The first line of each pair consists of a command,
computations is required to obtain an alternate or descriptive name, which describes the change,
solution than the original solution. The computer and the second provides the "changc" data that are
effort in reading the input data file is always introduced with this command. The commands
saved. Depending upon the Changes specified, the which are allowed, and a brief explanation of what
alternate solution may be obtained with only a they change are given in Table 1 below. These
fraction of the amount of computations needed for namcs must be spelled correctly to 5 characters,
thc original solution. This saving is accomplished and if desired more characters can be added.
by branching back to an appropriate point in thc Thesc first 5 characters must be upper case, and
program. Thc point of this branching depends are shown in upper case in Table 1 with added
upon thc nature of the changcs. For example, if characters in lower case to identify what the
the change consists of multiplying all demands by command does better. A command can appear
a constant, then initialization is obtaincd by between the CHANGE and END any number of
multiplying all previous flowrates by this constant, time for a given alternate analYSis. The units of
and then branching to the equation solving part of the changes are the same as those used in the
USU-NETWK. If only the elevation of the original detailed input data for the network, e.g.
junctions arc changed, then the previous solution those indicated in the $SPECIF list of options.
is used to get the new heads and pressurcs, etc. If
individual demands, and/or pipe lengths or Table 1. Commands for making changes
diameters, arc changed, then a new initialization to the basic network.
and solution are obtained. The version of USU-
NETWK that can also do time-dependent analyses i Command What it Changes
contains two subroutines to provide initial 1
Ilowrates in all pipes that satisfy the junction
continuity equations. The second such subroutine IALLCOEeffic. All roughness coer.
is designed to use the previous solution for the ICOEFFicient Individual roughness cocff.
initialization process, and it will be call on to !DEMANdS Individual demands
generate the initializing Ilowrates for the alternate !DFRACtion Multiplier of all dcmands
solutions, as well as for subsequent time step
solutions. None of the changes will result in the I DIAMEters Individual diameters
basic loops being determined again, or a new iDHEAD Dirrerential heads; both
banding of the Jacobian matrix, unless a PRY, etc. i type # 1 & type # 2 handled
shuts-off or opens again in the alternate solution. iNLNODes Elevation of nodes
Any number of alternate analyses can be IELPUMps w.s. elev. of pump sump
obtained of the basis network. For each such new 1 ELREServoirs W.s. elev. of re..<;crvoirs
alternate analysis the word CHANGE introduces iLENGTh Individual pipe lengths
the changes, and the word END terminates the MINOR coer. for minor losses,(not PC)
Changes. In other words each group of changes I
, PARALlel Numbcr of pumps in parallel
arc included bctween the commands CHANGE IPEAKF Multiplier of demands for
and END and these must start in column 1 of I ranges of nodes
separatc Iincs. Thc changes arc accumulative; that IPRVHG HGL selling of PRY's
is whatevcr changes wcrc madc to obtain thc IQGIVE Specified tlowrates in pipes
previous alternative solution will be carried over
into the next altcrnate analysis. If you want to go
IROTATional Ratio of rotational speed of
Pumps to that of pump curve
back to the original problcm, it is nccessary to SERIEs Number of pumps in series
change back as part of the new change SETPR Specified pressure at nodes
instructions. The change option is exercised the SETHGI Specified HGL-elcv. at nodes
same regardless of whether the form for the
67
A single value follows the two commands 1 .34 5 .55 14 1.33{
ALLCO and DFRAC, and these values are the SETPR (Pair are: 1. node of specif. pres., 2. new pres.)
30 50.360./
new coefficient, and the new peaking factor,
respectively. All roughness coefficients are
The commands PARALlel and SERIEs
changed to the value given after ALLCO,
change the number of pumps operating in para1lel
regardless of whether all pipe had the same
or series at a pumping stations. Three items are
coefficient in the previous solution or not. The
needed (grouped together) instead of two as with
value after DFRAC is a multiplier of all demands
the commands above. These three values consist
from the previous solution. Thus if a peaking
of: (1) the number of the pumping station, (2) the
factor of 1.5 were used in the original input data
old (or previous) number of pumps in series or
using the option PEAKF= 1.5 in the $SPECIF list,
parallel, and (3) the new number of pumps to be
or the command PEAKF, then a value of 0.5 after
placed in series or parallel operation. Note if
DFRAC will result in the peaking factor of 0.75
simultaneous changes in the water surface from
for the alternative analysis. It is not possible to
which a source pump obtains the fluid and the
change computations from being carried out from
number of pumps which operate in parallel or
the Darcy-Weisbach equation to the Hazen
series at this same station are to be made, then it
Williams equation or vice versa.
is necessary that the Change in the number of
pumps in parallel or series by given before the
Examples using ALLCO and DFRAC
ALLCO change in water surface elevation.
.O()5
DFRAC Example of the SERIEs command
.5 SERIES
112332210{
-69-
-70-
= COST INPUT DATA
.71
be selected if all other consideration are equal, The amount of the payment, $16,274.54 shown in
and based on the latter, the most attractive column 4 of this table is obtained by multiplying
alternative would have the smallest composite the crf, which from Eq. 1 equalS 0.0162754 by
present worth. The choice of the reoccurring $100,000. Interest shown in column 3 has
composite cost, or the composite present worth accumulated over the year from the balance due
comparison is a matter of personal choice. after the last payment. The charges for the use of
A capital investment cost is converted to the money are listed in column 3, and are
a reoccurring cost by multiplying its amount by obtained by multiplying column 2 by 0.1. The last
the capital recovery factor, crf. The formula that column, which is the difference between the
gives the crf is, payment, column 4, and the interest, column 3, is
subtracted from the first column to obtain the
i(l+it next value in the first column for the next year.
crf = ---------- . (1 ) The 10 payments exactly equalS the amount of
(l+i)n-l interest plus the initial $100,000. Therefore, the
reoccurring amount of $16,274.54 is equivalent to
in which i is the interest rate as a decimal, and n the $100,000 capital costs of the pump. If the
equalS the number of reoccurrences of the pump needs to be replaced after these 10 years of
payment. A reoccurring cost (that is assumed to operation, then the $100,000 present worth of the
be constant in amount) is converted to a present pump is identical to a $16,274.54 annually
worth by multiplying it by the present worth reoccurring cost.
factor, pwf, which is the reciprocal of crf, and is The annual payment amount of
given by the formula, $16,274.54, however, is not the total cost for
(l+i)n - 1 having the new pump on line. It uses energy and
pwf = ------------- . (2) requires maintenance that, let's assume equalS
i(1 +i)n $20,000 per year. One method for evaluating the
yearly costs for the pump is to add these two
For example assume it costs $100,000 to reoccurring amounts to give $31,228.80/yr. An
get a new pump on line. However, since $100,000 alternative is to multiply the $20,000 by the pwf
is not available the money must be borrowed at an and add this amount to the $100,000 capital cost
interest rate of 10%, with an agreement to pay the of the pump. The pwf based on a 10 percent
loan back over a 10 year period with equal interest rate and number of payments equals
payment at the end of each year. The table below 9.090909 so that the total composite present worth
shows the cash flow associated with this capital of the pump equals $281,818.18.
investment. Any number of other capital investment,
or reoccurring costs can be added to get the total
Table showing cash flow for example acquisition cost. Before they can be added it is necessary to
of pump. (Life=lO yr, interest rate=O.lO, convert them to the same base, e.g. a reoccurring
capital investment amount=$100,OOO.) cost or a present worth amount. Since the values
of crf and pwf depend upon the interest rate, and
Yr. Amount Interest Payment Reduction the number of payments i and n must be known.
owed at Charges amount in amount If the amounts are to be interpreted as those
start of owed necessary to keep the water system in continual
year service, then the number of payments can be
(1) (2) (3) (4) (5) interpreted as the life expectancy of that
1 100000.00 10000.00 16274.54 6274.54 component of the system. If payments are made
2 93725.46 9372.55 16274.54 6901.99 twice a year, the crf can be computed using n:;:
3 86823.47 8682.35 16274.54 7592.19 2 x (life expectancy) and i = 1/2 x (annual interest
4 79231.27 7923.13 16274.54 8351.41 rate). Life expectancies of different components
5 70879.86 7087.99 16274.54 9186.55 of the system need not be the same, nor do
6 61693.31 6169.33 16274.54 10105.21 interest rates associated with them need to be the
7 51588.10 5158.81 16274.54 11115.73 same. The crf and/or pwf must however be
8 40472.37 4047.24 16274.54 12227.30 computed based on the proper nand i for that
9 28245.07 2824.51 16274.54 13450.03 network component.
10 14795.04 1479.50 16274.54 14795.04 There are numerous variations that might
Total 0 62745.40 162745.40 be used to the above. Salvage values may be
-72-
included, but if the salvage value is subtracted shown below.
from the cost of the replacement the same final INTEREST=i simple annual interest rate
result is obtained. Inflation may be factored into (without compounding)
the analysis by subtracting its rate from that of LIFE = life expentency in years
actual interest rate. For practically all water PAYMENT=time between payments in
distribution system analysis constant reoccurring years (or fractions thereOf)
series costs is realistic. USU-NETWK assumes To get the i used in equations 1 and 2 above
that all reoccurring costs are constant for all ~NTEREST is multiplied by PAYMENT, or
payment periods. I=INTEREST x PAYMENT, and the value of n
is computed by dividing LIFE by PAYMENT. In
other words if PAYMENT is 1 the values entered
by the commands INTEREST and LIFE are equal
Nature of Cost Data USU-NETWK to j and n in Equations 1 and 2; otherwise they
are not. For example, if the desire is to compute
Understands costs based on making monthly payments and an
annual interest rate of 10 percent exits, then i
You communicate to USU-NETWK that
.10/12 ::;; 0.00833333, and payment 1/12 =
~n en~ineering economic analysis is to be done by
.0833333. Every new entry of any of these three
IncludIng ICOST=1 in the $SPECIF list of
commands will result in new values for crf and
options. With ICOST set greater than zero, USU-
pwf being computed, and these new values will be
NETWK expects to read cost data after the RUN
used in computing costs and summing each new
command.
computed cost into the accumulated "present
The input data for an engineering
worth" and accumulated "annual cost" until any
economic analysis of a network utilizes the same
one of them is re-entered, at which time a new crf
general format as other input data. A name
and pwf will be computed. The default values will
(command) enters data of a given type. The cost
be used in any such computations until one of
dat~ arc entered with any, or all of 18 following
these commands is first entered.
available commands. The names are words you
The commands EFFI, DAYS, RESP and
can relate the type data they enter to. These
NPRI are followed by a single value that have the
commands consist of: INTEREST, LIFE,
following meanings:
PAYMENT, ELECTRICITY, PIPES,
EFFI - This command enters a combined
RESERVOIRS, APPURTENANCES, WATER,
motor pump efficiency that will be used to
OPERATING,POWER,PUMPS,ADDITIONAL,
compute the energy used by the pumps. In other
NPRINT, EFFICIENCY, DAYS, RESPOWER,
words, the energy that a pump adds to the fluid
DEMCOSTS, and END. The first 4 characters in
w.ill be divided by this value in computing the
each command are significant, and each may be
kilowatt-hours of energy that will by multiplied by
truncated to only 4 characters. For example
the unit cost values entered by UNIT= after the
ADDl, EFFI, etc are sufficient. In addition the
ELEC or PUMP commands. The default for
wo:ds CAPI= and UNIT= preceded values being
EFFI is 1. Therefore, if EFFI is not given as part
assigned to capital and unit costs, respectively.
of the cost data the values entered under pumps
Funhermore, the names EQ-C and EQ-A are used
by UNIT= should equal the electrical rate paid
to introduce coefficients for equations that will be
per kilowatt-hour divided by the combined
used t~ computer capital, and reoccurring costs,
efficiency of the pump and its motor. The value
rcspeclively. The uses of these 18 commands and
entered by EFFI will be used in all energy cost
the additional 4 names are summarized in Table 1.
computations until it is given a new value.
All commands and names must begin in column 1.
DAYS - This command enters the number
The first three commands listed above
namely INTEREST, LIFE, and LIFE are in ~
of days of operation for pumps throughout a year.
~ifferent category than the rest in 'that they The default is 365. Therefore, if a pump operatcs
50 % of the time the command DAYS followed
Introduce parameters that are used to compute a
on the next line by 182.5 should be given before
new crf and pwf, and they are followed
the ELEC ?r PUMP command for this pump.
immediately with an equal sign, which in turn is
An alternative would be to reduce the unit energy
followed immediately with a value. These
costs to one-half the actual amount.
parameters can occur individually, or together, and
RESP - The default meaning of
may be repeated any number of times in the form
UNIT=amount after the RESER command is the
73
cost per unit (feet or meters) above the ground pumps that are included in the input data under
elevation of the reservoirs. This ground elevation the commands PUMPS and BOOSTER can be
is provided under the NODES command if included, or negative demands at nodes might be
NODESP= 1. When NODESP=O this ground considered to be pumps. There is only one line
elevation is taken as the elevation at the node on (which may extended into several lines) that
the other end of the pipe that connects the fol1ows the command DEMC. The items on this
reservoir to the network. An alternative meaning line consist of:
for UNIT=amount is achieved by giving the name 1. KW1im - The limit of kilowatts that can be
RESP, that denotes the flow from reservoirs is to used by the pump without a demand charge. The
be considered water that has been pumped into amount of this demand charge is computed by the
them and, therefore, the outflow is to cost the equation below. (An exception to having zero
same as pump power or energy, a value different demand charges occurs if the kilowatts, KW, used
from zero. This alternative meaning is by the pump are less than KW1im, but the next
accomplished parameter Tde is not zero).
by including the following in the cost data: 2. Tde - A demand charge amount that will occur
if the quantity (KW-KWlim ), as defined below, is
RESP negative. The amount Tde is multiplied by the
1 days of operation to obtain the demand charge.
3. Cde - The constant in the quadratic equation
To change back to the default meaning, a 0 can below that computes the demand charge.
follow RESP subsequently in the list of cost data. 4. Bde - The linear coefficient in the quadratic
After the command RESP followed by a 1 the equation below that computes the demand Charge.
amount after UNIT is the cost of the energy 5. A de - The coefficient that multiplies the
associated with this water flowing out of squared term in the equation below that computes
reservoirs. Should the flow be into the reservoir, the demand charge.
no cost is associated with it, since this cost will be 6. Sde- A demand Charge that is a dollar amount
taken into account by the pumps that supply the for each pump included in the list, but docs nOl
now to the network. The energy is computed as depend upon the kilowatts of power consumed hy
for pumps, e.g. the flowrate is multiplied by the the pump, and is not multiplied by the number of
head (the difference between the water surface days of operation.
elevation and the ground elevation) and an 7. A list of pump numbers (i.e. the order of the
appropriate conversion factor to give pumps in the input data with booster pumps
kilowatt-hours. The number of hours per year can following source pumps), or the list of node
be reduced from 365 by providing an amount after numbers preceded by a minus sign if a negative
the command DAYS. Also if an amount is given demand represents pumped water. This list of
after the command EFFI, then this given efficiency pump numbers, or node numbers) must be
is divided into the above computed energy before terminated by a I. The 1 allows this list to be
multiplying by the unit costs for energy. extended unto several lines if needed.
NPRI - This command changes the The equation that computes the demand
amount of extra information that will be written charge rate is as follows:
10 the output file. In other words this command,
as part of the cost data, overrides the value set by
the option NPRINT in the $SPECIF list, or the
last value entered by the command PRINT. Its in which KW is the kilowatts of power required hy
usc as part of the cost data allows more, or less, the pump.
extra output be obtained. For example, if Should the quantity (KW-KWUm)' which
NPRINTis used to enter a 6 just before the PIPE is the kilowatts of power required by the pump
command, and again a 0 before the next minus the limited value given or parameter #1, be
command, it is possible to get the costs printed negative, then the amount Tdc given as item # 2
out for every pipe in the network on a separate above is taken instead of the amount of $/day
line, but not this amount of detailed cost data for computed by the above equation. To get the
other components of the network. reoccurring costs the amount computed by the
DEMC - This command allow for demand above equation is multiplied by the days of pump
charges associated with pumps to be included as operation per year, or 365 unless the command
part of the engineering economic analysis. Either DAYS appears before the command DEMC.
-74-
In addition to the cost computed by the pumps. The word VALVE indicates flowrates
last multiplication the value of Sdc or item # 6 through those pipes containing pressure reduction
above (without multiplying it by the number of valves.
days of operation) is added to the above amount. Mter the commands UNIT=value or
This latter value Sdc is added whether the CAPI=amount a comma may be given followed by
kilowatts of power required by the pump exceed a range of values. In Table 1 this is shown as
the limit KWlim or not. Any of the coefficients in ,<range of . . > in which the . . are two integers
the above equation may be assigned zero values separated by a - that identify the range of pipes,
should this be appropriate in defining the methods reservoir, etc. The range is given by an integer
used to obtain the demand charges. If all negative value, a dash followed by a second integer without
demands represent pumped water, and all of these any intermediate spaces. This range is optional,
arc to have the demand charges associated with but if given then only those pipes, etc. within the
them then rather than listing all of these node range will have the given costs attached to them.
numbers, as item 7 above, this item can be given Should the range include pipes, etc. that do not
as -9999 following by I. exist, the non exist numbers will be ignored. If
END - The command END tells USU- the dash and second integer of the range are
NETWK that no more cost data are being omitted then only the one given value constitute
provided, and therefore the cost analysis should be the range. For example UNIT=.05,PUMPS,1
terminated. In obtaining time-dependent indicates the unit cost of .05 applies only for the
solutions an additional END command is needed flowrate through the line containing pump 1. A
for each succeeding time step solution for which 1-1 in place of 1 would have exact the same effect.
a cost analysis is requested. Giving the following after the command WATE:
The remaining seven commands must be UNIT=.04,NODES would indicate that a unit cost
followed on the next line or lines with the name of $.04 per cfs of flowrate should be charged for
UNIT=value (unit cost), or CAPITAL=amount all demands throughout the network, whereas
(or CAPI=amount). The values following the UNIT=.04,NODES,5-25 would indicates that a
cq ual signs are the amounts to be used as the unit unit cost of $.04 per cfs of flowrate should be
cost or amount of the capital investment. An charged for the demands at nodes 5 through 25
exception is the line after the command PIPE if it for those node numbers that exist within this
is UNIT=N. In this exception N indicates the range. Mer the command ELEC a line
number of pairs that follow giving the cost of pipe UNIT=.09 would indicate that the energy in
per foot of length (or meter of length if SI units kilowatt-hours used by all pumps in the network
are used) and the diameter in inches (or meters) should be multiplied by .09 to compute these
for which that cost applies. The other exception costs, but a line UNIT=.09,
is the command ADDI. Mter ADDI the next line 2-4 would indicate that this unit cost applies only
provides a name for that additional cost. This for pumps 2 through 4.
name is followed by UNIT=unit cost or It is important to understand that in doing
CAPI=amount in the usual manner. Commands an engineering cost analysis, USU-NETWKcarries
WATER, OPERATING and ADDITIONAL, out the computations in the same sequence as the
when followed by UNIT=unit, have a comma data are given, and that the costs are accumulated
followed immediately by one of the words: FLOW, as the computations are completed. If no PIPES
PIPES, NODES, RESER, PUMPS, or VALVE or ELEC commands are included, then USU-
(all 5 characters long). All of these are unit costs NETWK will carry out these two costs analyses
that multiple flowrates in basic units (cfs, m3ls, based on the default costs for these items. Since
Ib/scc, slug/sec, N/s or Kg/s). The word FLOW commands may be repeated as many times as
indicates the total demand on the network. The desired, with the cost for that item accumulated,
word PIPES indicates the flowrate in pipes. The you have considerable flexibility in defining the
word NODES indicates the positive demands from costs and what should be included. Both CAPI=
the nodes (flowrates into the network, i.e. negative and UNIT= may follow a command, and either or
demands, are ignored in computing costs under both of these may be repeated any number of
these commands). The word RESER indicates times after a given command. Furthermore,
flowrates fromlto reservoirs. This cost for ranges may be given. If ranges overlap between
reservoirs flowrate is accumulated regardless of consecutive UNIT='s the effect is to add the two
whether the flow is from or into the reservoir. separately given unit costs to the overlapping
The word PUMPS indicates flowrates through numbers. Thus for example if you desire you
-75-
could use the PIPES command to separate the commands (except pipes) the multiplication of the
installation of pipes into: (I) the actual cost of the unit cost by the item indicated will be considered
pipe, (2) the instaUation of the pipe in the a reoccurring cost, or constant series cost that
ground, and (3) the cost of acquiring the right-of- occurs each payment period in years. If
way. For item (1) there would be considerable PAYMENT=I (the default), then this will be a
different unit costs for different pipe sizes and the cost each year.
given data would reflect this. For item (2) there 3. CAPl= enters a single capital
would likely be smaller differences in unit costs investment cost. When CAPl=value is given after
for the small versus large diameter pipes, and for the commands ELEC, PUMP and RESER without
item (3) all unit costs would be the same giving a range, then this amount will be applied to
regardless of the pipe diameter. all such components in the network. For example
You should carefully study Table 1. After if there are 5 pumps in the network, and "value"
you have become familiar with cost input data to is 15000, then the total capital cost will be 5 x
USU-NETWK you will find that a glance at this 15000 = $75,000 for the 5 pumps. CAPl=value
table is about all you need to decide on what you after other commands such as WATER, etc. will
want to include in the cost data portion of the cause the amount of only one "value" to be added
input. The following explanation of the meaning to the costs. If you wish to have the amount of
of terms will help you in understanding Table 1 "value" included only once after a command such
hetter. as ELEC and several pumps exist, then simply add
a comma followed by 1 for the range.
Ex~mplc of cost data
4. In the case of the energy costs
PIPES
CAPI=25000 associated with pumping no efficiency of motor
UNIT=8,1-40 and pump is used unless you have previously given
4 2 6 4 8 6 10 8 12 10 15 12 18 14 20 20 the command EFFI and an effiCiency (fraction)
UNIT=8,41-60 following it. Therefore, if you don't use the EFFI
44 6 6 8 10 10 12 1220 15 25 1845 20 60
RESER
command the actual costs for electricity should be
CAl' I = 12000.1 divided by the combined efficiencies of the motors
UNIT=200 and the pumps.
ELECTRICITY 5. By changing the interest rate, and life
CAP 1=5000,2 repeatedly with the commands INTEREST=rate
UNIT=.08
WATER
and LIFE=life before giving other cost data it is
UNIT= 1.,I'LOWS possible to use different interest rates, etc. as the
UNIT=.5,PUMPS,4-5 basis for computing reoccurring costs from given
CAPI=I0000 capital costs, and present worth, from reoccurring
OPERATING cost so that the interest rates, and lives can
UNIT=.05,PIPES
ADDITIONAL duplicate what the actual situation is. The
REPLACEMENT default for LIFE is 50 years, and the default
UNIT=.02.FLOWS interest rate is 0.10.
END 6. The value given after the equal sign
following the command PAYMENT is the
fraction, or multiple of years when the reoccurring
1. ELECTRICITY represents electrical uniform payments occur. The default is I,
energy consumed by pumps, and must be used for meaning that uniform series costs occur once each
costs associated with any pump in the original year. If you want to have the computations based
data. If pumps exist but they have not been on monthly compounding of interest, the
entered in the original data with the command command PAYMENT=.08333 could be given for
PUMPS or BOOSTER but rather have been given example.
as a negative demands, then the command PUMPS 7. The default capital costs for pipes
must be used rather than ELEC. consist of the following:
2. UNIT= enters a unit cost, or a
mUlliplier of the item indicates by the command
to get the reoccurring costs. When given after the
command RESER this multiplication will produce
a one time cost that is added to the initial capital
investment cost. When used after any other
-76-
POWER provides the capability to determine
Pipe Cost/unit revenue that can be obtained through generation
dia. length of power. The amount given after CAPI=
following the POWER command represents the
capital costs associated with the installation, etc.
4" $ 3.67 of the power generating facilities, and is a costs.
6 5.33 The amount provided after the UNIT=is the
8 7.67 amount that each kilwatt hour of power can be
10 10.67 sold for. This energy is computed based on the
12 16.67 flowrates, i.e. demands at the nodes and heads
15 24.00 available at the nodes as determined by the
18 43.33 solution. The range of nodes (which will generally
20 56.67 be a single value) must be given. No efficiency of
24 80.00 the hydraulic turbine-generator is used in the
30 100.00 program. Therefore, the unit cost data supplied
36 120.00 must reflect this combined effeciency plus any
42 145.00 transmission losses.
48 170.00 9. It is possible to provide costs
54 200.00 associated with ELECTRICITY, PIPES,
60 235.00 RESERVOIRS, POWER, and PUMPS by
72 270.00 providing parameters in equations that are
84 300.00 commonly used for this purpose. Table 2 below
% 350.00 gives these equations. The name EQ-C (which
108 390.00 can replace CAPI) following the above commands
enters the parameters K, a and b shown in the
equations, and the given equation is used to
The command PIPE is used to supply a compute a capital cost. The name EQ-A (which
different list of pipe diameters, and associated unit can replace UNIT) following the above commands
costs. This is done by following the command enters the parameters K, a and b shown in the
PIPES on the next line with UNIT=N, in which equations, and the given equation is used to
N is the number of different pipe diameters for compute a reoccurring cost. The parameters are
which data will be supplies. N cannot exceed 20 entered by leaving a space after the name EQ-C
with current program dimensions, and then on the or EQ-A and then giving:
next line (or lines) provide the list of N pairs of A=value,B=value,K=value; <range>. Note that
values with the diameters followed by the costs. capital A & B in the actual input correspond to a
This list can be spread across a line up to and & b in the equations in the table below. If any of
including column 80, or can be listed with only the parameters (letters) followed by an = is not
two values per line. If a pipe diameter in the given, then the current default value for that
network is not equal to one of the given pipe parameter will be used, and if the range is not
diameter, i.e. between two of the entries of the given all devices of that type are assumed. The
given pipe data, then the costs associated with that starting default values are shown in the table
pipe will be interpolated linearly between the costs below, and any value given for a device becomes
for the two pipe diameters that bracket its size. the default thereafter.
Costs associated with pipes with either smaller The following is an example of using
diameters, or larger diameters than in the list of equations to compute costs.
diameters will have their unit costs equal to the PIPES
end values of the cost data, i.e. the pipe costs data EQ-C K=25,A=1.5
ELEC
are not extrapolated. The diameters must be UNIT=.09
entered in ascending order of magnitude, i.e., the EQ-C A=.4,K=580,B=-.35;1-2
smallest diameter first and the largest diameter CAP I =32000,1-4
last. RESER
EQ-C K=15000,A=500,B=.5j2
8. The POWER command is the only one
EQ-A K=750,A=500,B=.5;2
that produces a revenue, or negative cost, END
associated with the network unless negative values
are entered following CAPI= or UNIT;;;:.
-77-
Table 1. Summary of input to provide data for an engineering economic cost analysis of the network. (Commands and names
that enter data are in upper case letters.)
VI. POWER (For income received from power generated) XIII. EFFICIENCY (Enters combined efficiency of pumps &
UNIT=revenue/kwhr,<range of node numbers> motors) decimal value (default=!.)
CAPI=amount,<range of node numbers>
(is a cost) XIV. DAY (Enters days of pump operation through ye.1r)
EQ-A eq. parameters;<range of node numbers> value (default=365)
EQ-C eq. parameters;<range of node numbers>
XV. RESPOWER (Water coming from reser. is assumed
VII. PIPES (Enters unit costs of different pipe diameters) pumped)
UNIT=N,<rangeofpipes> (N=numberofdifferent 1 or 0 (1 denotes power, 0 costs based on
pairs of diameters and unit costs in list flowrate)
that follows) -
dial cost/ft (or m) XVI. NPRINT (Changes amount of output written) integer-3
dial cost/ft (or m) thru 10 allowed, with -3 least)
(see table in text for
default unit costs for pipe) XVII.END (Terminates reading of cost data and writes
diaN cost!ft (or m) summary table giving present worth and annual costs)
CAPI=amount,<range of pipes>
EQ-A eq. parameters;<range of pipe numbers>
EQ-C eq. parameters; < range of pipe numbers>
i VIILRESERVOIRS
I UNIT=cost!ft of elev. above ground,<range of
reservoirs>
I
I CAPI=amount,<range of reservoirs>
EQ-A eq. parameters; < range of reservoir numbers>
I EQ-C eq. parameters; < range of reservoir numbers>
ELEC $=KQI! or K=635,a=.642,b=.453 Q & H are f10wrate and head in basic units,
i.e., cfs, ems, ft or m.
i
$=KE" if b=O or E is kilowatt of power.
$=K~Qlbl if b<O K=635,a=.642,b=-.453
POWER (same as ELEC)
PUMP (same as ELEC)
PIPE $=K.D"EXP(bD) K=23.18,a= 1.6875, D is dia. in basic units
i.e., feet or meters
RESE $=Ki K= 12912,b=.556,a=500 a = vol. of tank in 1000 gal for example.
If the command IS EQ-C then the $'s are the present worth values; If the command IS EQ-A then $ stands for cost
of reoccurring payment.
~79~
-80-
DETAILED TIME DEPENDENT DATA
REQUIREMENTS
(Applies only to the simulation version of USU-NETWORK)
-81-
~.= from the computer solution have little resemblance to in defining the problem. However, you can provide
what happens in the actual network. some of this information interactively as you examine
Therefore, generally time-dependent solutions the solutions from previous time steps, i.e. you can turn
are not obtained first in studying the performance of a pumps on or off depending upon what you see is
piping system. Rather steady-state solutions are occurring during the simulation, for example.
obtained first, and they are used to verify that the The time-dependent input data have two major
model thus created by the computer does described the categories similar to that of the initial input data;
actual system reasonably well. The knowledge acquired namely a list of options followed by the detailed data
from real data as well as studying individual steady-state that describes the time variations. The data in each of
solutions, might then be used to define what the time these major categories are described in separate
varying problem most like should be. sections below. The time dependent data follows the
While considerably more information is RUN or END command fro~ the detail data, provided
required for a time-dependent solution than individual options have not dictated that other data follow this
steady-state solutions; the amount of information command.
obtained about the networks performance is also much
greater. In fact the information included in a single
time-dependent solution supercedes many indivIdual TiIne Dependent Options
steady-state solutions, because conditions, such as water
surface elevations in tanks, and pumps on or off are Options, or speCifications, that provide general
automatically adjusted to reflect what should actually information related to the time dependent-solution are
occur. Thus some of the hypotheticalness of the included between $TDATA and $END, and this list
individual steady-state solutions is replaced by what must preceded the other detailed data for the timc-
might actually occur. Perhaps the best answer to the dependent solution. This $TDATA list of options is
question of "when should time-dependent solutions be similar to the $SPECIF list of options. Valid
obtained?" is only if you have considerable knowledge parameter names followed by an equal sign and the
and insight into actual operations and conditions value given to the parameter are given for those
imposed on the system. However, once this knowledge options for which the default values are not appropriate
exists time dependent solutions should be used rather for the problem being solved. The difference is that
than individual steady-state analyses because the results the list under $TDATA apply only for the time-
therefrom will provide more information about the dependent solution. The parameter entered in the
network's performance. $SPECIF list still apply. For example an abbreviated
The time-dependent input data to USU- list of options may be,
NETWK has been made as flexible as pOSSible, while $TDATA DTIME=l,INCHR=l,ALTV=l $END
still making it as simple as possible for you. The best The names that can be included in this options list are
way for you to decide what information, should be given in alphabetical order below.
assembled for a time-dependent analysis is to study the
input allowed, and gain some experience in obtaining Parameters that may be included in $TDATA
time- dependent solutions for simple example problems list of options:
that you make up. You will also need to put more
effort in understanding what the time dependent AL1V: This option permits water surface elevations in
solutions tell you about the performance of the reservoirs to be limited by altitude valve settings at the
network. USU-NETWK provides you tools that assist top of the tank, and the bottom of the tank or not be
in this regard as well. You can have special extra limited, i.e. assume that the tank has no top and
"Lime-dependent" tables created to examine pressures at bottom. If ALTV=O, then the storage elevation data
selected nodes that are most important, flow rates in given for reservoirs will be extrapolated as necessary
selected pipes, and/or water surface elevations in tanks, under the assumption that the reservoir cannot overtop
etc. Also the auxiliary program PRINT (described in or become empty. A time-dependent analysis with
Appendix E) allows you to interactively ask questions ALTV=O, for example, could indicate what elevations
about selected pressures, flow rates, head losses, etc. at the top and bottom of the storage tank should have to
any time. The auxiliary graphics program PLTTIM (see accommodate conditions described in this simulation so
Appendix C) permits you to display the variation of that it will not empty or overfilL If ALTV = 1, then the
pressure, flowrates, water surface elevation in tanks, etc. largest elevation given for a given reservoir's storage
as functions of time. Generally most information elevation curve (entered with the command STORAGe)
related to time variations are prepared before hand, and will be assumed to be the highest water surface
placed in the input data file that USU-NETWK reads elevation allowed. Should the water surface elevation
-82-
attempt to rise above this value, then the altitude valve 4. The next time for a changed increment.
will shut off the flow into the reservoir. Likewise, the 5. The corresponding new time incre-
smallest elevation given in the storage elevation data ment.
will limit the lowest water surface elevation that is 6. etc. with the number of pairs given
allowed. Flow out from this reservoir after the smallest equal to the integer given in # 1 above.
elevation exists will result in the flow from the tank
being shut-off. The value given to ALTV applies to all (C) If either INCHR or INCMIN is negative, and
reservoirs in the network, e.g. it is not possible to have input 1. from (B) above is given a zero value, i.e. no
some tank "topless" and "bottomless" and flows from pair of time and new time increment is given, then after
other tanks controlled by altitude valves. (Default each time-step solution the user will be prompted for
ALTV=I) the new time increment that should be used for the
next time step. These time increments must be given
DTIME: The total time of analysis in days that the in seconds.
time-dependent solution should cover. A value of
DTIME= 1 for example is equivalent to HTIME=24. INCHRP: The time increment, in hours, between
(Default DTIME=l) which the results will be written to a file (printed).
This increment cannot be smaller than INCHR, but
llTlME: The total time of the analysis in hours that could be twice as large as INCHR if the results from
Lhe time-dependent solution should cover. (Default only every other solution are to be written to the
HTIME=24) output file. See the option NPRTAB for a description
of what will, or will not, be written for every other such
INCIIlt: The time increment, in hours, between time increment.
consecutive time-dependent solutions. (Default
INCHR=l) INCMIN: The time increment, in minutes, between
consecutive time-dependent solutions. (Default
It is possible to change the time increment that INCMIN=60)
will be used during different portions of the time- See the description under INCHR for how
dependent solution by giving either this option INCHR variable time increments can be used.
or the option INCMIN a negative value. The effect is
as follows: INCMIP: The time increment, in minutes, between
(A) If INCHR & INCMIN are positive then the which the results will be written to a file (printed).
simulation will use a constant time increment for the This increment cannot be smaller than INCMIN, but
cntire time-dependent solution. could be twice, or three times as large as INCMIN if
(B) If either INCHR<O or INCHM<O, then the the result from every second, or third solution are to be
first time increment will be the absolute value of the printed. See option NPRTAB for a description of what
negative value(s) given these options. In addition at will, or will, not be written on this increment.
least one line of additional input is needed that defines ISUNIT: This options indicates what units are being
when the time increment(s) should be changed, and used to give reservoir storage volumes under command
what the new time increment(s) should be. This added STORAGE.
line must come immediately after the $TDATA list on If ISUNIT
the next line and this added input consists of: =0, storage volumes are in cubic feet.
1. The number of new time increments = 1, storage volumes are in acre-feet.
that will be supplied in the list that follows. =2, storage volumes are in million gallons.
This list is limited to 8 of less pairs. If this =3, storage volumes are in billion gallons.
number is zero, then the list below is not given
but rather after each new time step in the LINEAR: Permits interpolation of demand function
solution the user will be prompted for a new curves, storage function curves, and flow rule curves to
time increment in seconds. This invokes be linear between consecutive pairs of values, or based
option (C) below. on a second degree polynomial passing through 3
2. The time when the new time increment consecutive values. If LINEAR =1 interpolation is
should stan. The units of time used for this linear, if = 0 the interpolation is quadratic. (default=O)
time are those designated by the option
NTIMED. MTIME: The total time of the analYSis in minutes that
3. The new time increment in the units the time-dependent solution should cover. For example
denoted by the option NTIMED. if one wished to cover a time period of 12.5 hours, this
83-
could be done by setting HTIME= 12.5, or by setting solution results printed at all. Therefore, if NTRAND
MTIME=750, or by setting HTIME=12 and is used to control printing frequencies, then don't use
MTIME=30. INCMIP, INCHRP and NPRTAB.
NOPUMF: This option allows you to control whether NPNRES: This same option is permitted in the
the flow rate in a pipe that contains a pumps should $SPECIF list with the same effect as when it is included
shut-off, e.g. be exactly zero, if all of the pumps at the in the $TDATA list of options. The option determines
station in this pipe shut-off. If NOPUMF=I, then the whether a nodal pressure, or reservoir water surface
flow rate is not set to zero when the number of pumps elevation controls pump rules. If NPNRES=O, then
in series or parallel that are in this pipe becomes zero. nodal pressures at selected nodes control the number of
In other words even though the pumps are all shut off pumps on and off in PUMP rules and in FLOW rules.
in a given pipe there can be flow in this pipe. A by If NPNRES=I, then the water surface elevation in
pass line as often exits at a pumping station would be selected reservoirs control these given rules.
modelled by setting NOPUMF=1.
NTIMED: This option allows different units of time to
NPUNOD: Allows pumps and reservoirs to be be used in the demand functions and pump schedules
referenced by three options when giving time-dependent given under the commands DEMAND FUNCTION and
data: If NPUNOD PUMP SCHEDULE. If NTIMED
=0, pumps (including booster pumps) are referenced by =0, time is in minutes.
number, e.g. the order in which they occur in the input =1, time is in hours (default)
data. The numbering of booster pumps occurs after the time is in days.
last source pump. Thus if there are 3 source pumps,
the first booster pump after the command BOOST will PRINTT: This option allows for special (extra) tables
be number 4. to be written to files under the filename
= 1, source pumps and reservoirs are referenced by SPECIAL*.DAT (where * = 10, 11, 12 .. ). (When
node number (allowed only if NODESP=1 in the running USU-NETWK under DOS on a PC this name
$SPECIF list of options). Booster pumps are is shortened by leaving out the L to stay within the 12
referenced by their pipe number. (Default = 1 if characters limit allowed.) These special tables contain
NODESP=I) time as the first column, and flow rates or head losses
=2, pumps and reservoirs are referenced by the pipe in selected pipes, or pressures at selected nodes as
number that connects the source to the network. described below. These tables allow easy examination
Booster pumps are in pipes and therefore are of what happens over time at selected positions within
referenced by pipe number whether NPUNOD=1 or = the network. Graphics described in the graphics
2. Appendix C of this manual allows data from these
special tables to be displayed using the utility program
NPRTAR: This option has meaning in conjunction with PLTIIM. If PRINTI is different from 0, then special
options INCHRP and INCMIP by indicating what tables are requested as described below.
tables these latter options have control over writing at If PRINTI > 0, then it is necessary that the
the indicated frequencies. If NPRTAB =0, then the appropriate extra commands, PIPE TABLE and/or
specified frequencies apply for both the special tables NODE TABLE follow the $TDATA list immediately as
requested by PRINTI>O and the regular tables of out- dictated by the value given PRINTI. If PRINTI
put. If NPRTAB=I, then the specified frequencies = 1, tables of pressure at designated nodes are
apply only to the regular tables of output. For example generated. In this (ese) table(s), and all other special
if NPRTAB=I, INCMIN=15 and INCMIP=30, then tables, the first column contains time. The remaining
any requested data from PRINTI>O would be written columns are pressures at the nodes given under the
to the special tables every time step of 15 minutes, but NODE TABLE special command.
only every other time step, or every 30 minutes would =2, tables of flow rates in designated pipes are
the solution be written to the regular tables of output. generated.
If NPRTAB=2, then INCMIP has no control on the =3, tables of both pressure at designated nodes and
regular tables, but controls the frequency of writing flow rates in designated pipes are generated.
data to the special tables requested by PRINTI>O. =4, tables of head losses in designated pipes are
Note control of printing intervals can also be had with generated.
the option NTRAND in the $SPECIF list of options. =5, tables of pressure at designated nodes and head
Conflicting specifications between these two controls losses in designated pipes are generated.
can result in unpredictable printing of SOlutions or no If PRINTI>O then according to the tables
-84-
requested the following special commands must occur: RESER. TABLE can be used with any combination of
special tables, i.e. PRINTT can be given any value from
1 through 5. If a special reservoir table(s) is to be
PIPE TABLE created without any other special tables, then PRINTT
should be given the value of 10.
The command PIPE TABLE is used to introduce Example (PRINTT=3)
pipe numbers that are to be included in a special table PIPE TABLE
of flow rates, or head losses, versus time. This com- 15 10 12-16/
mand or one of the following special commands must NODE TABLE
occur immediately after the STDATA options if 5-15/
PRINTT>O. A list of pipe numbers, or the word ALL, RESER. TABLE
follows PIPE TABLE. ALL indicates that all pipes in ALL
the network should be included in the special tables. END TABLES
In order to give PIPE TABLE, the option PRINTT Example (PRINT= 10)
must = 2, 3, 4 or 5. RESER. TABLE
Example 1-10/
PIPE TABLE BOTTOM
1 10-1521/ END TABLES
(see examples 10, 11, 12, 20 and 21)
NODE TABLE
END TABLES
The command NODE TABLE is used to introduce
nodes to include in the special table called for with This special command indicates the end of list of
PRINTT= 1, 3 or 5. A list of node number must follow numbers for special tables. It must be given if and only
the command or the word ALL. if PRINTT>O.
Example
NODE TABLE veOEMA: This options introduces the maximum
4 7 ]5-20/ minor loss coefficient that can exist for a valve or
minor loss devices introduced by commands such as
RESER. TABLE SMINOR, SVALVE, etc. before the flow in the pipe is
shut-off completely. The default value is 1000. This
The special command RESER. Table allows the user loss coefficient, is the multiplier of the velocity head
to designate which reservoirs this (ese) speCial table(s) that produces the head loss due to the minor loss. The
is (are) to be created for in the same manner as PIPE reason for this maximum loss coefficient is to prevent
TABLE or NODE TABLE cause special tables of data. numerical problems should a resistance for a pipe
Depending upon the value of NPUNOD the becomes far out of line with those of other pipes in the
designation of the reservoirs will be by: (0) number, network. If a few resistance coefficient do becomes
(I) node provided NODESP=I, or (2) by pipe number. extremely large, then the solution will be subject to
In the special output table(s) the heading for water truncation errors associated with the Jacobian matrix
surrace elevation or water depths in the reservoir will used in the Newton iterative method of solution. If the
be this reservoir designation. The list designating the loss coefficient exceeds the value of VeOEMA, then
reservoir, which is the second record after the RESER. the same routines are called on to shut-off the flow in
TABLE command can be the word ALL, if all a pipe if it try to reverse in a pipe containing a PR V or
reservoirs are to be included. If the reported values in check valve. During the simulation if the loss
this special table for reservoirs is to be the depth of coefficient becomes less than VeOEMA, and the flow
watcr rather than the water surface elevation, then the in a pipe was previously shut-off, then the flow will be
command BOTTOM (with no data following it) should restored.
be one of the commands used for special tables. If
BOTTOM is given, then the bottom of the reservoir
will be taken as the smallest value provided in the data
Commands that Enter Time
[or this reservoir's STORAGE FUNCTION. Should no Dependent Data
STORAGE FUNCfION be provided for this reservoir,
thcn the water surface elevation will be reported even
if the command BOTTOM is given. The command As with the original data that defines a
network, commands enter data that describe what is to
-85-
happen with time for a time-dependent solution by 7. Special level and pressure control
= USU-NETWK In the pages that follow there is a algorithms: LCALGO and PCALGO
complete explanation of the nature of the data that 8. Specitying lists of pipe and/or nodes that
each command enters under the command as a heading. should, or should not, be included in
These headings are listed in alphabetical order to make the solution tables: LPIPE, LNODE,
it as easy as possible for you to turn to a given NLPIPE and NLNODE.
command. However, the alphabetical listing has the
disadvantage that commands that accomplish similar The description of the commands understood
functions are not together except for a few cases where by USU-NETWK for entering time dependent data, and
the commands are very similar. Therefore, to give you what this data consists of are described in the following
an overview of what the commands do a numbered list pages. Each command must be spelled correctly to 6
of information that can be provided to USU-NETWK characters.
to control a time dependent solution is given immed- Before describing individual commands let's
iately below. The commands are capitalized. examine a possible small time-dependent simulation.
1. Demands changing, Before describing individual commands let us examine
(a) according to time: DEMAND a possible small time dependent simulation problem
FUNCTIONS that involves the more commonly encountered
(b) according to pressures at commands. As you read this you should look ahead
nodes or water surface elevations in and read the descriptions under the commands that are
reservoirs: FLOW RULES used in providing time dependent data to USU-
2. Volumes stored in reservoirs, or tankS, as NETWK The network problem that will be dealt with
functions of water surface elevations: is Example 1 given in the subsequent section under
STORAGE FUNCflONS ILLUSTRATIVE EXAMPLES, and the original input
3. Changing the number of pumps that are that describes the network will be as given in this latter
operating in series or in parallel at section using the PIPE- command in describing the
pumping stations, basic network. This network consists of 11 pipes, 6
(a) as a function of time: PUMP nodes, two reservoirs, and a source pump. Assume that
SCHEDULES the demand at node 1 in this network remains constant
(b) as a function of the pressure at a at 1 cfs, and that the demands at nodes 2 5 and 6 vary
node, or water surface elevation in a in time such that the given values need to be multiplied
reservoir: PUMP RULES by the factors given in the first table below to define
(c) by changing the rotational speed of these time variations, and that the demands at nodes 3
a pump as a function of time: and 4 vary as given in the other table below. The
ROTSCH variation in demand between table entries is linear.
(d) by changing the rotational speed of
a pump as a rule: ROTRUL Multiplier of Multiplier of
4. Changing differential head devices: DHEAD Demands at Demands at
and HGLSET nodes 2,5 & 6 nodes 3 & 4
5. Changing the flow rate specified in interior
pipes,
(a) as a function of time: SQGIVE Time Peaking Time Peaking
(b) according to a 2nd degree (hrs) Factor (hrs) Factor
equation whose coefficients are given
based on pressures at nodes or water 4 1.2 3 1.3
surface levels in tanks: RQGIVE 8 1.0 6 1.5
6. Change valve setting and/or minor loss 12 0.8 10 1.0
coefficients, 16 0.5 14 0.6
(a) as functions of time: SVALVE, 20 0.6 18 0.5
SVALVC, and SMINOR 24 1.0 24 1.0
(b) as functions of pressure or water
surface elevations in tanks: RVALVE,
RVALVC, RVAL+P and RMINOR. Assume that four pumps exist in series at the pumping
The command DATVAL enters data station, and that for the steady state analysis given in
that provides the loss coefficient for a the example problem # 1 that the given pump curve
valve as a function of its opening. applies for three of these pumps operating. The
operation of the pumps is controlled by the water 1l/
surface elevation in tank (reservoir) attached to the 23920397 314160 402 628320/
12/
network through pipe 11, such that when its water END SIMULATION
surface elevation gets down to 348 ft the fourth pump
is put into operation. The complete operating rule for You should study each line of this input data
this pump station is:
in connection with the descriptions under the individual
Water Surface Elevation, Tank 11 348 352 355 358
No. of pumps operating in series 4 3 2 1 commands so you understand what each value
The tanks are circular with the one attached through communicates to USU-NETWK. Note the following:
pipe 11 with a diameter D = 70.7 ft (a cross-sectional The constant inflow to the larger tank (reservoir) is
area of 3927 ft 2) and the other tank has a diameter D handled by adding an extra node 7 (with a negative
= 282.4 ft (a cross-sectional area of 62832 ft2). The demand of 8 cfs), and pipe 12 with a 1 ft length to the
smaller tank (off pipe 11) has its bottom at elevation at input data description in Example Problem # L
345 ft, and it is 15 feet high. The other larger tank has Special Tables are requested with the option
its bottom at elevation 392 ft, and it'is 10 feet high. A PRINIT=3 in the $TDATA list. Since the PUMP
constant inflow of 8 cfs occurs to this larger tank. The
input for this problem can consist of: RULE is tied to the water surface elevation in tank 11,
the option NPNRES=l is included in the $TDATA list
EXAMPLE NUMBER 1 OF SIMPLE NETWORK of options. The time dependent solution will be
1*
$SPECIF NPRINT=-I,NODESP=O,ISIML=l SEND
completed over a 24 hour period (the default) in 2
PIPE- hour increments.
I 12. 500. 7 -8. 300. 2 2. 300.
5 10. 1300. 2 1 1. 280.
3 8. 1600. 3 4 6. 200.
4 10. 2000. 1 4 DATVAL
2 8. 2200. 2 3 1.5 280.
68.2200.53
8 8. 3000. 5 4 6. 200. This command is used to enter valve characteristics
10 10. 2000. 463.200. for valves whose opening will be controlled through
96. 1400.56
7 12. 1000. 5 1. 270.
input under the commands LCALGO and PCALGO
11 12.500. I that provide input data for special level and pressure
J 2 12. 1. 7 control, respectively. This command is not
PUMPS
7 3 80 4 77 5 72 350 implemented in the PC version of USU-NETWK.
RESER DATVAL should not be used unless LCALGO or
12400 PCALGO are also used. If all valves are identical then
11350
MINOR only one entry under DATVAL is used by USU-
410 NETWK to determine the head loss caused by the
VALVE valves as a function of their openings, even though
81500320
RUN there may be several entries in subsequent input lines
$TDATA that control valves. The methods used for
NI'UNOD=2,NPNRES=I,INCHR 2,ISUNIT 0, determining the head losses caused by partly closed
LINEAR= I,PRINTT=3 SEND
PIPE TABLE valves are applicable to most butterfly valves whose
ALL "head loss coefficient", K, or "flow coefficient", cv' plot
NODE TABLE as a straight line against the valve's opening on semi-
ALL
RESER. TABLE log graph paper. Figure 1 shows these relationships for
111/ a butterfly valve that was calibrated at the Utah Water
END TABLES
DEMAND FUNCTION
Research Laboratory to illustrate typical calibration
I 4 1.2 8 1 12.8 16 .5 20.624 11 data. Both the "flow coefficient" and the "loss
256/ coefficient" are used in practice. Furthermore,
23 1.3 6 1.5 10 1 14.6 18 .5 24 11
34/
sometimes the valve opening is expressed as a fraction
PUMP RULES from 0 (closed) to 1 for fully open, or as percent with
7 2 II 3 348 4 352 3 355 2 358 1/ fully open equal to 100%, as well as from 0 to 90
STORAGE FUNCTION
J 345 0 350 19635 355 39270 360 58905/
degrees as shown in Figure 1. USU-NETWK will
87
accommodate any of these methods for defining a (1)
valve's characteristics, according to the following 4
cases: (2)
in which x is the valve opening with O<x<l and Co and
c are input values as described below. These values are
used to determine the head loss from the equations,
hL = K (V2/(2g)} (3)
K = C(2gA2) I( -ycv 2 ) (4)
in which -y is the specific weight of the fluid, g is the
acceleration of gravity, and C is a coefficient to
accommodate different units for the flow rate Q, and
pressure change Llp. USU-NETWK. evaluates C based
on the flow rate used for the demands as designated by
the option NFLOW, and the pressure as described
below.
d = e ac - c vrnl.n
. /(a c vrnax ) (10) DEMAND FUNCTION
For this Case # 5, the two input items 3 and 4 given
This command enters data that describe
below is the usual input under DATVAL are replaced
dimensionless demand functions, e.g. how the demands
by the 3 items cvnuu:' cvmin and a, and item 6 does not
at nodes vary with time. A dimensionless demand
exist, i.e. the input consists of:
function always begins with unity at time zero. In other
1. A valve identification,
words, the demands given in the original solution,
2. The number 5 for Case # 5,
including the multipier, PEAKF determine the demands
3. coefficient, cvmzn'
.
for the initial T=O solution. The term DEMAND
4. coefficient, cvmax,
FUNCTION could be thought of as a DEMAND
5. value for parameter a, and
SCHEDULE in that the demands are specified to vary
6. the diameter of the valve.
with time. If rules change demands, then the command
The input data that is entered under the command
FLOW RULES must be used. There are pairs of two
DATVAL consists of:
records or lines of data for each dimensionless demand
1. A valve identification number that will
-89-
function. The items in these records consist of: enter simulation data allows for type # 1 DHEAD
= devices to have their differential head amounts changed
Record # 1: with time. Type # 1 DHEAD devices introduce a
1. The number of the demand function, specified differential head (positive or negative) in a
or integer identifier. This number is not used pipe. Data after the simulation command DHEAD
by USU-NETWK, and could be eliminated specifies how this specified differential head is to
from the input requirements, but is there for change with time. Data include:
the user's convenience in identifying different 1. The pipe number that contains the
dimensionless demand functions. differential head device.
2. Time in units specified by NTIMED. 2. Time
3. The peaking factor, which multiplies 3. The differential head associated with
the demands given in the original input data. the above time.
This peaking factor will apply to the nodes 4. Time
whose numbers are given in the second record. 5. The differential head associated with
This peaking factor applies for the time given the above time.
by 2 above, and will be interpolated linearly or 6. Etc. terminating the list with a slash
quadratically depending upon LINEAR for /.
other times. Times do not need to correspond to the lime steps
4. Time of the solution. Linear interpolation is used in
5. Peaking factor at the time given by 4. obtaining differential heads at the time steps of the
6. Etc. Pairs of time, peaking factors and solution.
terminate the list with /. Example of DHEAD
DHEAD
Record # 2: 5 1 40 6 50 8 45 24 40/
10 2 30 5 40 24 38/
A list of node numbers. This list of nodes, as well as
(see example network 22)
other lists under other commands may consist of
individual values, or a range of values separated by a -
(minus sign). Entries in the list may be separated by a
comma, a blank(s) or both. No space, or blanks, are FLOW RULES
permitted between the two integers separated by -. Any
number of individual entries or ranges may be specified A FLOW RULE allows the demand at a designated
provided the information does not exceed 80 columns node to be given as a function of either (1) the
on a single line. Example of such lists are: pressure at a selected node, or (2) the water surface
1 10-1521 40-50/ elevation in a selected reservoir. A FLOW RULE
4,7,20-40,80/ differs from a demand function in much the same
manner that a pump rule differs from a pump schedule.
Example of data after DEMAND One defines the change with respect to time and the
DEMAND FUNCTION
other defines changes as a function of the pressure
1 1 .8 6 1. 12 1.4 18. 2.1 24 .8/
1 2 13-24 32 41-52/ somewhere in the network, or as a function of water
2 1 .6 6 1.2 12 1.8 18 1.9 24 .6/ surface elevations in a tank. Thus flow rules permit
3-12 25-31 33-40 53/ demands, which in practice will generally be inflows, or
(see example networks 10, 11, 12,13, 14, 15, 20, 21, and negative demands, to be controlled according to
22) conditions that may exist in the network as indicated
from the solution that has just been obtained for the
DREAD current time step. In specifying a DEMAND
FUNCfION, the given values are multiplying factors,
This command and the command HGLSET permit i.e. are dimensionless demand functions. However, the
Changes for type # 1 and # 2 differential head devices, given values for a FLOW RULE are the actual
respectively, that were introduced into the original data demands (positive or negative), in the units used in
by means of DHEAD. DHEAD used as a command to giving the original demands, since this is useful for
-90-
inflow controlled by rules. Also since the common be given, but the values are ignored, and therefore, can
application for a flow rate is an individual node, no be any numbers other than zeros, with the exception
provision allows for a range of nodes to be given to that the second value must be a valid node or reservoir.
which a single rule applies. The items after the
command FLOW RULES are included on a single Example of FLOW RULE input data:
input record, that may extended into a second line if FLOW RULE
necessary and are: 25 -30 -500. 1580 -1000 1570 -1500 1500/
1. The node number where the FLOW (see example network 15A)
RULE applies. The FLOW RULE will be
interpolated using quadratic, or linear,
interpolation depending upon whether HGLSET
LINEAR = 0 or = 1, respectively. If the
intent of the FLOW RULE is to have it a step This command allows for the HGL elevation (or
function whose flow rate remains constant until pressure) that was specified at a node by introducing a
the given pressure (or water surface elevation) type # 2 DHEAD device in the original data to be
cross the given value, then a minus must changed with time. A type # 2 DHEAD device
precede this node number. determines what magnitude of differential head must
2. The node number whose pressure exit in a specified pipe in order to maintain the
controls the rule, or the designation of the elevation of the HGL (head, or pressure) at the
reservoir, whose water surface elevation control specified magnitude at a designated node. HGLSET
the rule. If this integer is negative, the later allows for changing the elevation of the HGL at this
is assumed, i.e., that a reservoir's water surface designated node with time. When using HGLSET it is
controls the rule. For this latter rule a reser- necessary that the original input data contain a
voir may be designated by: (a) its number DHEAD command that introduces the type # 2 device
(preceded by a minus), (b) by its node number into the network. The node given by HGLSET must
preceded by a minus, provided NODESP=I, or agree with the node number given by the DHEAD
(c) the pipe number preceded by a minus, command in the original data, i.e. the third item of the
depending upon whether NPUNOD=O, 1 or 2, original input data must be the first item given under
respectively. HGLSET. If the node number is not referred to by the
3. The demand flow in cfs, gpm, mgd, HGLSET command, then the HGL elevation at this
m3/s, etc. according to NFLOW. This value is node does not change with time. Data after the
negative if the flow is into the network. HGLSET command include:
4. The pressure, or water surface 1. The node number where the HGL
elevation, that controls the flow rate. elevation (or pressure) is specified.
5. The demand flow 2. Time
6. The pressure, or w.s. elevation 3. The HGL-elevation (or pressure)
corresponding to the flow in # 5, etc. and associated with the above time. If the value
terminating the list with a /. given is negative, then it will be interpreted as
a pressure in psi for ES units, or Pascals for SI
If 10000 is added to the node number, then units.
rather than computing what the demand is at this node 4. Time
by the rule that follows, the user will be requested to 5. The HGL elevation (or pressure)
supply the demand in basic units for each new time associated with the above time, etc, terminate
increment. A prompt from USU-NETWK will inform with a slash, /.
him that a new demand should be entered from the Times do not need to correspond to the time steps
keyboard by giving the flow rule number, the time, the of the solution. Linear interpolation is used in
node where this demand is requested for, and the obtaining the HGL-elevations at the time steps of the
current demand value. The rest of the data items listed solution.
above that are required under each FLOW RULE must
-91-
Example of the HGLSET command this node, e.g. pipe # 1, and pipe # 3 conveys water
= HGLSET from node [1]. Thus a typical situation exist where a
4 2 500 4 550 12 490 24 4801 valve controls the flow into the reservoir, but the
14 3 480 6 500 15 510 24 5001
reservoir delivers water to the system, and may receive
(see example network 22)
water from other sources. If in a real situation all
these pipes don't actually exit, they can be make of
small diameter, so that they have little effect on the
LCALGO overall solution. However, it is possible to have a
situation for which the algorithm cannot accomplish its
(This command and the command PCALGO are intended purpose. If it is assumed that the flow rates
handled by a subroutine in USU-NETWK and this in Pipes 1, 2 and 3 are monitored, and these flow rates
subroutine is not included in the reduced simulation are used to determine the position of the valve opening
version of USU-NETWK designed for PC's such as the in pipe #2, as dictated by equations that are given
IBM PC-RT.) below. The rate of valve movement can be limited by
the speed at which it can be closed or opened. Also
The command name LCALGO stands for the control of the valve's opening can be transferred
"Level Control Algorithm" and it enters data that from the level control algorithm to manual control
defines the operation of rules that can be adapted to during any designated periods of time. When such
situations where a control attempts to keep the water manual override occurs then the valve's opening does
surface elevation in a reservoir at some desired level. not change regardless of what the equations might
The piping configuration at the reservoir whose water indicate as changes that should occur to the valve's
level the algorithm is attempting to control is as shown opening.
in the sketch below. The input after LCALGO consist of two lines, or
records, for each level control algorithm; the first of
which provides the coefficients, etc. that are used in the
equations, and the second determines if and during
which time period, or periods manual override of the
valves movement is to occur. The order of input data
are given immediately below. Thereafter, the equations
are given that use these input values in contrOlling the
(4) water surface elevation in the reservoir.
valve (2) (3)
Record # 1
[1] 1. The number for pipe # 4 in the above
sketch that connects the reservoir to the
network. It is the reservoir at the end of pipe
# 4 whose water level is being controlled by
the algorithm.
(1) 2. The number for pipe # 2 in the above
sketch that contains the valve that opens or
closes in attempting to control the level of the
reservoir.
3. The number of pipe # 1 in the above
This configuration consists of a pipe with the sketch that also brings flow into the reservoir
capability of provide a reasonable large flow rate and in addition to pipe # 2.
contains a valve that will open or close in response to
4. The number of pipe # 3 in the above
the water level in the reservoir. This pipe is # 2 in the
sketch that takes water from the reservoir.
above sketch. At least 4 pipes join at the node [1].
S. The valve identification (ID) that is given
Pipe #4 connects the reservoir to the network through
as the first item under the command DATVAL
this node [1] and one additional pipe conveys water to
92
to provide the characteristics of the valve in the operation of the valve controlled by the level
pipe # 2. control algorithm. The 3 values are: (a) the beginning
6. Lspan in the equations below. time for manual control (in'seconds, minutes or hours
7. K 1c in the equations below. depending on NTIMED). (b) the ending time for the
8. Lset-point' from the base elevation item manual control, and (c) the minor loss coefficient that
16 below. is to apply over this time interval. Any number of
9. LCbias1 in the equations below. groups of these three values can be given with the list
10. Fi-span in the equations below. terminated with a slash t. If the ending time of the first
11. LCbias2 in the equations below. group of three entries is zero, then no manual override
12. l)c in the equations below. of the level controller will occur. If a negative value is
13. FCbias in the equations below. given for the minor loss coefficient it tells USU-
14. TVOPT, the total opening time for the NETWK that the same minor loss coefficient should be
valve. These times are in seconds, minutes, or used that is now in existence as determined by the level
hours depending upon NTIMED. control algorithm up to the given beginning time given
15. TVCLT, the total closing time for the as item (a) above.
valve (same units as above)
16. Base elevation of the reservoir. The Level Control Algorithm (e.g. equations that control)
head which is computed in USU-NETWK will
be referenced from this elevation when The level control algorithm determines the opening
comparing with the head in the equations of the valve that is designated by input item 5 above.
below that will determine how much the valve The equations that are given below determine what this
should be opened or closed. control consists of. The same symbols used in these
17. The valve opening at time zero. This equations are the same as given for the input data
value should agree closely with the opening of items above.
the valve that would give the minor loss The level controller provides the following output
coefficient entered in the network data under based on the input data and the water level in tbe
the command MINOR. If a minor loss is not reservoir above the base elevation:
given in the network data, and this opening is
not provided, then a diagnostic message will
occur and the valve will be fully opened at time
zero. If this entry is not given by ending item This output should be between 0.0 and 1.0.
16 with a slash, then USU-NETWK will The output from the level controller along with
compute the initial opening based on the monitored flow rates goes into a summer that provides
minor loss coefficient given. If a value is given the following output:
that is not within reasonable agreement with
the opening that agrees with the K given under
the command MINOR, then a message will
The output from the summer, input data and the flow
inform the user of the discrepancy.
rate in pipe # 2 that contains the valve determines the
18. The RESET RATE to provide integral
desired Change in opening of the valve as follows:
control action. The RESET RATE is limited
to a maximum of 0.5. If this # 18 item is
given and the initial valve opening is to be
computed based on the minor loss coefficient The actual change in the opening of the valve will
given in the original reflect the speed at which it can be opened or closed.
data, then # 17 must be -1.0. If the desired change in opening FCoutput is less than
the maximum change that is permitted during the
Record # 2 simulation time increment, then FCoutput is the amount
This second record consists of groups of 3 values of valve opening that will occur. If the desired change
that define if and when manual control is to take over is larger, then the maximum allowed change controls.
-93-
The maximum allowed changes may be different for a LPIPES
= valve that is opening versus a valve that is closing 10 30-50/
LPIPES
according to: 1540-60/
LNODE, LPIPE, NLNODE, & NLPIPE (See note in parenthesis after LCALGO)
These four commands are listed together because The name of this command stands for "pressure
their roles are very similar. They can be used as part control algorithm", and it is designed to control the
of the input for a time dependent solution, and exercise pressure at a node between specified limits by opening
essentially the same control over the output as the or closing a valve. This command and the command
command with these same names do when entering the LCALGO are two commands with similar functions;
basis data; that is they allow for only a portion of the LCALGO activates a valve to maintain a constant water
pipes, or nodes to be listed in the final output tables. surface level, whereas PCALGO activates a valve to
In using them as patt of the time-dependent input data control pressure at a node. You should read the
the first value given is the time when the new listing description under LCALGO along with this description
should begin to apply. The remaining values given in deciding how to describe a controller that may exist
denote pipes (or nodes) that will (or will not be) in your piping system. Generally the "Pressure
included in the output tables. The commands Controller" will activate a different valve in a different
beginning with N (NLNODE AND NLPIPE) indicate pipe than the valve controlled by a "Level Controller."
do not list these pipes in output tables. LNODE and However, they may both control the same valve in the
LPIPE indicate "list these nodes and pipes, respectively. same pipe, and it is possible to have the "Pressure
The output tables will contain the pipes and nodes that Controller" and the "Level Controller" pass control
are deSignated (which will be all if no LPIPE, etc. from one to the other depending upon conditions that
commands are used in the original input data) until may exist in the pipe network. As is the case with a
these time given by the first input value is equalled or level controller, it is possible to have manual control
exceeded in the simulation solution. Thereafter, the new override the change indicated by the pressure control
list will apply until the time given on the next list algorithm. The input for each "Pressure Controller"
occurs. To separate one list from another list the will consist of either two or three records. It will
command must be given again. Otherwise more than consist of two records unless this "Pressure Controller"
one line of input will be interpreted as continuation of can alternate with a "Level Controller" in determining
the list of pipes or nodes. the opening of the valve. In the latter situation three
For example if it is desirable to have only pipes 30 records are required. The means of communicating to
through 50 appear in the pipes data output table USU-NETWK that this "Pressure Controller" may
starting with time 10 hours through 14 hours, and alternate in being active with a "Level Controller" is by
starting with time 15 hours through the remainder of placing a minus in front of the pipe number (the first
the simulation have pipes 40 through 60 listed the item of input described below).
input would consist of: The input data after the command PCALGO consists
of the fol1owing: (see description under LCALGO for
-94-
meaning of symbols.) Note: If this third record is given, then it is
necessary that data for a level controller has
Record # 1 already been entered using the command
1. The pipe number that contains the valve LCALGO, that designates that its pipe # 2,
controlled by this algorithm (This is pipe #2 in that contains the valve have the same number
the sketch under LCALGO). If this number as given in item # 1 under record # 1 under
has a minus immediately in front of it, then the command PCALGO. It is by finding this
this pressure controller may alternate in being pipe that USU-NETWK decides which level
active with a level controller designated in the controller may take over control.
third record of input described below. (see example network 19)
2. The node number that controls the
algorithm. PUMP RULES
3. The valve identification given as the first
input under the command DATVAL for the Pump operating rules turn pumps in series or
valve that this pressure controller can change parallel on or off according to the pressure at a
the opening of. selected node, or according to the elevation of a water
4. The low pressure limit. surface in a selected reservoir, respectively depending
5. The dead band of pressures.
6. TVOPT, the full stroke opening time for
upon whether NPNRES :::: or 1. A pump rule is
contrasted from a pump schedule in that the JatLer
this valve. This time is in seconds, minutes, or determines the number of pumps operating as a
hours, depending upon NTIMED. function of time. The items of data included after the
7. TVCLT, the full stroke closing time for command PUMP RULES consists of:
this valve (same units as above). 1. The designation of the pumping station for
8. The controller gain. which the rule applies. This designation is (a)
9. The maximum Change in the valve opening the pump number, (b) the node number, or (c)
position. the pipe containing the pumps depending
10. The maximum value of cv' respectively whether NPUNOD :::: 0, 1 or 2.
11. The initial valve opening xo' 2. An indicator (1 or 2) of series or parallel
operation: 1 indicates series operation, and 2
Record # 2 indicates parallel operation.
The second record consists of groups of 3 values as 3. The node number whose pressure controls
described as the second record under LCALGO. pump operation. If NPNRES=I, then this will
be the reservoir designation whose water
Record # 3 surface elevation determines the number of
This record exists only if a negative pipe number is pumps to be placed in operation.
given as the first item under record # 1. This third 4. The number of pumps on initially.
record consists of two items for each pressure 5. Pressure setting or water surface elevation
controller. These are: (according to NPNRES) to operate the number
1. The low reservoir level that determines of pumps specified in 6 below.
whether control is turned over to flLevel 6. Number of pumps on.
Control. fl If the reservoir water surface drops 7. Pressure setting (psi or Pascals) or water
below this value, then level control takes over. surface elevation (feet or meters) to operate
2. The high reservoir level that determines the number of pumps specified in 8.
whether control which was previously given 8. Number of pumps on.
over to level control will be passed back to 9. Etc. The pressure or water surface
pressure control. Whenever the reservoir water elevation and corresponding number of pumps
surface exceeds this value and level control is are entered in ascending order of magnitude.
active, then control will be passed back to Terminate the record with a slash /. Up to 20
pressure control. sets of pressure-number of pumps data may be
95-
Viewpoint In
- entered.
(off from those initially operating)
Example of the PUMP RULE command arranged in arranged in
PUMP RULES decreasing pressures increasing pressures
10 2 50 1 10,2 20,2 40,1/ (or W.S. elev's) (or W.S. elev's)
~IOO
of turning pumps on or off differs, depending upon 4
~fO
0
whether one considers turning more pumps on from the 2 90 1 3 50 3
3 70 2 2 70 2
initial number on or turning pumps off from those
4 50 3 90 1
initially operating. These two different viewpoints are 40 4 ~ 100 0
illustrated below under viewpoints # 1 and # 2. USU-
NETWK makes the decision that the user is basing the
data on viewpoint # 1 if the number of pumps on
initially (4th value in the input list above) is closest to
the least number of pumps on in the list than the Examples of PUMP RULES, Viewpoint # 1 for two
largest number of pumps on in the list. On the other pumps but Viewpoint #2 for the third pump.
hand, USU-NETWK assumes viewpoint # 2 if the PUMP RULES
initial number on is closest to the largest number of 10 2 5 0 40. 4 50. 3 70. 2 90. 1 100. 0/
10 2 5 0 100. 0 90. 1 70. 2 50. 2 40. 4/
pumps as given in the list. This default way of 10010 2 5 2 100. 0 90 1 70 2 50 3 40 4/
determining whether whether viewpoint # 1 or # 2 are
being used can be overridden. Viewpoint # 2 will Example of PUMP RULES, Viewpoint # 2 for two
govern the operation of the pumps regardless of the pumps but Viewpoint #1 for the third pump
above, if the station designation (Le. the 1st item in the 10 2 5 4 40. 4 50. 3 70. 2 90. 1 100. 0/
input record) is preceded by a minus sign. Viewpoint 10 2 5 4 100. 0 90. 1 70. 2 50. 3 40. 4/
# 1 will govern if 10000 is added to the station -1025040. 4 50. 370. 2 90. 1 100 0/
designation. USU-NETWK does not switch from (see example networks 10 and 15)
viewpoint # 1 to # 2 if more pumps are turned on or
if pumps are being turned off, respectively. PUMP SCHEDULES
~
o 40 4 number; if NPSERI= 1 node number; and if
~
100
1 90 1 3 50 3 NPSERI=2 then one pipe number.
2 70 2 2 70 2
1 90 1
2. An indicator of series or parallel operation
3 50 3
4 40 4 o 100 o by giving a 1 or 2. 1 indicates that the pumps
operate in series, and a 2 indicates that they
are in parallel.
3. Time in units specified by NTIMED.
4. Number of pumps operating at the time
specified. in 3 above.
5. Time
6. Number of pumps operating at the time
-96.
specified in 5 above. additional resistance as a function of time, i.e. a
7. Etc. Up to 50 sets of time-number of schedule. The commands with R as the first letter
pumps data are permitted. Terminate the enter data that define rules that control the resistance
record with a slash, /. to flow in the pipe. The commands with MINOR as
the remaining 5 characters, SMINOR and RMINOR,
If 10000 is added to the pump designation, then allow changes of the minor loss coefficients K to occur.
the user will be ask, at each new time increment, to After SMINOR these values of K are given as a
supply information from the keyboard (terminal) to function of time, and after RMINOR values for K are
define the operation of this pump. When provided at determined from the data as a function of the head at
least through item # 4 and that the line be terminated a selected node, or from the water surface elevation in
with a slash /, but his data will not have any effect on a reservoir. The commands with VALVE as the
the pump characteristics. remaining 5 characters, SVALVE and R VALVE are
The user will be allowed to select from the used to control the opening of a valve. The valve
following menu items in defining the pump's operation opening in turn establishes the minor loss coefficient by
for each succeeding time step: (1) Define the new means of additional data. The input entered by these
pump curve by providing three pairs of flowrate and command are as follows in the order in which they are
head values plus the water surface elevation of the numbered. Values are linearly interpolated or
water supply (which is zero for booster pumps), (2) extrapolated as needed regardless of the value given to
Give the power, normal capacity, and water surface LINEAR.
elevation, (3) Give the three coefficients that define (see example networks 10,20 and 21)
the parabola that defines the pump characteristic curve,
(4) Shut the pump off (This shut-off causes a zero RMINOR
Ilowrate in the pipe that contains the pump), or (5)
Make no changes to the pump's operation for the next 1. The pipe number that contains the minor
time step. If the pump has been previously shut-off an loss device, with the same other conditions as
item (6) can be selected to turn the pump on again by described below under SMINOR.
using any of the items (1) through (4) above. The user 2. The reservoir number, or the node number
will be prompted each time increment to select one of if preceded by a minus sign, whose water
the above items for each such specially designated surface elevation, or whose head, controls the
pump, and then to supply the required data according rule. Placing a negative immediately before
to his selection.
this integer communicates that this nodal head
(HGL--elevation of node) governs rather than
Example of PUMP SCHEDULE a reservoir water surface elevation.
!'UMP S
51224362/ 3. A water surface elevation of a reservoir, or
621233102/ the head at a node, depending upon whether #
(see example networks 11, 13, and 20) 2 is positive or negative, respectively.
4. The minor loss coefficient corresponding to
the value given in # 3.
RMINOR, SMINOR, RVALVE & SVALVE 5. A water surface elevation, or head.
6. A corresponding minor loss coefficient, etc.
These four commands are for entering data terminating with a slash, /.
associated with time-dependent solution that Change the Note: In # 2 above that reservoirs must be identified by
additional head loss, beyond the pipe's frictional loss, number, i.e. their order in the original input data, and
due to a device in a pipe. They are described in setting NPSERI has no effect on this command.
general in this paragraph, and then listed separately Allowing them to be identified by pipe or node as with
below. All four commands allow control of the the command STORAGE FUNCTION has not been
network's performance by altering the flow resistance in implemented. It is necessary that the given heads are
pipes. The commands with an S as the first letter, given in ascending order. Values are linearly
SMINOR and SVALVE enter data giving this interpolated if necessary, an~ when using nodal heads,
-97-
the values must be heads and not pressures as is 1. The pipe number that contains the valve.
2. The reservoir number whose water surface
allowed with other commands. controls the rule given by items 8, 9, etc.
below, or if a negative value, then the node
number whose HGL-elevation controls the
SMINOR rule.
3. Co
-98-
in which e is the base of natural logarithms, SVALVE
and K gives the head loss by means of, ~ 8 -11 244 .05675 0 0 1 70 15.71 8040.15 90 56.20 100
15.71/
(2)
ROTRUL
in which co' c, K o' Kl and b are given coefficients, and
x is the valve opening provided by the rule, e.g. the list The command ROTRUL under time dependent
of numbers given by items 7, 8 10 etc. above. x will be data is similar to the command ROTAT in the original
linearly interpolated between the values listed above, input data, in that it allows that the rotational speed of
and the times must be given in ascending order. If Ko' pumps can be changed according to a rule that is
K and b are given as zeros, then Eq. 1 describes the dependent upon the pressure at a node, or the watcr
lo~s coefficient for a butterfly valve (see Figures 1 and surface elevation in a reservoir. The command
2 under DATVAL). For describing the opening of a ROTSCH, described below allows this rotational speed
butterfly valve x is in degrees and 0 degrees is closed to be varied according to a time schedule. In much the
and 90 degrees is opened. For describing other types same manner as PUMP RULE, or FLOW RULE
of valves Co can be given a zero valve and c = 1, and provides controlling rules, the rule given under the
the other coefficients used to describe the valves loss command ROTRUL determines how the rotational
coefficient, or Co and c may also be used. Thus for a speeds change according to how the pressure may vary
gate valve, for example, x may be the stem movement, at a node, or according to how the water surface
or the fraction of the allowable stem movement, as the elevation in a reservoir may vary as determined by the
user desires. time dependent solution. The rotational speed of the
pump is given as the ratio of its rotation to the
A possible alternative to using any of these rotational speed for which the pump characteristics
commands is to use the special rule that can be invoke were given by the data under the PUMPS or BOOSTer
through the command RQGIVE. In using any of valve command. The input data under ROTRUL consist 0[:
or minor loss commands numerical problems can occur
as the valve approaches complete closure or the 1. Pump designation for which the rule
specified loss coefficients become too large. USU- applies. If NPUNOD=O then this designation is the
NETWK solves a large matrix problem to obtain the pump number (i.e. its order in the original input data);
solution. If the resistance to flow is large in a pipe, the
if NPUNOD=l, then this designation for source pumps
elements of the matrix associated with this pipe will
is their node number (NODESP=l must be set [or the
become very large also. Truncation errors in the matrix original input, and booster pumps are designated by the
algebra can invalidate the results when some elements pipe containing them, and if NPUNOD=2, then all
of the matrix are very large in comparison with the
pumps are designated by the pipe containing thcm.
other elements, despite the fact that methods are used
that minimize truncation errors. Also convergence to 2. An indicator of: 1 - discrete, or 2 -
the solution is slower if pipes of vastly different continuous operation. Discrete operation means that
resistance to flow exist in a network. Consequently, in
the rotational speed changes to the new given ratio of
preparing data for any of these commands care should
rotation as a step function when the given time is
be given so that K's, either specified directly, or equalled or exceeded. This new speed remains constant
through valve opening, do not become very large, unless until the next given time, etc. Continuous operation
you wish the flow to be shut off completely. If the loss
means that the rotational speed will be determined by
coefficient exceeds VCOEMA then USU-NETWK shut
linear interpolation according to the time of the
the flow in the off.
solution and the times given to define the schedule.
Examples using these commands This second item of input must be either 1 or 2; 1 for
SMINOR
discrete operation, and 2 for continuous operation.
14 1. 100.2. 10. 3. O. 24.0/
20 1.5 10. 3. 5. 10. 1. 24. 1./ 3. The node number whose pressure controls
RMINOR
the pump's rotational speed (if NPNRES=O) or the
16 -960. 200. 70. 100. 80. 25./
-99-
reservoir designation whose water surface controls the 1. Pump designation for which the schedule
pump's rotational speed (if NPNRES=l) Reservoir applies. If NPUNOD=O then this designation is the
designations are determined according to the option pump number (i.e. its order in the original input data);
NPNRES also. If for a given pump it is desired to if NPUNOD=l, then this designation for source pumps
reverse what controls the rule, for this given pump, is their node number (NODESP=l must be set for the
from that indicated by NPNRES, then precede this original input), and booster pumps are designated by
value by a minus value. For example if NPNRES=O, the pipe containing them, and if NPUNOD=2, then all
and a given pump is to be controlled by the water pumps are designated by the pipe containing them.
surface in a reservoir, rather than by a nodal pressures
as indicated by NPNRES=O, then give minus this 2. An indicator of: 1 - discrete, or 2 -
reservoir designation. If NPNRES= 1 and a pump is continuous operation. Discrete operation means that
controlled by a nodal pressure, then the controlling the rotational speed changes to the new given ratio of
node number would be given as minus. rotation as a step function when the given time is
equalled or exceeded, and this new speed remains
4. The pressure setting, or water surface constant until the next given time. Continuous
elevation for the rule, operation means that the rotational speed will be
determined by linear interpolation according to the
5. The ratio of pump rotational speed to that time of the solution and the times given to define the
given by the original input data corresponding to the schedule. This second item of input must be either 1
value in item # 4. or 2; 1 for discrete operation, and 2 for continuous
operation.
6. The pressure setting, or water surface
elevation, 3. Time in units specified by NTIMED.
7. The ratio of pump's rotational speed 4. Ratio of pump rotational speed to that
given by the original input data after the PUMPS, or
8. Etc. Terminate the record with a /. the BOOSTer commands that define the pump
characteristic curve, corresponding to the time in item
Example # 3.
ROTRUL 5. Time
5 1 100 1.3 90 1.2 80 1.0 70.9 60.850 .751
82 120 1.5 100 1.370.81
6. Corresponding ratio of pump rotation
-100-
characteristics. However, if the command ROTAT is the pipe number, or adding 10000 to this number
usc<l, then the ratio of rotational speed given under the whose flow rate is specified. These three rules are
command RO'ISCH is based on the data under the discussed under the separate subheadings RQGIVE #
PUMPS (or BOOST) command and not the altered 1, RQGIVE # 2 and RQGIVE # 3 below, but the #
speed given by the command ROTAT. Giving a time is not part of the command.
= 0 under ROTSCH will be ignored, i.e. cannot be a
substitute for using the command ROTAT. ROGIVE # 1: The first rule for specifying flow rates
consists of the equation:
Example
o = CO + C1(H-C3) + C2(H_C3)2 . . (1)
ROTSCH
1 1 2 .9 3 .8 6 1. 10 1.4 15 1.3 18 1./ in which CO, C1, C2 and C3 are supplied as input, and
2 1 2 .8 3 .7 6 .9 10 1.5 15 1.4 18 1./
H is either the water surface elevation of the reservoir,
or the pressure head (units of length) at the node,
depending upon which is the control of the rule.
RQGIVE and SQGIVE The data entered by the RQGIVE command
consists of:
These are commands that allow the flow rate 1. The pipe number (positive) whose flow
which has been specified in selected interior pipes rate is specified.
through the command QGIVE to be altered during a 2. The designation of the control for this
time dependent solution. The S at the beginning of rule. This designation consists of either the
QGIVE stands for schedule. SQGIVE specifies flow reservoir number or the node number preceded
rates vary in the designated pipes as a function of time. by a negative sign. The negative value tells
The R at the beginning of QGIVE stands for rule. A USU-NETWK that the head at the node
rule controls the flow rate by an equation whose controls rather than a water surface elevation
solution depends upon the conditions in the network. in a reservoir.
The rule may be associated with a reservoir, and is thus 3, 4, 5, and 6. The four coefficients, CO, Cl,
governed by the water surface elevation in the reservoir, C2 and C3.
OJ;' it may be associated with a node and then the head
In using ROGIVE, it is not possible to
at this node governs. The rule is created by providing designate reservoirs by node number or pipe number
the coefficients CO, C1, C2 and C3 in the equation through the option NPUNOD. Reservoirs must be
described below under the heading of RQGIVE. identified by their number in using RQGIVE, e.g. their
order in the original data. The units of Q (flow rate)
RQGIVE in the above equation are those designated by NFLOW.
Thus if NFLOW=l, which indicates gpm, then the
There are three quite different means available given coefficient must produce the desired flow ratc in
under the command RQGIVE for providing rules that gpm. It should be noted that Eq. 1 is a quadratic
determine flow rates in interior pipes. The first method equation in terms of the difference between the water
requires that coefficients for a quadratic equation be level, or the head H and a base level or head given by
provided that gives the flow rate as a function of the C3. If this relationship is to be linear, then C2 is given
pressure head above a specified base head. The second a value of zero. CO represents a base flow. Giving
has more specific use for butterfly valves. With its use CO = 0 and C2 = 0 and C1 a positive value causes the
you adjust the position of the value by giving vlues to flow rate in the designated pipe to be proportional to
constants in equations. The third possibility is to the difference H-C3; with Q negative if H becomes less
specify the flowrate by giving data during the simulation the C3. By giving C1 a negative value Q will be
that determines the flowrate as a function of the water positive if H is less then C3. While it is not a
surface elevations in selected reservoirs. You necessary requirement of USU-NETWK, the flow rate
communicate to USU-NETWK which of these three specified in the original data under the command
rules to apply by giving a positive, or negative value for QGIVE should satisfy Eq. .1.
-101-
Example using command RQGIVE and
= RQGIVE
3 1 .03 .001 .0 500 (c) For Hi < H < H2 (5)
3 1 .035 .001 .0 500.
-102-
elevation. Generally Hu and Hd will be given node that might identify the reservoir, i.e. NPUNOD is
as zeros. However, if one wishes to have the not implemented with this command. (Reservoir
specified flow rate computed based upon either numbers are established by the order in which they
of these variables, then both Hu and Hd would appear in the original input data.)
not be given for the same pipe (even though 3. The water surface elevation for the reservoir
this could be done) because this would have designated by item # 2 for whicht he following given
the same effect as keeping the flow rate in the flowrate in item # 4 applies.
pipe constant. 4. The flowrate corresponding to the water
9. The constant Co that controls the valve surface elevation given in item # 3
opening in Eq. 3 or 4. 5. A higher or lower water surface elevation
10. The constant C1 that controls the valve than given by item # 3 in the designated reservoir of
opening in Eq. 3 or 4. item # 2
11. The constant C2 that controls the valve 6. The flowrate corresponding to the water
opening in Eq. 3 or 4. surface elevation given by item # 5
12. The valve pOSition at time zero, Xo (0 7. etc., a water surface elevation and a
degrees closed, 90 degrees opened) corresponding flowrate as pairs. The list must be
terminated with a /. The water surface elevations in the
If the initial valve opening Xo is not known, reservoirs msut be either ascending or descending in
then any negative value should be given for this input magnitue, i.e. they cannot be in random order. The
item. A negative value indicates to USU-NETWK that flow rates will be linearly interpolated between the
Xo for use in Eqs. 3, 4 and S should be computed for values, and if the water surface elevation drops below
the first time increment. Position Xo must be between the smallest value given, or rises above the largest value
o and 90 degrees. Often the user will have a number given a linear extrapolation will occur in determining
of steady-state solutions available for the system at the the value of the specified flowrate.
time he prepares the time dependent data. It is from
this steady-state information of the network's Example of RQGlVE command
performance that he/she specifies the flow rate in the RQGlVE
pipe, and then he/she can compute the valve opening by 8 4 2000 200 0 4501
-10 -6 80 85 244 .05675 O. O. O. O. 10. 40.31
using the printed value from this solution for the head -14 -485 88 244 .057 O. O. O..2 12. 60./
across the valve and the flow rate. First the loss (see example network 20)
coefficient K is computed, and then x from Eq. 2 is
computed, and this becomes this 12th item of input.
SQGIVE
RQGIVE # 3:
The input data after the command SQGIVE
The third possibility of specifying flowrates is
consists of:
to specify what this flowrate should be based on input
1. The pipe number whose flowrate is
data. To select this method for specifying the flowrate
specified.
in a designated pipe 10000 is added to the pipe
2. The time.
number. As is the case with all input under SQGlVE
3. The new fiowrate.
and RQGIVE it is necessary that the flowrate in this
4. The new time.
(these) pipe (s) be specified in the original data by the
S. The new flowrate, etc. with the list
command QGIVE. The data entered by the RQGIVE
terminated with a /.
command consists of the following if the flowrate is to
be given as a list of values related to reservoir water
The times are in units as specified by
surface elevations.
NTIMED, and the flowrates are in the units denoted by
1. The pipe number plus 10000
NFLOW. Whenever the time at the next simulation
2. The reservoir number whose water surface
solution equals or exceeds the time in the above list,
controls the flowrate in the pipe identified by item # 1.
then the flowrate in this pipe is changed to the new
This must be the reservoir number, and not the pipe or
value. The flowrate may be negative, as well as positive
103
with the meaning that the flow is reversed from the apply at this time. If pressure is given then it
direction given by the original upstream and must be in psi when using ES units and
downstream nodes. kiloPascal when using SI units.
(4) Time
Example: (5) The pressure (or HGL-elevation) that is to
SQGIVE apply at this time, etc. terminated with a /.
5 8 1.5 12 0.8 15 0.5/
94 2.0 103.0 122.5/
The times must be given in increasing order,
and the pressure (or HGL-elevation) given with the
first time will apply until the simulation reaches this
SETPRS, SETHGS, SETPRR & SETHGR time. The last value given will apply for simulation
times beyond the time associated with this value. The
These commands allow changes in specified pressure or elevation of the HGL will not be changed
pressures (or HGL-elevations) for simulation solutions. until the simulation time exceeds the values given in
The two commands with PR as the 4th and 5th charac- the above list. In other words no interpolation, or
ters, respectively (e.g. SETPRS & SETPRR) are to be extrapolation of the time schedule occurs.
used if the pressure at a node is to change from time SETPRR and SETHGR have the following input data
step to time step, and the two commands with HG as after them:
the 4th and 5th characters, respectively (e.g. SETHGS (1) The node number whose pressure (or
& SETHGR) are to be used if the elevation of the HGL-elevation) is to change as determined by
hydraulic grade line at a node is given. The last letter this rule. This node number must be under
consisting of and "SO or and "R", respectively in these the SETPR or SETHG command in the data
commands denotes "schedule" and "rule" respectively. providing the definition of the network.
That is the commands SETPRS & SETHGS introduce (2) A node number (or a reservoir number)
simulation data that provides the time schedule of whose hydraulic grade line elevation controls
changing pressures at a node, and the commands the rule. A minus sign precedes this value if
SETPRR & SETHGR introduce simulation data that it is a reservoir number rather than a node
provides the rules governing how pressures change at a number. In the later case the value must be
node based on the hydraulic grade line elevation at the reservoir number, i.e. the order of its entry
some other node, or based on the water surface the original data, and not the pipe number that
elevation in a reservoir. connects it to the network, or its node number
In order to utilize these commands it is if sources are numbered using the option
necessary that the pressure (or HGL elevation) be NODESP=l.
specified at the same nodes in the original input. Only (3) The elevation of the hydraulic grade line
nodes whose pressure (or HGL-elevation) were fixed in in feet when using ES units or meters when
the original input can have their pressures change using SI units at the node (or reservoir
during a time-dependent solution. The demand at the number) given by item # 2 above.
node given in the original input is computed to satisfy (4) The corresponding pressure (or
the specified pressure. It is not possible to have the HGL-elevation) that is specified at the node of
node whose demand is computed change to another item # 1 above. When using ES units and
node during a time-dependent solution. giving pressure it must be in psi, and when
SETPRS and SETHGS have the following using SI units the pressure must be in
input data after them: kiloPascals.
(1) The node number whose pressure (or (5) & (6) etc. terminated with a /, consist of
HGL-elevation) is to change as a function of pairs that give the elevation at designated node
time. This node number must be under the # 2 and pressure (or HGL-elevation) at
SETPR or SETHG in the data providing the designated node # 1 as pairs to define the rule.
definition of the network.
(2) Time The rule will be linearly interpolated between
(3) The pressure (or HGL-elevation) that is to
-104-
the values given in the above list regardless of the 3. The volume of reservoir storage
setting of LINEAR in the $TDATA list. The rule must corresponding to the elevation in (2). The
be given such that the elevations of the hydraulic grade units of this storage volume are as specified by
line at node of item # 2 above are in ascending order the value of ISUNIT in the $TDATA list of
of magnitude. The value associated with the smallest options.
elevation will apply until the elevation at node # 2 (or 4. A water surface elevation in the reservoir.
reservoir water surface elevation denote by #2) is 5. The volume of reservoir storage
exceeded. Likewise the last pressure (or corresponding to the elevation in (4).
HGL-elevation) in the list will apply whenever the first 6. Etc. At least two sets of elevation-storage
value in the last pair of values for the rule is exceeded. data are required. Terminate the input record
Note: Use of a rule based on the HGL with a slash, /.
elevation at a node in the close proximity of the node
whose pressure is being specified can result in a
problem in which the rule forces pressure downward or Record # 2
upward rapidly during succeeding time steps. For A list of reservoir numbers, node numbers, or pipe
example a rule that specifies a decreasing pressure as numbers according to that indicated by the option
the pressure decreases at the node of item # 2 above NPUNOD that specify which reservoirs the above rela-
will result in an increased demand to satisfy the tionship apply to. This list will be a single reservoir
decrease in pressure but will also reduce the pressure designator unless more than one reservoir or tank is of
at node # 2, and the cycle will continue. The use of the same size, and set at the same elevation.
rules makes more sense generally if the pressure at Records (1) and (2) may be repeated as pairs for
node # 2 is not related directly to the pressure at node each different storage function.
#1.
Example of data after STORAGE FUNCTION
Example STORAG
SETPRS 1 284. 10. 288. 14. 292. 18./
2 1 782 75 3 70/
1-357/
42880.478/
SEI'TRR (see example networks 10, 11, 12, 13, 14, 15 and 20)
2 91 4364 76 4366 78 4368.5 80 4371 82/
4 55 4294 81 4296.5 83 4298.9 83.5 4301 84/ SVALVC,RVALVC & RVAL+P
(see example network 23)
Are commands similar to commands SVAL VE and
RVALVE in that the head loss caused by a valve is
STORAGE FUNCTION controlled. In SVALC, RVALVC and RVAL+P the
data that are provided control the change in the
This command defines the volume of water in opening of the valve from its current opening rather
storage in reservoirs, or tanks as a function of the water than the opening itself. Often in practice sensors, that
surface elevation. If this relationship is not given for activate a motor driven valve, determine whether the
any tank, then its water surface will be held constant valve should be opened or closed further from the
during the entire period of the time-dependent solution, present opening. To keep the magnitude of transient
as if the tank had an infinite capacity. The information pressures small these motor driven valves open and
that defines this volume-w.s. elevevation relationship close slowly, especially when closing the valve. The
consists of two records, or lines, as described below. commands described in this section permit more
accurate simulation of the performance of such systems,
Record # 1 especially if a small time increment is used in obtaining
1. The number that identifies the storage the time-dependent solution. The command SVALVC
function. permits you to alter the equations that determine valve
2. A water surface elevation in the reservoir. movement as a function of time. The command
-105-
R VALVC permits you to change these equations 7. b, the exponent in Equation 1 below that
dependent upon reservoir water surface elevations, or determines the head loss due to the valve.
nodal heads that exist at the current time step. If the 8. xo' the initial opening of the valve. The
equations that govern the change in valve opening do range of this opening must be 0 for completely
not change with either time or a condition elsewhere in closed to 90 for fully open, e.g. the opening
the network, then either use of the command SVALVC applies strictly to a butterfly valve with degrees
or RVALVC will give identical results. of opening, but may be used for other valves as
The command RVAL+P permits the control of the long as 90 represents fully opened.
valve to change from a reservoir to the head at a node 9, CI , a closing time coefficient as described
or vice versa. In using this command different coeff- by Equation 2 below that modifies the desired
icients can be given to the equations that control the amount of closure dependent upon the time
valve's movement from a reservoir than those that increment used in the time-dependent solution.
govern the valve's movement from a node. Further- .6.t in Equation 2 is always in seconds. A value
more, the water level in the reservoir may always of CI = 0 causes the full desired Change in
determine if and when control of the valve is switched opening to take place. If CI is given a value
from a reservoir to a node and back again depending of one-half the reciprocal of the simulation
upon conditions. The manner in which the opening or time increment (i.e. for a I-hour increment CI
closing of the valve occurs is described by input data. = .5/3600=0.00013889, then one-half the
This input data also dictates whether the reservoir or desired opening will take place. CI should be
nodal head conditions control the switching and is given a value so that the quantity (1 - CI .6.t) is
described below under the heading RVAL+ P. within the limits of 1 to O.
(sec example network 21) 10. CO' the constant in Equation 2 and 3
below.
11. C2, the multiplier of the head difference in
SVALVC Equation 2 and 3 below.
12. C3 an opening time coefficient as
The input data under the command SVALVC described by Equation 3 below. The same
consists of the following items in the order given by the restrictions apply to C3 as described under 9
numbers with the list terminated by a slash, /. above for Cr
1. The pipe number that contains the valve 13. HI' the lower limit of head as described by
whose opening is being controlled. the equations below.
2. The reservoir number whose water surface 14. H 2, the upper limit of head as described by
elevation controls the change in opening of the the equations below.
valve, or if a negative value is given, it is the 15. The number of the parameter above (2
node number whose head controls the change through 14) whose value is to change as a
in opening of the valve. (The pipe that function of time as described by the data from
connects the reservoir to the network, or the item 16 and beyond.
node number of the reservoir (if NODESP=l) 16. Time 1 (the time when a parameter value
cannot be used for this value; it must be the is to change).
reservoir number, e.g. the sequence number of 17. The new value of this parameter to be
the reservoir in the original input data.) changed at time 1.
3. co' the coefficient in Equation 1 below that 18. Time 2
determines the head loss due to the valve. 19. The new value of this parameter to be
4. c, the exponent in Equation 1 below that changed at time 2, etc. terminating the list with
determines the head loss due to the valve. a slash, /.
5. Ko ' the coefficient in Equation 1 below If item 14 is terminated with a slash, /, then no
that determines the head loss due to the valve. changes in any of the parameters will occur with time.
6. K I , the coefficient in Equation 1 below The head loss coefficient for the valve is
that determines the head loss due to the valve. dependent upon its opening as given by the following
-106-
RVALVC
equation: The input data after the command R VALVC
are identical to those described above for the command
(1) SVALVC up through and including item 15. Starting
with item 16 the following apply:
in which e is the base of natural logarithms, and K is 16. The Head 1 in the reservoir, that if
the loss coefficient in the equation hL = KV2/(2g), x exceeded will cause the value of one of the
is the opening of the valve with 0 closed and 90 fully item 2 through 14 in the input to be altered.
open, and the other variables are as described above. 17. The new value of this item.
The equation that determines the new valve 18. The head 2 in the reservoir, that if
opening are: exceeded, will cause the value of one of the
items 3 through 14 in the input to be altered.
(a) for H greater then H2 (i.e. the valve is being 19. The new value of this item, etc.
closed) terminating the list with a slash, I.
The list of heads and parameter values in item
x = Xo - (1-C 1 At)(C o + C2 (H - H2 . (2) 16 through the slash I constitute a rule for the selected
parameter, item 15. Linear interpolation will be us~
(b) for H less than Hz (i.e. the valve is being
to determine the actual value of the parameter used ID
opened)
the above equations. The list of heads must be given
in ascending order of magnitude.
x = Xo + (1-C 3 At) (Co + C2 (H 1 - H (3)
107
and Hp (the nodal switch control head), through 2. The reservoir number whose water surface
negative values for either the reservoir or node number, acts as a controller of the movement of the
and through adding 2000 to these number designations. valve's opening.
In preparing data to enter under the RVAL+ P
command you should find the case in Table 1 that 3. Co - the coefficient in Equation 1 above
agrees with the manner in which you want the valve's (under SVALVC) that determines the head
movement to be alternately controlled by the reservoir loss due to the valve.
and node and then make sure the correct values are
provided as input. 4. c - the exponent in Equation 1 above that
If any negative value is given to Hp then the determines the head loss due to the valve.
switch will always point to the reservoir (Case 1
through 4 in Table 1). If the reservoir number is 5. Ko - the coefficient in Equation 1 above
positive, with Hp negative, then whenever the reservoir that determines the head loss due to the valve.
water surface elevation is above the given head, ~, the
control of the valve is by the reservoir, but whenever 6. Kl - the coefficient in Equation 1 above
the reservoir water surface is below Hr then the valve's that determines the head loss due to the valve.
movement is controlled by the nodal head. (Case 1 and
2 in Tablet.) If this is to be reversed, i.e. the nodal 7. b - the exponent in Equation 1 above that
head controls the valve whenever the water surface determines the head loss due to the valve.
elevation in the reservoir is above Hr , and the reservoir
controls whenever its water surface drops below Hr , 8. Xo - the initial opening of the valve. The
then a minus should precede the reservoir number N r range of this opening must be 0 for entirely
The latter possibilities are Case 3 and 4 in Table 1. closed to 90 for fully open, i.e., the opening
When Hp is negative, it is not permissible to give Np ' applies strictly to a butterfly valve with degrees
the node number, as negative value, because the switch of opening but may be used for other valves as
never points to the node. long as 90 represents fully opened.
On the other hand if Hr is negative, then the
switch always points to the node, as given by Cases 5 9. C1 - A closing item coefficient as described
through 8 in Table 1. If both the reservoir number, N r by Equation 2 above, that modifies the desired
and the nodal number, Np ' are positive, then the node amount of closure dependent upon the time
controls the valve whenever the head at the node is less increment used in the simulation solution. M
than Hp' but the reservoir controls the valve whenever in Equation 2 is always in seconds. A value of
this head exceeds Hp (Case 5 and 6). The reverse of C1 = 0 causes the full desired change in
Lhis valve control is accomplished by placing a minus opening to take place. If C1 is given a value of
immediately in front of the node number, Np (Case 7 one-half the reciprocal of the simulation time
and 8). increment (i.e. for a I-hour increment
In Cases 9 through 16 the switch changes from C1 =.5/3600= 1.38889XlO-4), then one-half the
poin Ling to the reservoir or node to coincide with desired opening will take place. C1 should be
where the control of the valve resides. If the pointing given a value so that the quantity (1 - C1.M) is
of the switch is to change only if both the reservoir within the limits of 1 to O. '
level and nodal pressure are both met, then 2000 is
added to the node number, Np , or the reservoir 10. Co - the constant in Equation 2 and 3
number, Nr as shown by Cases 17 through 24 in Table above.
1.
The input data under the command RVAL+P 11. C2 - the multiplier of the head difference
consists of the following: in Equation 2 and 3 above.
1. The pipe number that contains the valve 12. C3 - an opening time coefficient as
whose opening is to be controlled. described by Equation 3 above. See the
108
explanation of C z above to assign appropriate items 13 and 14, and Hz and H2 or item 22 and 23.
= values to C3. The first apply in the equations for reservoir control
and the latter for same equations by nodal head
13. Hz - the lower limit of head as described control. The values of the C's items 9 through 12 and
by the equations above. items 18 through 21, may be the same but generally will
be different. Likewise the same is true for the H's.
14. H2 - the upper limit of head as described
by the equations above.
-
19. Co - the constant in Equations 2 and 3
IS Nr -Np node node
above.
15 Kr -lip
C...... l
17 Nr Np+201J0' + res.
20. C2 - the multiplier of the head difference 18 Hr Hp>20c0 + + node res ..
(node!
in Equations 2 and 3 above. 19 Nr Hp.2000 > nod. rlS.
(nodel
20 Hr Np+2OQQ + + res. rn.
21. C3 - and opening time coefficient. II H..lOCO up > res. noel.
lres.l
U 1..2000 Np node node
-
U IIr+ZGOO Hp nod.
22. Hz - the lower limit of head as described
U Mr+lOCO lip res.
by the equations above. Cres.1
23. H2 - the upper limit of head as described
by the equations above.
-109-
-110-
ILLUSTRATIVE EXAMPLES OF NETWORKS AND INPUT DATA
USING THE STANDARD FORM OF INPUT
The following pages contain small to replace these two commands, or other
networks to illustrate data requirements. possible variations of input. These are very
The input is given on the same page or next small networks.
page to the network and generally the data
is illustrated twice. Once using the PIPES Examples of data using the other forms
and NODES cODlmand and once the PIPE-command of input are given in Appendix A and B.
EXAMPLE PROBLEM 1
The input for the network below is given in two different fo~ms below the sketch. In the first column the
commands PIPES and NODES are used to define the networks layout. In the second column the command PIPE- is used
to enter this same data. The solution output using either of these forms of data is shown on the next page.
After this solution the data for this same network has been prepared numbering the source of supply as Nodes 10,
II, and 12 and indicating this with NODESP - 1. The solution from this data is shown on the page thereafter.
A II cast
.....
8
rI) o
Iron pIpe 10-
... 1
jQ 2
2 I
10
PUMP CHARACTERISTICS
Ql
lch)
I ai) I
Hi Q2
(ds)
I eft) I
H2 Q
1
Co: 9)
I He)
Hl
6cfs
l.O I so. I 4.0 I 17. I 5.0 I 72.
-111-
PIPE NET~ORK ANAL VSlS IAlto ON THE CORRECTIVE FlOIIRATe EOUATIONS
EUV OF HOlI
2 383.21 3$0.00 3$2.116 4 JU.S7 $ 3911.28 307.86
pUHPS!
PIPE NEAD FLail
7 63.81 IS
~UVATlO" Dr HOL UP$TREAII AND DOWNSTREAII OF I'RVS!
PlrE \/POTRtA" DOIIHSTREAII
NOL NOL
B 3B6.a:;; 320.00
RESULTS OF SOLunON
PiPE NEAD FRICTlOH K IN ur. EXPO"EHT ,JUN. NEAD PRESSURE JUN. HEAD PRESSURE'
NO GIGPII) OICFS) LOSS(FYI FACTOR FORMULA N HO FEET (rsn NO FEET (Pin
2
I 8.30B
1.029
3720.8
8'20.4
16 .. 786
30 54
.0193
.0218
.2552+000
.9411+001
a.'"
1.9'$8
0
2
400.00
83.21
O.
5193.
2
3
83.21
72.5.
51'13.
4528.
3
4
2.493
3.526
1118.8
1582.4
40.992
38.430
.0216
.0205
7fSfOOI
3232UOI
1."9
1.":5
3
I
72.S4
70.00
4528.
4368
4
4
l1t.57
111.57
'9.2.
6962.
11 4.480 2010.8 33.21S .0203 .1727+001 1.971 2 83.21 5193. I 70.00 4368,
6 -2.16$ -'71.7 42.722 .O:!'7_'376+001 1.943 3 72.56 4528. S 125.28 7818.
7 6.147 l758.8 la~S23 .0195 .SI75fOOO 1.970 0 3S0.00 O. 5 12S.28 . 71U1.
,8 1.14'
1.83.
514.9
823.4
16.863
87 2t
.0223
.0230
.645't+001
.2639+002
1.940
1.9'.
$
$
125.28
125.28
1S18.
"818.
4
6
111.57
107.86
'9.2.
4731.
10
11
1.146
.0"
523.1
20 ...
3.708
.001
0218 .2763+001
.040$ .2147JOOO
1.919
1.720
0
111.57
3$0.00
"'2.O. 6
1
107.86
70.00
6131.
4368.
UAMPLE HUMBER 1 UI' SIMPLE HETWORl EXAMPLE HUHlIER 1 OF SiMPlE NETWUR~ EXAMPLE HUHlIER I UF SlHPLE NETWORl EXAHPLE HUMBER I OF SIMPLE NETWORK
CHEC~ LAYOUT OF HETWO~K. ADDED IHPUT CHECK LAYOUT OF NETWORK WITH ADDED IHPUT AFTER CHECK LATOUT OF NETWORK WITH ADDEO LOOPS DEFINED WITH INPUT OATA
FDR PIPES JOINING AT NOOES ON HOOES CARO.
/.
SSPECIF NFLOW.O.NPGP"'0.NETCH~'2 SENO
,0
THE OTHER OATA AND RUN COMIWIU.
SS~ECIF NFLUW.O.NPliPHO
INPUT AFTER ENU OF OTHER DATA.
OUPL. VALUES UF DEIlAND All) ELEV CIYEN.
JlJTE THAT ORER \IF CHECk DATA
,.
RATIIER TtIAII GENERATEO INTERIlALLr.
$SPEC IF HFLUW.O,NPGPI'IoU
PIPES NETCHK.2 SENII I!UST BE IN THE ORDER THAT LOUPRO.I SENO
1 0 2 500 12 .01U2 PIPES MOUES ARE flNST ENCOUNTERED IN PIPE-
5 2 1 llOO 10/ 1 0 2 500 12 .0102 PIPE CUllHANU(INTERNAI. HO.). J 12. 500. 2 2. 3110.
3 3 1600 H/ 5 2 1 1300 10/ /' 2 B. 2200. 2 3 1.5 2ao.
4 I 2000 10/ 3341600S' UPEe IF MFLOk-O. NPGPHoU. METCHK 2. 3 8. i6UU. 3 4 6. 200.
22322008/ 4 1 4 2000 10/ MUHPIPI.NELEyg SENO 4 10. 2000. 1 4
6 3 5/ 2 2 3 2200 ., PIPE 5 10. 1300. 2 1 I. 2ao.
8 5 4 3000/ 6 3 5/ 12. 500. 2 2. 300. 6 8. 2200. 3 5 1. 270.
10 4 6 2000 10/ 8 5 4 3000/ U. 22UO. 2 3 1.5 280. 7 12. 1000. 5
, 5 6 14UO 6/ 10 4 6 2000 IU/ 8. 1600. 3 4 Ii. 200. '88.3000.54
7 0 5 1000 lZ/ 5 6 1400 6/ 10. 2000. I 4 9 6. 1400. 5 6 a. zoo.
11 0 1 SOU/ 7 0 5 1000 12/ 10. 1300. l I 1. 280. 10 10. 2000. 4 6
NUUES II 0 1 500/ 8. 2200. J 5 I. 270. II 12. SOU. I
1 I 280 5 .11 4/ HOOES n. 1000. S . PUHPS
2 2 300 1 2 5/ 1 1 280 11. 3000. S 4 7 3 80 4 77 5 72 35u
3 1.5 280 .2 6 3. 2 2 300 6. 1400. 5 6 3. ZOU. RESER
4 6 200 .3 8 .4 10/ 3 1.5 2BO 10. 2000. 4 6 . I 400
5 I 270 .6 8 9 .7/ 4 6 200 12. SOU. 1 II 350
6 3 200 ., .10/ 5 I 270 PUHPS MIHUR
PUHPS 6 3 200 73S0477S72350 4 10
7380477572350 PUMPS RESER VALYE
RESER 7 3 aD 4 11 5 72 350 I 400 - e 1500 3ZO
1 400 RESER 11 lSO RUN
11 3SO I 400 lllHUR 2J
IIINUR II lSU 4 10 I 5 n
10
VALVE
"INOR
4 10
VAlVE
B 1~00 3ZO
g ~4 .~~ AQ Locop.
8 1500 lZO VALVE RUN 6 8 3
RUN 8 1500 3ZO 2. 300 1 2 5 .8
RUN 1.5 280 2 6 3 J 2
I. 5 .11 4 6. 200 3 8 .4 10 I 5 .11
2. 1 2 5 I. 2SU 5 11 4 1261 EM"",~'
. I. 2 6 3 I. 210. 6 Il 9 1 e .4 11
6. 3 8 .4 10 3. ZOO. 9 -10 2 3 .4 .5
I. 6 8 , .7 6 9.1 .J
3 , .10
EXAMPLE PROBLEM lA
The input data listed below shows what is needed to obtain a special design solution for
the network in Example Number 1, in which the pipe 8 containing the PRV has been removed.
This special design solution gives the diameter of as many pipes as there are nodes in the
network in order to satisfy the pressures that are specified at all nodes of the network.
The following changes between the data that follows and the input data for Example Number
I should be noted: 1. The inclusion of DESIGN - 1 (denoting that a special design solution
is to be obtained), IHGL - 2 (denoting that HGL elevations will define nodal pressures), and
NOMSOL - 1 (denoting that an analysis using the closest nominal diameter is to follow the
design solution). 2. Diameters for 6 pipes, I, 5, 4, 6, 10 and 9 are given diameters equal
to zero (the number of such zeros must equal the number of nodes in the network). 3. The
nodal pressures (given as HGL elevations) follow the elevation on the cards entered through
the NODES command. Note that special devices such as PRV' s, check valves, BPV, and minor
loss devices cannot be included as part of the network when requesting a special design
solution. The use of the Hazen-Williams equation instead of the Darcy-Weisbach equation, as
was used in Example 1, is only to illustrate that different friction loss equations can
be used.
-114~
EXAMPLE NO 1 USING DESIGN CAPABILITY
/*
$SPECIF NFLOW=0,NPGPM=0,IHGL=2,
OESIGN=I,NOMSOL a l $END
PIPES EXAMPLE NO 1 USING DESIGN CAPABIL~TY
1 0 2 500 O. 130 r$SPECIF NFLOW=O NPGPM=O IHGL=2
5 2 1 1300/
3 3 4 1600 8/ COEFRO::::130 DESIGN=l NOMSOL=l tEND
4 1 4 2000 0/ PIPE-
2 2 3 2200 8/ 1 O. 500. 2 2. 300. 383.
6 3 5 2200 0/ . 5 O. 1300. 2 1 1. 230. 348.
10 4 6 2000 0/ 3 8. 1600. 3 4 6. 200. 312.
9 5 6 1400 / 4 0.2000.14
7 0 5 1000 10/ 2 8. 2200. 2 3 1.5 280. 353.
11 0 1 500 12/ 6 O. 2200. 3 5 1. 270. 395.
NODES 10 O. 2000. 4 6 3. 200. 308.
2 2 300 383 9 0.1400.56
1 1 230 348 710.1000.5
3 1.5 280 353 11 12. 500. 1
4 6 200 312 PUMPS
5 1 270 395 7 3 80 4 77 5 72 350
6 3 200 308 RESER
PUMPS 1400
7 3 80 4 77 5 72 350 11350
RESER RUN
1 400
11 350
RUN
SOLUTION TO DESIGN IlA
TITLE GIVEN TO NETWORK
-115-
DESIGN PIPE UIAMETERS
..PIPE-----------------.---.---------~-
DIAME DIA-
.. ----------------- ----------------------
NOM. FLOW- HEAD
NO. FROM TO METER AREA DIA. LENGTH COEF. RATE VEL. LOSS
-------------------_.-------------------------------------------------------
0 2 10.69 0.624 10.0 500. 10.72 17.00
~
1 130. 6.684
5 2 1 8.04 0.352 8.t! 1300. 130. 2.782 7.89 35.00
3 3 4 8.00 0.349 1600. 130. 2.674 7.66 41.00
4 1 4 10.60 0.613 10.0 2000. llO. 4.631 7.56 36.00
2 2 3 8.00 0.349 2200. 130. 1.902 5.45 30.00
6 5 3 7.99 0.348 8.0 2200. 130. 2.272 6.53 42.00
10 4 6 10.28 0.577 . 10.0 2000. llO. 1.305 2.26 4.00
9 5 6 5.61 0.171 6.0 1400. 130. 1.695 9.88 87.00
7 0 5 10.00 0.545 1000. 130. 4.967 9.11 27.20
11 a 1 12.00 0.785 500. 130. 2.849 3.63 2.00
NODE DATA
NODE DEMAND HEV. HEAD PRESSURE HGL ELEV
--------------------------------------------------------
2 2.000 300. 83.00 35.97 383.00
1 1.000 230. ll8.00 51.13 348.00
3 1.500 280. 73.00 31.63 353.00
4 6.000 200. 112.00 48.53 312.00
5 1.000 270. 125.00 54.17 395.00
6 3.000 200. 108.00 46.80 308.00
FLOW FROM PUMPS AND RESERVOIRS EQUALS 14.500
ITERATION- 1 SUM OF DIFFERENCES= 0.109E+Ol
ITERATION: 2 SUM OF DIFFERENCES- 0.513E-01
ITERATION= 3 SUM OF DIFFERENCES: 0~109E-03
-116-
EXAMPLE PROBLEM IB
This is a another variation of problem # 1 in which the option LENGON=D
has been turned off by giving this parameter a value of zero. By so doing the
network program is told that: 1. the lengths of pipes will not be given in
the data that follows the PIPES or the PIPE- command, and 2. the x and y
coordinates of the nodes will be given following the elevation after the NODES
command, or if the PIPE- command is used then the x and y coordinates will be
provided after the elevation wherever this elevation is given. The lengths of
the pipes are computed from the x and y coordinates.
The use of this option is especially attractive if you plan to have the
computer make a plot of the network and its solution, because in making such a
plot the x and y coordinates are needed anyway.
( :2)
1.2 H {3 3()() t S n
( 5()(> , (
H 350'
1 c:-rs
(9)
All nodes at
elevation
30 ft.
END
1. In this alternate input two alternate analyses are included. The first of which
mUltiplies all previous demands by 1.5. The second leaves the demands at this increased
amount and increases all Hazen-Williams roughness coefficients to 150.
-121-
III L
...
I NODES AT SOURCE PUMPS AND RESERVOIRS TIIAT HAVE BEEN ELIMINATED:
7 8
9 7 6 500. 8.0 130.0 164.72 4.88 5.56 11.12
...
II)
I
RESERVOIRS PLUS NOZZLES:
NO. PIPE NODE ELEVATION
-_
IIODE DATA:
-_ -_ .. -- .......... --_ ......... -... -- ................... - .. __ .. ----_ ............... -- -_ .. -_ HGL
..... -- .... ..... ...
NOOE OEMAND
I 1 1 8 100.00 (CFSj (GPMj ELEV HEAD PRESSURE ELEV
2 9 7 120.00 .- -- ...............
NO.
-- _.. -- ................ -_ .. _.. - ---_ .. -_ ..... ---_ ............. -_ .. -_ ...........................-
1 0.000 0.00 30. 69.18 30.24 99.18
CHECK VALVES ARE IN FOLLOWING PIPES 2 0.446 200.00 30. 69.31 30.03 99.31
376 3 0.446 200.00 30. 19.01 34.26 109.01
4 0.334 150.00 30. 10.41 30.54 100.47
NOOE NO. DEMAND PIPES AT NODE 5 0.446 200.00 30. 82.12 35.59 112.12
6 0.334 150.00 30. 84.44 36.59 114.44
1 1 0.000 -1 2 4 8 .0.301 -135.28 30. 10.00 30.33 100.00
2 2 0.446 -2 3 1 -1.104 .164.12 30. 90.00 39.00 120.00
3 3 0.446 -3 5 -8
4 4 0.334 -4 -5 6
COSTS ASSOC. WITH THIS nETWORK
5
6
5
6
0.446
0.334
-6
7
-7
8 9 INTEREST RATE~ 0.1200 NO. OF PAY PERIODS- 50.0
-_
....... _...... -- ---- ... -- --- ... - ..... - .. --- ... -- ......-
PAYMENT EACH 1.0 YEAR. CRF- 0.12042 PWF- 8.
INTEREST RATE- 0.1200 110. OF PAY PERIOOS- 80.0 PAYMEIIT EACH 1.0 YEAR. CRF .. 0.12001 P\IF- 8.
FLOW FROM PUMPS AND RESERVOIRS EQUALS 900.000 CAPITAL INVESTMENT Itl RESERVOIRS _ PRESENT WORTH- 30000.00 SERIES COST- 3600.42
ITERATION- 1 SUM OF DIFFERENCES- 0.211E+Ol CAPITAL INVESTMEIIT IN RESERVOIRS - PRESENT WORTH- 30000.00 SERIES COST- 3600.42
DURING ITERATION NUMBER 2 CHECK VALVE 1 IN PIPE 3 HAS SHUT OFF FLOW. COST FOR WATER _ RESER. FLOW-PRESENT WORTH- 9041.94 SERIES COST- 1085.16
ITERATION- 1 SUM OF DIFFERENCES- 0.482E+01 COST FOR WATER _ RESER. FLOII-PRESENT WORTH- 0.00 SERIES COST- 0.00
ITERATION- 2 SUM OF DIFFERENCES- 0.46lE+OI PIPE COST - PRESENT WORTH- 78000.00 SERIES COST- 9361.08
ITERATION- 3 SUM OF DIFFERENCES- 0:361E+00
DURING ITERATION NUMBER 4 CIIECk vALVE 3 IN PIPE 6 HAS SHUT OFF FLOW.
ITERATION-I SUM OF DIFFERENCES- 0.892E+Ol SUMHARY Of COSTS
ITERATION- 2 SUM OF DIFFERENCES- 0.324E+OI -_ -- -_ ... _........ -_ .. -_ ... -_ ........ _...........
... _............. - ..... ....
ITERATION- 3 SUM OF DIFFERENCES- 0.180E+00
ITERATION- 4 SUM OF DIFFERENCES- 0.140E-02 ---ITEM
-_ ... --TYPE PRESENT WORTH SERIES AMOUNT
...... -_ ............ - ....... _.... - ............... __ ........... - ........ ..
LOSSES DUE TO FLUID FRICTION IN ALL PIPES 1 ELEC 0.00 0.00
POWER LOSS- 2.7.64 H.P. 1.689 kWATTS. ENERGY LOSS- 40.541 kWHRS IDAY 2 PIPE 18000.00 9361.08
3 RESE 60000.00 1200.83
5 WATE 9041.94 1085.16
---_ ........ -_...... _-_ ... __ ... ----_..... -_ ... --_ ... _......... - ... ---...
TOTAL 147041.94 11647.07
EXAMPLE PROBLEM 2A
Suppose in the network in Example Problem 2 that the reservoir that is
connected to the piping system by pipe no. 1 represents an actual reservoir of
almost infinite supply, but the reservoir at the end of pipe no. 3 is a
relatively small storage tank, and would not be able to supply the flowrate given
in the previous analysis for very long. Therefore, a pumps is needed to cause
more flowrate to come from the former reservoir. This pump will be placed in
pipe no. 1 and its head is to be determined so that the pressure at node no. 2
is 40 psi. The use of the command DHEAD is well suited to size this pump. The
data below illustrates how information related to the required pump head and
capacity can be determined for both the original demands as well as for larger
demands equal to 1. 5 times those given in the original data. The second
analysis is accomplished by added CHANGE data for an alternative analysis in
which: (1) all previous demands are multiplied by 1.5, and (2) the pumps should
produce the head necessary for the pressure at node 2 to equal 45 psi.
-121b-
EXAMPLE 0.5PROBLEM 3
All are Cast Iron Pipe
e ~ 0.0102 inches
250'
PUMP CHARACTERISTICS
Q1 h
No. PI Q2
~2 Q) h
( pm) (ft) p)
(HGL)l 250'
1 900 230 1800 22 2700 I 200 2.0
o
o
2 900 50 1800 45 2700 I 38
o
N
f
....
N
INPUT DATA
1.5
5380'
(1) \I3} (2)
8-1610 8-1200 COLORADO SPRINGS POWER PLANT COLORADO SPRINGS POWER PLANT
0
0 1* . 1*
5354' '"
N 5345' $SPECIF NFLOW=I.NPGPM=I. $SPECIF NFLOW=I.NPGPM=I.
(3) NUMPIP=I.COEFRO=120. $END
...
N
I
(4) NUMPIP=l $END
PIPES PIPE-
{5} \ 8-1200 o 3 1670 8 120 8. 1670. 3 5380.
5392
5310' o 3 12001 8. 1200. 3
0 (5) 3 5 2600 121 12. 2600. 3 5 5392.
'"...
QO o 5 1200 81 8. 1200. 5
I 5 7 1860 141 14. 1860. 5 7 5410
<...
{1} c ,. 120. o 7 1200 81 8. 1200. 7
5410 HW 7 9 2340 161 16. 2340. 7 9 5412.
for all o 9 1200 81 8. 1200. 9
pipes 9 11 1840 181 18. 1840. 9 11 5420.
0
..;r (7) o 11 2500 81 8. 2500. 11
...I
"" o 11 4500 181 18. 4500. 11
PUMPS
NODES
'".... (8) 3 0 5380 1 400 351 600 285 700 234 5354
{9} 5 0 5392 2 400 351 600 285 700 234 5345
7 0 5410 4 400 351 600 285 700 234 5370
9 0 5412 6 400 351 600 285 700 234 5372
5374' 11 0 5420 8 400 351 600 285 700 234 5374
0
..;r PUMPS 10 400 351 600 285 700 234 5420
....1
QO
1 400 351 600 285 700 234 5354 RESER
....
QO
{u} 2 400 351 600 285 700 234 5345 11 5560
(10)
4 400 351 600 285 700 234 5370 RUN
8-2500 5426
6 400 351 600 285 700 234 5372
8 400 351 600 285 700 234 5374
5420' 10 400 351 600 285 700 234 5420
(11) RESER
11 5560
0
RUN
....
0
..;r
I
....
QO
1--""-1 5 560'
Pt. Q Head
No. (~pm) (feet)
1 400 351
2 600 285
3 700 234
-113-
EXAMPLE PROBLEM 4A
This Problem 4A is the same problem as Problem 4. The input however is prepared
using the option of numbering sources of supply as nodes, i.e. the parameter
NODESP=1 is placed in the $SPECIF list. This option requires the following changes
in the input data:- 1. Under the commmand PIPES the source nodes are now numbers
other than 0 (for non-existent node), 2. Under the command PIPE- every line now con-
tains two node numbers, 3. Under the command NODES the new source nodes are added.
These must all have a zero demand, and 4.1 Under the RESER and PUMPS commands the
reservoirs and source pumps are identified by there node number and not the pipe that
connects them to the network.
5380'
o
o
..0
N
_J, (3)
....
COLORADO SPRINGS POWER PLANT COLORADO SPRINGS POWER PLANT
/* /*
$SPECIF NFLOW=I.NPGPM=I. $SPECIF NFLOW=l,NPGPM=l.
NUMPIP=I.NODESP=1 SEND NUMPIP=1.NODESP=1,COEFRO=120 $END
PIPES PIPE-
1 3
1670 8 120 8. 1670. 1 5350. 3 5380.
2 3
1200/ 8. 1200. 2 5340. 3
C 120. 3 5
2600 12/ 12. 2600. 3 5 5392.
HY
for all 4 5
1200 8/ 8. 1200. 4 5365. 5
5373' - -0
pipes 5 7
1860 14/ 14. 1860. 5 7 5410.
..;r (7) 6 7
1200 8/ 8. 1200. 6 5368. 7
{6} ....
N .7 9
2340 161 16. 2340. 7 9 5412.
I
....
'" 8 9 1200 8/ 8. 1200. 8 5370. 9
(8) 9 111840 18/ 18. 1840. 9 11 5420.
{9}I 10 11 2500 8/ 8. 2500. 10 5414. 11
5412 11 12 4500 18/ 18. 4500. 11 12 5545.
NODES PUMPS
0 (9) 3 0 5380 1 400 351 600 285 700 234 5354
..;r
co - {B}' 5 0 5392 2 400 351 600 285 700 234 5345
....
I
7 0 5410 4 400 351 600 285 700 234 5370
co 9 0 5412 6 400 351 600 285 700 234 5372
(10) .... h1l
8-2500 5426 11 0 5420 8 400 351 600 285 700 234 5374
1 0 5350 10 400 351 600 285 700 234 5420
2 0 5340 RESER
5420' 4 0 5365 12 5560
{1O} (11) 6 0 5368 RUN
8 0 5370
0
10 0 5414
0 12 0 5545
""
..;r
co
I PUMPS
.... 1 400 351 600 285 700 234 5354
2 400 351 600 285 700 234 5345
4 400 351 600 285 700 234 5370
6 400 351 600 285 700 234 5372
8 400 351 600 285 700 234 5374
10 400 351 600 285 700 234 5420
RESER
12 5560
All pumps identical with the RUN
following characteristics
Pt, Q He~d
No. (gplll) (feet)
1 400 351
2 600 285
) 700 234
124-
EXAMPLE PROBLEM 4B
This example illustrates the special design applied to the main lines of
Example 4. The 5 nodes of,this water transmission system allow the 5 pipes 3~4~
7~9 and 11 to be sized. In determining what pressures to specify at the nodes
the assumption was made that the slope of the hydraulic grade line should be
constant from node 3 to the reservoir~ i.e. losses in pipes 3,5,7,9 and 11 should
be proportional to their lengths. and that the elevation of the HGL at node 3
should be as given by the previous solution or 5620 ft.
PIPE 2ND ORDER COEF LINEAR COEF SHUT -OFF HEAD SUMP ELEV
1 -120.869 121.184 339.00 5354.00
2 -120.869 121.184 339.00 5345.00
4 -120.869 121.184 339.00 5370.00
6 -120.869 121.184 339.00 5372.00
8 -120.869 121.184 339.00 5374.00
10 -120.869 121.184 339.00 5420.00 UNITS OF SOLUTION ARE
DIAMETERS - INCH
RESERVOIR(NOIILE) PIPES AND THEIR ELEVATIONS ARE LENGTH - FEET
-11 5560.0 HfADS - FEET
ELEVATIONS - rEET
DES IGN PIPE DIAMETERS PRESSURES - (PSI)
----------------------------------------------------------------------------
PIPE NODES DIA- NOH. FLOW- HEAD
FLOWRATES - (GPM)
HAZEN-WILLIAMS FORMULA USED FOR COMPUTING HEAD LOSS
NO. FROM TO METER AREA DIA. LENGTH COEF. RATE VEL. LOSS
-----------------------------------------------------------.----------------
1 0 3 8.00 0.349 1670.120.0000 1.360 3.90 14.19
PIPE DATA
2 0 3 8.00 0.349 1200.120.0000 1.337 3.83 9.88 PIPE NODES HEAD HLOSS
3 3 5 11.81 0.761 12.0 2600.120.0000 2.698 3.54 11.77 NO. FROM TO LENGTH DIAM COEF FLOW RAIE VELOCITY LOSS /10OD
4
5
0
5
5
1
8.00
13.93
0.349
1.058 15.0
1200.120.0000
1860.120.0000
1.494
4.191
4.28
3.96
12.13
"8.54 --------------------"""-----------"-~."--"-"-
1 1 3 1670. 8.0 120.0 ..--------_._---.----------------
608.81 3.89 14.12 8.46
6 0 1 8.00 0.349 1200.120.0000 1.534 4.40 12.14 2 2 . 3 . 1200. 8.0 120.0 598.45 3.82 9.83 8.19
7 7 9 15.69 1.344 15.0 2340.120.0000 5.725 4.26 10.69 3 3 5 2600. 12.0 120.0 1207.26 3.42 10.84 4.17
8 0 9 8.00 0.349 1200.120.0000 1.581 4.53 13.47 4 4 5 12.00. 8.0 120.0 667.20 4.26 12.02 10.02
9 9 11 11.23 1.619 18.0 1840.120.0000 7.306 4.51 8.38 5 5 7 1860. 15.0 120.0 1874.46 3.40 5.91 3.18
10 0 11 8.00 0.349 2500.120.0000 1.709 4.90 32.43 6 6 1 1200 8.0 120.0 681.01 4.35 12.49 10.41
~ 11 0 11 18.64 1.896 18.0 4500.120.0000 9.016 4.76 20.62 1 1 9 2340. 15.0 120.0 2555.47 4.64 13.20 5.64
N 8 8 9 1200. 8.0 120.0 706.47 4.51 13.37 11.14
l" NODE DATA 9 " 9 11 1840. 18.0 "120.0 3261.94 4.11 6.71 3.65
-------------------------------------------------------- 10 10 11 2500. 8.0 120.0 762.15 4.86 32.05 12.82
NODE DEMAND ELEV. HEAD PRESSURE nGL ELEV ft 11 11 12 4500. 18.0 120.0 4024.09 5.07 24.21 5.38
--------------------------------------------------------
3 0.000 5380. 240.00 104.00 5620.00 NODE DATA.
5
1
0.000
0.000
5392.
5410.
2lf.23
189.69
93.10
82.20
5608.23
5599.69 -~.----.-"
NODE ..
---.-.---.------------------------------------------
DEMAND HGL
9 0.000 5412. 177.00 76.70 5589.00 NO. (GP") (CFS) ELEV HEAD PRESSURE ELEV
11 0.000 5420. 160,62 69,60
0,000
5580.62
----------------.-
3 0.0 ...0.00---------------------------~-----~---------
5380. 240.87 104.38 5620.87
FLOW FROM PUMPS AND RESERVOIRS EQUALS 5 0.0 0.00 5392. 218.03 94.48 5610.03
7 0.0 0.00 5410. 194.12 84.12 5604.12
ITERATIDN- 1 SUM- 0.145E+00 9 0.0. 0.00 5412. 178.92 77.53 5590.92
ITERATION- 2 SUH- 0.164E-02 11 0.0 0.00 5420. 164.21 71.16 5584.21
1 .608.8 -1.36 5350. 284.99 123.49 5634.99
2 -598.4 -1.33 5340. 290.70 125.97 5630.70
PUMPS: 4 -667.2 -1.49 5365. 257.05 111.39 5622.05
NODE PIPE HEAD FLOW HORSEPOWER kiLOWATTS KWATT-HRS/DAY 6
280.99 608.81 43.24 32.26 774.21 -681.0 -1.52 5368. 248.60 107.73 5616.60
1 1 32.24 773.79 8 -706.5 -1.57 5370. 234.29 101.52 5604.29 "
2 2 285.70 598.45 43.22
667.20 42.51 31.71 761.08 10 -762.1 . -1.70 !l414. 202.26 87.64 5616.26
4 4 252.05 31.41 753.90 12 4024.1 8.97 5545. 15.00 6.50 5560.00
6 6 244.60 681.01 42.11
8 8 230.29 106.47 41.12 30.68 736.30
10 10 196.26 762.15 37.81 28.21 676.95
EXAMPLE NUMBER 4C
This example examines the time dependent operation of the system in problem
# 4 that has 6 pumps filling the reservoir. The operation of the pumps are controlled
by the water surface in the reservoir. Three of these pumps, that are in pipes 1, 6 and
10, have their operation controlled by a rule that indicates how many pumps are
operating in parallel as a function of the water surface elevation in the reservoir. At these
stations there are actually 4 parallel pumps all of are operating initially when the reservoir
is empty. Assume the other three pumps, that are in pipes 2, 4 and 8 are variable
speed pumps that have their rotational speeds controlled. Pumps in pipes 2 and 4 have
this speed controlled by a rule related to the water surface elevation in the reservoir, and
the pump in pipe 8 has its speed controlled as a function of time. Trle pump in pipe
2 has a speed control that various it speed continuous as the depth changes. It's
operation is denoted as continuous by giving a 2 as the second input value. The pumps
in pipes 4 and 8 have these operation discretely controlled, e.g. their speed are changed
only when a given water surface elevation is exceeded; thus a 1 is used as the second
input value for the rotational rule for the pump in line 4 and for the rotational schedule
for the pump in line 8. The bottom of the reservoir is at elevation 5500 ft, and it contains
8 million gallons wrlen its water surface elevation is at 5560 ft.
Input data for solving this problem is given below. Note the following: (a) Since
the option NPSERI=O is given in the $SPECIF list that the pump number identifies the
number of parallel pumps in pipes 1, 6 and 10. These identifiers are 1, 4 and 6. (b)
The pump characteristics for pumps 1, 4 and 6 are for individual pumps since the
PARAllel command indicating that 4 pumps are operating at each of these stations is
(An alternative would be to give 4 times as large a flow rate for the 3 points, as in the
previous input data, and leave out the PARAllel command.) (c) The option "IPUNOD
in the $TDATA list indicates that when referring to pumps and reservoirs their numbers
will be used. Thus the reservoir at the end of pipe 11 at node 12 is identified by a 1
under the STORAGE FUNCTION command, and under the command PUMP RULES,
ROTRUL and ROTSCH that pump and reservoir numbers are used. Setting the option
NPNRES= 1 tells USU-NElWK that rules based on water surface elevations in reservoirs
will be used rather than HGL elevations at nodes.
Only the special time dependent tables requested by PRINTT =3, and the
commands PIPE TABLE, NODE TABLE and RESER. TABLE are given below the input
data.
-127-
I
4 8. 1200. 4 5365. 5
5 14. 1860. 5 75410. SPECIAL TABLE GIVING YATER
6 8. 1200. 6 5368. 7 SURFACE ElEV. IN RESERVOIRS
7 16. 2340. 7 9 5412.
8 8. 1200. 8 5370. 9 TIME DESIGNATION
9 18. 1840. 9 11 5420. (HOURS) 1
10 8. 2500. 10 5414. 11
11 18. 4500. 11 12 5545. .00 5500.00
PUMPS 4.00 5508.12
1 100 351 150 285 175 234 5354 8.00 5515.50
2 400 351 600 285 700 234 5345 12.00 5522.72
4 100 351 150 285 175 234 5370 16.00 5529.36
6 100 351 150 285 175 234 5372 20.00 5535.72
8 400 351 600 285 700 234 5374 24.00 5540.75
10 400 351 600 285 700 234 5420
RESER Controlling the operation of some pumps by
12 5500 a PUMP RULE that determi nes the number of pumps
PARAllEL operating in parallel, and other pumps by changing
1 4 their rotational speed in this example is intend to
3 4 illustrate some of the capabilities of USU-NETYK,
4 4 and does not represent a desirable mode of
RUN operation necessarily, and can easily result in a
$TDATA NPUNOO=0,lINEAR=1,HTIME=24,INCHR=4, situation in which some pumps would not be pumping
ISUNIT=2,NPNRES=1,PRINTT=3 $END water into the reservoir, or might be operating at
PIPE TABLE very low efficiencies. The efficiency of parallel
1 2 3 6 8 10 111 pumps at a station wi II remain near the highest
NODE TABLE efficiency if the head remains quite constant but
3579111 the flow rate varies. For example if 3 parallel
RESER. TABLE pumps are operating at maximum efficiency with a
1 flow rate of Q, then if the head remains constant
END TABLES and the flow rate is to reduce to Q/3 then only one
STORAGE FUNCTION pump should operate. If the pump curves are very
1 5500 0 5530 4 5560 8 5570 9.331 flat keeping all three pumps in operation for Q/3
11 would increase the head slightly, if at all
PUMP RULES depending upon how flat these pump curves are.
1 2 1 4 5500 4 5530 3 5545 2 5560 1 5565 0/ This would result in 3 times the energy consumption
3 2 1 4 5500 3 5530 2 5545 1 5560 0/ for pumping the water over having only one pump
4 2 1 4 5500 3 5530 2 5545 1 5560 01 operating.
ROTRUl On the other hand changing the rotational
2 2 1 5500 1. 5580 .65/ speed of a pump changes the head produced by the
5 1 1 5500 1 5520 .95 5530 .9 5550 .75560 .65 5570 pump proportional to the square of this change and
. 5/ the flow rate only in proportion to this change .
ROTSCH Thus reducing the rotational speed by 1/2 results
6 1 0 1. 12 .85 15 .8 20 .7/ in the pump wanting to only produce 1/4 as much
END SIMULATION head, and 1/2 as much flow rate. The effect of
changing rotational speeds of pumps is midway
Special Time-dependent Solution Tables between changing the number of pumps in parallel
SPECIAL TABLE GIVING PRESSURES AT DESIGNATED and changing the number of pumps in series at a
NODES AS A FUNCTION OF TIME station.
In this illustrative example it is possible
TIME NODE NO to reducing the rotational speed too much so that a
(HOURS) 3 5 7 9 11 pump controlled by ROTRUL or ROTSCH would not be
capable of pumping against the heads produced by
.00 84.34 73.15 60.83 54.72 47.62 other pumps controLLed PUMP RULES, resulting in
4.00 82.68 71.81 60.30 55.45 49.06 either back-flow through this pump, or no solution
8.00 84.31 73.94 62.69 58.06 51.81 existing for the system of simultaneous equations
12.00 84.89 74.97 63.93 59.49 53.46 that USU-NETYK solves. Should the latter be the
16.00 86.01 76.57 65.77 61.55 55.64 case then the Newton Method used by USU-NEYTON
20.00 81.50 73.19 63.45 60.54 55.47 would fai l to converge regardless of how many
24.00 82.56 74.63 65.06 62.30 57.33 iterations may be allowed by changing the option
ITERA (or MAX) in the $SPECIF list.
SPECIAL TABLE GIVING FlOWRATES IN DESIGNATED PIPES The utility computer program PMPCUR
AS A FUNCTION OF TIME described in Appendix C is designed to assist you
in understand the operation of pumps that you
TIME PIPE NO. specify, and correct problems that may arise from
(HOURS) 1 2 3 6 8 10 11 inappropriately specified pump curves, poor rules
controlling pumps, or incompatible rotational speed
00 692 685. 1377. 766. 786. 833. -4509. specifications in time dependent solutions.
4.00 698. 639. 1337. 583. 784. 829. -4103.
8.00 692. 580. 1272. 577. 775. 821. -4010.
12.00 690. 522. 1212. 574. 705. 639. -3692.
16.00 686. 458. 1143. 569. 697. 566. -3534.
20.00 536. 430 966. 387. 632. 423. ,2789.
24.00 533. 367. 901. 384. 624. 411. -2699.
-128-
='
EXAMPLE PROBLEM 40
A possible alterative is to specify the head that a pump
supplies to the flow in a pipe rather than giving the operating
characteristics of a pump. The command DHEAD allow for the head to
be specified in any pipe. since the pressure or HGL elevation is
not being controlled elsewhere in the network type # 1 differential
heads will be utilized for this purpose. In other words the
magnitude of the differential head will be specified as the second
item under the DHEAD command, and the first item will be the pipe
that contains this differential head. The network in EXAMPLE 4
has had its input data modified so that the heads for the six pumps
are specified. The following modifications are needed to input
data for this example network. (1) Negative demands need to be
placed at the ends of the pipes that contain the pumps equal to the
amount of flow this pumps 1S to supply to the network, and (2)
The PUMPS command and the lines under it are replaced by the DHEAD
command. The input data with this modification, as well as the
solution results are listed below.
In ut data n the DHEAD DEVICES WITH DIFF. HEAD AND ASSOC. SPECIFIED HEAD NODE
corrrnan 0 s e amoun 0 DEVICE PIPE HEAD JUN. WITH SPEC. HEAD SOURCE
""e""a,-=--,a=n=....;=o=w e urn s su NO. NO. INCREMENT NO. HGL HEAD
1 1 285.00
Simulation of Colorado Spring 2 2 285.00
pumps 3 3 285.00
With DHEAD replacing pumps 4 4 285.00
/" 5 6 285.00
$SPECIF NFLOW=l,NPGPM=l, 6 8 285.00
NODESP=1,COEFRO=120 7 10 285.00
NPRINT=-2 $END
PIPE-
1 8. 1670. 1 -175. 5350. 3 5380. PIPE ORIGINAL FLOWRATE INCREMENTAL HEAD TOTAL HEAD C EQUIVALENT
2 8. 1200. 2 -700. 5340. 3 NO. DIAMETER (CFS) HEAD LOSS LOSS DIAMETER
3 12. 2600. 3 5 5392.
4 8. 1200. 4 -175. 5365. 5 1 8.00 .39 285.00 1. 40 NO EQUIVALENT DIA. POSSIBLE
5 14. 1860. 5 7 5410. 2 8.00 1. 56 285.00 13.14 NO EQUIVALENT DIA. POSSIBLE
6 8. 1200. 6 -175. 5368. 7 3 12.00 1. 95 285.00 5.97 NO EQUIVALENT DIA. POSSIBLE
7 16. 2340. 7 9 5412. 4 8.00 .39 285.00 1. 01 NO EQUIVALENT DIA. POSSIBLE
8 8. 1200. 8 -700. 5370. 9 6 8.00 .39 285.00 1.01 NO EQUIVALENT OIA. POSSIBLE
9 18. 1840. 9 11 5420. 8 8.00 1. 56 285.00 13.14 NO EQUIVALENT DIA. POSSIBLE
10 8. 2500. 10 -700. 5414. 11 10 8.00 1. 56 285.00 27.38 NO EQUIVALENT OIA. POSSIBLE
11 18. 4500. 11 12 5545.
DHEAD
1 285/ UNITS OF SOLUTION ARE
2 285/ DIAMETERS - inch
3 285/ LENGTH feet
4 285/ HEADS - feet
6 285/ ELEVATIONS - feet
8 285/ PRESSURES (psi)
10 285/ FLOWRATES - (g~)
RESER HAZEN-WILLIAMS FORMULA USED FOR COMPUTING HEAD LOSS
12 5500
RUN
PIPE DATA
Output from solution using the , PIPE NODES HEAD HLOSS
above 1nput data NO. FROM TO LENGTH DIAM COEF FLOW RATE VELOCITY LOSS flOOO
------------------------------------------------------------------------------
~~~~~_~!~~~_~~_~~~~__
ii
1 1 3 1670. 8.0 120.0 175.00 1.12 1.40 .84
2 2 3 1200. 8.0 120.0 700.00 4.47 13.14 10.95
Simulation of Colorado Spring 3 3 5 2600. 12.0 120.0 875.00 2.48 5.97 2.30
4 4 5 1200. 8.0 120.0 175.00 1.12 1.01 .84
~~EsDHEAD replacing pumps I 5 5 7 1860. 14.0 120.0 1050.00 2.19 2.83 1.52
II
6 6 7 1200. 8.0 120.0 175.00 1.12 1. 01 .84
ALL DEMAND FLOWS ARE MULTIPLIED 7 7 9 2340. 16.0 120.0 1225.00 1.95 2.47 1. 06
BY 1. 0000 8 8 9 1200. 8.0 120.0 700.00 4.47 13.14 10.95
9 11 9 1840. 18.0 120.0 1925.00 2.43 2.53 1. 37
PIPES 11 10 11 10 2500. 8.0 120.0 700.00 4.47 27.38 10.95
NODES 12 11 11 12 4500. 18.0 120.0 2625.00 3.31 10.97 2.44
SOURCE PUMPS 0 !'
"
NODE DATA:
BOOSTER PUMPS
RESERVOIRS 01 ,II
---------------------------------------------~-------- ----------
MINOR LOSSES 0 NODE DEMAND HGL
PRVS 0 NO. (gpm) (cfs) ELEV HEAD PRESSURE ELEV
NOZZLES 0 -------~---------------------------------------------- ----------
CHECK VALVE 0 1 -175.0 . 39 5350 . -393.83 -170.66 4956.17
BACK PRES. V. 0 2 -700.0 -1. 56 5340. -372.09 -161.24 4967.91
OIF. HEAD DEV 7 3 .0 . 00 5380 . -140.23 -60.77 5239.77
SPECIFIED PRES 0 4 -175.0 -.39 5365. -130.19 -56.42 5234.81
5 .0 . 00 5392 . 126.80 54.95 5518.80
RES. (NOZZLE) PIPES & THEIR ELEV. 6 -175.0 . 39 5368 . -136.02 -58.94 5231. 98
ARE 7 .0 . 00 5410 . 105.97 45.92 5515.97
-11 5500.0 8 -700.0 -1. 56 5370. -128.36 -55.62 5241. 64
9 .0 . 00 5412 . 101. 50 43.98 5513.50
FLOW FROM PUMPS AND RESERVOIRS 10 -700.0 -1.56 5414. -160.65 -69.61 5253.35
EQUALS -2625.000 11 .0 . 00 5420 . 90.97 39.42 5510.97
12 2625.0 5.85 5545. -45.00 -19.50 5500.00
-129-
EXAMPLE PROBLEM 5
This Example No. 5 might be a reduced version of the pipe system for a steam powered
turbine involving the pipes between the condenser and boiler. Since a series of heaters
increase the temperature of the water s ignif icant ly (and thus its dens ity) between nodes 1
and 8, a much better solution results from using weight or mass flowrates rather than
volumetric flowrates. In addition to using this capability of the rrogram comments are
placed after some pipes and nodes cards to have them appear in the solut on tables.
13.15-<40
[a] (12)
315.2- 20 (7]
-130-
TITLE GIVEN TO NETWORK
---_.-------------------
THIS SIMPLE EXAMPLE ILLUSTRATES THE FOLLOWING FEATURES:
1. DETERMINE EQUIVALENT LENGTHS FOR MINOR LOSSES WITH LARGER REYNOLDS NO.
2. USING MORE THAN 3 PTS. TO DEFINE PUMP CHARACTERIC CURVES.
3. PLACING REMARKS BY SOME PIPES ANO NODES. .
4. USING WEIGHT FLOW RATE~ SINCE LARGE TEMPERATURE CHANGES OCCUR.
5. CHECKING INPUT DATA BY REDEFINITION OF NETWORK FROM ALTERNATW INPUT.
6. PROVIDING STARTING HGL FOR SPECIAL NETWORK WITH ALL EXTERNAL FLOWS
GIVEN
ALL DEMAND FLOWS ARE MULTIPLIED BY 1.0000
PIPES 13
NODES 8
SOURCE PUMPS 0
BOOSTER PUMPS' 4
RESERVOIRS 1
MI NOR LO OSSE 2
PRVS 0
NOZZLES 0
CHECK VALVES 0
BACK PRES V. 0
DIF. HEAD DEV 0
PUMPS:
PIPE 2ND ORDER COEF LINEAR COEF SHUT-OFF HEAD SUMP ELEV
2 0.000 0.409 842.56 0.00
3 0.000 0.409 842.56 '0.00
10 0.000 0.016 1939.64 0.00
11 0.000 0.016 1939.64 0.00
RESERVOIRS PLUS NOZZLES:
NO. PIPE NODE ELEVATION
1 13 0 2.84
MINOR LOSS PIPES AND THEIR COEFFICIENTS:
PIPE K
2 12.00
3 54.00
SOL. BY U;!L. SPARSE MATRIX METHODS
MINOR LOSSES:
PIPE MINOR LENGTH + EQUIVALENT
NO. LOSS K LENGTH
2 12.00 1988.73
3 54.00 8249.31
FLOW FROM PUMPS AND RESERVOIRS EQUALS 0.000
PIPE OATA:
PIPE NODES HEAD IILOSS
HD. FRO" TO LEIIGTH DIAI1 COEF FLOW RATE YELOCITY LOSS /1000
1 1 2 20. 35.4 0.003600 1824.00 4.66 0.03 1.44 LOW TEMP. WATER
2 2 3 1989. 23.5 0.003600 964.21 5.59 6.66 3.35
3 2 4 41249. 23.5 0.003600 859.19 4.98 22.04 2.67
4 3 5 40. 13.5 0.003600 321.40 5.64 0.21 6.65 HEAT EXCHANGERS III
5 3 5 40. 13.5 0.003600 321.40 5.64 0.27 6.65
6 3 5 40. 1l.5 0.003600 32l.40 5.64 0.21 6.65
7 4 6 40. 13.5 0.003600 286.60 5.03 0.21 5.31
8 4 6 40. 13.S 0.003600 286.60 5.03 0.21 5.31
9 4 6 40. 13.5 0.003600 286.60 5.03 0.21 5.31
10 5 7 180. 22.6 0.003600 1348.21 8.43 1.42 1.87
11 6 7 1BO. 22.6 0.OO~6OO 1243.79 7.11 1.21 6.11
12 1 8 20. 35.2 0.003600 2592.00 6.69 0.06 2.95 ARRIVES AT BOIL"'
NOOE OATA:
ftOOE DEMAND' " 'HGl
ND. WTtS VaLIS ELEV HEAD PRESSURE ELEY
'''j:iiiZ4 :iioo' "':;i :;;.... "0: i:S4 ..i:i;;:84 FLOW FRO!! CONDENSOR.
2 0.000 0.00 .3. 5.81 2.31 2.81
3 0.000 0.00 15. 1000.60 398.15 1015.60
4 0.000 0.00 IS. 981.02 392.75 1002.02
5 -384.000 6.70 33. 982.33 390.88 1015.33 MAKE UP WATER
6 -384.000 6.10 33. 968.81 385.51 1001.81
1 0.000 0.00 57. 2811.20 1121.01 2874.20
8 2592.000 45.24 51. 2817.15 1120.99 2874.15 FEEDS 80lLEQ
132
EXAMPLE PROBLEM 6
This example illustrates the use of the program to solve for pipe diameters in order to
satisfy dual demands and pressures at all nodes of the network. For this example the pres-
sures at all nodes are specified at 40 psi except at the 3 nodes I, 5 and 8 running through
the center of the network where the pressure is set at 70, 60 and 50 psi, respectively.
These pressures must exceed 40 psi for a solution to be possible, since the ground elevations
of some nodes are larger than the ground elevation of the center nodes. The diameter of the
following pipes are specified: 7-10 inch, 11 through 18-8 inch. The remaining J - 9
diameters are given zero values in the input communicating that these 9 diameters are to be
solved for as part of the solution. In addition to the demand shown, a fire demand of 1000
gpm exists at node 9.
From the solution it is worth noting the following:
. 1. The pump does not produce sufficient head for a solution and, therefore, the program
added head to the pumf' In this process it assumed a friction loss of 1 ft in pipe #1,
resulting in the relat vely large diameter of 25.75 inches.
2. The reservoir supplies a relatively small portion of the total flow.
3. After solving for diameters to satisfy the dual specification of pressure and demand
an analysis solution is obtained using the nearest nominal diameters. This 'is done since
NOMDIA ~ 1 is in the $SPECIF list.
10009pm
(II)
250'
277.5 N/I
(6) (7)
.2- 670
(6) 0 (3)
It)
o
111
10 ....
,
I
10 <'!
~
ISEHS. N/a
830
970 ~t-.~
1110 27.5
1390 260
1525 25.1
INPUT DATA FOR EXAMPLE 7
NETWORK USING SI UNITS WITH FLOWRATES IN NEWTONS PER SECOND (I.E. A WEIGHT FLOWRATE).
THE AVERAGE TE1IPERATURE OF THE WATER IS 80 DEGREES CELSIUS
/*
$SPECIF NODESP~1.NUNIT2.NPGPM3.NFLOW=6.G~~ 9530 VISC=3.67E-7.NUMPIP-1,PCHAR3-0.COEFROa
2.59E-4, NETCHK--2.NELEV-0 SEND
RESER
7 122
8 107 NODES
PUMPS 1 277.5 85.3
9 830 28.5 970 28.1 1110 27.5 1390 26 1525 25.1 107/ 2 555 91.5
VALVE 3 277.5 85.3
8 460 97.5 4 1665. 61
PIPE-NODES 5 277.5 82.5
.3 150. 7 118. 2 6 832. 61
.2 370. 3 2 555. 91.5 7 0 118
.2 490. 3 4 1665. 61. 8 0 100
.25 610. 4 1 277.5 85.3 9 0 110
.25 550. 2 1 PIPES
.2 670. 5 3 277.5 85.3 7 2 150. .3 .000259
.3 305. 9 110. 5 277.5 82.5 2 3 370 .2/
.2 915. 5 4 3 4 490/
.5 425. 5 6 832.5 61. 4 1 610 .25/
.15 610. 6 4 2 1 550 /
.3 150. 1 100. 8 100. 5 3 670 .2/
RUN 9 7 305 .3/
555. 91.5 -1 -2 5/ 5 4 915 .2/
277.5 85.3 2 -6 3/ 5 6 425 .15/
1665. 61. -3 -8 -10 4/ 6 4 610/
277.5 85.3 -5 -4 -11/ 8 1 150 .3/
277.5 82.5 -7 6 8 9/
832.5 61. 10 -9
-135-
EXAMPLE PROBLEM 8
In this example the DHEAD command is used to design a pump. The no~zle at the end of
pipe 14 is used to determine what fire flow might be obtained from a fLoe nozzle of .OS m
dis. attached at node 7. The question being ask is, "if with this fire der::md, what head and
capacity must the pump have if the head at node 8 is to be maintained 1) meters above the
ground elevation." The first column of data below the sketch of the networ!.: shows this input
and the following pages show the solution results.
In the second column of data below the slcetch a fire demand of 0.0(3 m3/ s (1000 gpm)
has been specified from pipe 14 and furthermore the pressure at node 1, which is too small in
the solution for the first situation has now been specified equal to 2"5 kPa. For this
situation the pump must produce a head of 110.2 m instead of only 40.5 I>l as for the first
situation. The reservoir now supplies only"0.155 m3 /s and the pump 0.381 n")/s.
460 11 ..........-..-l
42011
g
;;; (21
.25-800
(8)
EXAMPLE IN WHICH THE DHEAD COMMAND EXAMPLE IN WHICH THE DHEAD COMMAND
IS USED TO SIZE A PUMP. IS USED TO SIZE A PUMP.
l* /*
$SPECIF NFLOW=3.NUMPIP=1.NUNIT=2, $SPECIF NFLOW=3,NUMPIP=l,NUNIT=<.
NPGPM=3,PEAKF=1.8,COEFRO=.00005 $END NPGPM=3.PEAKF=I.8.COEFRO=.0000S $END
PIPE- PIPES PIPE-
25 300. 1 .04 430. 0 1 300 .25 .OOOOS .25 300. 1 .04 430
2 1000. 1 2 .05 420. 1 2 1000 2/ .2 1000. 1 2 .05 420
.25 300. 2 0 2 300 25/ .25 300. 2
2S 800. 2 3 .04 420. 2 3 800/' .25 800. 2 3 .04 420
.2S 1500. 1 3 1 3 IS00/ .25 1500. 1 3
2 900. 3 8 .03 40S. 3 8 900 2/ .2 900. 3 8 .03 405
.2 1000. 4 3 4 3 1000i .2 1000. 4 3
.25 800. 1 4 .025 410. 1 4 800 25/ .25 800. 1 4 .025 410
2 600. 4 6 .02 400. 2 600. 4 6 .02 400
.25 800. 4 5 .03 405. 4 6 600 .2/ .25 800. 4 5 .03 405
2 300. 5 7 400. 4 5 800 .25/ .2 300. 5 7 400
2 300. I) 7 S 7 300 .2/ .2 300. I) 7
.2 300. 7 8 6 7 300 / .2 300. 7 8
2 10. 7 7 8 300 / .2 10. 7 9 .063 400
NOZZLE 0 7 10 .2/ RESER
14 .05 .6 400./ NODES 3 460
RESER 1 .04 430 1 400
3 460 2 .OS 420 DHEAD
1 400 3 .04 40S 1 80 -1 3 275000
DHEAO 4 .025 410 RUN
1 80 8 3 419 S .03 405
RUN 6 .02 400
7 0 400
8 .03 40S -136-
TI TU r, I VE~ TO NETWORK
= -_ -
--- ........ "' ... ...... ............... ..
OAHPlE IN _HICH THE OHEAO CUf1I1AlIO
IS USEU TO SIU A pur.P.
PIPES 14
NOOES II
SOURCE PUHPS' a
~lJtl~H:~ ?IJI4PS ;)
RESERVOI;!S 2
MIHUR LO OSSE a
PRVS a
NOZZLES 1
CHECK vALvES 0
8ACK PRES v. 0
UIF. HEAD DEY I
/lOZZLES
PIPE GROUND ELEv. COEF.X AIlEA
!4 400.0 0.00118
FLOW FRO" PUMPS AND RESERVOIRS EQUAlS .423
ITUAllGII- I SUH UF DIFFERENCES- 0.575E+02
lTEKATlON- 2 SUM OF DIFFERENCES- 0.914E+Ol
ITERATION- 3 SU" I)' OIFFERENCES- 0.101E+Ol
!TERATlOfl- 4 SU" OF DIFFERENCES- 0.170E+OI
ITERATION- 5 SUI1 OF OIFFERENCES- 0.123E+00
ITERATION- 6 SUII UF DIFFERENCES- 0.14I1E-03
ITERATION- 1 SuM OF DIFFERENCES. 0.502E05
LOSSES DuE TO FLUID FRICnOfl III ALL PIPES
POIlER LOSS- 131.221 H.P. - 97.895 KWATTS. ENERGY LOSS- 2349.485 KWHRS IDAY
DEviCES WITH DtFF. IIEAD AND ASSOC. SPECIFlED IIEAO fIOOE
DEVICE PIPE HEAO JUN. WITH SPEC. HEAO SOURCE
HO. 110. [IICREMENT 110. . HGL HEAD
1 1 40.411 8 419.00 14.00 3 RES.
PIPE DATA:
._ ..... _... _.............................. - ........ _....... --_ .. __ ..... _.. _-- .. -_ ...... --------------_ ....---""... ..... "" ""
PIPE NOOES HEAD HLOSS
NO. FRail TO LENGTH o I All COEF FLOW RATE VELOCITY LOSS /l000
--_ ..... _- ... __ .... "' .......... "' ............. _......... - ............ -...... _.......................... _-_ .. _..............................................
1 0 I 300. 0.250 0.000050 0.1612 3.21;3 9.985 33.282
2 2 1 1000. 0.200 0.000050 0.U426 1.357 8.137 8.137
3 0 2 300. 0.250 O.UOUO~u 0.239U 4.H68 21.366 71.220
4 2 3 800. 0.250 0.000050 0.1063 2.166 12.021 15.026
5 1 3 15UO. 0.250 0.000050 0.0417 0.849 3.884 2.569
6 3 II 9UO. 0.200 0.DOO050 0.0435 1.385 7.613 8.459
7 3 4 1000. 0.200 0.000050 0.0325 1.034 4.69H 4.H98
8 I 4 800. 0.250 0.000050 0.0901 1.836 6.182 10.977
9 4
..
6 600. 0.200 0.000050 0.0304 0.966 2.591 4.318
10 4 5 8UO. 0.l50 0.00U050 0.0412 0.962 2.614 3.268
11 1 5 300. 0.200 0.000050 0.006H 0.215 0.OH4 0.279
12 1 6 300. 0.200 0.000050 0.0056 0.179 0.061 0.202
13 7 8 300. O.ZOO 11.000050 0.0105 0.334 0.185 0.615
14 a 1 10. 0.200 0.000050 0.0229 0.7ZH 0.026 2.556
NODE DATA:
--_ ..... _- ................... __ ....................... _...... ,."" ....... _......... -..... ""' ............ _-_ ........ ---_ .........
HOOE OEHAIIO HGL
110. (CIlS) (CFS) HEAD PRESSURE ELEY
------.-- ... - ................. ""................ELEY
- ......................................... _........ _- ... ---- .................
I 0.0720 2.54 430. 0.50 4.81 430.50
Z 0.09UO 3.18 420. 111.63 182.61 4311.63
3 0.0720 2.54 450. 15.61 64.78 426.61
4 0.0450 1.59 410. 11.71 114.Hl 421.71
6
7
0.0540
0.0360
O.OOUO
1.91
1.27
O.OU
405.
400.
14.10
19.12
1311.19
187.41
419.10
419.12
400. 19.IH 188.01 419.1H
H 0.0540 1.91 405. 14.00 137 .20 419.00
-137-
EXAMPLE PROBLEM 9
In this example the DREAD command is used to size a pump while simultaneously sizing
pipes 12 and 5. Since for each such device that is to be sized a dual specification of
pressure as well as demand must be given at inother node, pressures must be specified
at 3 nodes, i.e. 3 DREAD devices of type 12 must be used in the input data. The criteria
used for this design is that when the demand is 1.1 times the values given on the sketch, the
RGL at node 5 just downstream from the reservoir should be 490 m, i.e. the head loss in pipe
60 from the reservoir should be 10 meters. This assumption establishes data for one DREAD
device. It is further decided that the HGL at nodes 7 and 1 should be 475 m snd 465 m
respectively. These assumptions estaplish the criteria for the DREAD devices in pipes 12 and
5 respectively.
The solution to this example is given on the following pages. These results indicate
that pipes 12 and 5 should be 35 cm and 30 cm in diameter respectively and the head the pump
should produce should.De 84.6 m. .
,.
FIX PRESSURE AT NOOES 5 10 ANO 12 IN ADonUN 2 15. 1500. 3 .04 420. 2
TU SlUNG THE PUMP. J 20. 1000. 4 1
4 20. 1000. 6 .04 420. 3
SSPEC IF 'AKF o l.l.NFLUl/o1.NPGPM-1. 520. 1500. 5 4 .04 410.
NONITo1.NOUESP'I.NPRINTo.1 $No S n.500. 10 480. 5 .02 450.
PIPES 1 25. 1500. II 5
1 1 2 1500 IS .05 8 20. 1200. 7 4
2 1 21 9 20. 1200. 8 5
l 4 1 1000 20/ 10 25. 1200. 9 6 .05 460.
4 6 1/ 11 20. 1500. 8 7 .06 410.
5 5 4 1500 20/ 12 25. 1500. 9 8 .OS 460.
II 10 5 sao 2':>1 13 35. 1000. 11 450. 9 .1 470.
7 II ~ 1500 251
8 7 4 1200 201
9851
10 9 6 1200 251
11 B 7 1500 20/
12 , 8 1500 251
Il 11 9 1000 nl
NODES
I .01 420
2 .02 420
;$ .U4 420
4 .04 410
5 .02 450
6 .05 460
7 .06 410
8 .05 460
11 .1 470
10 0 480
II " 450
RESER
10500
II 470
DHEAO
13 100 5 11 490
12 II 7 10 475
5 0 1 10 465
RUN
-138-
TITLE tilVEft TO ftETWORK
PIPES 13
NOIlES 11
SWRCE PUMPS 0
800STER PUMPS 0
RESERVOIRS 2
MINUR La OSSE 0
PRVS 0
NOZZLES 0
CHECK VAL YES 0
BACK PRES V. 0
DIF. HEAO DEY 3
NODE DATA:
----_ ..... -.. _----- ...... _.... --- _.. _... _.................... -........ --
--- ............... - ............................
NODE OEHAltO HGL
110. (CMS) (CFSI ELEV HEAD PRESSURE ELEV
................ - ................... __ ...... _..................................................... ----_ ...........- ... __ ............
1 0.0330 1.17 420. 45.00 441.00 465.00
2 0.0220 0.78 420. 40.90 400.83 460.90
3 0.0440 1.55 420. 48.35 473.80 468.35
4 0.0440 1.55 410. 66.84 655.03 476.84
5 0.0220 0.78 450. 40.00 392.00 490.00
Ii 0.0550 1.94 460. 29.42 288.35 489.42
7 0.0660 2.33 430. 45.00 441.00 475.00
8 0.0550 1.94 460. 40.7B 399.611 500.78
9 0.1100 3.88 470. 42.98 421.17 512.98
10 -0.0995 -3.51 48U. 20.00 196.00 500.00
11 -0.3515 -12.41 450. 20.00 196.00 470.00
-139-
EXAMPLE PROBLEM 10
Based on the analysis in Example 9. select a suitable pump (several may exist in paral-
lel or series) and Obtain a time dependent solution over 24 hours of time in 2 hour incre-
ments using a typical demand function. Develop an appropriate rule for the operation of the
pumps at the station that supplies the network through pipe 13 and verify the appropriateness
of the rule and the rest of the network design by determining how close the water surface
elevation in the reservoir is after 24 hours to where it began at time zero.
The solution output for this simulation is not given herein. However,
much of the information of the solution is provided by the 'special tables
requested by the parameter PRINTT=3 in the $TDATA list and the command that
follows this. These special tables are given on the following page.
-140-
SPECIAL TABLE GIVING PRESSURES AT DESIGNATED NODES AS A FUNCTION OF TIME
TIME NODE NO
(HOURS) 1 2 3 4 6 5 7 8 9
0.00 652.21 625.30 670.67 723.77 402.41 486.40 625.40 566.03 570.07
2.00 687.09 668.70 711.20 743.29 423.45 485.40 648.41 608.10 617.12
4.00 749.80 741.18 779.30 786.45 465.28 510.80 699.30 637.94 635.66
6.00 806.32 803.37 842.00 831.14 514.17 546.33 752.48 681.06 672.85
8.00 845.33 844.17 883.08 865.08 54R.86 577.09 790.12 709.15 696.34
10.00 783.75 771.00 806.71 826.31 496.94 557.49 733.31 655.44 647.17
12.00 711.01 683.40 727.89 783.00 459.08 549.31 683.35 604.24 600.30
14.00 431.65 379.92 463.43 568.81 307.06 417.63 445.21 431.58 452.44
16.00 314.89 255.46 349.87 471.88 226.76 343.67 341.94 358.37 390.55
18.00 462.12 417.10 489.15 581.05 301.94 399.94 471.61 457.81 495.82
20.00 519.94 484.05 541.10 614.01 310.81 398.76 513.90 501.34 526.56
22.00 545.20 517.05 568.46622.94 313.42 386.12 525.14 511.40 542~45
24.00 560.65 536.64 585.91 630.41 320.04 384.02 534.08 528.15 552.62
-142-
SPECIAL TABLE GIVING PRESSURES AT DESIGNATED NODES AS A FUNCTION OF TIME
TIME NODE NO
(HOURS) 1 2 3 4 6 5 7 8 9
0.00 647.52 62?02 669.25 718.22 402.13 486.49 620.01 564.96 569.43
2.00 614.61 610.79 687.29 658.79 417.47 487.01 572.94 593.79 608.69
4.00 749.36 741.03 779.74 785.79 466.03 511.96 698.81 638.25 635.94
6.00 806.64 803.76 842.62 831.39 514.91 547.37 752.77 681.48 673.18
8.00 845.93 844.78 883.77 865.66 549.58 578.05 790.67 709.59 696.69
10.00 784.02 771.42 807.36 826.48 497.73 558.53 733.51 655.87 648.13
12.00 710.61 683.40 728.40 782.35 459.91 550.31 682.78 604.55 600.61
14.00 428.28 377.86 463.03 564.63 307.72418.63 441.90 431.45 452.48
16.00 305.80 249.49 347.90 460.85 227.32 345.02 333.15 357.42 390.13
18.00 12.20 29.93 368.21 62.73 302.29 417.18 RO.32 405.57 464.71
20.00 98.92 124.71 434.83 132.~9 315.62 415.04 85.63 441.85 496.51
22.00 205.94 225.42 477.93 235.69 311.80 406.32 188.16 468.64 516.80
24.00 275.83 291.35 513.23 304.0S 323.81 412.91 254.25 490.55 533.61
-143-
,Il
EXAMPLE PROBLEM 11
In this example, the demands are to be held constant as specified on the sketch, but storage in the reservoirs accounted for in" the simulation. In
the input data listed, the demand function that is given contains a multiplier of 1 at I, 12, and 24 hours. An alternative would be to completely
remove the command DEMAND function and .the data it enters. In the input data for this problem NTRAND=2, Which indicates that a direct access file
will be created from which the auxiliary program PRINT that is described at the end of this users manual. can be used to recreate any portions of the
solution that the user desires. In the solution that follows, selected bits and pieces of the output are given, including using the auxiliary program PRINT.
EXAMPLE OF SIMULATION NETWORK
350 8)
/*
$SPECIF NPRINTa-2, NFLOW=O. NPGPM=O, ISIML-l, NTRAND=2, $END
1.0 cis PIPES PIPE-
1]1 ' . I 400 (11) 1 7 2 500 12 .0102
11 1 12. 500. 7 390. 2 2. 300.
(5) 2 2 3 1200 8/ 2 8. 1200. 2 3 1.5 230.
12-500 3 3 4 1600 8/ 3 8. 1600. 3 4 6. 200.
10-1800 280' 4 1 4 2000 10/ 4 10. 2000. 1 4
All Cast 5 2 1 1800 10/
Iron Pipe 5 10. 1800. 2 1 1. 280.
(4) 6 3 5 2200/ 6 10. 2200. 3 5 1. 270.
0
0 7 9 5 1000 12/ 7 12. 1000. 9 360. 5
'"
I ! 8 5 4 3060 8/ 8 8. 3000. 5 4
(2)
1.S 200' !1'10 9 5 6 1400 6/
10 4 6 2000 10./
9 6. 1400. 5 6 3. 200.
10 10. 2000. 4 6
6.0 11 8 1 500 12/ 11 12. 500. B 340. 1
NODES
1 1. 280
2 2 300
3 1.5 230
4 6 200
5 1 270
6 3 200
7 0 390
(~~
)I ""
(0)
lWo
<.> 0 :..+u
't"""' 6-1400 9 0 360
RESER
7 408
8 350
PUMPS
350 . . . '_ 191 I 9 3 80 4 77 5 72 350
VALVE
-. 8 1500 320
...
.....
MINOR
...... 400 4 10j:
.. RUN
.!'l" $TDATA PRINTT=3, INCHR=12, DTIME-1. ISUNIT=l, $END
"" PIPE TABLE
en
1-3/
.,". 300 NODE TABLE
:I 7 8 9/
...
0
END TABLES
DEMAND FUNCTION
....i 1 1 1 12 1. 24 1.0
l>I 200 1-6/
2700 2800 2900 3000 STORAGE FUNCTION
1 300 2800 370 2900 460 3000/
Vol. of Storage (ac-ft) 7 8/
Storage Capac1ty--elevat1on curve for reservoirs at node] and 8 in prob. PUMP SCHEDULE
9 2 0 2 12 2 24 2/
END SnIDLATION
Jj I
SOLUTION TO EXAMPLE 11
.. .
,
,
liM.
1001.1.
lO~O
u.a
.anmo
"UUlOO
...
I .. Jt
tt
,..... "u
to t
at.. t. ' .11
,t",.
,." 2 2.0DOO 387.0170
--- .......... ,.n
..
l1li0 .. ,.0" 10 4[110'. otUt cot' 'UII .H' 'CLl)(;tT, t.IUo Illhiu IG04_ ...4 .01.0tnO H.U
....................... ~ "'(\0 '.0 .(110100 t .. a2 '1 .. '1& U.17 3 1.50DO 371.3702
lOG. 11.0.0UtIlG
I."
_.U J.lhJt U.U toOO. lO~O ~QJ.tI:O.
.J.
l.U ' .n
.. n ... 10 '.0'.1 -G.ODDU
a
..
'I.
1
t UCG"
1600.
1411.
'.11 .111011'18
&.0 .OlONo
10.0 .IHOlIIO
S"IIO
J .. U.
$~40
I .. "
&.t_
J.'1""
It.('IC
J ' I
1'.'0
l~.jf
h .:. --_......_-----_ _..
1l
,lIIaoc o&Ht
'100.
.... "' _ _ _---------_.
I.t"o .IUOlUQ
............ .... ....
, .. en
" 31/f.3769
I .... "U 'lUI UfI(:r
aVflU't 0' 't(U.u1U_ '11:(:
"JlOU.g.u I'tJl'(
....... JtOOU NUO ",-flU
-----------------------------------------
,ut " " . . "l.(:In
_---------------_ _-----------------_.
MUG
ou" car,
,,," 70 Ulll'lf;If 'LtV."e tmerry "OU: I'l'oo
.00 .17 1.99 7.8 ~ ... ...
12.00 .17 1.99 7.83 1 7 Z SOO .. n.o .01l~toO T.. .,o 1.1' U.... " .. "
I t J 1100" 1.0 .IIUJ4 I n 'd' U.h 11.'1
2,..1l0 .17 1.99 7.83 J J U40. ... .'OUI, 1."1 'd1 JS~I" 14 .. -1
1 I.ll~ 1'.0 .'0'4" J .. h, 84' J4 .. tG 1"."
I , 1 UOG.. 10 .. 0 ..00.'" 2 Jf f .. ' U,,'O 1J .....
FUNCTION OF TIHE , J S noo. IG"O .0011111 -I.tlll ... 'Of 11,,42 , .. Jill
SPECIAL TABLE GIVING FLOWRATES IN OESIGNATED PIPES AS A 1 t 1100. U~. ..OUtoO , tt 'dt 1O.&f .ft ,
I liDO. I. .OOUJ_
.oonoo
."1 Z.-, 1I.U 1.
TIHE PIPE NO.
1.
&l
I
,
1
11100.
,uoo.
SOil.
1.0
10..0
11..
#Ufo
.011100
1.7&1
1.tU
",tu
' .. tf
, dt
.,.
'.If
, '
.0&
If.Il
,100'
.u
(HOURS) 1 2 3 _ooc .au. tn..... '"
:;(.---;;;.,~----------------------=
.00 8.15 1.88 3.U II .... . tOtSl to,,,. CU''1 l1li40 NUSMI!: uu
12.00 7.82 1.77 2.95 . .-;-,:;;;--;;;:-;;--;;;:---;;:;;----n:;;---;:;:;;
2~.00 7.49 1.65 2.90 I 1.001 ' ' ' '
"1 .)Qo, I ' , ' 1$.'_ 'Il .o
2
'"
..
1.S00
000
1.0ot
&ft..
1":&'.,.
44'.12
JtO"
100.
:uo.
lS....
"'-SO
no.at
".1.
&0.01
It.o'
1 .... 1&
,u2.10
StO.Of
I.ODCII 1:1 ' lao. 1.0_." .,, )Ot ,
~j
EXAMPLE PROBLEM 12
(Simulation with 2 demand functions
and storageas function of elevation)
500
, \
[9]
300
VALve
~ 2UOO '85.
RUN
EXAMPLE PROBLEM 13
The network of example 13 contains a back pressure valve, a pressure reducing
valve and two nozzles. The reservoir at node 15 of the network receives a con-
stant supply of water at a rate of 4.0 cfs. It is a circular tank with a diameter
of 80 feet and its bottom and top are at elevations 115 and 135 respectively. The
demand at node 2 is constant, and the demand functions for the other nodes are
defined in the tables below the network. The network's performance is to be
simulated over a 24 hour period of increments of 2 hours. The operation of the
pumping station is shown by the time schedule data in the table below the network.
The input data for this network has been prepared below using the PIPE-NODES
command. It is worth noting that a convenient method for handling the constant
inflow into the reservoir is to add the additional node 17 very close to the
reservoir and specify that it has a negative demand of4 cfs. Note also that since
four pumps were operating in parallel at time zero, the flow rate was multiplied
by 4 from that of each pump in preparing the input data. This is an alternative
to adding the command PARALLEL and giving data to indicate that the pump station
at node 1 has four pumps operating.
120'
[16
0.7 08
8-1500
10-2000 [ 1000' 8- 1000
(I) SPV (17)
( 2)
0
4 pump. 0
In paral11t1
0
10
, (US)
,( 3) co
[1(20 2
I
0
6-800
6 ' 0.2
d nozxt- [IIJ
04 . 1 In (16)
['S,-a: . 0
"
(4)
0
(13)
I
.0
0
0 0
- ..-
10 (~ ) 10 (8) 6- 2000
f I
(10)
.".
-12'
15!
n ul_ ..
d 02
dla = 1
-147-
Pump Characteristics (g's in cfs t hp in feet) Time Demand functions for nodes 3.4.6 and 7
no. Q1 hPJ Q2 hp2 Q3 hp3 fhrs) 0 2 6 8 12 15 24
functfon
.75 115 1.5 100 2.25 80 value 1.2 1.1 1.0 0.9 0.8 0.9 1.0
2 .2 77 .5 72 .8 65
EXAMPLE NO. 13
fir
$SPECIF NODESP=l,NUMPIP=l,NPLENG=l,NPSERI=O,
NFLOW=O,NPGPM=O,PEAKF=1.2,NCONTI=1 $END
PIPE-
10. 2. 1 2 .7 50. EXAMPLE NO. 13
8. 1. 5 13 2
10. 2. 2 3 .4 O.
/*
$SPECIF NODESP=l,NUMPIP=1,NPLENG=l,NPSERI=O,NPRINT=10
6 834.50. NFLOW=O,NPGPM=O,PEAKF=1.2,ISIML=l,NCONTI=1 $END
4. 1.5 4 5 O. O. PIPES
4. 1.5 3 6 .3 O. 1 2 2 10 .0102
6. .8 3 8 10. 13 2 1.5 8/
6. .8 8 9 -5. NODES
2 3 2 10/
4 68160. 100
3 4 .8 6/ 2 .7 50
6. 2. 9 10 1.1 60. 4 5 1.5 4/
4 4 9 7 .2 -12. 3 .4 0
3 6 1.5 4/
4. 1. 7 6 4 .5/
3 8 .8 6/
6. 1. 11 10 5 0/
8 9/ 6 .3/
6. 1.2 12 10 8 16 .6 4/
6 8 12 11 .2 60. 7 .2 -12
9 10 2 6/ 8 0 10
8 5 13 12 1. 60. 9 7 .4 4/
8. 1. 14 13 .8 60. 9 0 -5
7 6 1 4/ 10 1.1 0
10 79 18 14 .5 60. 11 10 1 6/
10 . 05 17 -3.3333 60. 18 11 .2 60
12 10 1.2 6/ 12 1 60
10 01 15 18 12 11 .8/
RESER 13 .8 60
13 12 .5 8/ 14 .5 60
15 120 14 13 1/
PUMPS 18 14 .79 10/ 15 0/
1 3 115 6 100 9 80 -20 16 0 10
17 18 .05/
BOOSTER 17 -3.33333 60
15 18 .01 10/
10 .2 77 .5 72 .8 65 18 0/
VALVE RESER
3 800 40 15 120
BPVAL PUMPS
2 1000 85 1 3 115 6 100 9 80 -20
NOZZLE BOOSTER
5 1 .6 16/ 10 .2 77 .5 72 .8 65
16 1.1 .6 5/ VALVE
RUN 3 800 40
$TDATA HTIME=24,INCHR=2,ISUNIT=O,NPUNOD=0 $END BPVAL
DEMAND FUNCTION 2 1000 85
1 2 917 6 833 8 750 12 667 15 75 24 .833/ NOZZLE
3,4,6,7/ 5 1 .6 16/
2 3 75 6 .667 12 .5 20 .593 24 .833/ 16 1.1 .6 5/
10-14/ RUN
STORAGE FUNCTION
1 115 0 135 100531./
1/
PUMP SCHEDULE
1 2 0 1 4 3 6 2 12 1/
END SIMULATION
148-
EXAMPLE PROBLEM 14
Two variation of the small example network below are given.
(1) The network is analyzed as shown assuming all pipes have a equivalent sand roughness of
0.02 inches for use with the Darcy-Weisbach formula. The input immediately below the sketch is
applicable for this problem. This input utilizes the CHANGE capability to request that USU-NETWK do
a follow-on alternative analysis in which aU equivalent sand roughnesses will be 0.00008 inches.
(2) The analysis in intend to answer the question: "How much additional demand can be
discharged from a fire hydrant at node 35? This question is answered by assuming the fire hydrant is
attached to node 35 through a 10ft long 6-inch diameter pipe with a 4 inch orifice at its end.
540
300gpm
-
0
10
N
-
CD I
N Pump NO.2
gpm ft
3t50gpm
2000 45
3000 40
4000 33
480'
REDUCED PRESSURE ZONE CREATED BY BACK PRESSURE
VALVE AND PRESSURE REDUCTION VALVE.
/*
$SPECIF NPRINT=-2,NFLOW=1,NPGPM=1 PIPES
NPLENG=1,COEFRO=120 $END 40 0 5 1.5 14 .02
PIPE- 50 5 25 2 12/
40 14. 1.5 5 400. 480. 60 25 15 2 4/
50 12. 2. 5 25 300. 490. 180 5 15 1.5 6/
60 4. 2. 25 15 BOO. 380. 100 35 15 3 8/
180 6. 1.5 5 15 120 35 45 2 B/
100 8. 3. 35 15 80 25 35 2.5 12/
120 B. 2. 35 45 450. 420. 130 55 45 2.2 6/
80 12. 2.5 25 35 BOO. 430. 140 0 55 1.5 10/
130 10. 2.2 55 45 150 55 65 2 6/
140 10. 1.5 55 300. 470. 160 15 65 2.4 6/
150 6. 2. 55 65 450. 3BO. 190 65 75 1 6/
160 6. 2.4 15 65 NODES
190 6. 1. 65 75 350. 360. 5 400 4BO
RESER 15 1600 3BO
140 540 25 300 490
PUMPS 35 BOO 430
40 3000 80 4500 75 5000 66 500 45 450 420
BPUMP 55 300 470
50 2000 45 3000 40 4000 33/ 65 450 3BO
VALVE 75 350 360
180 700 440
130 1100 470
BPVAL
100 1300 470
RUN
CHANGE -149-
ALLCOEF
.00008
END
il I, ,
SOLUnoc ARE:
REDUCED PRESSURE ZORE CREATED BY BACK PRESSURE VALVE t.lID PRESSURE
'REDUCTIOII VALVE. LAllGEST FLOW PROM NOOE 35 IS DETERMIEND BY PLACING
.. i~;t
feet
A NOZZLE WITH A 4 IIICH OIA. HERE AT THE EIID OF A 10 FT LONG PIPE. - feet
TWO t.lIALYSES ARE DONE TO STUDY THE EFFECT OF SJO'fHER PIPE. - psi
I'
$SPECIF lIFLQW-l, lIPGPH-l, NPRIlIT--2 SBAC~pmFORMULA USEO FOR COMPUTING BEAD LOSSES
r
IIPLENG-l, COEFRO-. 02 SEIID
-- --- -- --- -------_ .. --_ .. --- -------_ .. -- -- --- -- ------- ---------- -- -- -_ .. -- -_ .. _.. _.. --
PIPE DATA:
,!
PIPE-
, l!rS~ """III
40 14. 1.5 5 400. 480. _~~~: _____ ~: __!9___ ~~~~!~ __ ~!~___ ~9~~ __!~91!_~!~ __~9S~!! ____ ~ __ J!~t
'm,~~~f !n
l~f ""
50 12. 2. 5 25 300. 490.
~ 11
~
100 8. 3. 35 15
120 8. 2. 35 45 450. 42.0. is
199 8
'Ii!!~ ,Iii! I :11
4 1 2 14: 7 :
l!
11 '~II II :11:11 :~:~ I~:~
VALVE
180 700 440
130 1100 470
i~
BPVAL
100 1300 470
NOZZLE
1000 4. .61 430 4351
RUN
.. --------------
AV. BEAD-
----------- -_ ..._... -- --- ..... ---_ ... --_ ... ----_ ... --_ ..... --""" -... ---_ ...
19.10 AV. BGL- 445.35 MAX BEAD- 55.20 HIli !lEAD- -26.86
.... --_ -_ --_ ------_ --_ .. ..... ------_ ..... -_ .. -- -_ ..... --- -- -- - .. _-
ClIAlIGE
ALLCOEF ...... ... MADE TO
...... ClIAlIGES ... NETWORlC
_ _
.00008 ALL PREVIOUS COEF S !!AVE BEEN ClIAlIGEO TO .80000E-04
E1IO
SOLUTION to THE 1 VARIATION OF TBE BASIC NETWORK IS GIVEN BELOW:
I
FLOW FROM PUMPS t.lIO RESIlII.VOIRS EQUALS 4650.00
/'Ool !!!~-~!~~_!9_~!I!:?~ __ DURING ITER. NO. 3 PRV NUMBIlII. 2 IN PIPE 130 !!AS SHUT OFF FLOW. 0- -.27
VI
f> ~SL8H~_ T01!hK~I~ :P~~ fi1. mE~ATTS. ENERGY LOSS- 2812.165 KWllRS/DAY
p~fr
1.0000 5g d~~ iS~~'IHORSET:~~ KI'!~bKWATTi~~~~r
DOWNSTREAM OF PRVS:
ncb ARE:
.S OL1ION
-
- eet
PUMPS:
PIr~ 2110 ORD~ CO~} LINEAR CC(~~ S~ fEV
- sr
eet.
t
PM~~~~~ v~~~~:
US 1r88:88 H8:88
Ii! !l Ii IHI: ~I:! :I~i~ 3~!:
tss:
4~
n:tUBn t: 2 .
in,
:
2. 6.
li3 6
Ht~!~~f~a~gUmRO~&8gPV AV:-~EAD:---;;:j9-AV:~iiGt:--;;82:04~MAX-ii~:----6;:8ii-Miii-iiEAD:---39.00
PIPE UPSTRjis\: DOWNSTRjim: 1: 8
~l
o
~n: 8J;l~ 38t~sIlOltSE~94 KI~:i9I:Wmi~(~~Y
'0 3tlt 3443.85 32.33 24.12 578.8&
H8~&
47 :80
H~~o~S~~.~O Um~o&Rc.t1 IIpY
PIPE DATA:
~ ~~~oVALr;~!oA6 :~~~::~jg~~::i;~::~;~;~::~~~:::~;;~:~~~~~~;~:;~~i~;~~~~~:::?~~~&
i J II :i :1\)1:I~II
FL04 Fllc.t1 PUMPS AND IlESERVOIRS EQUALS 4 6S0. 00 g
~ p~ H:l IP"'
~I!l~b : 1~\4IiI: ~ l~rn:l~i It1d:b~
m::
NO. OF IlEAL LOOPS 0 NO. OF PSEUoo LOOPS 4 ilL- 4 IIDIlEA 1- 0
DURING ITER. 110. 1 PRV NUHBER 2 IH PIPE 130 BAS SHUT OFF FLOW. Qoo '.94 Ii:
~sL8g~_T01~:3nlli:P7~ "~.gUE~ATTS. ENERGY LOSS- 2208.316 I:WHRS/DAY
-
.- l':r~
..
~uTiIg~hAl!l!::
~
~
i~
n i~;n liU~i~ il~~ l!i~'i
1:ni dU~ i ~: 11:h
iijji
~I: i
Up,
~i:h
SSAcfip!lFOAMULA USED FOR Cc.t1PUTIljG HEAD LOSSES Av~-iiUii:--io3~i;-;;v~iiGt.:;i9~39-iWC-iiUii:---i37:;i-MiiiiiUii:---65.21
PIPE DAtA:
:~~~:::::~~~~::i~:~~~;~;~;:~~!~~:~~;~~:~~:~~::;~~!i!:~::~[::2~~~[
i~ ~I llll~t ~u ~llim lUI ~m~ i~U 1iU~
il
u 1 ~i~~ JJ : ~~~i 1:~~~ !~i~ :B~U I;JI
I
_._jL _ L_JLJUL _ U_.lmm_____ JiL. ___JiL~i!JL_itt
AV. VEL- 5.00 AV. HL/IOOO- 20.19' MAx VEL- 8.08 HIli VEL- .00
... -.......
IIDDE DATA:
-....... -----................... ---- ... -- ... _- -- -- ......... _... --_ .. -_... --'"',. ---_ ... ... _. _.. _.. . .
,.
___ ~~~~_._!~:!l_~~~!~l_. __ .~~~ _____ .~~ _____ ~~~______ ~~h
ii4~ :JU
1.ggi
1m~u ~n~
4~O.
488. 00
ItU 'tUJ
t~"i ~~4'i\i iU~
8~.26
.__ !~ _____ .:2m ___ ._ ~~~ J~ ____ ~~t. __ .J~ J~ ______._h~!L_J~;i ~ ~
AV. BEAD- 62.79 AV. I!GL- 489.04 MAX HEAD- 64.26 HIli HEAD- 42.49
It should be notice that in solving the alternate problem 14 for which all
of the pipe wall roughness cofficient are set to 0.00008 inches and for which the
fire hydrant is not discharging, that a message occurs that reads:
THE HGL YOU GAVE FOR BPV 100 IS TOO LOW FOR DOWNST. PRES.
DOWNST. HGL= 563.773 GIVEN HGL= 470.000 BPV INOPER.
SOLUTION NOT VALID
This message indicates that the version of USU-NETWK that was used to solve this
problem does not replace a BPV with a minor losses device, and then solve the
newly formulated problem. It would have done this if a PRV would have had a
pressure setting greater than at the upstream node rather than a BPV. However,
to get a valid solution for this problem the burden is upon the user to change
the input data and rerun the problem. The input data should be modified as
shown below. The solution for this revized problem is also shown below. One
should note that considerable difference occurs between the solutions with e =
0.02 and e = 0.00008 inches.
PUMPS:
PIPE 2ND ORDER COEF LINEAR COEF SHUT-OFF HEAD SUMP ELEV
REDUCED PRESSURE ZONE CREATED BY BACK 40 -1.477 23.190 -9.00 500.00
PRESSURE VALVE AND PRESSURE 50 -.201 .000 49.00 .00
REDUCTION VALVEs. BPV replaced by RESERVOIRS PLUS NOZZLES:
MINOR NO. PIPE NODE ELEVATION
/* 1 140 0 540.00
$SPECIF NPRINT~-2 NFLOW=l
NPGPM=l NPLENG=l SEND PRESSURE REDUCING VALVES ( 2):
PIPES PIPE DOWNSTREAM DOWNSTREAM
40 0 5 1.5 14 .00008 DISTANCE HGL
50 5 25 2 12/ 180 700.00 440.00
60 25 15 2 4/ 130 1100.00 470.00
180 5 15 1. 5 6/ FLOW FROM PUMPS AND RESERVOIRS EQUALS 4650.00
100 35 15 3 8/ NO. OF REAL LOOPS 1 NO. OF PSEUDO LOOPS 3 NL= 4 NDHEA1= 0
120 35 45 2 8/ DURING ITER. NO. 1 PRV NUMBER 2 IN PIPE 130 HAS SHUT OFF FLOW. ~
80 25 35 2.5 12/ -.86
130 55 45 2.2 6/
140 0 55 1.5 10/ DURING ITER. NO. 2 PRV NUMBER 1 IN PIPE 180 HAS SHUT OFF FLOW. ~
150 55 65 2 6/ -.64
160 15 65 2.4 6/ LOSSES DUE TO FL. FRIC. IN ALL PIPES
190 65 75 1 6/ POWER LOSS= 108.408 H.P.= 80.873 KWATTS. ENERGY LOSS= 1940.941
NODES KWHRS/DAY
5 400 480 PUMPS:
PIPE HEAD FLOW HORSEPOWER KILOWATT KWATT-HRS/DAY
15 1600 380 40 81.96 3599.36 74.57 55.63 1335.12
25 300 490 50 38.76 3199.36 31.35 23.39 561.28
35 800 430
45 450 420 ELEVATION OF HGL UPSTREAM AND DOWNSTREAM OF PRVS:
55 300 470 PIPE UPSTREAM DOWNSTREAM
65 450 380 HGL HGL
75 350 360 180 567.63 467.12
RESER 130 532.27 540.28
140 540 PIPE DATA:
PUMPS
40 3000 80 4500 75 5000 66 500 PIPE NODES HEAD HLOSS
BPUMP
50 2000 45 3000 40 4000 33/
VALVE
180 700 440 40 0 5 1500. 14.0 .000080 3599. 7.50 14.33 9.56
130 1100 470 50 5 25 2000. 12.0 .000080 3199. 9.08 32.48 16.24
MINOR 60 25 15 2000. 4.0 .000080 334. 8.52 106.79 53.40
100 10 80 25 35 2500. 12.0 .000080 2566. 7.28 27.12 10.85
100 35 15 3501. 8.0 .000080 1316. 8.40 79.68 22.76
RUN 120 35 45 2000. 8.0 .000080 450 . 2.87 6.52 3.26
130 55 45 2200. 6.0 . 000080 O. .00 .00 .00
TITLE GIVEN TO NETWORK 140 0 55 1500. 10.0 .000080 1051. 4.29 7.73 5.15
150 55 65 2000. 6.0 .000080 751. 8.52 65.75 32.88
160 15 65 2400. 6.0 .000080 49. .56 .61 .25
REDUCED PRESSURE ZONE CREATED BY BACK 180 5 15 1500. 6.0 .000080 O. .00 .00 .00
PRESSURE VALVE AND PRESSURE REDUCTION 190 65 75 1000. 6.0 .000080 350. 3.97 8.26 8.26
VALVEs. BPV replaced by MINOR.
AV. VEL= 5.08 AV. HL/1000= 13.550 MAX VEL= 9.08 MIN VEL= .00
ALL DEMAND FLOWS ARE MULTIPLIED BY NODE DATA:
1.0000
PIPES 12 NODE DEMAND HGL
NODES 8 NO. (cis) (gpm) ELEV HEAD PRESSURE ELEV
SOURCE PUMPS
BOOSTER PUMPS 1
1 --------------------------------------------------------------------
5 567.63
.891 400.00 480. 87.63 37.97
RESERVOIRS 1 15 3.565 1600.00 380. 87.12 37.75 467.12
MINOR LOSSES 1 25 .668 300.00 490. 83.92 36.36 573.92
PRVS 2 35 1. 782 800.00 430. 116.80 50.61 546.80
NOZZLES 0 45 1. 003 450.00 420. 120.28 52.12 540.28
CHECK VALVES 0 55 .668 300.00 470. 62.27 26.98 532.27
BACK PRES V. a 65 1.003 450.00 380. 86.51 37.49 466.51
DIF. HEAD DEV 0 75 .780 350.00 360. 98.25 42.58 458.25
SPECIFIED Q 0
SPECIFIED P 0 AV. HEAD= 92.85 AV. HGL= 519.10 MAX HEAD= 120.28 MIN HEAD= 62.277
-152-
EXAMPLE PROBLEM 15
12-3000 r
10-3000
16-3000
(1)
8-3000
(II)
300 gpm
400gpm 200gpm
The supply for the network in Example No. ,IS comes from large c.onduits that
deliver water at a pressure of 50 psi at two points, nodes 18 and 16, plus a
local storage tank at node 17. In this example instead of converting the two
50 psi pressure to HGL elevations, the program option that allows pressures for
pumps and reservoirs is used. The network is to be solved over a 12 hour time
period in 2 hour increments. The tables below give the needed ata. Source
pump III has its operation controlled by the water surfac.e elevation of the,
reservoir at node 17. It isa variable speed pump whose operation can be
duplicated by assuming up to 5 pumps are operating in parallel as sbown by the
data table below,
Pump Characteristics Storage Capacity for
Reservoir at Node 17
Source Pump III Booster Pump
w. S. eleva Storage
Q(gpm) H (ft) Q(gpm) H(ft) (ft) Cae. ft.)
280 .5
1000 70 500 30 300 4.
2000 60 1000 25 320 6.
3000 40 2000 12
Operation of
Pump til Demand Functions
~lS4-
EXAMPLE PROBLEM 15A
In example No. 15 assume a much smaller tank exists that can be supplied
by an auxiliary supply. The rate at which the auxiliary supply fills the tank
is controlled by the tank elevation. The storage capacity of this smaller
tank is given in a table below. and the rule that governs the filling of the
tank is shown in the other table below. To include this auxiliary tank supply
in the enalysis the following can be done: (1) Add an additional node No. 19
in pipe 18 and call the pipe between this node and the reservoir pipe No. 26.
(2) Utilize the FLOW RULE command to control the negative demand at the near
node 19 according to the manner in whtch the tank is filled by the auxiliary
supply. The input data utilizing the PIPE-NODES command for this revised
Problem 11A is shown below.
-155-
EXAMPLE PROBLEM 16
This problem illustrates the special input that can be used for a network that
consists of a tree like structure. The problem consists of a large well field col-
lection piping system. The wells are spaced at one-half mile intervals along three
laterals. The flow from the wells is discharged at the final collection point at a
needed hydraulic grade line elevation of 380 feet, and other dimensions of the col-
lection system are as shown on the sketch below. The problem calls for: 1.
Determining the size of each pipe in the system so that the gradient of the HGL is
.002 (2 feet per 1000 feet of pipe length), and to follow this design solution with
an analysis of the system that consists of the nominal pipe sizes closes to those
computed. An economic analysis of the system is to be done based on: (a) an inter-
est rate of 12 percent for all components, (b) a life of 35 years for all components,
(c) the default costs of pipe per foot, and (d) electrical costs of $.05 per kilowatt
hour plus an initial capital investment of $800,000 to get this electrical energy.
The combined efficiency of the pumps and electrical motors is 80 percent. Note in
the input that after the RUN command, that a line gives the node and an HGL eleva-
tion. This is needed since for the analysis solution no source of supply exist, and
therefore this is a special network whose input -data must specify a node where the
HGL is known.
The output is too lengthy to include herein, but briefly consists of the follow-
i ng:
1 The design solution that gives the exact pipe sizes to meet the specified
HGL's along with the pressures, HGL, etc at all pump ~odes. The elevation.of 240
feet given in the input is the water table level from WhlCh all pumps obtaln the
water from, and therefore the heads reported represent the head that each pump must
produce.
2. The analysis solution that represents what will be achieved using the
commerically available pipe sizes. This solution gives the network design, including
the head (and flowrate) that each pump should produce.
3. The combined costs of the system both as a current Present- Worth amount,
and also as a recurring annual series for the next 35 years. Ry changing the slope
of the HGL in subsequent analyses it would be an easy task to determine the network
that would give the least overall costs.
-156-
EXAMPLE PROBLEM 17
This problem also using the special input for a tree shaped network as does the
previous problem. In this example a large irrigation system is involved. At each of
120 discharge points a flowrate of 1500 gpm is needed. These discharge points are
along 4 laterals at a spacing of 1000 feet. The other features of the design are
shown on the sketch. The problem specifications is based on the assumption that the
HGL will have the specified gradient. The solution gives information about how each
discharge point should be designed in order to have the correct flowrate leave from
that point, since the head at each node is given. Also the head that the pump must
supply is given, as well as all pipe diameters. In the economic analysis it should
be noted that the interest rate associated with the electrical energy for the pump is
12 percent, whereas tht interest rate associated with the costs of pipe is only 8
percent.
~.J'~~~0~'~'';2~~3~O~O~O~'____-:3r2~~3~0~O~0~'____~16~2~~3~O~0~0~'____9,2~
ISO.OOOgpm
30 'd18charse
potnts on each
4 of 4 10 t erals
spaced aT food
."
19
30 60
31 32 91
IRRIGATION SYSTEM
/*
SSPECIF IHGL=-2,DESIGN=1,NFLOW=1,
NPGPM=l,NOMSOL=l,ICOST=l SEND
500 -180000 310 1500 .008
1 31 -.0005 1500. 1000./
2 61 -.0005 3000 1000./
. 32 91 -.0005 3000 1000./
62 121 -.0005 3000 1000./
END
RUN
1 500
INTEREST=.12
LIFE=80
PUMP
UNIT=.l
INTEREST=.08
END
-157-
EXAMPLE PROBLEM 18
In Problem 17, the supply at node 1 is actually obtained from 3 pumps
and the piping configuration shown in the sketch below. In this problem
also increase the slope of the HGL from .0005 to .0015. The input data
now can be as g;venbelow; or if one desires the data for the 120 pipe
system of problem 17 could be entered in the usual manner with the PIPES
and NODES commands, or the PIPE- command. Note the following changes to
the input of Problem 17 have been made: 1. the added portion of the
network has been included by the usual demands, 2. the line after
the RUN command that gave a starting HGL has been removed, 3. The
demand at node 1 has been changed to zero, and 4. to satisfy the different
HGL specification the -.0005 I s have been changed to -.0015 I s.
IRRIGATION SYSTEM
370 40N-~~r~
/*
$SPECIF IHGL=-2,DESIGN=1,NFLOW=1,
~1:..:.0~00F-:-:::-~-":-~~~' [1]
)-:,-,;.=- NPGPM=l,NOMSOL=l,ICOST=l $END
125 f[122] 500 0 310 1500 .008
elev = 320'
1 31 -.0015 1500. 1000./
2 61 -.0015 3000 1000./
32 91 -.0015 3000 1000./
62 121 -.0015 3000 1000./ .
~390
END
PIPES
122 0 1 500 60 .008
123 0 1/
124 122 1 2000 0/
125 0 122 1000/
NODES
122 0 320. 503
PUMPS
122 40000 130 60000 105 90000 85 400
123 40000 130 60000 105 90000 85 390
125 40000 160 60000 135 90000 115 370
RUN
INTEREST=.12
LIFE=80
PUMP
UN IT=.l
INTEREST=.08
END
-IS8-
EXAMPLE PROBLEM 19
Ex am pI ~ Prob lern 19. This example illustrates the use of level and pressure
control algorithms.
CONTAINS LEVEL AND PRESSURE CONTROLLERS
~;PECIF NFLOW=l,NPGPM=l,NODESP=l,ISIML=l,NTRAND=-l $END
PIPES
1 58 2 50 72 110
2 2 3 3075/
3 3 4 1270 84/
4 4 5 50 48/ 31 0 326
5 2 6 4110 72/ 32 170000 305.75
6 6 5 100 78/ 33 0 205
7 4 7 120 84/ 34 0 227
8 6 7 50 48/ 35 a 320
9 5 8 9940 78/ 36 0 324.8
10 8 9 18170 84/ 37 0 260
11 9 10 2300 54/ 38 0 260
12 10 50 6 54/ 39 01
13 50 11 6 541 40 150000 259.75
14 11 12 100 '72/ 41 0 258.8
15 7 17 2100 84/ 42 0 239.
16 17 13 2030 72/ 43 0 280
17 13 14 25180 66/ 44 a I
18 14 15 53 54/ 45 160000 239.75
19 15 51 6 54/ 46 0 278.8
20 51 11 6 54/ 47 0 280
21 11 16 50 72/ 48 0 191
22 17 21 4178 84/ 49 0 242
23 59 19 59 721 50 0 296
24 19 20 4365 72/ 51 0 I
25 19 26 3825 72/ 52 0 280
26 20 22 100 84/ 53 0 I
27 20 23 50 48/ 54 0 260
28 21 23 100 84/ 55 01
29 21 22 50 48/ 56 0 3261
30 23 24 475 84/ 57 0/
31 25 24 550 84/ 58 0 78.1
32 26 25 50 84/ 59 01
33 27 25 50 48/ 60 0 205
34 26 27 25 66/ RESER
35 22 28 37560 84/ 16 294.2
36 28 29 14240 84/ 46 278.4
37 29 30 1560 72/ 41 259
38 30 57 6 72/ 36 324.79
39 57 31 6 72/ PUMPS
40 31 36 50 72/ 1 15000 435 30000 372 36000 330 94
41 31 32 100 72/ 18 15000 435 30000 372 36000 330 93
42 35 56 6 72/ 60 5000 256.2 15000 218.6 25000 155.2 200
43 56 31 6 72/ PARAL
44 34 35 1670 72/ 1 9
45 33 34 12400 78/ 2 10
45 24 42 25230 56/ 3 9 $TDATA BTIME~OtMTIME=480,INCHR=0,INCMIN=2,ISUNIT=2 NPUNOD=O LINEAR=l
47 42 49 2711 56/ ERROR NTlMEDeO~PRINT =3 $END " ,
48 39 55 5 54/ .1 PIPE TABL~
49 55 38 6 541 MINOR 20 13 21 58 62 59 49 53 50 39 43 40 1 23 4 8 22 29 27 33/
50 38 41 50 72/ 2 14.6 NODE TABLE
51 38 40 100 72 3 6.1 10 43 37 35 15 47 39 28 30 421
52 37 54 6 54/ 5 16.3 RESER. TABLE
53 54 38 6 541 24 17.6 ALL
54 28 37 703 541 25 18.6 BOTTOM
55 27 48 11937 66/ 4 2.3 END TABLES
56 48 47 13843 601 6 2.3 DATVAL
57 47 53 6 541 7 2.3 1 1 2000 3.91 3.5/
58 53 44 6 541 8 2.3 2 1 2000. 3.91 6.0/
59 44 46 50 72/ 22 2.3 LCALGO
60 44 45 100 72/ 26 2.3 21 20 13 14 1 8. 4. 16.8 .5 150000 . . 5 .5 .5 25. 28. 278./
61 43 52 6 54/ 27 2.3 o59 0 58123.51/
62 60 1 8. 4. 16.8 .5 150000 . . 5 .5 .5 25. 28. 262./
62 52 44 6 541 28 2.3
63 42 43 1787 54/ 29 2.3 o 0 9.71
64 49 39 9683 601 32 2.3 50 49 53 51 1 8. 4. 16.8 .5 150000 . . 5 .5 .5 25. 28. 242./
65 1 58 50 721 33 2.3 o 0 171.45/
66 18 59 50 721 34 2.3 40 39 43 41 1 8. 4. 16.8 .5 150000 . . 5 .5 .5 25. 28. 308.1
67 60 33 5 78/ 911 o a 148.43/
NODES 10 17 PCALGO
1 0 78.08 12 1 13 10 1 20. 2. 25. 28 . . 15 .02 2000./
2 a 78/08 13 13.657 o 0 13.66/
3 0 143. 16 .7 62 43 1 11. 2. 25. 28 . . 15 .02 2000./
4 0 140.5 17 9 o 0 16.611
5 a 139.9 18 .1 53 37 1 17. 2. 25. 28 . . 15 .02 2000./
6 0 140.2 19 5 o 0 8.061
7 0 138 20 123.511 43 35 2 11. 2. 25. 28 . 15 .02 2000./
8 a 182 35 33 O. O. 12.641
9 0 276 39 148.433 STORAGE FUNCTION
10 0 296 43 12.645 1 305. 37.5278. 01
11 0 296 46 14 11
12 160000 275.75 47 4.5 2 289. 37.5 262. 0.1
13 0 135 49 171.454 2/
14 0 276 52 2.7 3 269. 37.5 242. 0/
15 0 296 53 8.056 3/
16 0 294.8 54 5 4 335. 37.5 308. 0/
17 0 135
18 0 74.08
55 2.5
56 2.6 ~fiMP SCHEDULE
19 0 74.08 57 1 1 2 O. 9 30. 9/
20 0 140.5 58 9.699 2 2 O. 10 30. 10/
21 0 140.5 61 4 3 2 O. 9 30. 9/
22 01 62 16.606 END SIMULATION
23 01 63 1.2
24 0 1H. 64 12
25 0 141.5 VALVC
26 0 141. 1 23 12 19 62 57 52 48 42 371
27 0 141. 5 RUN
28 0 244
29 0 310
30 0 326
.159-
= EXAMPLE PROBLEM 20
This example problem illustrates the use of valves being controlled by the
commands SMINOR, RMINOR, SVALVE and RVALVE. There are several variations of the
input data that are shown below that use these command. The valve in pipe 11
can be closed to force more of the flow from the pump into pipe 2 and thus into
the reservoir more directly so that the reservoir attached to the network by pipe
4 will not supply as much flow or will fill faster during periods of lower
demands. The valve in pipe 4 can be closed also if less flow is to come from
the reservoir at the end of this pipe.
In studing the various alternative input data files that are given
associated with this example, you should note that in the first file, the minus
values for time after the command SMINOR indicate that USU-NETWK should pause
at these times and give a prompt that the user has selected to give the minor
loss coefficient for the next solution(s). Whenever such pauses occur it is
possible to request USU-NETWK to provide the flowrate(s) that currently exist
in any pipe(s), or the pressure(s) that exists at any node(s), or the water
surface elevation(s) in any reservoir(s) to help in making the decision regarding
the loss coefficient that should be given for the next time increment solution.
The same type of interaction in supplying values for the next time solution(s)
is possible for: (1) demands at nodes, (2) pump characteristics, or turning
pumps on or off, and (3) specifing flowrates in selected pipes. In all cases
it is possible to ask to have portions of the solution displayed on the screen
to assist in making decisions regarding the values to supply.
In the last input data file given below for this example network the
flowrate has been specified as a function of time with the command SQGIVE rather
than controlling the flow with a valve. The advantage of specifying flowrates
in pipes is that the solution provided values for head loss, or head increase
which are needed to achieve the specified flowrates.
3200' ......~~--t
~] (3)
10 - 9000
0
0
(2 ) CO 0
0 0
) 0
0 0 8 0
(\J
(15)
(\J
I
(16) 0(\J {I 7) I
Q)
<D I
.
~ <O~
. '?
(12) (13) fi3j (14)
8-200.0 6-2000 6-2000
0
0 0 0
0 0 0
(20 0 (21)
(\J (22) g
(\J
I <h I
<D
~4> ~
(24) (25)
3000' (23)
~
6-2000 6-2000
(I OJ
6-2000
~~ [f4J [l5J
160
3 2 3/
74 3 17 8/
CONTROL OF PUMP FLOY BY VALVE 5 8 4/
/* 6 4 5/
$SPECIF NPSERI=0,NODESP=0,ISIML=1 $END 7 5 6/
PIPES 8 6 7/
1 0 1 2000 10 .005 9 73/
2 1 2 1800/ 10 8 9/
3 2 3 9000/ 11 1 8 10/
4 3 0 1000 8/ 12 9 11 8/
5 8 4 1300/ 13 11 13 6/
6 4 5 2000/ 14 13 16/
7 5 6/ 15 11 5/
8 6 7/ 16 13 6/
9 7 3 1000/ 17 16 7 8/
10 8 9 700/ 18 18 16/
11 1 8 3000 10/ 19 9 10/
12 9 11 2000 8/ 20 11 12 6/
13 11 13 2000 6/ 21 13 14/
14 13 16/ 22 16 15/
15 11 5/ 23 10 12/
16 13 6/ 24 12 14/
17 16 7 2000 8/ 25 14 15/
18 0 16 2300/ NODES
19 9 10 2000/ 1 .5 3080 0 2700
20 11 12 2000 6/ 2 0 3080 0 4500
21 13 14/ 3 0 3150 9000 5000
22 16 15/ 4 .3 3100 3000 4000
23 10 12/ 5 .3 3100 5000 4000
24 12 14/ 6 .5 3120 7000 4000
25 14 15/ 7 .35 3140 9000 4000
NODES 8 .2 3080 3000 2700
1 .5 3080 9 .4 3070 3000 2000
2 0 3080 10 .3 3050 3000 0
3 0 3150 11 .4 3090 5000 2000
4 .3 3100 12 .35 3055 5000 0
5 .3 3100 13 .4 3100 7000 2000
6 .5 3120 14 .3 3070 7000 0
7 .35 3140 15 .35 3100 9000 0
8 .2 3080 16 .5 3130 9000 2000
9 .4 3070 17 0 3150 9000 6000
10 .3 3050 18 0 3150 11300 2000
11.43090 19 0 3070 0 2300
12 .35 3055 RESER
13 .4 3100 17 3200
14 .3 3070 18 3180
15 .35 3100 PUMPS
16 .5 3130 19 1 310 2.25 270 4 190 3000
RESER PARALLEL
4 3200 19 2/
18 3180 MINOR
PUMPS 11 10
1 1 310 2.25 270 4 190 3000 4 6
PARALLEL RUN
1 2/ $TDATA HTIME=24,INCHR=2,NPUNOD=0,ISUNIT=0,LINEAR=1
MINOR $END
11 10 DEMAND FUNCTI ON
4 6 1 2 1.2 4 1.4 6 1.2 8 .9 10 .6 15 .3 20 .8 24 1. /
RUN 1-16/
$TDATA HTIME=24,INCHR=2,PRINTT=3,ISUNIT=0, PUMP SCHEDULE
LI NEAR=1 $END 1 2 0 2 2 3 8 2 12 1 18 2/
PIPE TABLE SVALVE
1 4 I- 9 11, 18/ 114800 . . 112 O. O. 1. 6 55. 12 o. 15 50 20 90/
NOD~ t ABLE RVALVE
ALL 4 1 4800 .112 O. O. 1. 3100 80 3250 50 3300 0/
RESER. TABLE STORAGE FUNCTI ON
ALL 2 3120 0 3310 134050/
END TABLES
DEMAND FUNCTION ~/3100 0 3302 294910/
1 2 1. 2 4 1.4 6 1. 2 8 .9 10 .6 15 .3 20 .8 24 1. / 1/
1-16/ END SIMULATION
PUMP SCHEDULE
1 2 0 2 2 3 8 2 12 18 2/ In this variation of input the command PIPE
SMINOR replaces the commands PIPEs & NODEs.
11 - 2 10 -4 10 -6 10 -8 10 -10 10 -12 10 -16 10 - 20
10/ CONTROL OF PUMP FLOY BY VALVE
RMINOR /*
4 1 3100 2 3200 10 3250 50 3300 2000/ $SPECIF NODESP=0,NPSERI=O,COEFRO=.005, ISIML=1 $END
STORAGE FUNCTION PIPE-
2 3120 0 3310 134050/ 1 10. 2000. 1 .5 3080.
18/ 2 10. 1800. 1 2 O. 3080.
1 3100 0 3302 294910/ 3 10. 9000. 2 3 O. 3150.
4/ 4 8. 1000. 3
END SIMULATION 5 8. 1300. 8 4 .3 3100.
6 8. 2000. 4 5 .3 3100.
In this variation of the input 7 8. 2000. 5 6 .5 3120.
for th1s network the coord1nates 8 8. 2000. 6 7 .35 3140.
are used rather than the p1pe lengths. 9 8. 1000. 7 3
10 8. 700. 8 9 .4 3070.
CONTROL OF PUMP FLOY BY VALVE 11 10. 3000. 1 8 .2 3080.
/* 12 8. 2000. 9 11 .4 3090.
$SPECIF NODESP=1,LENGON=0,ISIML=1 $END 13 6. 2000. 11 13 .4 3100.
PIPES 14 6. 2000. 13 16 .5 3130.
1 19 1 10 .005 15 6. 2000. 11 5
2 1 2/ 16 6. 2000. 13 6
-161-
17 8. 2000. 16 7
18 8. 2300. 16
19 8. 2000. 9 10 .3 3050. STORAGE FUNCTION
20 6. 2000. 11 12 .35 3055. ~83120 0 3310 134050/
21 6. 2000. 13 14 .3 3070.
22 6. 2000. 16 15 .35 3100. 1 ~100 0 3302 294910/
23 6. 2000. 10 12 17/
END SIMULATION
~~ ~: ~888: 1~ l~
RESER
4 3200
18 3180 the fLowrate in i e 11 is
PUMPS nc Ion 0 lme ra er an
1 1 310 2.25 270 4 190 3000 1 a va ve.
PARALLEL
12/ CONTROL OF PUMP FLOW BY SPECIFYING
MINOR FLOW IN ONE LINE OF DOWNSTREAM BRANCH
11 10 /*
4 6 $SPECIF NPSERI=O,NODESP=O,ISIML=1 $END
RUN PIPES
$TDATAHTIME=24,INCHR=2,NPUNOD=O,ISUNIT=O,LINEAR=1 1 0 1 10 .005
$END 212 /
DEMAND FUNCTION 323 /
1 2 1.24 1.4 6 1.28 .9 10 .6 15 .3 20 .824 1./ 4 3 0 8/
1-16/ 5 84 /
PUMP SCHEDULE 645 /
1 2 0 2 2 3 8 2 12 1 18 2/ 7 5 6/
RVAlVE 86 7/
11 1 4800 . 112 O. O. 1.3100. 0.320055330090./ 9 7 3 1000/
10 8 9 700/
2 1 4800 .112 O. O. 1. 3100903250 7033000/ 11 1 8 3000 10/
STORAGE FUNCTION 12 9 11 2000 8/
2 3120 0 3310 134050/ 13 11 13 2000 6/
2/ 14 13 16/
1 3100 0 3302 294910/ 15 11 5/
1/ 16 13 6/
END SIMULATION 17 16 7 2000 8/
18 0 16 2300/
19 9 10 2000/
20 11 12 2000 6/
21 13 14/
In this variation the coordinates are given 22 16 15/
fOllowIng the command pIPE-. 23 10 12/
24 12 14/
CONTROL OF PUMP FLOW BY VALVE 25 14 15/
/* NODES
$SPECIF NPSERI=06COEFRO=.005~ISIML=1 1 .5 3080
NUMPIP=1,LENGON= ,NODESP=1 $tND 2 0 3080
PIPE- 3 0 3150
1 10. 2000. 19 O. 3070. O. 2300. 1 .5 3080. O. 4 .3 3100
2700. 5 .3 3100
2 10. 1800. 1 2 O. 3080. O. 4500. 6 .5 3120
3 10. 9000. 2 3 O. 3150. 9000. 5000. 7 .35 3140
4 8. 1000. 17 O. 3150. 9000. 6000. 3 8 .2 3080
5 8. 1300. 8 4 .3 3100. 3000. 4000. 9 .4 3070
6 8. 2000. 4 5 .3 3100. 5000. 4000. 10 .3 3050
7 8. 2000. 5 6 .5 3120. 7000. 4000. 11 .4 3090
8 8. 2000. 6 7 .35 3140. 9000. 4000. 12 .35 3055
9 8. 1000. 7 3 13 .4 3100
10 8. 700. 8 9 .4 3070. 3000. 2000. 14 .3 3070
11 10. 3000. 1 8 .2 3080. 3000. 2700. 15 .35 3100
12 8. 2000. 9 11 .4 3090. 5000. 2000. 16 .5 3130
13 6. 2000. 11 13 .4 3100. 7000. 2000. RESER
14 6. 2000. 13 16 .5 3130. 9000. 2000. 4 3200
15 6. 2000. 11 5 18 3180
16 6. 2000. 13 6 PUMPS
17 8. 2000. 16 7 1 1 310 2.25 270 4 190 3000
18 8. 2300. 18 O. 3150. 11300. 2000. 16 PARALLEL
19 8. 2000. 9 10 .3 3050. 3000. O. 12/
20 6. 2000. 11 12 .35 3055. 5000. O. QGIVE
21 6. 2000. 13 14 .3 3070. 7000. O. 11 2.4
22 6. 2000. 16 15 .35 3100. 9000. O. RUN
23 6. 2000. 10 12 $TDATA HTIME=24,INCHR=2,PRINTT=3,ISUNIT=0,
24 6. 2000. 12 14 LINEAR=1 $END
25 6. 2000. 14 15 PIPE TABLE
RESER 1-4~9t11/18/
17 3200 NODt ABLE
18 3180 ALL
PUMPS RESER. TABLE
19 1 310 2.25 270 4 190 3000 All
PARAllEL END TABLES
1 2/ DEMAND FUNCTION
MINOR 1 2 1.2 4 1.46 1.2 8 .9 10 .6 15 .3 20 .8 24 1./
11 10 1-16/
4 6 PUMP SCHEDULE
RUN 1 2 0 2 2 3 8 2 12 1 18 2/
$TDATA HTIME=24,INCHR=2,ISUNIT=0,lINEAR=1 $END SQGIVE
DEMAND FUNCT! ON 11 0 2.4 2 5. 4 6.5 6 5. 8 2. 10 .5 15 0 20 2 24
1 2 1.24 1.46 1.28 .9 10 .6 15 .320 .8 24 1./ 2.4/
1-16/ STORAGE FUNCTION
PUMP SCHEDULE 2 3120 0 3310 134050/
19 2 0 2 2 3 8 2 12 1 18 2/
RVAlVE 18~100 0 3302 294910/
11 1 4800 112 O. O. 1.3100. O. 320055 330090./ 4/
END SIMULATION
2 1 4800 .112 O. O. 1. 3100 90 3250 70 3300 0/
162
The special tables requested from the last alternative input data file
above are provided below. Since this solution specified flowrates in pipe 11
either a head loss or positive head may be required. The table below summarizes
these values. You might want to run this problem and verify these results.
Notice a booster pump is needed in pipe 11 for most of the time. The head from
the booster pump are needed in part of off set the high friction losses in pipe
11, which are also given in this table.
!~~~~_~!~!~~_~!!!!:~~~!~~_~~~~~_!~_f!f~_!!_~~_~~~!~~~_~~~~!!!~~_!~~~:~~~~~ ___________ _
time 0 2 4 6 8 10 12 14 16 18 20 22 24
Spec. Q 2.4 5.0 6.5 5.0 2.0 0.5 0.0 0.0 2.0 2.0 2.4 2.4 2.4
D.head -24.0 118.8 233.5 144.9 -37.6 -97.1 -86.5 -83.4 5.8 -28.6 -16.1 -20.7 -20.7
Fric.L. 19.9 82.6 138.1 82.6 14.0 1.1 0.0 0.0 14.0 14.0 19.9 19.9 19.9
16.1
EXAMPLE PROBLEM 21
The analysis illustrated in this example represents a time dependent
solution to determine how well the four reservoir shown might supply the demands
over a 24 hour period if no other sources of make up water existed during this
period of time. Valves exist in a couple of pipes to control the flows. The
first input data uses the commands SVALVE and RVALVE for schedules and rules,
respectively. that determine the openings of the valves. In the second input
data the commands SVALVC and RVALVC are used in which the given data control the
incremental change in the valves openings in which one of the parameters in the
equation is changed as a function of time and as a rule governed by a reservoir
water surface elevation, respectively.
510' 500'
8CD 8CD
(2 ~ 00 (a) ~ 00
1
-ta -,'l' , t830
(7) (8)
- 515 (I)
~~
14-800 14-1500 14- 1800
80 8
0
8
t\I
0
0
0
(4) N
t\I
I (5) ,
t\I
(6 vI (20) I
t\I
440'
600
164
20 8. 2000. 12 13 800. 340. 2 420 0 440 15. 460 30./
RESER 15/
1 515 SVALVC
2 510 14 1 4743 .115 O. O. 1. 32. O. O. -10. O. 495. 513. 14
3 500. 512 20 508/
15 440 RVALVC
MINOR 16 2 4743 .115 O. O. 1. 32. O. O. -10. O. 495. 514. 14 5
14 150. 512 506 511 508 510/
16 24.59 END SIMULATION
RUN
$TDATA HTIME=24,INCHR=1,PRINTT=3 $END
PIPE TABLE Note: the lines after SVALVE. RVALVE, SVALVC &. RVALVC shou l.;
ALL be on a single line. These lines have been split here
NODE TABLE show the input files in two columns across a page.
ALL
END TABLES
DEMAND FUNCTIONS
1 1 1.1 2 1.2 3 1.5/
1-13/
STORAGE FUNCTION
1 490 0 510 40 530 80/
1-31
2 420 0 440 15. 460 30./
151
SVALVE
14 244 .05675 a 0 1 1 15.71 2 56.29 3 90./
RVALVE
16 -9 244 .05675 a a 1 70 15.71 80 40.15
90 56.29 100 15.71/
END SIMULATION
-165.
= EXAMPLE PROBLEM 22
A new water distribution system is to be designed that will receive its
supply from a well. The points of demand are shown on the sketch below, and it
is estimated that the demand will equal 0.5 cfs at each of these 15 points. It
is proposed that a storage tank with 3.6 million gallon capacity be placed at
node 17 which is 1000 feet away from node 16. Determine the following: (a)
the locations and pipe sizes throughout the network, (b) the water surface
elevations in the tank so the tank can be properly elevated, and (c) the pump
to use.
The design process will begin by assuming a branched system such as shown
in the sketch below.
[I)
8
2 141 .5
[171
UU .5
4'TO' 460' 4/K1 1000 4
For this network the special input allowed with the option IHGL negative can be
used, and is:
START DESIGN WITH BRANCHED SYSTEM
/*
$SPECIF IHGL--2,DESIGN-1,NETPLT-10,NOMSOL-1 $END
650 -8.5 500 .5 .004
ELEV
480
1 5 .002 3000 2100 1500 1800/
ELEV
475
2 7 .002 1500 1800/
ELEV
470
2 10 .002 2100 1500 1800/
ELEV
460
8 13 .002 2100 1500 1800/
ELEV
450
11 16 .002 2100 1500 1800/
DEMAND
1.
16 17 .002 1000/
END
RUN
1 650
166
Note the option NETPLT-lO in this input tells USU-NETWK that a file should
be written with the description of this network that can be used as input for
subsequent analyses after it has been edited. It preparing the above input the
decision was that a slope of HGL equal to about 0.002 is desirable. Furthermore,
it is decided that under the average demands used in this analysis that the pump
should fill the reservoir at a rate of 1 cfs; therefore the command DEMAND with
a 1 following it is given before the pipe to node 17 is given. The commands ELEV
in the above input file give the new ground elevations for the last node in the
the series of nodes defined by the next line. USU-NETWK will determine the
elevations of the intermediate nodes by linearly interpolating these elevations.
The solution, which is not given here gives the pipe sizes that can be used.
This solution also indicates the water surface elevation of 620.77' is desirable
under average demand; so the bottom and top of the tank are placed at 615' and
625' respectively.
The file written by USU-NETWK has been edited by adding minimum diameter
pipes of 6 inches to give the looped system shown below.
til
(17)
6-2100
5J.5 __
l_17_l--l820.77
21 .5 (22)
480 8-2100 4715 . 8-2100
This input data file, which includes the option to do a time-dependent analysis
is as follows. (In this file you can see the additional 6 inch pipes that have
been added, but these lines of added data have been placed in the appropriate
columns so the option NETPLT-13 can be used to read a formatted input data file.
Also the time-dependent data has been added.)
-167-
~
7 2 8 2100.0 18.00 .00400
8 8 9 1500.0 10.00 .00400
9 9 10 1800.0 6.00 .00400
10 8 11 2100.0 15.00 .00400
11 11 12 1500.0 10.00 .00400
12 12 13 1800.0 6.00 .00400
13 11 14 2100.0 12.00 .00400
14 14 15 1500.0 12.00 .00400
15 15 16 1800.0 10.00 .00400
16 16 17 1000.0 10.00 .00400
17 4 6 2100. 6. .004
18 6 9 2100. 6. .004
19 9 12 2100. 6. .004
20 12 15 2100. 6. .004
21 5 7 2100. 6. .004
22 7 10 2100. 6. .004
23 10 13 2100. 6. .004
24 13 16 2100. 6. .004
NODES
1 0.0 500.00 150.00
2 .500 495.00 148.40
3 .500 490.00 147.87
4 .500 485.00 151.02
5 .500 480.00 148.32
6 .500 485.00 156.55
7 .500 475.00 158.86
8 .500 486.67 153.32
9 .500 478.33 159.80
10 .500 470.00 160.43
11 .500 477.78 157.55
12 .500 468.89 164.59
13 .500 460.00 165.78
14 .500 468.52 160.97
15 .500 459.26 167.49
16 .500 450.00 172.00
17 0.000 450.00 170.77
RESER
1 520.
17 620.77
DHEAD
1 130 16 1 622
RUN
$TDATA DTIME-1,INCHR-1,ISUNIT=2,NPUNOD-1,LINEAR-1,PRINTT-2 $END
PIPE TABLE
1 2 15 16 24/
END TABLES
STORAGE FUNCTION
1 615 0 620 1.8 625 3.6/
17/
DEMAND FUNCTIONS
1 0 1. 4 1.5 8 2.2 12 1.4 16 1.0 20 .5 24 1./
2-10/
1 0 1. 6 1.5 12 1.1 16 .7 20 1. 24 1./
11-16/
~168-
HGLSET
16 0 622. 4 618 8 612. 12 614 16 620. 20 624. 24 622./
END SIMULATION
A curve fit of the data giving the f10wrate in pipe 1 as the absissa, and
the pump head provides a desired pump curve for this network.
-169-
EXAMPLE PROBLEM 23
For this example network assume that an unknown discharge is occurring from
node 6, and that the pressure is being periodically measured at node 4. The
performance of the network is to be simulated over a 24 hours period of time in
1 hour increments. The pressure at node 4 produces a HGL elevation of 92.31
feet at the beginning of the period, and then decreased to an HGL elevation of
60.2 feet at 12 hours, and then increases again to 92.0 feet at 24 hours.
Two alternatives of input data files are given below the sketch of the
network. The second uses x y coordinates rather than pipe lengths, and special
tables are requested, and these are given on the following pages .
.~ (I!~,2048.!5) (8)
(EI -1000
~"92.31'
(2)
8-1000
e levot'lon "0'
-171-
EXAMPLE PROBLEM 24
Three variations of this example problem are given. In the
first a piping system has developed a leak in the vicinity of node
3. A pressure measurement at node 2 indicates a pressure of 30
psi. How much flow is discharging from the leak? It is assume
that this system has been previously modelled and verified so that
the computer does accurately describe its performance.
~~:::-15CXJ01
o.
C2} 1.0
8-3000
o.
CJ)
0)=
1-
8 (10)' 4
EXAMPLE OF DETERMINING LOSS OF v.'S;.I~~_ _. --8.l!.-':::'4:-:00:-::-0:---~
FLOW FROM A LEAK BASED ON A
PRESSURE MEASUREMENT. AND KNOWN 0.55
CONDITIONS IN THE NETWORK.
/* $SPECIF NPRINT=-l $END
$SPECIF NPRINT=10,COEFRO=.004 $END
PIPE- PIPES
1 10. 1000. 1 .3 4950. 1 0 1 1000 10 .004
2 8. 3000. 1 2 1. 4920. 2 1 2 3000 8/
3 8. 2000. 1 5 1.2 4950. 3 1 5 2000 8/
4 8. 2000. 5 6 .55 4970. 4 5 6 2000 8/
5 6. 2000. 5 2 5 5 2 2000 6/
6 6. 3000. 2 3 6 2 3 3000/
7 6. 1000. 3 4850. 7 0 3 1000/
8 6. 3000. 2 4 .85 4900. 8 2 4 3000/
9 6. 1500. 4 3 9 4 3 1500/
10 8. 4000. 6 4 10 6 4 4000 8/
11 8. 600. 6 11 0 6 600/
SETPRES NODES
2 3 7 30. 1 .3 4950
PUMPS 2 1 4920
1 2 50 3 45 4 30 5000 3 0 4850
RESER 4 .85 4900
7 4900 5 1. 2 4920
11 5100 6 .55 4970
VALVE
9 750 4900
RUN
-172-
In this variation of the problem it is desirable to determine
what head and flowrate the pump should supply so that under the
demands given in the sketck below the reservoir attached to the
network by pipe 7 is neither filling or supplying any flow to the
network. The differential head command DHEAD is an effective means
for determining the required pump output because it allows the
pressure, or head, at a node to be specified, and the solution
provides the head required somewhere else in the network. For this
problem the HGL elevation at node 3 is specified equal to the water
surface elevation of the reservoir attached to the network by pipe
7, and therefore no flow will pass through pipe 7. The pump has
been replaced in the input data by a reservoir, so that the
reported differential head will be the head that the pump must
supply. If the pump were retained it would be necessary to add the
head produce by the pump to the reported differential head for the
DHEAD device.
(2)
8-3000
(10)
8-4000
0.55
EXAMPLE OF DETERMINING THE HEAD
A PUMP MUST PRODUCE SO THAT A
RESERVOIR NEITHER SUPPLIES OR
RECEIVES WATER.
/*
$SPECIF NPRINT=-1,COEFRO=.004 $END $SPECIF NPRINT--1 $END
PIPE- PIPES
1 10. 1000. 1 .3 4950. 1 0 1 1000 10 .004
2 8. 3000. 1 2 1. 4920. 2 1 2 3000 8/
3 8. 2000. 1 5 1.2 4950. 3 1 5 2000 8/
4 8. 2000. 5 6 .55 4970. 4 5 6 2000 8/
5 6. 2000. 5 2 5 5 2 2000 6/
6 6. 3000. 2 3 6 2 3 3000/
7 6. 1000. 3 1.5 4850. 7 0 3 1000/
8 6. 3000. 2 4 .85 4900. 8 2 4 3000/
9 6. 1500. 4 3 9 4 3 1500/
10 8. 4000. 6 4 10 6 4 4000 8/
11 8. 600. 6 11 0 6 600/
RESER NODES
1 5000 1 .3 4950
7 4900 2 1 4920
11 5100 3 1. 5 4850
VALVE 4 .85 4900
9 750 4900 5 1. 2 4920
DHEAD 6 .55 4970
1 50 3 1 4900
RUN -173-
The third variation of this problem illustra.tes how the
pressure setting of a PRY might be determined to limit the flow
into the reservoir attached to the network by pipe 7 to 0.8 cfs
under the demands and pump given in the sketch below. The
differential head command DHEAD is well suited for this type of
problem also. with its use the flow at the end of pipe 7 is
specified equal to 0.8 cfs, the reservoir is removed and the head
at node 7 at the end of pipe 7 is specified equal to 4900 feet, the
elevation of the water surface in the reservoir.
(2)
8-3000
-174-
EXAMPLE PROBLEM 25
In this example problem it is desired that pipes that do not have loops through them be sized
to give a velocity of 5 fps in them. The data for the initial "run" will contain the option
DESIGN-5, requesting that USU-NETWK indicate which pipe diameters should be given in the input
data, and which pipes should have the velocity specified. The first column given below the figure
is for this initial "run. After obtaining the list of pipe through which no loops pass it is
It
decided that pipes 1, 14 and 15 should have diameters of 14, 4 and 4 inches, respectively.
Therefore in the input data in the second column given below these diameters have a minus sign
in front of them to tell USU-NETWK that these are diameters, and not flow velocities. Note in
the second column of input data that the option NOMSOL-IO is given indicating that a follow on
solution should be obtained in which the computed diameters should be replaced by the next larger
standard pipe size that are in USU-NETWK default list of standard pipe sizes, since NOMDIA is not
included in the $SPEGIF list .
.5
.6 .3
(6)
8-3000 [12]1000
.4 .5 .3
$90 (7)
8-2500
0
(9) 0.n
~
.3
{9] .3
"'';>0
.3
.3
{1l1
510
SIZING PIPES TO GIVE SPECIFIED VELOCITIES SIZING PIPES TO GIVE SPECIFIED VELOCITIES
/" /*
$SPECIF DESIGN-5.NODESP-1 SEND SSPECIF NOMSOL-I0,DESIGN-4 NODESP-I SEND
PIPES PIPES
1 1 2 2200 5 .005 1 1 2 2200 -14 . 005
2 2 3 2000/ 2 2 3 2000 81
3 3 4 1500/ 3 3 4 1500 51
4 4 5 1500/ 4 4 5 1500 51
5 5 6 1500/ 5 5 6 1500 51
6 2 1 3000/ 6 2 7 3000 61
1 3 6 2500/ 7 3 8 2500 6/
8 1 8 2500/ 6 1 6 2500 6/
9 8 II 1500/ 9 8 \I 1500 5/
10 9 10 1500/ 10 \I 10 1500 5/
11 10 11 1500/ 11 10 11 1500 51
12 7 12 1000/ 12 7 12 1000 5/
13 12 14 1000/ 13 12 14 1000 5/
14 8 13 1000/ 14 8 13 1000 -4/
15 13 15 1000J 15 13 15 1000 -4/
NODES NODES
1 0 600 1 0 600
2 .5 550 2 .5 550
3 .4 530 3 .4 530
4 .3 520 4 .3 520
5 .3 510 5 .3 510
6 .3 500 6 .3 500
1 .6 540 1 .6 540
8 .5 540 8 .5 540
9 .3 530 9 .3 530
10 .3 520 10 .3 520
11 .3 510 11 .3 510
12 .3 530 12 .3 530
13 .3 530 13 .3 530
14 .2 530 U .2 530
15 .2 530 15 .2 530
PUMPS PtIMPS
1 " 100 8 94' 8 '85 590 1 4 100 8 94 8 85 590
RUN RUN
-175-
The output f~om the problem on the previous page is given below. The first
~un ~opresents the results from a preliminary "run" in which USU-NETWK is told
:0Information
detennlnc which pipe have loops passing through them. Based on this
the data in the second column of the previous page was prepared, and
the other output results from this executio~ of USU-NETWK.
!lODE DATA,
NODE DEMAlID BGL
PRELIMINARY PROBLEM TO fINO PIPES WITH LOOPS
ALL DEMAND PLOWS ARE MULTIPLIED BY 1. 0000
. __ ~C!: ____ !::~~ ______ !~~~ _____ :~:~______ ~~~ _____ ~~~~ ______ ~~
1 -4.800 -2154.38 600. -10.00 -4.33 590.00
15 2 .500 224.41 550. 121.76 55.31 677.18
15 3 .400 179.53 530. 110.48 47.81 640.48
1 4 .300 134.65 520. 96.54 41.83 616.54
o 5 .300 134.65 510. 76.22 33.03 586.22
o 6 .300 134.65 500. 40.18 11.67 540.78
M NOR 0 7 .600 269.30 540. 97.42 42.22 637.42
PRVS 0 8 .500 224.41 540. 90.10 39.04 630.10
1I0ZZLES 0 9 .300 134.65 530. 76.16 33.00 606.16
CHECK VALVES 0 10 .300 134.65 520. 55.84 24.20 575.84
BACK PRES V. 0 11 .300 134.65 510. 20.41 8.84 530.41
DIF. HEAD DEV 0 12 .300 134.65 530. 84.94 36.81 614.94
SPECIFIED Q 0 13 .300 134.65 530. 68.17 29.80 598.77
14 .200 89.77 530. 46.51 20.18 576.57
- ---- --------_ ........ ------------ -------.--------- --"'_ ... _-
FLOW FRCl FUMPS AND RESERVOIRS EQUALS 4.60 15 .200 89.77 530. 63.03 27.31 593.03
-- -------------
AV. HEADa 69.67 AV. MGL- 601.00 Mi\X HEAD~ 121.78 MIN HEAD- -10.00
3 5
~s!O F~:i.~ICliJ~* AL~/~~iS&wATTS.
10 11 12 13 14 15 L 599.8511 KI--'HRS/DA'l
ENERGY LOSS-
PIPE READ FLOW HORSEPOWER KILOWATTS KWATT-I!RS/DAY
176
APPENDIX A
LOOPSR: The number of real loops in the
network. This value is not.
AD alternate form of data input is descnDed in provided generally when the
this appendix. Originally this form of input was form of input described in this
described in a Users Manual for the computer appendix is used but is neces-
programs NETNEW and NETLIN. The program sary when the alternate input
NEWTH was later expanded to provide the capability described in Appendix B is
to simuJate a network through time and was also given used.
the capability to handle the data initially required by
NETNEW as well. Now the version of NEWTH LOOPSS: The number of pseudo loops in
without time simuJation capabilities will also allow this network. This value is not
form of input. provided generally when the
form of input desenDed in this
The change data and the time simuJation data are appendix is used, but is neces-
identical regardless of whether this alternate form or sary when the alternate input
the form described in the body of the manual is used. described in Appendix B is
Only the original network data is in a different form. used.
Instead of entering data of a given type by a command The number of pipes containing
MINOR:
name this form of data must be entered in the order devices which result in signifi-
listed below. All records are free format. In describing cant minor losses. (default.
the input and its sequence separate card numbers will MINOR =0).
be listed. Many of these so-ealled cards, and for large
networks most of these so-ealled cards, will consist of The number of pumps in the
NPUMP:
several records of data. Also card numbers preceded network. This number includes
by an must be omitted if the network has no device the source pumps as well as the
of this type. booster pumps (default,
NPUMP = 0). -
To select this form of input instead of the form
described in the body of the manual. The parameter NBPUMP: The number of these pumps
INPUT A in the SSPECIF list must be set equal to 1. (i.e.. these given by NPUMP)
which one booster pumps, i.e.,
Card No.1 do not supply the network, but
rather increase the pressure in a
Is identical to that described in the body of the
manual; namely, it is the title card.
line. (default NBPUMP = 0).
A-l
NPARAL: The number of pumping stations The following cards give the input data describing
given by NPUMP which contain the detailed information for the computer program to
2 or more identical pumps determine precisely what the network is composed of. '
operating in parallel (default This information under this alternate form of input is
NPARAL =0). not entered by a description command name as is doDe
by the input data described in the body of the manual.
NPPOWE: Is a parameter which must be Rather the data must be entered in the sequence
set to 1 if pump characteristics given. Any redundant record, or a missing record will
are specified by giving the provide erroneous data for subsequent network
power they supply to the fluid componenta and will most generally result in
rather than giving three points termination because the number of data given will not,
of Q versus H along the pump correspond to the number required. The sequential
curves (default NPPOWE = 0). order of input data is identified below by card
numbers. It is helpful to keep the following order of
NPSERR: Allows pumping stations to be network devices in mind in following this sequence:
referenced by the pump number (1) reservoirs. (2) nozzles, (3) pumps. (4) pressure
(i.e., sequence number of the reduction valves, (5) minor losses, (6) checll: valves,
pump input data). or the pipe or and (7) pipe and node data. Several records are
node number used to identify required for most of these devices. If none of that
that station for purposes of particular device is present in the network, all sueh
denoting pumps operating in records (or cards) are not given. The program expects
series or paral1el. If NP8ERR = to read the data for that device or not read the data for
o (default) then such reference that device based upon whether any of them exist or
is by pump number; if NPSERR not are given in the list under $A8PECI (card no. 3).
= 1. then such reference is by The exception to this rule is that pipe and node data
other identification. will always be expected whether NPIPE is given a
value or not. The data requested under any card (with
NOZDIA: Allows the size of the orifice or the exception of the pipe and node data) can spill over
nozzle outlets to be specified onto as many cards as needed. One or more blanks. or
according to NOZDIA: a comma which may be followed by blanks, separate
the individual data items. If one too few data items are
= 0, then outlet area in square given, the next card will be read with a message that
feet or square meters is given too many data items are provided if more than ODe
respectively whether E8 or SI item exists on that card.
units are used. >II Cud No. 4- Reservoir Information
= 1, then outlet area is given as (This card does not exist if default NRE8 = 0 is
used.) The pipe numbers (integers without decimal
a diameter in inches (cannot be
used with 81 units). points) which connect each reservoir (or tank) to the
network. If NODESP = 1 is set in $8PECIF, these
= 2, then outlet area is given in numbers are the node numbers defining the source of
feet or meters depending upon reservoir supply instead of the pipe numbers.
whether ES or 81 units are used
respectively (default NOZDIA oil Card No. 5- Reservoir Information
= 0).
lDoes not exist if default NRE8 = 0 is used.) The
NOZHGL: Allows an estimate of the HGL elevations of the liquid surface in the reservoirs (or
immediately upstream from tanks) in the same sequence as listed on the previous
nozzles or orifices to be sup- =
card. If ES units are used (NUNIT = 0, or 1), these
plied. If NOZHGL elevations are in feet, if 81 units are used (NUNIT
2, or= 3), these elevations are in meters.
=
= 0, such estimates are re-
quired; oil Cud No. 6-This and the next four cards are for
nozzles.
= I, no such estimates are
needed, and the program gener- =
(Does not exist if NOZZLE 0 is used.) The pipe
ates an estimate internally to numbers which contain the nozz1es at the end. These
start the solution (default nozzles iiseharge fluid to the atmosphere. If NODE8P
NOZHGL 0).= = 1. then these numbers are the nodes rather than
the pipe numbers.
A-2
upstream from the nozzle. This HGL equals the NPARAL. U only one pump exists or if the given
elevation of the nozzle plus the pressure head. pi in characteristics reDeet the pumps in parallel. this card
the pipe at the nozzle. U NOZHGL = 1 is set in the should not be included, but may be if the number of
namelist. then this record or card is not given. parallel pumps is specified as 1.
*Card No. 8
"'Card No. If-Pump Information (one card for each
(Does not exist if NOZZLE = 0 is used.) The pump)
diseharge coefficients of the nozzles or orifices. For an
orifiee. this value is approximately equal to 0.6. (Does not exist if default NPUMP = 0 is used.)
For each pump in the network, a separate card is
*CardN.. 9 required defining the pump characteristic curve and
the elevation of the liquid surface from which the
(Does not exist if NOZZLE = 0 is used.) The supply is obtained. For booster pumps the elevation
cross-sectional areas of the nozzles or these diameters must be punched as 0.0. '!'be pump characteristics are
according to NOZDIA in the NAMEUST. These areas defined by one of two methods according to whether
are given in the basic units, Le., square feet if ES NPPOWE = 0, or = 1. H NPPOWE = O. then these
units are used or square meters if SI units are used. or characteristics are defined by three pair of Dow rate
if diameters are selected according to the description versus bead produced by the pump. These pair of
under NOZDIA. values can he taken from a pump curve giving the
head the pump produces as a function of the Dow rate.
These points cannot all lie on a straight line, and the
*Card No. 10 middle point should be taken as the normal capacity
(highest efficiency) of the pump unless knowledge
(Does not exist of NOZZLE = 0 is used.) The exists that the pump is not operating near its normal
elevations of the nozzles. If NODESP = 1 this card capacity.
does not exist; rather the elevations are given on the
pipe node cards given below. If NPPOWE = I, then these characteristics are
defined by the power supplied the Duid by the pump in
"Card No. ll-Pump Information horsepower or kilowatts, depending upon whether ES
or SI units are used respectively. and the normal
(Does not exist if default NPUMP = 0 is used.) capacity (Dow rate of m.u:imum efficiency) of the
The pipe numbers which contain pumps. The pipe pump. The power supplied the fluid is the pump brake
number in which booster pumps exist must be listed power times the pump efficiency. The normal capacity
after those which supply the network from wells or is in efs or mSIs depending upon whether ES or SI
reservoirs, i.e.. booster pumps come after the last units are used. If NPGPM = I, the flow rates are in
source pumps. If NODESP = I, then the node gpm for either option if ES units are used. In
numbers instead of pipe numbers are given. summary, if NPPOWE = O. (the default), then each
such pump card contains:
"Card No. 12-Pump Information
elevation of supply surfa.ee
(Does not exist if default NPUMP =0 is used or if
none ,of the pumping stations (either source pumps or H NPPOWE =I, then each such pump card contains:
booster pumps) have a second or more pumps in
series. i.e., NPSERI =
0.) Power (HP or watts),Qn (normal eapacitY),elevation of
supply surface
The pipe number (or station designation-see
NPSERR) and the number of pumps in series as pairs "Card No.IS-PRV Information
of numbers. The number of such pairs equals
NPSERl. U only one pump exists or if the given (Does not exist if default NVALVE = 0 is used.)
characteristics refleet the series pumps, this card The pipe numbers which contains the pressure
should not be included. but may be if the number of reducing valves, PRY's.
series pumps are specified as 1.
"Card No.16-PRV Information
"Card No. 13-Pump Information
(Does not exist if default NV ALUE =0 is used.)
(Does not exist if default NPUMP = 0 is used or if The distances from the 'beginning of the pipe to the
none of the pumping stations (either source pumps or PRY's.
booster pumps) have a second. or more. pumps in
parallel. i.e . NPARAL = 0.) '" Card No.17-PRV Information
The pipe number (or station designation-see (Does not exist if default NVALUE =
0 is used.)
NPSERR) and the number of pumps in parallel as The elevations of the HGL immediately downstream
pairs of numbers. The number of such pairs equals from the PRV's.
A-3
Card No. 18-BPV Information of the network. The order of the individual data items
=
(Does not exist if default NBPV 0 is used.) The on this card are described in the body of the report
under the command name PIPE-node used to enter
= pipe numbers whieh eontain the baek pressure values,
data. That is aU items are as deseribed there with the
BPVs.
exception that the name PIPE- is not given. However,
Card No. 19-BPV Information this sequence of data records is terminated with the
word END.
(Does not exist. if default NBPV =
0 is used.) The
The order of each pipe node data record is: (1)
distances from tbe BPY's to the doWJUJtream node of
the pipe which cootains the BPV. pipe number. (2) pipe diameter, (3) pipe length, (4)
pipe roughness. (5) upstream node number. (6)
-card No. 2O-BPV Information demand at upstream node, (7) downstream node
number. (8) demand at downstream node, and (9) the
(Does not exist. if default NBPV = 0 is used.) The elevation of the downstream node. Many of these
elevation of the HGL immediately upstream from the items can be omitted from any record as deseribed
BPY's that constitute the values setting. If NPRPRV earlier in the paragraphs under PIPE-node.
= 1 then in place of the HGL elevation the pressure is
For special networks data may follow card
given.
number 24. For instance a network with no source of
Card No. l1-Minor Loss Information supply require the elevation of the HGL at a beginning
node as described in body of report. Also if options
(Does not exist if MINOR = 0 is used.) The
number of the pipes which contain the minor loss
LOOPSE =
1. or NPERCT = 1, the data required by
these options must follow card number 21. In addition
devices. changes to basic network follow for separate alternate
analyses.
Card No. 22-Minor Loss Information
'i7
1- 1- I - 800
0
- - - - - - - - - - - - ~l- -------------:
- P (9) I Example Problem in Figure A-l.
I f*
I $SPEClF INPUTA =1 $END
I
$ASPECI NPIPE = 9. NPUMP = 1. NRES = 1
SEND
I
I
I :00 . ) :::::
I 1 5. 150. 7. 135. 9. 100. 800.
r---"---,- 900 -_.
1 12. 2000. .012 1 2 1.- 800.
2 10. 1500. .011 2 3 1. 810.
3 12. 2000. .012 4 1.5 3
4 14. 1500. .013 1 2.0 4 780.
5 10. 2000. .011 2 5 1.5 810.
6 8. 1500. .014 6 1.5 5
7 12. 2000. .012 6 3
1.5 ct. '1.0 efa 1.5 efs 8 12. 1500. .012 6 830
( l denotes pipes 9 14. 1500. .013 1 790
12" pipes": e =.012" END
( ) denotes junctions 14" pipes - e =.013/1 ,
d denotes loops 10" plpes- e " .011"
8" pipes - e ... 014"
A-4
Example A-2 and Example A-3. to its left. A slightly larger example is given in
Another small network, consisting of 10 Figure A-3 with the accompanying input data. In
pipes is given in Figure A-t, and the input Appendix B there arc other examples in which the
utilizing that described in this Appendix A is given input described in this Appendix A is utilized.
- .- 108(1'
00
/21 8"1000'
12"1500'
(I) (2)
"0
(14) 26 27 25
(16)
8
!!:
;.;,
5.568
2.004
4.009
1 12.
455.97 7.0156 455.81 7.795 455. 9l0.
286.5 2.3385 284.25 3.341 277. 1080.
182. 4.454 180. 4.9 177. O.
0
2 8. 1. 130. 3 2
8"1100' 3 10. 1.2 120. 3 4 500. 1057.
/71 (6) 400 4 10. 2.0 120. 5 4
5 8. 2.8 120. 5 6 400. 1047.
6 8. 1.1 120. 7 6
7 8. 1. 120. 8 7 1025.
8 8. 2.5 120. 9 600. 8 1011.
9 8. .811 100. 1 9 987.
10 6. 1.3 100. 9 10 1015.
11 6. 1. 100. 10 11 700. 1030.
12 6. 1.1 130. 12 11
13 6. 1. 130. 5 12 1051.
600
14 6. 1.8 120. 10 8
400 1.1 120. 2 10
15 6.
16 6. 1.8 120. 11 7
17 10. 1.2 130. 11 3 1038.
18 6. 1.8 120. 6 12
116)
19 6. 1.3 120. 4 12
20 8. 1. 130. 13 500. 14 1085.
21 8. l.2 120. 13 15 400. 1075.
22 8. 1.1 120 . 14 16 500. 1110.
Fill'U .... A3 23 8. 1.1 120. 15 16
24 6. 1.8 120. 14 600. 15
25 12. 1.5 130. 8 13 1100.
26 20. 5 HO 1 990.
27 20. 5 HO 5 1080.
28 12. 2.5 120. 6 14
END
A-5
A-6
APPENDIX B
1 is also set these node numbers follow the pipe
numbers. The only effect of setting NOSEQN = 1 is in
This appendix describes a possible form of input the printed numbers in the output tables.
data that is node oriented rather than pipe oriented.
This node oriented form is also referred to as the third mpatData
form of input with the form in Appendix A eaIled the
second form. Communication is provided to the
program that this form of input data is selected by Input data is identical to that desenDed in
Appendix A from Card No. 1 through Card No. 23
setting INPUTA = 2 or 8 in the $SPECIF list of
The only exception is Card No. 2 should contain
parameters. This form of input is a variatioD of that
desenDed in Appendix A; that is all data is identical to INPUTA =2. or 8. .
that described in Appendix A with the exception that
the information desenDed under Card No. 24 which In plaee of the pipe-node data, Card No. 24, the
contains tbe pipe-node data is different. That is following data is required.
auxiliary items to the pipes such as reservoirs, pumps,
ete. are entered as in Appendix A. This node oriented Card No. Z4
alternate form of input was originally the form
desenDed as the alternate form in the users manual for The diameters of the pipes listed in the same
the computer programs-NETNEW and NETLTIN. order as they are numbered throughout the network.
No numbers may be omitted in the pipe numbering
In using this third possible form of input sequence.
which is basieally oriented around the nodes of the
network rather than the pipes of the network it is Card No. Z5
possible to either let the program find the loops (both
corrective Dow rate and the different set of energy The lengths of the pipes listed in the same order
loops which are necessary if PRY's or BPV are as they are numbered throughout the network.
present) internally or to provide data which define
these loops. H INPUT A = 3 the loops will be Card No. Z6
=
determined internally. If INPUTA 2 it is necessary
The wall roughness, e, of the pipes listed in the
to provide data defining these loops as described in
card group No. 28 and 30 below. That is by reading in same order as they are numbered throughout the
loop data the algorithms used in the program to define network. or the HazenWilliams c or Manning n
loops of the network are bypassed. Consequently equations. HHazenWilliams or Manning's equation is
using INPUTA = 2 will result in a slight reduction in used. this must be communicated in the $SPECIF list
by NHAZEN = 1 or 5 respectively.
the amount of computer time needed for a solution, at
the expense of additional data on your part. Use of this
input does allow you as a user to exercise your best Card No. %7
judgment in defining the network so that loops contain
the fewest possible number of pipes which may allow (In this group there must be a card for each
the Jacobian to be placed in a smaller band width. junction of the network given in the ssme order as the
(Some control of this is permitted in the other modes junctions are numbered.) Each of these cards contains
of input by ordering source pumps and reservoirs the external flow at the junction first, and thereafter
=
properly, or using the option WOPSE 1.) The main
advabtage of using INPUT A = 2 occurs only if the
the pipe numbers. which meet at that junction. If the
assumed direction of Dow is into the junction, a minus
program for some reason is unable to properly define sign precedes the pipe number. Blanks are not
the network's loops. permitted between the minus sign and the number.
In this third fonn of data the pipe numbers are If NELEV = 0 is set in the $SPECIF list, then the
taken consecutively in the order in which the data is format of this card contains the elevation of the
=
entered, i.e. The same as if NUMPIP 1 (number of funetion immediately following the external flow or
pipes is omitted) is set in main fonn of input, unless demand at the junction. That is the format of the card
this default is overridden. Since. however, pipe becomes demand. elevation. list of pipes that join at
numbers are required to define loops it is necessary junetion.
that pipes be numbered consecutively without pipe
numbers omitted in the default node. If pipe numbers If NELEV = 0 Card No. 29 does not exist since the
are not omitted i.e .. all consecutive numbers are not junction elevations have already been given.
included, it is necessary to add the parameter
NOSEQP = 1 to the $ASPECI list. If the option These records are the basic data from which the
NOSEQP = 1 is set. then before Card No. 24 listed program is able to determine the topology and
below the pipe numbers must be listed on a record. connectivity of the network. In preparing the data the
user goes to each node of the network and notes the
. If nodes are not numbered consecutively then the pipe numbers that join at that node. A node number is
parameter NOSEQN = 1 must be set in the'SASPECI not actually given here however, under the assump-
list. When NOSEQN = 1. then the node numbers are tion that the nodes are numbered consecutive in the
read in before Card No. 24 listed below.If ~OSEQP = order in which the data is entered without any missing
B-1
node numbers. Should this DOt be the cue NOSEQN
= 1 must occur in the $ASPECI u.t and the number
actual DOCIe number entered .. data before Card No. '
U above as deseribed earlier.
~ ~2.
16.
16. 1.45
SO.
0.
} PUlOpS
8~. } Pl!.V
65.
I~. ) ..illor loss
12. 10. 6. 10. 8. 8. } d 1a:oetoers
2.5 2. 1.2 1.5 .5 1.5 } l.o.gths (1000 ft)
.0102 .0102 0102 .0102 .0102 .0102 } c:oefficiellts
1.2 -1 3 2
.95 -2 4 6
-5 } j ....c:Uon d"t"
1.5 -6
2. -3 -4
5 -2 -I )
-See book M ADaIy" 01 Flow in Pipe Netwwk- for 2 4 -3 eornc:t1v" flov rat. loops
uplanatioD of differeoee betweeD eorreetive Dow rate Joop.. u.rd 10. 60. 150. .50 } "lev. of nodes
25. ud ene1'lD' loops. card 21. 2 0 } ......er of p.eudo and re.l .lIergy loop.
5
4
-%
-3 -~ -5) -qy 1_
B-2
-~
If this same 6 pipe network were to be
analyzed using the data input. desc ribed in
Appendix A the input data would be:
SIMPLE NETWORK USED TO ILLUSTRATE ALTERNATE INPUT A.
1*
~SPECIF Ill'PllTA-l. lIPLENG-I $E!ID
$ASPECI lIPIPE-6.NRES-I.NPUMP-2.NBPUHP-I.NVALVE-1.
lIPPOWE-I.MINOR-I.lIPARAL-1 $E:lID
5
100. ) reseTVoir
1 6
1
16.
16.
2
2.
1.45
5~} pumps 80. 77. s. 72.
4
800.
65.
} PRV
) II1Dor lou
2
10. ) nnor pipe ftUlllbere
nodes Dumber.
1 12. 2.5 1 1.2 diameters
2
3
10.
6.
2.0
1.2
1
1
2
4
95
2.
roO}
60
50. pipe &
4 10. 1.5 2 4 nodltSd.ata
5 8. 5 2
6
END
8. 1.5
} node. or
junction data
}
body of this users manual the network of
Figure B-1 would be analyzed by: corrective flovrate
loops
SIMPLE NETWORK USED TO ILLUSTRATE STANDARD INPUT.
1*
SSPECIF lIPLENC-I, lIPSERI-O $E!o1)
RESER no.. of pseudo and real loops
5 100.
PUMPS -7 } energy loops
1 16. 2. 50./ -5
BPOMP -3
6 16. 1.45 0./
PARAL
1 2/ In solving this network it would not have
VALVE
4 800. 65. been necessary to set NOSEQP = 1 and NOSEQP ..
MI:iOR 1, but if this had not been done the data
2 10. starting with pipe diameters would have needed
PIPES
1 0 1 2.5 12./ to be entered in the same order as the pipe
2 I 2 2. 10./ are numbered. Likewise the node data would
3 I 4 1.2 6./ have to be entered in the order to the node
4 2 4 1.5 10./ numbering.
5 0 2 .95 8./
6 2 3 1.5 8./
NODES As a third example of input data for
1 1.2 70. example number 2 of the body of the report is
2 ~95 60. given below.
3 1.5 ISO.
4 2.0 50. EXAMPLE NO. 2 USING INPUT ALTERNATIVE B
RU:; /*
$SPECIF liPLOW-l.IlIPUTA"Z,NHAZEN-l $END
The final summary tables of the solution $ASPECI NPIPE-9,NODES-6,NRES-2.NCKVAL-3.LOOPSS-I.
LOOPSR-2 $END
for the network of Figure B-1 are given
below:
------
PII'E HODES
----------_. --------------
FLOII lie AD liLOSS 1 9
NO. f"ROIi TO LtNGTH DUll eoa- /lATE VELOCITy LOSS '1000 100. 120. ) reservoirs
3 7 6 check valves
1 0 1 2500. 12.0 OlllZ 00 1.,H 5.0& 1,.5. 7.82 8. 8. 8. 6. 6. 6. 8. 8. 8. diameter
..
2 1 2 2-23. 111.11 .Dl.I~ 00 1''''2 2.7Q 7.15 2.95
3 1 1200. G.O .Dl~CD 102SZ G .Sl ]G.az 30.68 500. 500. 500. 1500. 2000. 2500. 2500. 1500. 500.
.. 2 lSDO. 1O.D 01(1:1 DO .718 1.32 1.09 .73 130. 1l0. 130. 130. 130. 130. 130. 130. 130. coeffs.
,
J~"'~'"
5 D 2 500. a.o .DICZOO 1.&76- Q .80 5.n 11.6' 0 -1 2
2 3 1500. a.o .010:00 1.500 " .30 10.11 , ... 0 200. -2 3
NCOE !)"'A. 200. -3 -8
150. -4 -5
IIOOE OEIIAHlI HGt. 200. -6 -1
NO. ICFSJ IGPIII Et.~'1 HEAD PRESSUR!: (ltv O. -9 8
---------------------------------
1 1.2UO
z
5J8.80 70. Jl.31
.'511
13.57 liD. .:51
"26.55 SD. 3".16 H.tD "'.1&
1
2 3
2 3
5
-8
-4
-9} loops
,
l 1.5DD
2.000
573.50
8911.00
150.
50.
2~.79
1~.'"
10.7'
6.2'
17... 7'
6 ... "
-8
30.
1 -6 -5
30. 30. 30. 30. lO. elevations of nodes
B-3
SIIapIe ......................... epdou of (7) The standard form of input using the
Iapat. (....,. .ate). To help iD comparing the various PIPENODES command Pl pJaee of the PIPES and
forms of iDput available the network iD Figure B-2 NODES command used in No.6.
which uses SI units will be solved using the various
form of iDput available. The inputs forms UIed are: (8) The same as No.6 with the exception that
data is supptied to define the loops of the network.
(1) The iDput deaeribed iD this Appendix B in
whleh the loops are determined iDternaUy hy the While these eight separate input data mes for the
program. network B-2 do not represent all the combinatioD8 of
input available they illustrate the versatility of input
(2) The input de8en"bed in this Appendix B. but allowed. A new user might try aD and decide wbieb
in which the loops are defined by additional input data. form se"es his needs best. The forms described in
Appendixes A and B are accommodated in the
(3) The ume u (2) except that node elevation subroutine AINPUT. Should these forms never be
data is liven on a separate record instead of on used tbis subroutine should be deleted with the eall to
individual node eards. it iD the main program removed. or replaced by a
subroutine with only a return statement. If in addition
(4) The input desen"bed iD Appendix A,loops are the PIPE-NODES command is not to be used the
determined iDternaDy by the program.. subroutine PNREAD might be removed along with
removal of statements in RDATA that eall on tlds
(5) The same as No. 4 except that loops are subroutine and identify the command PIPE" The last
defined by iDput data. few statements in AlNPUT read in loop defining data,
and therefore this portion of subroutine AINPUT
(6) The input as described in the main body of should be retaiDed if this option is to be used even if
the report. or standard form of input. only the standard form of input is to be retained .
0
AL L CAST IRON PIPES ~
.051 ...'/s I (9)
0
(6) N
(I ,
15- 600 15-300 \2 0
l7J
fIR"',
o HGL=45
~4)
\
.0
B-4
jJ
=
f.n
INPUT DATA POSSIBILITY I 2
FIG B-2 NETWORK,USING INPUT DATA FORMAT OF THIS APPENDIX B WITH NODE ELEVATIONS
ON NODE CARDS INSTEAD OF SEPARATE CARD
-6 7 -8 -4/
120.
3 1
120.
9 6 -1 -10/
106. 30.5 120. 30.5
/* 5 8 -7/
SSPECIF NUNIT=3.INPUTA=2.COEFRO=.0259,NELEV=O,NFLOW=3.NPGPM=3. $END 4 -5/
SASPECI NPIPE=10.NBPUMP=1.NRES=1.NVALVE=3.NODES=6.NPUMP=2,LOOPSR=3,LOOPSS=1 3 -2 -1/
SEND
9
150. lNPUT POSSIBILITY # 4
10 3
.0425 36.6 .0708 30.5 .0991 22.9 120. FIG B-2 NETWORK USING INPUT DATA FORMAT OF APPENDIZ I, LOOPS DEFINED INTERNALLY
.0283 12.2 .0425 10.7 .0568 8.5 /*
547 $SPEC IF NUNIT=3,INPUTA=1.COEFRO=.0259.NPGPM=3,NFLOW=3 SEND
120. 300. 210. SASPECI NPIPE=10,N8PUMP=l,NRES=l,NVALVE=3,NPUMP=2 SEND
45. 45 45. 9
15. 15. 15. 15. 15. 15. 15. 15. 20. 20. 150.
600. 600. 760. 600. 240. 300. 550. 400. 300. 300. 10 3
.0259 .0259 .0259 .0259 .0259 .0259 .0259 .0259 .0259 .0259 .0425 36.6 .0708 30.5 .0991 22.9 120
O. 120. 1 3 -10/ 0283 12.2 .0425 10.7 .0568 8.5 O.
.057 120. -1 2 4 -6/ 54 7
.0285 106. -3 -2 5/ 120. 300. 210
01425 30.5 -4 -5 8/ 45. 45 45.
O. 120. 6 7 -9/ 1 15. 600. 1 2 .057 120.
01425 30.5 -7 -S / 2 15. 600. 2 3 .0285 106
9 6 -1 -10/ 3 15. 760. 1 3
3 -2 -1 / 4 15. 600. 2 4 .01425 30.5
5 -4 2/ 5 15. 240. 3 4
-6 7 -8 -4/ 6 15. 300. 5 2
3 1 7 15. 550. 5 6 .01425 30.5
9 6 -1 -10/ 8 15. 400. 4 6
5 8 -7/ 9 20. 300. 5 120.
4 -5 / 10 20. 300. 1 120.
3 -2 -1/ END
Jj
C-l
network could be solved using a PC, and the III. Utilization of Evans & Sutherland 300
= general purpose graphics file written. This Graphics System
graphics file could next be transferred to a larger This capability of utilizing an Evans &
computer that drives a Calcomp plotter, or other Sutherland 300 graphics system was developed
graphics device, and OFPLOT used on this larger some years ago, and only the full version of USU-
computer to make the plot. Alternatively the NETWK that also has the time dependent
larger computer could solve the network, write the solution capabilities still retains this graphics
graphics file, and a PC could utilize information in capability. Its use is described in a subsequent
this output file intended to use to produce section in this appendix, and its use is restricted to
graphiCS associated with the network, and its installations that have this special hardware.
solution.
This calcomp graphics capability calls on
pretty standard "calcomp routines" such as PLOT,
IV. Three Dimensional Graphics Displays
SYMBOL, NUMBER, etc. Depending upon the
installation the graphiCS file written with the and Contouring of Solutions
calcomp information in it can be sent to graphics This graphiCS capability allow any of the
devices other than just a Calcomp plotter. It may following types of displays or hard copies of them
even be printed on a line printer such as a to be created: 1. A three dimensional perspective
PRINTRONIX printer or TEKTRONIX video view of the hydraulic grade line from the solution
terminal, or even on a PC's monitor that is superimposed over the ground surface containing
communicating to the host computer with a the pipes of the network from any viewpoint, 2.
software package such as KERMIT with graphics A contour type map of the hydraulic grade line
capabilities. surface, the pressure (or pressure head) surface, or
just the ground elevation, and 3. A three
dimensional perspective view as in # 1
II. PC Monitor Display with Post
superimposed above a contour type map such as
Processor Program PLTNET in # 2. This graphics capability is by means of a
This graphics is limited to PC's, and is post processor program PLTNET3. Program
described in an early part of this manual under PLTNET3 utilizes the general purpose graphics
the post processor PLTNET. If the option file that USU-NETWK is requested to write when
NETPLT=1 when using the PC version of the the option NETPLT=3 or NETPLT=4 is in the
program then a file PLTNET.DAT is written that $SPECIF list. PLTNET3 interfaces with the
this program PLTNET.COM or PLTNET.EXE DISSPLA software package, and therefore can
utilizes. When using the version of USU-NETWK only be utilized at installations where DISSPLA is
with time dependent solution capabilities on a licensed. Since DISSPLA will do the graphics on
larger computer like a VAX, then the file any graphics device, including laser jet, Printronix
PLTNET.DAT can be written by setting the printers, and Calcomp plotters hard copies of this
option NETPLT=14. This file will be read by the graphiCS should be obtainable from any graphiCS
post processor PLTNET just like the file under devices.
the same name that a PC writes with NETPLT=1.
However, the larger program designed for larger
computers than PC's has the plot routines built
V. Plotting Pressure Profiles, Displaying
into it, and the option NETPLT=1 requests that
a plot be made directly by USU-NETWK. Pressure Bars, or Contour Mappings
It is also worth noting here that if you A post processor program PROFILM has
wish to have USU-NETWK (either the PC version three separate graphic capabilities, i.e. 1. Profiles
or the full program) write out a data file that can of pressures, or pressure heads can be shown as
be subsequently read in as an input file after it profiles over the pipe line elevations through
has been changed for new conditions, then selected sequences of pipes within the network.
NETPLT must be given a value of 10. (Up to 8 such profiles can be place on any single
C-2
graph and as may graphs made as desirable.) 2. PIPE F, PIPE H, NODE P, NODE H and NODE
The pressure, pressure head, or hydraulic grade E to program PRINT will write these special
line elevations can be shown as bars at the nodes tables. Program PLTTIM reads the information
of a display of the network, or any rectangular directly from these special tables and will display
portion of the network. 3. A contour type map any column (or several columns) that is in one of
of the pressure surface, the pressure head surface, these special tables on the vertical axis with time
or the hydraulic grade line surface can be created. as the horizontal axis of the graph.
Several versions of program PROFILM There are three versions of PLTTIM
are available. One version of PROFILM is available. Two are written in FORTRAN. One
designed to be utilized on a computer that has of these calls on standard Calcomp libraries such
Calcomp Calls available on it to make a "Calcomp as PLOT, SYMBOL and NUMBER to make the
plot" as I above. This program is written in graphics. This version of PLTTIM is designed to
FORTRAN and calls on libraries such as PLOT, be used on a computer that either write a file for
SYMBOL, and NUMBER. Another version, a plotter, or drives a plotter directly as # I above,
which is also in FORTRAN, will do the profiles and that has a library of Calcomp Plouing
and bars (capabilities # 1 and # 2) on a PC that routines. The other FORTRAN version is
contains an IBM compatible graphic card such as designed just for use on PCS, and places the plot
a CGA, EGA, or VGA. This version of on its monitor, but this version does no lettering
PROFILM does font mapped lettering, the size of on the graph. The third version of PLTTIM is in
which is fixed by the monitor, to define axes, etc, PASCAL and it is also designed for use on PCS
but its main functions are to show pressure with an IBM compatible graphics card, such as an
profiles, and the network with bars for pressure at CGA, EGA or VGA, and the plot of the
its nodes. Another version of PROFILM is information from selected columns in the special
written in PASCAL. This latter program is also tables written by USU-NETWK against time as
designed to run on IBM compatible PC's with the abscissa are displayed on the PC's monitor.
graphics cards. It identifies nodes and pipes with Lettering, etc is included on the graphical display,
their numbers, etc, and gives scales to the graph's an option menus can be opened to alter
axes by lettering the abscissa and ordinate. background, and foreground colors, and the
Options allow the size and spacing of this lettering characteristics of the plot. This program can also
to be Changed. It allows a little more flexibility be executed on PC's with Hercules, and other
than the FORTRAN version, permitting selection graphics cards. By giving the DOS command
of different foreground and background colors, etc. GRAPHICS prior to running PLTTIM, the
displays on the PC monitor can be send to a dot
matrix line printer driven by the PC, or the
VI. Graphing Time Variations of graphics captured in a file with such utility
Pressures, Flow rates, or Water Surface program as FRIEZE in Microsoft's PAINT
BRUSH, or GRAB supplied with WordPerfect S,
Elevations
and incorporated as part of a WordPerfect
This graphics capability is for use in
document, and then printed to a HP Laserjet
displaying variations in time that are defined from
printer.
a time-dependent solution that USU-NETWK can
Each of these graphics capabilities are
be requested to obtain by setting the option
described in the following sections. In reading the
ISIML= 1 in the $SPECIF list or requesting
remainder of this appendix you need rcad only
auxiliary program PRINT (see Appendix E) to
that section, or those sections, for which you have
write such a special table. The graphics is done
the graphics programs, etc. In reading about how
by a post processor program PLTTIM, that utilizes
to use the graphics it will also be helpful to run
the information given in the special tables that
that program while reading the section, especially
will be written by the time dependent version of
for the graphics packages that are designed to run
USU-NETWK if the option PRINTT >0 in the
on PC's.
$TDATA list of options. Also commands such as
C-3
14 20 8/
=
Calcomp Type Plots 15 211
16 22 6/
17 23/
18 241
Calcomp type plots consist of displaying 19 25/
20 21 8/
the network on a plane surface in which pipes are 21 22/
22 23 6/
represented by lines, their numbers can be shown 23 24/
24 25/
along the side of these lines, and the nodes show NODES
1 1 350 0 4500
arrows outward from them by which the demands 2 .8 355 -1500 4500
3 .5 340 1000 4500
can be shown etc. Figure C-I gives an example of 4 .3 335 2100 4500
5 .4 330 3800 4500
a calcomp plot that gives the following 6 .6 340 5600 4500
information by the values written on the plot 7 .8 345 7500 4500
8 1 345 0 3500
besides the layout of the network (The input data 9 .6 335 1000 3500
10 .6 330 2100 3500
file for this network is given as Table C-I): 11 .2 300 3800 3500
12 .5 270 5600 3500
1. The pipe numbers within ( ), 2. the diameter 13 .7 250 7500 3500
14 .8 300 0 1800
and length of the pipes, 3. the node number 15 .6 280 1000 1800
16 .5 260 2100 1800
within the rectangular boxes of the nodes, 4. the 17 .6 250 3800 1800
18 .5 240 5600 1700
ground elevations at the nodes, 5. the demand at 19 .5 200 7500 1500
the nodes, 6. the location of sources of supply, 20 .7 270 0 500
21 .4 250 1000 500
7. the pipes that contain the pumps and 8. the 22 .3 230 2100 500
23 .5 210 3800 400
water surface elevations in the reservoirs. A menu 24 .75 190 5600 200
25 1.5 180 7500 0
will be displayed that allows some of these items 26 a 480 a 6500
27 0 480 7500 6500
to be turned off, i.e. not displayed on the plot. BOOSTER
5 1.5 25 3.5 20 5.5 12/
Other menu items allow are: The pressure in psi RESER
at each node, and The flow rate in each pipe 26 500
27 500
along with an arrow that shows the direction of VALVE
25 600 430
the flow in this pipe. 39 600 420
RUN
Table C-l. Input data file for the Network in CaIcomp Routines Incorporated in USU-
Figure C-l. NETWK
EXAMPLE NETWORK SUPPLIED BY TWO RESERVOIRS AND A
LOWER PRESSURE ZONE
I"
$SPECIF NETPLT=3,NODESP=l,LENGON=O,NUMPIP=1 $END The Calcomp plotting capability is part of
PIPES
26 1 14 .005 the USU-NETWK program when it is on a larger
1 2 6/
1 3 12/ computer such as a VAX. When using such a
3 4/ version of USU-NETWK, and with the option
4 5/
5 6/ NETPLT= -2, -1, 1 or 2 in the $SPECIF list, a
6 7/
27 7 14/ calcomp plot file will be written or may be used
1 8 12/
3 9/ directly to drive the plotter, depending upon the
4 10/
5 11/ computer installation. If NETPLT= 1 or -1 then
6 12 10/
7 13/ it is necessary to provide the x and y coordinates
8 9 12/
9 10/ with the original input data. These x and y
10 11/ coordinates are entered after the nodal elevations
11 12 10/
12 13/ when the NODES command is used to enter the
8 14 /
9 15/
10 16/
data, or after the nodal elevations with data
11 17 6/ entered through the PIPE- command. When
12 18/
13 19 10/ giving these x and y coordinates as part of the
14 15 81
15 16/ original input data, it is also pOSSible, and likely
16 17 6/
17 18/ preferable, to set the option LENGON=O,
18 19/
C-4
jj
soo
5001"'.
~ I~
~'US. (2) 6-'1500 t--'I (.3) ~ 2-1000 r--n (4) 12-1100 1"--1 (~2-1700 1"--1 (6) 12-1Em 1"--1 (7) 12-1900
0
9
~ I
- .70
2.
i
~ ~
i\) i\) i\)
~ e ~
en
9 9
:::; :::; ! 0
I
I~ 8
(i
8'"
0
0
I
Ul 8 .0
yn= 430
~
~ <:::l <:::l
Sd :e: <:::l
~
I~
0> (11
I
0
<-J
0
.... (11
I
0 0 8
!~ I!
'UI
0
.0
(38) 8-11 00 t--'I (39) 6-1702
(~ 6-J811 .75
270. 250. 230.
210. "'I (40 6-1910 1._50
190.
~
Figure C-l. Calcomp plot of network Whose 180.
input data file is in Table
C-l.
(indicating that pipe lengths will not be given, but When the command PIPE- is used to
that USU-NETWK. is to compute these length enter data, then the internal order of the nodes is
from nodal coordinate data. If LENGON = 1 (the established by the order in which a node first
default) and the absolute value of NETPLT equals appears in the data. Again source nodes are not
1 then the x and y coordinates given in the input counted even though NODESP=1.
data will be used to plot the positions of the After the x and y coordinates for the real
nodes of the network, but the given pipe lengths nodes are given, then the x and y coordinates, as
will be used in the solution of the flow rates and pairs of values, for reservoirs, and then for source
pressure throughout the network. When the pumps must be provided. These sources of supply
absolute value of NETPLT equal 1 it is best to coordinates are given regardless of whether
also include NODESP= 1 (i.e. designate sources of NODESP=l or not. The order in which reservoir
supply as nodes), for otherwise the positions of coordinates must be given corresponds to the
reservoirs and source pumps are not provided in order in which reservoirs oceur in the original
any of the input data. If NODESP=O then the data. Likewise, the x and y coordinates for source
plotting of sources of supply will be based on pumps follow the reservoir coordinates in the
internal code within NETWK, but their locations order in which source pumps are given after the
will not generally agree with their actual locations. PUMPS command. No coordinates are given for
booster pumps. Thus whether NODESP=O or
The option NETPLT=2 or NETPLT=-2 NODESP=l does not matter if abs(NETPLT)=2
must be used if the x and y coordinates of the because the coordinates of sources are supplied
nodes of the network are not provided with the with the other coordinate data after the RUN or
input entered by either the NODES or the PIPE- END command.
command. When the absolute value of NETPLT
equals 2, then the x and y coordinates are When NETPLT is negative, Le. = -lor -
provided after the RUN or END command. Since 2, then the user is provided an opportunity just
the writing of the plot instructions takes place before the plot is made to give a message to the
after a solution has been obtained, these Calcomp Plotter Operator. The operation of
coordinates will occur after any other special data making Calcomp plots will vary at different
that may be called for by other options, but before installation, and if the installation that you are
any changes that are included by the CHANG using the Calcomp plot capabilities at does not
command. These coordinates also follow time provide for such messages to be written to the
dependent analysis data if the option ISIML= 1 in operator you may call on a non existent library
the $SPECIF list. with NETPLT negative. However, at the USU
It is important that these coordinates (as installation, the user will be requested to provide
pairs) be given in the correct order. This order up to a 70 character message that the operator
consists of the same order in which the real nodes will see before the plot is made. This message
are entered in the original input data. When the may be a request such as: PLEASE USE LIQUID
NODES command is used exclusively to enter data INK, #3 SIZE PEN. Another message may be;
about the nodes of the network, then the order is THIS PLOT REQUIRES THE 30" WIDE
the same as the sequential order of these data PAPER.
with any sources of supply being ignored. In
other words, should the option NODESP=l, then The options PLOTH amI NLETTE in the
any source nodes for reservoirs, or source pumps $SPECIF list can also be utilized in the version of
must be skipped in establishing the order of the x USU-NETWK that contains the Calcomp plotting
and y coordinate pairs. Consequently, it is best subroutines. The option PLOTH determines the
when abs(NETPLT)=2 and NODESP=l to place height (Le. the size in the y direction) of the plot
nodes at sources of supply after the real nodes of in inches. It is the responsibility of the user to
the network, when using the NODES command in ensure that this plot height is less than or equal
the original data. to the width of the plot paper being used by one
C-6
inch. The extra inch is used at the bottom of the appendix.)
plot for a title if this title is requested. The Before the plot is make the following
option NLETTE determines the height of the menu will be displayed by OFPLOT on the
lettering that will be used on the plot in inches. terminal:
Some of the lettering will be smaller than this THE PARAMETERS FOR THE PLOT ARE
magnitude in order to help distinguish what the SET AS:
numbers represent. 1. HEIGHT= 12.00
WITH ACCOM. LENGTH= 34.45
Post Processor OFPLOT 2. LETTER SIZE= 0.13
The above section applies strictly only for 3. SPACING BETWEEN LETTERS= 0.10
USU-NETWK on a larger computer such as a 4. BASIC UNITS FOR DEMAND= T
VAX that has the entire program that includes 5. WRITE ELEV. OF NODES= T
the graphics routines as part of the program. 6. WRITE PRESSURES AT NODES= T
However, essentially the same capability is 7. WRITE FLOWRATES IN PIPES= T
available through the post processor program 8. WRITE PIPE LENGTH & DIAS= T
OFPLOT on a PC. Also an alternative available 9. PROVIDE TITLE TO PLOT= T
for calcomp plotting on larger computers is 10. SHOW DEMANDS= T
though the post processor program OFPLOT. IF O.K. GIVE 0, OTHERWISE NO OF ITEM
This plotting program using the general graphics THAT SHOULD BE CHANGED
data file written by USU-NETWK when
NETPLT= 3 or = 4. The same plotting The descriptions in this menu are followed by the
capabilities are done by this program as described default values, which may be different in your
above for the plot routines that are incorporated program from those given above. The capital T,
within USU-NETWK. The difference is that this after the equal sign, indicates "true" for this item
post processor contains a driver program that or if an F (for false) follows the equal sign it
reads in the information from the graphiCS data denotes this item will not be placed on I he plOt.
file. OFPLOT can be used with the complete The second length given in menu item # 1 is the
program that does contain the Calcomp plotting length of the graph corresponding to the given
routines if desired, but must be used with the PC height. Both of these values are in inches. This
version of USU-NETWK because the PC version value will change as the first value in item # 1 is
does not contain these necessary ploning routines. changes to preserve the same scale in the x and y
In addition to the version of OFPLOT directions. To change any value for one of these
that is designed to drive a Calcomp plotter or menu items type in the number (integer) of the
other plotting device, a special version of item followed by the new value when this new
OFPLOT is available to run under DOS on PC's. value is ask for. Selection of a true or false item
This special version of OFPLOT does not allow toddle it to the opposite.
continuous changes of letter sizes as can be done The above menu will be displayed
when using the usual calcomp plot program repeatedly until a 0 (the number zero, not letter
OFPLOT, but selected sizes are available. 0) is entered at the keyboard. Therefore, it is
possible to Change any item again if a mistake is
OFPLOT and Internal Plot Routines made the first time it is changed and as many
The use of the post processor OFPLOT is items as desired can be changed.
described in this section. Before executing After USU-NETWK has terminated
OFPLOT it is necessary that USU-NETWK be execution, then system instructions must be
used to solve a network problem, and that in the provided to have the actual plot made. That is
data for this problem the option NETPLT=3 USU-NETWK has now written a "calcomp plot"
exist, which requests that a general purpose file that needs to be properly directed to the
graphics file be written. (The information written plotter. At the USU installation using the VAX
to this file is described subsequently in this 8650, the user must provide the system command:
C-7
$CALCOMP NETWKPL.PLT NODES
1 1 430 800 2200
2 1.5 430 1350 2300
3 1 360 1000 1000
in which NETWKPL.PLT is the name of the disk 4 .5 350 1000 -200
5 .7 420 1600 3000
file on which the instructions to make the calcomp 6 1.5 440 2600 3000
7 1.5 440 2550 2000
plot have been written. 8 .5 370 2000 1000
9 1 380 1950 a
Figure C-2 shows a small network that has 10 .8 380 2500 1000
11 .6 450 3150 3000
been produced by setting NETPLT=-l. The 12 1.2 450 3200 2050
Calcomp plotter operator was requested to "use 13 .5 460 3000 1000
14 1.5 470 3000 a
liquid ink and # 3 pen." Also, the height of the 15 .8 460 3800 2150
16 .2 480 4200 1000
graph was specified as 9 inches, with a letter 17 .8 470 4800 3000
18 1.8 470 4820 2190
height of 0.1 inches. The size of the actual plot 19 .7 475 4850 1000
20 2 474 4840 a
has been reduced in size for its inclusion in this 21 .5 428 a 2000
22 a 425 0 2500
manual. The options were turned on for "WRITE 23 a 350 500 200
24 a 470 5500 200
ELEV. OF NODES", and "WRITE PIPE RESER
LENGTH & DIAS". The input data for this 22 500
23 400
solution are given in Table C.2, instead of the PUMPS
24 10 150 20 120 30 40 450
plotted network. RUN
Identically the same plot could be produced by
OFPLOT. The difference would be that the In making plots of large networks, it is
option NETPLT=3 in the input to USU, and then necessary that large size paper is used and that the
OFPLOT would read the information in the file plot height be large enough and letter size he
that would be written and make the plot shown in small enough so that the lettering that gives pipe
Figure C-2. numbers, node numbers, pipe diameters. pipe
length, flowrates, etc., do not overwrite each
other. Should the plot become too cluttered
despite using large plot heights and/or small letter
heights, it is possible to not display aU of the
information on the same plot by turning off some
Table C-2. Data input to USU-NETWK that is of the items that are written by using the above
ploUed in Figure C-2. menu. If necessary, two or more separate plots
might be created, the first consisting of the
EXAMPLE NETWORK TO ILLUSTRATE PLOTTING ON PC'S
/* network's physical features, and the others
$SPECIF PEAKF=1.3.NFLOW=O,NPGPM=0,NODESP=1,
NETPLT=-l,LENGON=O $END consisting of the solution parameters such as flow
PIPES
1 22 21 12 .005 rates, and nodal pressures. An advantage of USing
2 21 1 12/ the off line plot program OFPLOT is that several
3 1 2 10/
4 1 3/ separate plots of the same solution can be made.
5 3 4/
6 4 23/ Changing the pitch of the lettering, e.g. the
7 2 5 8/
8 6 5/ spacing between the letter in relationship to the
9 2 7/
10 8 3 10/ letter height, allows additional flexibility to make
11 10 8/
12 8 9 6/ the lettering readable. The standard spacing
13 11 6 8/ between characters is 0.8 times the height.
14 7 6/
15 10 7 10/
16 13 10/
17 13 14/
18 14 9 6/
Below is input data for a small network.
19 17 11 10/ In the $SPECIF list of options the inclusion of
20 15 11/
21 12 7/ NETPLT=3 tells USU-NETWK that the general
22 15 12/
23 18 15 12/ purpose graphics file is to be created.
24 18 17 10/
25 16 12 12/
26 19 18/
27 16 13/
28 19 16/
29 20 14/
30 19 20/ 31 24 19 20/
c-s
Jl
(19) 10-1650
1.
-. 410~
421.
;.-
~
~
\C>
310.
~
HO. 410.
(29) 12--1840
414.
b
nil.
Figure C-2. Plot of network whose input data file is in Table C-2.
Tahle C-3. Input data for another example NODES
1 200 400 2800 9500
network. 2 250 410 2500 6500
3 100 405 1000 5000
4 50 400 1000 2000
ILLUSTRATIVE NETWORK FOR PLOTTING 5 100 402 1800 10000
6 150 410 3000 5000
/* 7 100 407 3000 2000
SSPECIF NFLOW~l NPGPM=l NETPLT~3 LENGON=O NODESP=l 8 170 410 5500 9800
SEND 9 180 415 5500 7500
PIPES 10 200 413 5500 5000
1 1 5 6 .008 11 150 420 5500 2000
2 24 2 10 12 200 425 8000 9800
323 8 13 300 420 5500 2000
436 14 250 420 7800 5000
534 15 100 415 7800 2000
6 4 7 6 16 100 420 10000 9800
7 2 1 8 17 250 425 10700 7500
881 18 150 425 10500 5000
929 19 100 420 10500 2000
10 10 6 10 20 0 420 10500 2000
11 6 7 8 21 0 420 10700 5800
12 11 7 6 22 0 425 9000 10300
13 8 9 8 23 0 420 6500 1500
14 9 10 24 0 410 1200 8000
15 10 11 PUMPS
16 23 11 10 21 2500 100 4000 88 6000 62 440
17 12 8 BOOSTER
18 13 9 8 19 25 500 22 1500 16 3000/
19 14 10 12 RUN
20 11 15 6
21 22 12 10
22 12 16
23 17 16 12
24 17 13
25 13 14 10
26 17 14 12
27 18 14 10 The general purpose graphics file that
28 14 15 8 USU-NETWK has written for this small network
29 14 19 6
30 15 19 6 consists of that given in Table C-4.
31 17 18 12
32 20 17 14
33 21 20
Table C-4. Exam~le of General Graphics File and the Data it Contains (from network in Table C-3)
2800. 9500. 2500. 6500. 1000. 5000. 1000. 2000. 1800. 10000.
3000. 5000. 3000. 2000. 5500. 9800. 5500. 7500. 5500. 5000.
5500. 2000. 8000. 9800. 7800. 7500. 7800. 5000. 7800. 2000.
10000. 9800. 10000. 7500. 10500. 5000. 10500. 2000. 10500. 7500.
11000. 5800. 9000. 10300. 6500. 1500. 1200. 8000.
999 999
23 24 22 21
999
34 20 3 1 2 1 0 0 3 0 0 1 0 0 0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
25 26 27 28 29 30 31 32 33 34
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
0 3 7 10 12 13 16 19 22 26 30 34 38 42 48 51 53 58 60 62 64
1 -7 -8 -2 3 7 9 -3 4 5 -5 6 -1 -4 -10 11 -6 -11 -12 8 13 -17 -9 -13
14 -18 10 -14 15 -19 12 -15 -16 20 17 -21 22 23 18 -23 -24 25 19 -25 -26 -27 28 29
-20 -28 30 -22 -33 24 26 31 -32 33 27 -31 -29 -30 32 -34
1 5 0 2 2 3 3 6 3 4 4 7 2 1 8 1 2 9 10 6 6 7 11 7
8 9 9 10 10 11 0 11 12 8 13 9 14 10 11 15 0 12 12 16 12 13 17 13
13 14 17 14 18 14 14 15 14 19 15 19 17 18 20 17 17 16 0 20
34 21 440.00 420.00 19 19 .00 .00
107.26 21.57
16 23 495.00 420.00 2 24 490.00 410.00 21 22 500.00 425.00
400.00 410.00 405.00 400.00 402.00 410.00 407.00 410.00 415.00 413.00 420.00 425.00
420. 00 420.00 415.00 420.00 425.00 425.00 420.00 420.00
91.72 81.62 89.37 94.47 88.57 88:51 88.86 87.99 83.50 92.52 75.75 75.76
81.13 78.38 81. 33 86.76 83.40 79.75 76.08 96.95
.446 .557 .223 .111 .223 .334 .223 .379 .401 .446 .334 .446
.668 .557 .223 .223 .557 .334 .223 .000
.500 .833 .667 .667 .667 .500 .667 .667 .667 .833 .667 .500
.667 .667 .667 .833 .833 .667 1.000 .500 .833 .833 1.000 1.000
.833 1.000 .833 .667 .500 .500 1.000 1.167 1.167 1.167
1118.03 1984.94 2121.32 2000.00 3000.00 2000.00 3014.96 2716.62 3162.28 2500.00 3000.00 2500.00
2300.00 2500.00 3000.00 1118.03 2500.00 2300.00 2300.00 2300.00 1118.03 2000.00 2308.68 2200.00
2500.00 3330.17 2700. 00 3000.00 4036.09 2700.00 2549.51 500.00 2300.00 1772.00
.001333 .000800 .001000 .001000 .001000 .001333 .001000 .001000 .001000 .000800 .001000 .001333
.001000 .001000 .001000 .000800 .000800 .001000 .000667 .001333 .000800 .000800 .000667 .000667
.000800 .000667 .000800 .001000 .001333 .001333 .000667 .000571 .000571 .000571
.223 -.772 -.544 - .697 -.070 -.181 -.070 .738 -.715 1. 475 .444 -.040
-.211 -.818 .884 -.694 .906 .509 3.623 -.104 -.699 -1. 529 -.522 2.602
.903 2.478 1.348 .387 .163 .060 1.683 9.072 1. 752 9.072
448.830000
14 3 0
0 6 11 16 20 25 29 33 37 41 45 49 52 55 58
16 -15 -19 -26 -32 -34 2 9 14 15 -16 21 17 8 -7 -2 -8 13 -9 7 9 14 10 -4
-3 5 6 -11 -4 11 -12 -15 10 -17 23 18 -13 -18 25 19 -14 -19 28 -20 -15 23 -24 33
-22 25 -26 24 30 -29 28 -27 -31 26
0 1 3 4 6 7 8 10 12 15 17 19 20 22 25 29 31 33 35 38 39 40 41 43
45 47 50 51 53 54 55 56 57 58 59
0 2 -3 -5 -5 -6 6 6 -3 4 3 -4 2 -4 5 5 7 -6 7 -7 4 -8 2 5
-9 -1 2 -7 -10 1 -2 3 -8 8 -9 -1 9 -10 -10 3 -11 8 11 -1l 12 9 12 -1
-12 14 -14 10 13 -13 13 -14 -1 11 -1
C-IO
first followed by the source pumps. (The external
This data file consists of the following
node numbers corresponding to these internal
information and is written with the formats given
numbers are given later in the information about
below:
reservoir, and pumps.)
3. This line contains a list of integer
1. Information in graphics file when NETPLT=3
values that give the number of components in the
L The x and y coordinates of the nodes of
network. These variable are:
the network given as pairs. This list of pairs will
a-NP the number of pipes in the network,
consist of the number of junctions in the network,
b-NJ the number of real junctions in the
and if NODESP=O these will be actual junctions;
network,
however if NODESP=1 then the source pumps
c-NRES the number of reservoirs plus
and reservoirs, respectively will have their
nozzles in the network,
coordinates included in the list in the order in
d-NPUMPM the number of source pumps
which they arc given in the input data. These
in the network,
coordinates will be written to the file in the case
e-NPUMP the total number of pumps
of the steady state version of the program only if
(source pumps plus booster pumps),
coordinates are provided with the input data, i.e.
f-NBPUMP the number of booster pumps
the option LENGON =0 is given in the $SPECIF
in the network,
list such that x and y coordinates are provided for
g-NVALVE the number of pressure
the nodes rather than the lengths of pipes. This
reduction valves in the network,
list of pairs of coordinates is terminated with two
h-NBPV the number of back pressure
999 999 or with a / depending upon which version
valves in the network,
of USU-NETWK you are using. The / is intended
i-NRESI the number of reservoirs in the
for use with FORTRAN programs so that the list
network,
directed READ terminates without knowing in
j-NOZZLE the number of nozzles in the
advance the number of pairs in the list. If you are
network,
using a PASCAL based post processor the 999's
k-NML the number of minor loss devices
are used to terminate the read, and if a / exists in
in the network,
the file it must be changed to 999's. Likewise,
I-NODESP the value of this option, a 0 or
when using a post processor written in
a 1,
FORTRAN and two 999's oceur in the file they
m-NCKVAL the number of check valves
must be changed to a / (or a / placed in front
in the network,
of the 999's) with an editor before using a post
n-ISIML the option for a simulation
processor whose source was written in
solution which will be 0 unless the file has been
FORTRAN. If coordinates are not given in the
written from a time increment of a time
input data, and therefore are not written to this
dependent solution in which case this will be a L
file, then the coordinates must be added to this
o-NUNIT the option that denotes the
file with an editor before use of a graphics post
units used in defining the network.
processor program. FORMAT(lOF8.1) as default,
FORMAT(1515)
but if coordinates are small, or large the .1 may be
.2 or .0, respectively.
4. The external pipe numbers listed in
the order in which they are given in the input data
2. The next input will be written only if
file, NOP(I). FORMAT(2415)
the option NODESP=1 is used. It is also termin-
ated with a / or 999's and contains the internal
5. The external node numbers listed in
node numbers (i.e. the order of the occurrence of
the order in which they are given in the input data
nodes in the input data) for the sources of supply
file, NODS (I). FORMAT(2415)
(Le. the RESERvoirs and source PUMPS). The
internal node numbers for the reservoirs are listed
6. The values of the pointer array that
C-ll
separates the list of pipes that join at junctions pumps with source pumps listed first and booster
into individual nodes, NN(I). NN(I) equals 0, and pumps thereafter, and within each of these listing
NN(I+ 1) equals the argument, i.e. J of IN(J) for the order is according to the order in which the
the last pipe joining at node I. FORMAT(24IS) pumps are given in the input data.
FORMAT(12F1O.2)
7. The internal pipe numbers that join at
the separate nodes of the network, IN(J). The 11. For each pressure reduction valve,
above pointer array NN(I) separates this one PRY, the follOwing four items:
dimensional array into individual nodes listed in a- IVPIP, The internal number of the pipe
the order in which the node data occur in the that contains this PRY,
input data file, i.e. according to internal node b- HGLVAL, The HGL elevation setting
numbers. If the flow was specified into a node, for this PRY,
then this internal pipe number will be negative. c- DVALVE, The distance of this PRY
FORMAT(24IS) from its upstream node, and
d- DHVAL, The drop in pressure head
8. The upstream and downstream node across the PRY. FORMAT(IS,3F1O.4)
numbers as pairs of integers for the pipes of the
network listed in the order in which the pipes are 12. For each reservoir in the network the
given in the input data, i.e. the internal pipe following four items:
numbers, L1(I) and L2(I). If a source exist at one a- IRES, The internal number of the pipe
end of the pipe this node will be given as 0 even that connect the reservoir to the network,
if NODESP= 1 in the $SPECIF list of options. b- IIRESI, The external node number that
From the information given in #2 above the the reservoir has been assigned if the option
source nodes may replace these O's if desired, NODESP= 1 is given, otherwise a zero.
provided the option NODESP= 1 is used. c- ELE, The water surface elevation of the
However, for plotting the O's provides a converient reservoir, and
means for identitying this has a source node at the d- EIRES, The ground elevation given for
end of a pipe. FORMAT(24IS) the node assigned to the reservoir under the
NODES command when the option NODESP= 1
9. The following data for each pump in is used, 0 the r w i s e a ze r0 .
the network: FORMAT(4(2IS,2F1O.2
a-IPUMP(I), The internal pipe number
that contains the pump, 13. A listing of the elevations of the
b-IPIUMP(I), The external node number nodes given under the NODES command for each
given the pump if NODESP= 1, otherwise a 0, node, or junction of the network in the order in
c-ELEP(I), The elevation of the source which the nodes are given in the input data,
pumps water surface elevation, or a zero for ELEV(I). When the command PIPE- is used the
booster pumps, order is established in the order in which a node
d-EIPUMP(I), The ground elevation for number first appears in the input data. Elevations
the pump given as part of the NODES data for for nodes assigned to sources (source pumps and
the node assigned to the pump when the option reservoirs) when using the option NODESP= 1 are
NODESP= 1, otherwise a zero. omitted from this listing. FORMAT(12F1O.2)
The order of this list of pumps is source
pumps first, and booster pumps thereafter, and 14. A listing of the pressure heads from
within each of these listing the order is according the solution at the nodes in the order in which
to the order in which the pumps are given in the the nodes are given in the input data. When
input data. FORMAT(4(2IS,2F1O.2 using ES units, these values will be in feet, and
when using SI units these values will be in meIers,
10. A list of heads produced by the AR(I). FORMAT(12F1O.2)
C-12
15. A listing of the demands at the nodes = 448.83.
of the network in the order in which the nodes
are entered in the input data, QJ(I). These values 23. If a time-dependent solution is being
will be given in basic units, e.g. cfs when using ES obtain the time in seconds for which this solution
units and m3/s when using SI units, unless weight applies.
or mass flow rates are used. FORMAT(12FlO.3)
The following data in this file is generally not
16. A listing of the pipe diameters of the needed
network in the order in which the pipes are 24. Three integer values that consist 0[:
entered in the input data, D(I). These values will (a) the number of loops in the network, (b) the
be given in basic units, e.g. ft when using ES units, number of these which are pseudo loops, and (c)
and meter when using SI uni ts. the number of these which are real loops.
FORMAT(12FlO.3)
25. A pointer to the next array that
17. A listing of the pipe lengths of the contains the loop information. This pointer array
network in the order in which the pipes are MN(I) separates the loop data in the [ollowing
entered in the input data, L(I). LP(J) one dimensional array. The pointer of
FORMAT(12FlO.2) MN (1+ 1) points to the end of da ta for loop 1.
18. A listing of the pipe roughness 26. The internal pipe numbers thal
coefficients of the network in the order in which defines the loops of the network. These values
the pipes are entered in the input data, E(I). are in a one dimensional array LP(J), and the
When using the Darcy-Weisbach equation these previous pointer array MK separate the individual
values will be the relative roughness of the pipe loops.
e/O, and when using the Hazen-Williams equation
these values with the Hazen-Williams coefficient. 27. A pointer array MK(J) that separate
FORMAT(12F10.2) the next array.
19. A listing of the flow rates in the 28. A one dimensional array JK thal
pipes as determined by the solution given in the defines the corrective flow rates circulating
order in which the pipes are listed in the input through each pipe of the network. The previous
data, Q(I). These values will be in basic units, e.g. array MK separates this list into individual pipes.
cfs when using ES units, and m /s when using SI
units unless weight are mass flow rates are used in
the input data by setting the option NFLOW>4. Graphics file obtained with option NETPLT= 1
FORMAT(12FlO.3)
An alternative graphiCS file can be
20. A listing of the internal pipe numbers obtained by setting NETPLT= 1 rather than =3,
that contain minor loss devices in the order in using the PC version of USU-NETWK. This is
which these are entered in the original input data, the graphics file that the screen post processor [or
IML(I). FORMAT(24I5) PC's, PLTNET, uses. The name of this file will
be PLTNET.DAT. A listing of this graphics file
21. A listing of the internal pipe number is given in Table C-5 for the same input data file
that contain check valves in the order in which as that used for the above general purpose
these are entered in the original input data, graphics file, the only difference is the the option
ICKVAL(I). FORMAT(24I5) NETPLT was changed to equal 1. Depending
22. The conversion factor for changing upon the special graphics you are developing, you
the demands into basic units from the given units. may find this file more convenient to use then the
For example if gpm are given then this is CONVF one created with NETPLT=3.
C-13
~ Table C-5. Listing of file PLTNET.DAT obtained with NETPLT=l and using input file, Table C-2.
34 24 1 1 3 0 1 o
2800. 2500. 1000. 1000. 1800. 3000. 3000. 5500. 5500. 5500.
5500. 8000. 7800. 7800. 7800. 10000. 10000. 10500. 10500. 10500.
11000. 9000. 6500. 1200.
9500. 6500. 5000. 2000. 10000. 5000. 2000. 9800. 7500. 5000.
2000. 9800. 7500. 5000. 2000. 9800. 7500. 5000. 2000. 7500.
5800. 10300. 1500. 8000.
23 24 22 21
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
33 34
102 3 3 4 2 8 2 10 6 11 8 9 10 o
12 13 14 11 o 12 12 17 13 17 18 14 14 15 17 20
17 0
523 6 4 7 1 1 9 6 7 7 9 10 11 11
8 9 10 15 12 16 13 13 14 14 14 15 19 19 18 17
16 20
1 3 .446 1 -7 -8
2 4 .557 -2 3 7 9
3 3 .223 -3 4 5
4 2 .111 -5 6
5 1 .223 -1
6 3 .334 -4 -10 11
7 3 .223 -6 -11 -12
8 3 .379 8 13 -17
9 4 .401 -9 -13 14 -18
10 4 .446 10 -14 15 -19
11 4 .334 12 -15 -16 20
12 4 .446 17 -21 22 23
13 4 .668 18 -23 -24 25
14 6 .557 19 -25 -26 -27 28 29
15 3 .223 -20 -28 30
16 2 .223 -22 -33
17 5 .557 24 26 31 -32 33
18 2 .334 27 -31
19 2 .223 -29 -30
20 2 .000 32 -34
.223 -.772 -.544 -.697 -.070 -.181 -.070 .738 -.715 1.475
.444 .040 -.211 -.818 .884 -.694 .906 .509 3.623 -.104
.699 -1.529 -.522 2.602 .903 2.478 1.348 .387 .163 .060
1.683 9.072 1.752 9.072
6.00 10.00 8.00 8.00 8.00 6.00 8.00 8.00 8.00 10.00
8.00 6.00 8.00 8.00 8.00 10.00 10.00 8.00 12.00 6.00
10.00 10.00 12.00 12.00 10.00 12.00 10.00 8.00 6.00 6.00
12.00 14.00 14.00 14.00
1118.0 1984.9 2121.3 2000.0 3000.0 2000.0 3015.0 2716.6 3162.3 2500.0
3000.0 2500.0 2300.0 2500.0 3000.0 1118.0 2500.0 2300.0 2300.0 2300.0
1118.0 2000.0 2308.7 2200.0 2500.0 3330.2 2700.0 3000,0 4036.1 2700.0
2549.5 500.0 2300.0 1772.0
.008000 .008000 .008000 .008000 .008000 .008000 .008000 .008000 .008000 .008000
,008000 .008000 .008000 .008000 .008000 .008000 .008000 .008000 .008000 .008000
,008000 .008000 .008000 .008000 .008000 .008000 .008000 .008000 .008000 .008000
,008000 .008000 .008000 .008000
400.00 410.00 405.00 400.00 402.00 410.00 407.00 410.00 415.00 413.00
420.00 425.00 420.00 420.00 415.00 420.00 425.00 425,00 420.00 420.00
91. 72 81,62 89.37 94.47 88.57 88.51 88.86 87.99 83.50 92.52
75.75 75.76 81.13 78.38 81.33 86.76 83.40 79.75 76.08 96.95
16 23 495.00 2 24 490.00 21 22 500.00
34 21 -.288 ,577 565.714 440.000 8.912
19 19 -.081 -.987 26.200 .000 3.342
C-14
equation was used, and a value larger then 1 if the the pipe regardJc..<;s of whcther NODESP= 1, or O.
Mannings equation was used. FORMAT(1615).
2. A list of the x-coordinates of the nodes 6. The list of internal downstream node
of the network. This list of x values will be in the numbers corresponding to the pipes listed in # 4.
same order as the nodes are entered in the FORMAT(1615).
original input data, i.e. the internal order.
FORMAT(16I5). 7. This list consist of node data and will
contain the following values in each line of the
3. A list of the y-coordinates of the nodes list: (FORMAT(I5,I4,FS.3,12I5) ).
of the network corresponding to the x coordinates (a) The external node number. Thc
given in the previous list. The number of values internal node number is established by the order
in this list equals the number of nodes, i.e. the of this Jist.
value in Ib above if NODESP=O and the sum of (b) The number of pipes that join at this
the number of nodes plus sources of supply if node.
NODESP= 1, or the sum of Ib + lc + Ie. (c) The demand in basic units at this
PL1NET assumes that the x- and y- coordinates node. By basic units is meant that if ES units are
for the sources follow the real nodes if used these values will be in cfs, and if SI units are
NODESP=l is used. This requires that in used these values will be in cubic meters per
providing the input to USU-NETWK that you second.
include source nodes following the real nodes (d) A list of internal pipe numbers that
under the NODES command, or if the PIPE- join at this node. If the assumed direction of
command is used that pipes to sources follow flow, as given in the input data, is into this node
other pipes of the network. Furthermore, the this number will be negative.
coordinates for source pumps precede coordinates
of reservoirs, and the original input must reflect S. A list of the flow rates in each pipe of
this order also. FORMAT(lOFS.l) the network as determined by the solution for
which this file applies. FORMAT(lOFS.3).
3a. If the option NODESP=1 is given
then a list of internal node number for sources of 9. A list of pipe diameters in the units
supply are given, with reservoirs listed first and used in the input data. FORMAT(lOF8.2).
source pumps thereafter. This list is needed to
associate x and y coordinates with sources of 10. A list of pipe lengths in basic units.
supply. It is good practice to list nodes for These are the hydraulic lengths of pipe, and if
sources (if they are numbered using the option minor losses are included then the list will consist
NODESP=l) after the real nodes under the of the actual pipe length plus the equivalent
NODES command so that these coorinates will length of pipe for the minor loss.
come at the end of the list under # 3. FORMAT(lOFS.l).
4. The list of external pipe numbers listed 11. A list of pipe roughness coefficients.
in the order in which the pipes were included in The format will be FORMAT(lOF8.6) if the
the original input data, i.e. the internal order of Darcy-Weisbach equation is used and
pipes. FORMAT(lOFS.l) FORMAT(lOF8.1) if the Hazen-Williams equation
is used.
5. The list of internal upstream node
numbers corresponding to the pipes listed in # 4. 12. A list of elevations of the nodes of
To get the external node number used the the network according to the order that real nodes
information listed under #7 below. This list will are given in the original input data.
cODlain a zero if a source of supply is attached to FORMAT(lOFS.2).
C15
13. A list of the pressure heads obtained pump curve this will be that given normal capacity
as the solution at the nodes of the network. converted to basic flow rate units of cfs if ES units
FORMAT(lOF8.2). are used and m31s if SI units are used.
C-16
and compatible monitors. It is also in be informed of this and must supply a correct pipe
FORTRAN. The third version is written in number or abort execution.
PASCAL and attempts to determine what the PC's If several profiles are placed on a graph,
configuration consists of, and then utilizes drivers then PROFILM will decide on the vertical axis
appropriate to the graphics adaptor that the PC scales to use, such that the tick marks for
has. It contains an options' menu similar to that elevations are some appropriate integer, and the
in the post processor PLTNET.EXE and one profiles won't be of the same vertical height
version of PLTTIM (described below), that allow generally. The summation of the lengths of pipes
the size of the lettering, size of the plot, and in the longest prOfile on the graph will determine
colors to be used for background and foreground, the horiwntal scale used, and since this same
etc. to be changed. horiwntal scale will be used for all profiles on
After giving the command to execute this graph, shorter profiles will extend only
PROFILM, you will first be ask: GIVE partially through the graph. Therefore, it is
FILENAME WITH DATA (cr if PLOTlO.DAT). generally best to have profiles of approximately
In response to this you need only press the Enter the same length plotted on a given graph. For
key, if the default name contains the data for the network given in Figure C-l (and whose input
genera! purpose graphics, or type in the name of data is given in Table C-1) Figure C-3 shows a
the file that does contain this data. (The third graph with 4 pressure profiles plotted. Note on
version of PROFILM allows you to change this graph that the top profile, and the second
options prior to this.) Next you will see the profile from the bottom are through the same
following displayed: sequence of pipes but in opposite directions.
Thus the pressure drop through the pressure
SELECT THE NO. FOR THE TYPE OF PLOT reduction value in pipe 25 is a rise in the HGL-
YOU DESIRE elevation from left to right in the top profile but
1 - Head Profiles over selected sequences of a drop in the second from the bottom profile.
pipes, Figure C-4 shows two profiles from the network in
2 - Pressure bars at nodes of network, or Figure C-2 (whose input data is in Table C-2).
3 - Contour map of heads or pressures.
You should type in 1, 2 or 3 to indicate what you 2. Pressure Bars: If you select 2 above then a
want done. display of the network's layout or rectangular
portion thereof will be displayed with bars
Below a description of what occurs if you showing the pressure at each node within this
select 1, 2 or 3 is given. display. When you select this option you will first
be ask: SHOULD ENTIRE NETWORK BE
1. Profiles: Profiles show the elevation of the PLOTTED? (Y or N). If you lype N for no, the
pipe, and the HGL-elevation as obtain for the x and y coordinates at the lower left hand and
selected solution above these pipes. When you upper right hand extremes of the network will be
select to plot profiles you will be ask to indicate displayed, Le. the minimum and maximum x and
how many profiles you want to have displayed on y coordinates will be given. You will be ask to
this graph. Up to 8 such profiles can be placed supply 4 values, namely the x and y coordinates of
on any graph, and it is possible to create any the lower left corner, and upper right corner of
number of such graphs, and therefore as many the rectangle of the network that should be
such profiles can be created as you desire. Next, displayed. Next you will be asked to respond to
you will be ask to supply a sequence of connected the following menu that will be repeated with
pipes through which each of these profiles is to be the new values you give until you indicate that you do not
plotted. Therefore, be sure that you are familiar want to see it again.
with the connectivity of the pipes so that you can GIVE THE FOLLOWING:
give these sequences of pipes. If consecutive pipe 1 Type of bar=
numbers that you give are not connected you will (1) pressure (psi or Kpa)
C-17
~l I, "
o HOOO
o ~ x Jf\ IV I I -to
-... (4(1)
24 (41) 25
~
I
~
QO
N
N
19 (6)
25
21.2
o 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 11000
DISTANCE ALONG PIPES. rt
Figure C-3. Four profiles plotted using a Calcomp plotter from the network shown
in Figure C-l (with input 'data in Table C-l). This plot was created
with program PROFILM.
~l I "
0 600
I I
,.,on
0
0
~
0
,.,.0>
....,.,.0
....
o
,.,.
o0>
,.,
,.,o
_ . L -.....
~ "'l:~______-L____---------------l---------------
fll)
oz o
It)
'" J ". ' ,.,o
In
(i >
I ILl o
l-'
\C
-'
ILl ...
,0>
,.,.
o
....
,.,o
,0>
<:>
23 (6)
Figure C-4. Two profiles plotted through consecutively connected pipe from Figure
C-2.
(2) pressure head plotting of problems that usc Sl units rather than
(3) HGL elev.
ES units.
(4) ground elav.
2 - Scale factor to use for height of bars= Figure C-5 shows the pressure bars from
3 - Width of bars= the solution to the network in Figure C-l.
4 - Grid spacing in bars=
5 - Units (0 or ES or 3 for S~ = 3. Contour maps: A real contour map consist a
TRUNCATE WITH A I TO ACCEPT DEFAULT VALUES.
lines over an area that represent a constant
elevation. Individuals experienced in reading
A default value will follow each equal sign. Only
contour maps can get a quit impression of area
with the FORTRAN programs can you only type
changes in elevation and wish to utilize this same
in a / to accept all of these values supplied under
type of plot to get impressions of how pressure,
items 1, 2 etc. In the case of the PASCAL
and/or HGL elevations change over the area
program you must type in all requested values
served by a network. The contouring capability of
even if they are the same as the default values
program PROFILM, that allows contour type
given. The scale factor (item # 2), to use for
maps of pressure or HGL elevations, is intended
height of bars, is the multiplier of the quantity
to cater to this need. It is important to recognize,
being plotted from item # 1 to establish the
however, that the manner in which the HGL
height of the bars. If this factor is very small the
elevation, or the pressure, changes over the area
bars will be short, but if this factor is too large
serviced by a pipe network is not the same as the
then the bars will extended above the top of the
continuous changes that may take place in
graph and will not be fully displayed or the size of elevation of the ground surface. Rather the
the network will be small. For example, if a graph
piping system supplies pressures only along the
is to be plotted on a Calcomp plotter, and if
actual pipe lines and not between the pipes.
pressure is selected for the bar, and the pressure
Therefore, a contour type map of the HGL
at a node is 40 psi, then a scale factor of .02 will
elevation (or pressure) has meaning only along
result in this bar being 40 x 0.02 = 0.80 inches
pipes. The pressure will vary linearly along any
high; a scale factor of 0.01 will cause this bar to
pipe line, except where devices such as booster
be 0.40 inches high, etc. Similar results occur on
pumps, or valves, etc. exist where the HGL
the screen of the PC, but the results will not be in
elevation will be a step function. To make the
inches.
user aware of this difference the contour of HGL
If you have a graph with bars that are
elevation, or pressure produced by program
either too large or too small, then either increase
PROFILM are shown as straight Jines in the
or decrease the scaling factor and create another
spaces between the pipes. These straight lines will
display, or plOt. After a little experience with the
not be smooth as they cross pipe lines. In
graphics adaptor that you are using you will gain
reading these contour type maps you must
a feeling for what appropriate scale factors are.
recognize that the values are only meaningful
Item # 3, the width of the bars, is their
along the pipe lines themselves, and only if
horizontal dimension in inches, if sent to a
additional pipes lines are included as part of the
Calcomp plotter, and again a measure to their
network do the values have meaning in the spaces
width if displayed on a PC's monitor. All bars
between the lines. However, the addition of more
will be this same width. The grid spacing in bars,
pipes will alter the solution even if the demands
item # 4, represents the distance in inches
are keep the same, and the sources of supply do
between consecutive 30 degree diagonal lines that
not change.
will be used in filling the bars, when the plot is
When you select to have PROFILM
produced by a Calcomp plotter. For the PASCAL
create a contour type map, you will first be ask to
program the bars are filled in and this item does
give what is to be contoured. Next you will be
not appear. For very small values of this distance,
given the range of the item that you selected to
in the order of the pen widths, the bars become
have contoured given, and you will be ask to
solid, but also more plotting effort and time is
select the smallest value for which contours are to
needed in making the bars. Item # 5 allows for
H
lj;I6 t:~
)
~~
r- ~
r-
f w WI I'V
'"
'" \:1/
r-
r-
(5)
" IT}
0) U 21 ~ 4)
n
0) 1)
~ rn 4)
I j5l
N
~
J)
fD III 4)
Is>
~
:u r.J(} :1 QIII :<1:
r.JlI.I
( ......
\111
'S
5 17
Figure C-6.
contour type map displaying the Hydraulic Grade Line elevations from
the solution obtained for the network displayed in Figure C-2 (with
input data in Table C-2.)
C-22
be drawn, the number of contours to be drawn, need to supply the name of this file. PLTTIM
and the interval between these contours. For the reads these files as they are written, including the
PC version of PROFILM written in PASCAL you heading of the table. It is the heading that tell
will also be requested to indicate the frequency of PLTTIM the variables that can be plotted against
heavier contour lines. In addition to the display time. When using auxiliary program PRINT to
of contour lines the pipe lines of the network will write the special tables you need to follow the
be displayed, but will not be numbered unless you instructions in Appendix E. In brief PRINT
select the option to have these numbers given. accepts commands that instruct it to create
An alternative is to have the node numbers of the identical special tables to those written directly by
network displayed on the contour type map. USU-NETWK. In this latter case, program
Figure C-6 shows the contours of the PRINT utilizes a direct access file written by
HGL elevations plotted. USU-NETWK to create special tables of flow rate,
In using the PC version of PROFILM you or headlosses for selected pipes, or pressures,
can change color, line widths, etc., as options in HGL-elevations, or elevations at selected nodes.
the same manner as described below under the Regardless of how the special tables are obtained
graphics program PLTTIM> their first column contains time, and the values
from this first column are plotted as the abscissa
of the graph that PLTTIM makes. The variable(s)
plotted on the ordinate of the graph can be any,
or all of the other columns in the table. Up to
Use of PLTTIM to Make seven of these other columns can be placed on any
Graphs of Solution single graph, and as many graphS created as
desired.
Parameter v.s. Time
The control that you as a user can
The graphics program PLTTIM shows exercise over the nature of the graph that will be
variations of nodal pressures, pipe flow rates, produced depends upon whether you are using the
water surface elevations in tanks, etc. as functions version designed to write a "Calcomp" type plot
of time, and as such is only useful in connection file, or whether it is the PC version written in
with understanding solutions obtained from the PASCAL that is displaying the result on the
version of USU-NETWK that can also solve time monitor. The PC version first asks if you wish to
dependent problems. There are three versions of change any options. If you respond with Y (for
PLTTIM available, similiar to those of PROFILM. yes) then the menu shown below will be displayed
Two versions are in FORTRAN; one of which is on the monitor.
designed to write a HCalcomp PlatH, and the other Give No. of option you wish to change.
is baSically the same except that the usual o - Options all O,K.
1 - Background Color
Calcomp routines utilize graphics allowed with 2 - Text & Line Color
3 - Character Size
PC's with graphics adaptors, and the results are 4 - Text Style
5 - Line Thickness
placed on the PC's monitor. The third version is 6 - Identify Curves
7 Size of Plot
written in PASCAL and is designed for PC use Give 0,1,2,3,4,5,6 or 7
under DOS.
In order to use any of the versions of Options 1 and 2 from this menu allow up
program PLTTIM it is necessary that one of the to 16 different colors to be selected (assuming that
special tables, that USU-NETWK will write with your graphics card will allow this). When you
PRINTT set different than zero in the $TDATA type either the number 1 or 2 the following box
list of option, is present as a disk file. PLTTIM will appear on the monitor:
utilizes these tables, or the identical tables that Select from available colors
auxiliary program PRINT (Appendix E) can be o= Black
1 = Blue
used to write. Upon executing PLTTIM you will 2 = Green
3 = Cyan
4 Red
C-23
5 ~ Magenta adaptor in your Pc. Selcction of 3 for "gothic"
6 = Brown
7 ~ LightGray also gives a larger character size. You will need
8 -= DarkGray
9 ~ LightBlue
10~ LightGreen
to try these menu items in connection with menu
11= LightCyan # 3 until you get the printing you desire.
12=LightRed
13=LightMagenta
14=Yellow
lS-=White Selection of #5 on the options menu will
Default setting= 7
Give No. of Color desired have the following displayed:
After making the change to the color you desire Give 1 or 2 for line thickness
1 - single thickness
for either the background (#1) or the foreground 2 thick line
(#2), you will notice that the cursor returns to the
end of the options menu waiting for you to type The default is 1 for single thickness. Selection of
in another number for an additional option, or 0 "thick line" will cause the border, and curves on
to indicate that you do not wish to change any the graph to be double line thickness.
other options. If you select #3 the follOwing will
appear at a different location on the screen, and The sixth options menu item (#6) displays
in a different color if you have a color monitor: the following:
0-24
85
80
I
.......... .............. ........ .1.... 75
u ./
1
I\.\.\ J
~ ro
UJ
71 _.-.,-_.-
. ........ ,. ... -.. . ,....... .... - _.--
~_I_I-" 65 00~ M
1"".-_1'11 ~I
~----L------~-----12~----1~6-----~~~--~2{5
TItlE
C-25
~ NODE 3
I.{)
UJ r-..
a:::
:::>
(f)
(f)
UJ
a:::
a..
I.{)
<D
9
t1
I.{)
I.{)
TIM E
Figure C-8. Time dependent plot from PLTTIM from a Calcomp
Plotter.
C-26
as written by USU-NETWK with the option name PLOTlO.DAT. PLTNETI interfaces with
PRINTT greater than one, or written by program the DISSPLA software package to create any of
PRINT. Depending upon what this file contains the following displays:
you will see something similar to the following: (1) A contour type map of: (a) the
THIS FILE CONTAINS PRESSURES AT NODE NO 7 elevation of the HGL, (b) the pressure head, (c)
213 4 5 6 the pressure (psi when ES units are used and KPa
FOR TIMES
0.00 2.00 4.00 6.00 8.00 10.00 12.00 when SI units are used) or (d) the ground
14.00 16.00 18.00 20.00 22.00 24.00
Give NODE NO that you want plotted against time up elevation,
to 7 No.s allowed. Term. with 999
(2) A three-dimensional perspective view
For example if you wanted all 7 columns of data of the network and its solution from any desired
plotted on the same graph you could type in the viewpOint, and
following in response to this: (3) A three-dimensional perspective view
1234567999 of the networks HGL elevation, or pressure head,
The order of giving the numbers determines the etc. superimposed on "bed posts" over a contour
order in which the curves will be plotted on the map of the same quantity. In order to use
graph, and their symbols will be different. program PLTNETI, the computer on which
Below in Figures C-7 and C-S you see the PLTNETI runs must contain the DISPPLA
graphs as they have been obtained by different software package.
methods. The one obtained from an IBM XT PC Upon execution of program PLTNETI
with only a CGA graphics card was send to an you will be ask:
Epson printer by pressing the <Shift>PrtScr key.
Type in No. for GRAPHICS device:
(The command GRAPHICS was given to DOS 1 CALCOMP 2 - CITOH2 3 - CITOH4
prior to executing PLTTIM.) The other graph was 4 - GIGI 5 - HP7475 6 - IDsystems
obtained from a calcomp plotter. 7 - KERMIT-TEK 8 PRINTRONIX 9 - RAMTEK
Another possibility is to have the graphs 10 - RETROGRAPH 11 - SELANAR 12 - TEK4010
printed with a HP-Laser Printer. For example 13 - TEK4014 14 - TEK4510 15 - TEK4662
16 - TEK41 17 VT240 184662
the screen image might be captured by 19 - LASERJET
WordPerfect using the GRAB utility supplied with
WP version 5, and then incorporated as part of (This list of devices may change with time & installation.)
the WordPerfect document using the Graphics
key. Since DISSPLA supports any graphics device
including printers such as Laserjet and Printronix
printer, the results can be send to any device that
accepts graphics.
Next you are ask to:
Use of PLTNET3 to make
Three-Dhnensional graphics GIVE FILENAME WIlli DATA ( cr if PLonO.DA1)
0-27
(Y-DIST LIMITED BY DEVICE) NETWORK.
DO YOU WANT GROUND SURFACE PLOTTED?
The x and y distances request here are in
inches if a calcomp plot is requested and might At this time the information has already been
vary slightly from this for other graphics devices. written to the plotter file that is needed to
The actual size of the plot will be larger than generate the requested perspective view. If the
these dimensions by the title and labeling on both response to the above question is N, for no, then
the x and y axes. The next requested information the closure to the plot will be written, and
is: execution terminated. A response of Y, for yes,
will result in similar information being generated
GIVE NO. OF WHAT YOU WANT PLOTTED: to display the ground surface and in this
1 - HGL Elev. perspective view the pipes will be shown as lines.
2 - Pressure Head This ground perspective will be drawn with dashed
3 - Pressure in psi (or -3 if kPa)
4 - The ground elevation
lines so it can be distinguished from the previous
GIVE 1,2,3 or 4 (or 0 to STOP) perspective display.
Figures C-9, C-lO and C-ll illustrate the
The next menu allow for you to select three different types of plot that can be produced
from the three different types of displays that can by PLTNETI. The information to plot or print
be created. This menu consists of: will be written to a disk file such as
CALCMP.PLT, FOR032.DAT, LASER.PLT, etc.
Should this be: (which may be a different name depending upon
1. a 3-Dim. display, the installation). If the selection above is the
2. a Contour plot? or
PRINTRONIX printer, then the file is
3. a 3-Dim. display with a contour map underneath
FOR032.DAT, and the file will be CALCMP.PLT
if the selection above is CALCOMP, etc. This
In response this this question you type in the
output file must now be sent to the appropriate
number 1, 2 or 3.
device for plotting of displaying. This output file
To assist you in deciding an appropriate
might now be deleted, if desired. It is possible to
viewpoint for the display PLTNETI next give a
reuse the general purpose graphics file written by
message such as:
USU-NETWK any number of times using different
THE SIZE OF 3-D WORKBOX IS 4600 4000 4300 viewpoints and/or sizes for the plot or different
A DEFAULT VIEWPOINT IS AT -9200 -4800 13800 plot devices, until the desired results are obtained.
DO YOU WANT TO GIVE A DIFFERENT VIEWPOINT? For example if you are connected to a host
computer, that has DISSPLA software available,
If you want to accept this viewpoint which by means of a PC running KERMIT you can
is from behind in both the x and y directions, and select KERMIT (No.7) as the graphics device.
well above the network at a distance of 13800 ft in This will display the results on the PC's monitor.
the z-direction in the above example you would After adjusting the viewpOint, etc. until the
respond with a N for no. A Y response allows desired plot appears, you could then repeat the
you to determine the viewpoint by having you plot, but for this final time select a hard copy
provide the x y and z coordinates from which the graphics device, such as the Calcomp Plotter, or a
viewer looks at the network and its solution which Laserjet printer. After a little experience, a user
will be displayed. If the network is large in area generally has a good idea about the viewpoint
size, then these coordinates need to be relative pOSition he wishes to use.
large also. If the network extended over a relative
small are, then these coordinates need to be
smaller also.
Next you will be ask:
C-28
Figure C-9. Perspeci ve view of the HGL-elevation from the solution
to a network. This is the first type of graphics that PLTNET3 can
produce. The results were obtained from a Laserjet printer.
0-29
=
I
,
I
I
I
I
I
I
I
I
o
~ ,"""
".... I
I
I
I
I
CD I
o I
c I
o
..,J ,
I
I
I
(
(I) I
...) I
I
Cl I
I I
::no I
....
en
....
,
I
I
I
I
(,
I
I
,
I
I
\
\
\
I
I
I
I
I
I , ..........
o
I
I
I I
/ ...... _--------
m ,
I
I , I
I
..,.
,,, I
I
I
I I
I I
,,.
I I
,,
I
,
, ,'. ,,
I
,,, I
I
I
..
I I
..
o \ I
I I
o "' ..
~~~--~~~~~~~~~~..~----~~------~~--~----~ ----..~..--~------~------~~~~
I
~~~
0.0 1200.0 2400.0 3600.0 4800.0
x-DLslonce
C-30
~
...
&1
,
,,
~ ,,,
~
,
i(I
~
:x::: ,
04 ,
.q
7.~ ,
~'"
f;J ,
,
q ,,
~
C-31
=
C-32
APPENDIX D - IMPROVING DESIGN
(SETTING OPTION DESIGN =2)
Assistance in improving upon the design of expectancy, and an interest rate of 10 percent. If
an existing looped water system, or designing such your response is N (for no), then you wilJ be asked
a new system can be obtained from NETWK by for some basic cost information such as interest
setting the option DESIGN =2 in the SSPECIF list. rate, capital cost of different pipe sizes per unit
With DESIGN=2 a special portion of NETWK is length, life of system, and energy costs. NETWK
called upon that assists in doing the following (a) utilizes these costs data to obtain the optimum S-
sizing pipes, (b) locating possible pipes that should Q relationship by the methods described in a
contain pumps, (c) determining water surface subsequent section of this appendix.
elevations of reservoirs (or tanks), and (d) With the optimal S-Q relationship given,
determining heads and flowrates that source pumps NETWK next separates the given network into:
should supply. These are determined sueh that the (1) a primary branched system, and (2) additional
network results in least cost, or near least cost. loop forming pipes. If J (number of nodes in the
This portion of NETWK is interactive, and the user network) pipes are given zero diameters as when
is lead through the design by a series of questions DESIGN = I, then the pipes whose diameters are
that are asked of the user. This appendix discusses given greater than zero are the loop forming pipes.
how a user can utilize this speeial portion of If all pipes are given a diamter then NETWK
NETWK. Also a brief discussion of the methods makes the decision about which pipes should
that NETWK uses is given to assist in constitute the loop forming pipes. With these
understanding what is needed on the part of the pipes removed a continuous path of pipes must
user. exist to all nodes of the network, i.e., at least one
With DESIGN =2 the data may be pipe with a given zero diameter must occur al each
prepared in the usual manner for a regular analysis node. It is these pipes whose diameters are given
in which a solution of the flows and pressures as zero, and which must form a branched system,
throughout a network, i.e., all pipe diameters may that will be sized to satisfy the demands at "least
be specified, even though NETWK will determine cost". These pipes are sized so that the slope of
the best sizes of pipe to use in most of the lines of the HGL is as close to the optimum slope using
the network. The user will be asked if given standard pipe sizes as possible. The additional
diameters should be ignored or not. If the loop forming pipes are given diameters equal to
response is Y for yes then NETWK will decide the minimum allowed if all pipes are given
which pipes should be sized with the minimum diameters in the original data, or as specified by
allowable diameter (that the user can give), and the user. The method used by NETWK in
which pipes should be sized to meet the demands, accomplishing this can be described in the
elc. that are given such that the slope of the HGL following six steps:
is equal or nearly equal to that whieh will result in 1. The two most dominant sources of
the least overall costs. Alternatively, one can supply are identified. If the user does not wish to
prepare the input data similarly to that used with specify which these are, then those will be selected
DESIGN=I, i.e., J pipe diameters are given as with the two largest total heads, as given by the
zcro to denote pipes whose diameters are to be input data. The water surface elevation of
solved for, and the remaining pipes are given the reservoirs is used for this purpose, and the head
givcn diameter. When the latter option is selected, produced by pumps, assuming normal capacity is
then the pipes with given diameters will retain added to their supply water surfaces. Next these
these diameters, and in the methods used they will two most dominant sources of supply are connectcd
be the "loop forming pipes." What the "loop by the shortest path of pipes betwecn them. For
forming pipes" means is explained below. subsequent descriptions of the methodology this
When NETWK first begins exeeution of path will be referred to as the ndominant path".
this portion of the code you will be asked if you All other paths of the branched system that will be
wish to accept the default values that define the defined, will ultimately terminate at one of the
least cost slope of the HGL versus flowrate nodes of this dominant path. If only one source of
relationship i.e., the optimum S-Q relationship, as supply exists this dominant path is not defined.
given in Table D-l. The relationship in Table D- 2. The other sources of supply are
1 is based on the default costs of pipes, electrical connected by the shortest path of pipes to one of
energy costs of SO.10/kilowatt-hour, a 50 year life the nodes of the dominant path. These additional
D-l
paths will be referred to as primary paths. These node is examined. Should this pressure head
primary paths will each be formed in the ascending exceed a maximum specified amount, that merits
order of the total head available from the source at inclusion of a booster pump (which the user can
its terminus as defined in the input data if the user give), then a pipe is suggested that might contain
does not wish to indicate which source should be the pump and an appropriate head for this pump is
used for each succeeeding primary path. Any such given. The user can accept these suggestions or
primary path is terminated (i.e., merges with) when provide an alternative. Also a list of consecutive
it intersects a previous primary path. Should only nodes, with their connecting pipes, that exceed the
two sources of supply exist, then they constitute the maximum head is given to assist the user in
dominant sources and this step is omitted. deciding were to place a booster pump if the
3. The remaining nodes of the network, suggested pipe is not acceptable. The total head at
that are not included in the dominant path, or any the nodes upstream from the pipes in which a
primary path are connected by the shortest path to booster pump is placed are reduced by the head of
one of the nodes of the dominant path. Whenever the pump. This process of identifying pipes that
any such path intersects a node in a previously should contain booster pumps continues whenever
defined path it is terminated. These paths will be the pressure head exceeds the specified maximum
referred to as secondary paths. The order in which pressure head
these secondary paths are formed is first from When this procedure for establishing HGL
nodes of degree I, i.e., dead end pipes, next from elevations advances back to the primary paths it is
nodes of degree 2, i.e., that have only two necessary to have a flowrate that each reservoir
connecting pipes, etc. The order in which nodes must supply that is at the terminus of each primary
are selected within a given degree is according to path. The user is requested to indicate what
their descending elevations. fraction of the total demand (either positive or
In completing the above three steps a negative) he believes this reservoir should supply.
branched system of pipes is formed that includes The HGL elevations along primary paths are
all nodes of the network and presumably contains established to just meet the minimum head at some
the pipes that will convey the vast majority of the node along the path. The water surface elevation
flow from the sources of supply to the various of the reservoir at the terminus of each primary
demand points. Those pipes not included in this path is thus established.
branched network are identified, and the user has 5. The total heads at nodes of the
the option of including those that can be dominant path that have not been previously
appropriately incorporated in the branched system assigned, are determined last by a process designed
in place of those that the computer selects. to not only allow for optimum, or near optimum
4. An appropriate head is established at sizing of pipe, but also to assist in determining
each node of the network so that the slope of the minimum allowable heads that the two dominant
hydraulic grade line is as close as possible to the sources of supply should have. To assist in
optimum S-Q relationship using standard pipe describing how these heads are determined it will
sizes. The procedure for doing this consists of be assumed that Nd nodes exist along the dominant
working through paths in the reverse order of their path, excluding the two dominant sources of supply.
formation. At the beginning node of each path, the Figure D-l shows a sketch in which Nd equals 3.
total head is equated to the minimum allowable Nd different cases are examined that assume the
pressure head (which the user can specify if he flow is directed toward the Nd nodes from both
does not wish to accept the default value) plus the sides. For case 1 the hydraulic grade line must
elevation of the node. Proceding from this node to slope from both directions toward node #1 that is
succeeding nodes of the path, the total flowrate that closest to one of the dominant sources; for case #2
each pipe must carry, when the carrying capacity of the HGL slopes from both directions to the next
the additional loop forming pipes is ignored, is node, etc. until for the Nd-th case the HGL slopes
computed. With this flowrate known, the optimum toward the node closest to the other dominant
S-Q relationship provides the slope of the hydraulic source. The elevations of the HGL for each case
grade line that should exist for this pipe, and starts at the node at either the minimum head,
therefrom its diameter is computed to satisfy the H min above the elevation of the node, or at the
head loss equation. In this process of proceding head Hi' that may have been established during
along paths a check is made to determine whether step 4. The slope of HGL is based on the
the computed head has been previously assigned to optimum S-Q relationship corresponding to the
any node. If so the previously computed head is flowrate carried by the pipe. These flowrates can
composed with the currently computed value, and be determined since the flowrates, or demands,
the larger of the two selected. Upon establishing leaving from each of the nodes of the dominant
these heads, the pressure head (e.g. the difference path are now known in completing step 4. When
between the total head and the elevation) of the at the starting node for each case then the demand
D2
at this node can be distributed according to the Table D~1. Values of flowrate and slope of the
ratio of the number of nodes to the source of hydraulic grade, i.e. the S-Q relationship, that
supply and Hd + 1. Should the HGL fall below constitute the default values that will be used if
the minimum head, H min , or the total head Hi' other cost data are not provided.
then the entire HGL is raised. Raising of the
HGL is illustrated in case 2 and 3 of Figure D~1. Flowrate, Q Optimum Slope of
For each case, i, the required total heads from the (cfs) Hydr. Grade line
two dominant sources of supply H11 and ~i are
computed. The case that produces the minImum 60 .01
sum of these source heads is selected. The heads 40 .009
given for these two dominant sources of supply is 30 .008
altered, or if the source is a pump, then the head 20 .007
supplied by the pump is altered. 15 .006
6. With the total heads and flowrates
known for each pipe in the branched system obtain 12.5 .005
through steps lD .004
1~5 above, the diameters of each pipe is next 8 .0035
computed. These diameters may be determined 7 .0030
from any of the frictional head loss equations, i.e., 6 .0028
the Darcy-Weisbach equation, the Hazen-Williams
equation or the Manning equation. The computer 5 .0025
diameters are changed to: (a) the closest standard 4 .002.1
diameter, (b) the next larger standard diameter, 3 .0021
(c) the next smaller diameter as selected by the 2 .0020
user. 1 .0019
After the standard diameters are
determined, these are utilized in a regular solution .6 .0018
by NETWK. .3 .0015
.1 .00lD
.05 .0005
Least cost slope of the HGL versus flowrate .01 .0003
reallionship (optimum S~Q relationship
D3
~i~e
l 2.)
PLAN VIEW OF DOMINANT PATH
HGL H21
HII
H .ofH
Htni~ H2 t4 )
min I ( 3.)
( I) t 2.) 2
( ,
)
- --
Hmiff"HI
Hmi or H2
2
- ---
(3 )
- - -.--- ---
l4 )
- H23
I
HEAD AT NODE 3 MINIMUM
PROFILE VIEW- CASE 3
D-4
APPENDIX E - AUXILIARY PROGRAM PRINT
(RETRIEVAL OF INDIVIDUAL INFORMATION FROM SIMULATION SOLUTION)
El
truncated to NODE T), PIPE FLOWRATE (which (At time 12 give the llow rates and HGL
may be truncated to PIPE F), PIPE HEAD LOSS elevations for pumps designated by 1 8 and 6.)
(which may be truncated to PIPE H), NODE
PRESSURE (which may be truncated to NODE VALVES
P), NODE HGL-ELEV (which may be truncated
to NODE H), NODE DEMAND (which may be The time, or range of times, followed by
truncated to NODE D), OPTIONS, SAME CARD, the PRY numbers whose upstream and downstream
NEXT CARD, END (or STOP). Each of these HGL's are to be displayed.
names are listed below, followed by a description
of the record which follows it. Each such VALVES
description is followed by an example. 12 11
(At time 12 give the upstream HGL elevation and
PIPES the HGL elevation of the setting for pressure
reduction valve, PRY, number 1.)
The time, or range of times, followed by
the pipe numbers whose flow rate and head loss PIPE F, PIPE H, NODE P, NODE H,
are to be displayed for this time, or range of times. and NODE D
PIPES These five commands retrieve basically the
128 12-2541 same data as the PIPES and Jhe NODES
(At time 12 the flow rate and head losses are to be commands do. They place the data in a table in
given for pipes 8, 12 through 25 and 4.) which time is in the first column, and the requested
items of data associated with the pipe or nodc
NODES numbers, that are given in the list, are given in
subsequent columns. The width of these tables
The time, or range of times, followed by allows only up to 11 different pipe or node
the node numbers whose demands and pressures numbers in any given table, but as many tables as
are to be displayed for this time, or range of times. desired can be created. The tables created by these
commands are identical to the special tables that
NODES can be written by USU-NETWK when PRINTT is
4-8 12 141 given a value other than zero in the $TDATA lisl
(At times 4 through 8 on the increment of the of options. Therefore you can usc PRINT to
solution give the demands and pressures at nodes create special tables that can be lIsed directly with
12 and 14 are to be displayed.) the post processor PLTTIM described in Appendix
C for special graphics, for example. In fact there
RESERV is a special option in PRINT that allows you to
have each such table you create placed in a
The time, or range of times, followed by separate file so that it is not necessary to extract a
the reservoir's designations (pipe numbers if given table for use with PLITIM if you ask
NOD ESP ;:::: 0, or node numbers if NODESP 1 PRINT to give a number of such tables.
when the data file was created by USU-NETWK),
whose water surface elevation and flow rate are to
be displayed. PIPE Flowrate
RESERV The range of times followed by the pipe
1251 numbers whose flow rates are to be place in a
(At time 12 the water surface elevation in feet or special table with time as the first column. If only
meter, depending upon whether ES or SI units are a single time is given then this table will contain
used, respectively at reservoir designated by 5.) but one line of data, and therefore this command
is generally used with a range of times.
PUMPS
PIPE F
The time, or range of time, followed by the 0-245-151
pump designations (pipe numbers if NODESP ::::: (The special table for pipe flow rates will be for
0, or node numbers if NODESP:::::l) times 0 through 24 with the increment used in the
solution with pipe numbers 5 through 15 as the
PUMPS separate column headings in this table.)
12 1 861
E2
PIPE Headloss special table with time as the first column.
NODEH BOTHT
0-24 5-15/
(The special table for HGL-elevations will be for The times ( which may be a range if two integers
times 0 through 24.) are separated by a -) for which complete tables
(both pipe data and node data tables) of
information are to be printed.
NODE Demand
BOTHT
The range of times followed by the node 18/
numbers whose demands are to be place in a (Give both the Pipe data table and the Node data
E-3
table for time 18.) Examples of Use of Retrieval Pro&ram PRINT
E-4
allowed). and then this file has been retril.'Ved as
part of this document with the u.~r requests
inserted at the correct positions.
PRINT
IF I AM USED FROM TIMESHARE GIVE 1, FROM BATCH 0
1
TYPE IN THE UNITS OF T[ME: DAYS,HOURS,MINUTES OR SECONDS
DAYS
DO YOU WANT RESULTS ON FILE ALSO? (Y or N)
Y
NOW GIVE A COMMAND SUCH AS:
PJPES,NODES,RESERV,PUMPS,VALVES,PIPE T,NODE T,
BOTH T FOLLOWED BY TIME & RANGE. ETC.
PIPE T
3{
UNI OF SOLUTION ARE
D TERS - INCH
H- FEET
FEET
TIONS - FEET
URES - (PSI)
FLOWRATES - (CFS)
PIPE DATA (TIME= 3.0)
PIPE NODES HEAD HLOSS
NO. FROM TO LENGTH DIAM COEF FLOW RATE VELOCITY LOSS /l000
------------------------------------------------------------------------------
1 7 2 500. 12.0 .010200 8.769 11.16 18.69 37.37
5 2 1 1300. 10.0 .010200 4.394 8.06 31.98 24.60
3 3 4 1600. 8.0 .010240 2.742 7.85 49.46 30.91
4 1 4 2410. 10.0 .010200 4.297 7.88 56.87 23.59
2 2 3 2200. 8.0 .010240 2.074 5.94 39.38 17.90
6 5 3 2200. 8.0 .010240 2.617 7.50 62.06 28.21
8 5 4 3000. 8.0 .010240 2.091 5.99 55.18 18.39
10 4 6 2000. 10.0 .010200 1.330 2.44 4.81 2.41
9 5 6 1400. 6.0 .010200 2.120 10.79 116.33 83.10
7 0 5 1000. 12.0 .010200 7.978 10.16 31. 06 31. 06
11 0 1 500. 12.0 .010200 .903 1.15 .24 .48
12 0 7 1. 12.0 .010200 .769 .98 .00 .35
NODE r
7/
NODE DATA. (TIME= 7.0)
NODE DEMAND HGL
NO. (CFS) (GPM) ELEV HEAD PRESSURE ELEV
7 -8.000 -3590.64 300. 99.74 43.22 399.74
2 2.100 942.54 300. 80.69 34.97 380.69
1 1. 000 448.83 280. 65.53 28.40 345.53
3 2.063 925.71 280. 58.43 25.32 338.43
4 8.250 3702.85 200. 88.47 38.34 288.47
5 1. 050 471.27 270. 133.09 57.67 403.09
6 3.150 1413.81 200. 85.58 37.09 285.58
PIPES
6 1-6/
TIME- 6.0
FLOWRATE AND HEAD LOSS IN PIPE
1 .902984E+01 .197942E+02
2 . 232591E+01 . 491849E+02
3 . 281903E+01 .522276E+02
4 . 470546E+01 . 678469E+02
5 .450393E+01 . 335657E+02
6 . 274312E+01 .680523E+02
Notice that the pipes and nodes are listed in the data tables in the same order as the input data
E-5
rather than in their sorted order that would occur Now calling on program PRINT again to retrieve
if NODESO and NSORTP had been left with their information that has been place on the files
defau1t values. Furthermore since the times FILE30 and FILE31 by USU-NETWK.
specified were between time increments for the
solution these data tables are actual1y obtain by
interpolating the given solutions.
E-6
PRINT
PIPE F
1-2.3 1-101
BOTH T
7-9/
UNITS OF SOLUTION ARE
DIAMETERS - FEET
LENGTH - FEET
HEADS - FEET
ELEVATIONS FEET
PRESSURES - (PSI)
FLOWRATES - (CFS)
PIPE DATA (TIME= 7.0)
E-7
9 5 6 1400. .5 .000850 2.031 10.35 106.97 76.40
10 4 6 2000. .8 .000850 .819 1.50 1.92 .96
11 9 1 500. 1.0 .000850 .428 .54 .07 .15
12 8 7 1. 1.0 .000850 .467 .59 .00 .16
NODE DATA. (TIME= 9.0)
--------------------~--------------------------------- ----------
NODE DEMAND HGL
NO. (CFS) (GPM) ELEV HEAD PRESSURE ELEV
----------------------------------------------------------------
1 -8.000 -3590.64 280. 119.65 51.85 399.65
2 6.750 3029.60 300. 6.16 2.67 306.16
3 1.000 448.83 280. 64.55 27.97 344.55
4 1.688 757.40 200. 152.44 66.06 352.44
5 1.900 852.78 270. 112.21 48.62 382.21
6 .950 426.39 200. 211. 21 91. 52 411.21
7 .000 . 00 300 . -299.21 -129.66 .79
8 .126 -56.56 O. 200.20 86.75 200.20
9 .349 156.51 O. 172.56 74.78 172.56
10 -6.940 -3114.98 O. 350.00 151.67 350.00
VALVES
12 1/
TIME= 12.0
HGL S ELEV. AT GIVEN PRV
8 .421638E+03 .320000E+03
E-8
APPENDIX F PROGRAM PMPCUR
for display of pump curves
Introduction How to use PMPCUR
F-l
each set of 3 consecutive pairs of this data, as well Selection of 1 permits you to give the values of a,
as display the composite curve that would be band c in the above 2nd degree polynomial
utilized by USU-NETWK equation to define a new pump curve. Upon
4. Upon section of item 4 you are giving these 3 values you will see the new pump
permitted to change the default options associated curve displayed on the monitor. Selection of 2
with pump operations. These consist of (a) will result in you being shown what the current
whether ES or SI units are being used, (i.e. the points are (i.e. pairs of flowrates versus heads) and
control you have with the option NUNIT in USU- allows you to change any or all of these pairs of
NETWK), (b) the units that the flowrate values values. Selection of 3 lets you show the pump
will be given in (Le. the control you have with the curve over larger or smaller ranges of flowrates.
option NPGPM in USU-NETWK), and (c) the When displaying the pump curve from the changes
value of the specific weight of the fluid being permitted by items 1 or 2, the range of flowrates
pumped (Le. the control you have with the option will be from the flowrate given with the first point
GAMMA, or the command WEIGHT in USU- to the flowrate given with the last point. If a
NETWK). different range of flowrates is desired for the
5. Selection of 5 will terminate the absissca of the graph then you must select item #
execution of PMPCUR. 3 subsequently. Upon indicating that you do not
wish to change any additional points, the newly
Depending upon the above menu item you defined pump curve will be displayed.
select you will be prompted by PMPCUR for the
necessary input data. Upon supplying these When you are satisfied that the
requested values a plot will appear on the monitor description of the pump that you have given
that shows the pump curve being defined, and that agrees with the actual operation of the pump you
will be used by USU-NETWK in solving the should terminate PMPCUR. Upon indicating you
network. This display consists of the flowrate wish to terminate, PMPCUR will display the final
across the absissca of the graph, and the head data that might be used under the PUMPS or
supplied by the pump to the fluid as the ordinate BOOSTER command in USU-NETWK to define
of the graph. In the bottom left had corner you this pump. You will also be ask if you wish to
will see the prompt Press Ret. have this information written to a file. If you
When you are through examining the graph press indicate that you do, then you will be ask for a
the "Enter" or "Return" key depending upon how file name and the information as it appears on the
it is labelled on your keyboard, and you will see monitor will be written to the indicated file for
the following menu displayed: you to refer to subsequently.
1. Terminate
2. New graph using same pump with die. range of f10wrates
3. New graph for different pump Illustration of Use
4. Change shape of curve
5. Print polynomial roefficients As an example assume that the pump
curve is defined by the following 3 pairs of
Selection of one of the above items has
flowrate versus head produced.
the effect described. When you select 4 to
"Change shape of curve" you will be prompted
Flowrate (cfs) Head Produced (ft)
with the following:
You can:
1 50
1. change polynomial coef 2 48
2. change value of points 3 42
3. Change range of Qs
4. terminate changes
The resulting curve produced by PMPCUR is
shown in Figure F-l. This graph was obtained by
This menu will repeat until you select 3. utilizing the "Print Screen" and an Epson printer
F-2
that was attached to a IBM XT that was used to 3 12. 2600. 3 5 5392.
48.1200.45365.5
run the program PMPCUR. In making this graph
5 14. 1860. 5 7 5410.
the range of flowrates was changed from the 68. 1200.65368.7
default of 1 to 3 (the range given in the data 7 16. 2340. 7 9 5412.
above) to 0 to 4, when PMPCUR ask: 8 8. 1200. 8 5370. 9
9 18. 1840. 9 11 5420.
Default range [or flowrates 1 3 108. 2500. 10 5414. 11
Should these be changed? (Y or N) 11 18. 4500. 11 12 5545.
PUMPS
1 400 351 600 285 700 234 5354
Note that the 2nd degree polynomial that passes
2400 351 600 285 700 234 5170
through the three points given to define the pump 4 400 351 600 285 700 234 5370
curve results in the shut-off head (the head 6 400 351 600 285 700 234 5372
produced by the pump at zero flowrate) being less 8400 351 600 285 700 234 5374
than the maximum amount produced by the pump. 10 400 351 600 285 700 234 5420
RESER
This might be the actual situation if the pump has
125500
strictly radial flow through its impeller, but most RUN
centrifugal pumps are "mixed flow" devices and
have larger shut-off heads than the head When attempting a solution USU-NETWK fails to
associated with their normal capacities. converge. A portion of this solution attempt is
shown below in which the maximum 15 Newton
It is possible to specity operating iterations is exceeded, and the SUM OF
characteristics for a pump so that there is no DIFFERENCES between the absolute changes in
solution possible for the network problem. Such flowrates between consecutive iterations has not
a "no solution" situation will result if the reduced to a value less than the allowed error. In
maximum head that a pump can produce is less fact this sum of differences does not become
than that required in order meet the head that smaller with succeeding Newton iterations.
other component of the network dictate exist at its
downstream node. Mathematically the equation ITERATION= 1 SUM OF DIFFERENCES= .431E+Ol
ITERATION= 2 SUM OF DIFFERENCES= . 252E+0 1
associated with the pump's operation for such ITERATION= 3 SUM OF DIFFERENCES= .140E+02
ITERATION= 4 SUM OF DIFFERENCES= .709E+Ol
situations has a saddle point, causing the solution ITERATION= 5 SUM OF DIFFERENCES= . 369E+Ol
ITERATION= 6 SUM OF DIFFERENCES= .203E+Ol
to become imaginary. ITERAT.ION= 7 SUM OF DIFFERENCES= . 173E+Ol
ITERATION= 8 SUM OF DIFFERENCES= .238E+Ol
To illustrate such a situation take the ITERATION= 9 SUM OF DIFFERENCES= . 161E+Ol
ITERATION= 10 SUM OF DIFFERENCES= . 975E+Ol
small network illustrate in example problem # 4 ITERATION= 11 SUM OF DIFFERENCES= .495E+Ol
in which 6 pumps supply water to a reservoir ITERATION= 12 SUM OF DIFFERENCES= .261E+01
ITERATION= 13 SUM OF DIFFERENCES= . 166E+01
through a network of branched pipes. In this ITERATION= 14 SUM OF DIFFERENCES= .356E+01
ITERATION= 15 SUM OF DIFFERENCES= .205E+Ol
example assume that the pump at node # 2 has DID NOT CONVERGE IN 15 ITERATIONS - SUM OF
DIFFERENCES = .2047E+Ol
the water surface elevation of its source 175 feet LOSSES DUE TO FL. FRIC. IN ALL PIPES
POWER LOSS=59.027 H.P.=44.034 KWATTS.
lower than that given in the input data for this ENERGY LOSS=1056.822 KWHRS/DAY
THE FLOWRATE 71.564 IS QUITE DIFFERENT THAN THE
problem, i.e. the source elevation is 5170 feet NORMAL CAPACITY 600.000
AS GIVEN BY THE PUMP CHARACTERISTICS FOR PUMP 2 IN
rather than 5345 feet. The input data for this PIPE 2
problem would then be: IS THE PROBLEM CORRECTLY SPECIFIED?
PUMPS:
NODE PIPE HEAD FLOW HORSEPOWER KILOWATTS KW-HRS/DAY
1 1 215 732 39.80 29.69 712.51
Pump 2 has w.s. elevation reduced 175' to 2 2 355 71 6.43 4.79 115.06
5170'. No solution possible because max. 4 4 190 771 37.07 27.66 663.77
6 6 182 782 36.14 26.96 646.97
head the this pump can produce is too small 8 8 172 797 34.84 25.99 623.77
for HGL elevation at node 3. 10 10 142 840 30.21 22.54 540.95
1*
$SPECIF NPRINT=-2,NFLOW= 1,NPGPM=1,
NODESP=1,COEFRO=120 $END
PIPE-
1 8. 1670. 1 5350. 3 5380.
28. 1200.25340.3
NODE DATA:
NODE DEMAND HGL
(cfs) (gpm) ELEV HEAD PRESSURE ELEV
3 .000 . 00 5380 . 169.13 73.29 5549.13
5 .000 . 00 5392 . 152.32 66.00 5544.32
7 .000 . 00 5410 . 128.41 55.64 5538.41
9 .000 . 00 5412 . 118.15 51.20 5530.15
11 .000 . 00 5420 . 103.90 45.02 5523.90
1 -1. 631 -732. 5350. 219.01 94.90 5569.01
2 -.159 -72. 5340. 185.25 80.27 5525.25
4 -1.719 -771. 5365. 195.06 84.53 5560.06
6 -1. 744 -783. 5368. 186.58 80.85 5554.58
8 -1. 776 -797. 5370. 176.87 76.64 5546.87
10 -1. 872 -840. 5414. 148.25 64.24 5562.25
12 8.903 3996. 5545. -45.00 -19.50 5500.00
AV. HEAD=144.83 AV. HGL=5541.99 MAX HEAD=19.01
MIN HEAD=-45.00
F-4
50
P
u
M
P 41
H
e
a
d
32~----------------~----------------~
o 2 4
PUMP Flow Rate
Press Ret
Figure F-l. Pump curve displayed by PMPCUR.
370
P
u
M
P 21
H
e
a
d
11H+------------------~----------------~
o 400 800
PUMP Flow Rate
Press Ret
F-S
F-6
INDEX
% 47 economic analysis 78
$ASPECI A-I EFFICency 74,156
$END 111 ELECtricity 74,77,78,133
$TDATA 82,128,140 ELEV 18
ADDITional 72,76,78 ELNODE 67
ALLCOefficents 67,121,150 ELPUMPs 67
Alpha-numeric 39,41 ELREServois 67,122
ALTV 82,154 END xxi,49,76
APPURTENCES 75,78 END TABLES 85,130
BOOSTer xxi,48,123 engineering cost 5,71,D-l
BOTH TABLES E-3 EQUDIA 16,29
BOTTOM 85,159 ER8 49
BPUMP 48,123 ERROR xxi,16,49,159
BPVAL xxi,49, 149, 150 English units 3
branched system 21,76,134 executing NETWK iv
CAPItal 75,78,156 flow coefficient 88
capital costs 74,78 FLOW RULES 88,155
CHANGE 67,69,122 FLOWFC 16,44
change data 67,122 FLOWS (cost) 78
CHECK xxi,49 fluid mechanics xvii
check valve 64,102 FORMAT xxi,23,52
COEFFicients 12,18,67 format 42,47
COEFRO 12,115,135 general specifications 10,11
commands 47,48 graphics 6,30,C-l
coordinates 24 HGLSET 89,169
CORNOD 11,120 HLETTE 16
CORPIN 11,120 HOURS E-l
CORPIP 11,118 HTIME 83,130,140,154
CORPUM 14 ICOST 17,20,121,133,156
cost data 10,71 IHGL 17,20,21,115,125,156,157,166
crf 72 INCHR 83,141,154
DATVAL 87 INCHRP 83
DAYS 74,E-l INCMIN 83,159
DEMAND 67 INCMIP 83
DEMAND FUNCT 87,141,145,147,155 INITAL 22,154
DEMC 75 INPUT 22
detailed data 10,47 INPUTA 23
DESIGN(option) 14,20,21,115, 126,158,175,E-l installation iii
DESIGN( command) xxi,49,133 INST NET iii
DFRAC(command) xxi,49 INTEREST 72,121,133,157,158
DFRAC(change) 67,121 international units 3
DHEAD( command) xxi,49,129,138,173,174 IOEX 125
DHEAD(changes) 67,121b lOUT 23
DHEAD(simul. ) 90 IOUTI 23
DHEAD(special I) 19,20 IOUTO 23
DIAMEters 83 IRESID 24
direct access file 145,E-l ISIML 24,128,140,144,146
I-1
-
I-2
PEAKF(change) 67 SERIES(change) xxi,67
pipe costs 71,76,77,78 SETHG xxi,63,67
PIPE FLOW E-2 SETPR 63,172
PIPE TABLE 84,130,143,161 SETPRR 104
PIPE-node xxi,56,111 SETHGS 104,170
PIPES( command) xxi,55,111 SETPRR 104
PLOTH 44,C-3 SETHGR 104
POWER 74,78 SMINOR 97,161
PRESMA 44,154 SQGlVE 101,162
PRESMI 44,154 special tables 84, 141, 143,C-23,E-7
pressure reduction valve 4 specific weight 65
PRINT xxi,59,E-1 STORAGE FUNCT. 105,130,141,145,147,154
PRINTT 84,131,141,159 specifications 10,11
PRVHGL 67 steady-state 10,47
PIPEINPT 6 SVALVE 97,161,165
PLTNET 6,C-l SVALVC 105,165
PLTTIM C-3,C-22 TITLE(change) 67
PRVLOS 44 TVSUM 44
preprocessor 6 TVSUMI 44
PROFILM 6,C-3,C-22 TVSUM2 44
pump curve 59,111,F-l UNIT(command) xxi,63
pump power 59,74,76, 116,E-l UNIT(cost) 76,121,134
PMPCUR F-l VALVC xxi,64,159
PUMP RULES 95,130,141,143,154,155 VALVE xxi,64,76,111
PUMP (cost) 71,78,156,157,158 VCOEMA 85
PUMP SCHEDULE 96,145,149 velocity 21,175
PUMPS xxi,59,76,111,124 VELMAX 85,154
pwf 72 VELMIN 44,154
QGIVE(command) xxi,61,118 viscosity 45
QG IVE(change) 67 VISC(command) xxi, 11,65
remarks 47 VISC(option) 45,131,135
RESER xxi,61 WATER (cost) 76,121
RESER.TABLE 85,141,159,161 WEIGHt xxi,65
RESERV 73,78,E-l weight flowrate 11,20,21,31,34
RESERVO IRS(cost) 76,121
RESP 74
REYNUM 44,130 This index does not cite all pages where
RMINOR 97,143,161 commands or options are used. Generally only
RVALVE 97,161,165 the page number where the command or option is
ROTAT xxi,62 described is given, and one or two of example
RQGIVE 101 problems where the command, or option, is used
ROTRUL 99,128 are cited. For example if the commands PIPES
ROTSCH 100,128 and NODES were cited for each example problem
RUN xxi,63 in which they are used, then practically all pages
RVAL+P 105 giving input listing in the example problems would
RVALVC 105,165 be cited. Command names, Option names, and
RVALVE 105 Prorgram names are capitalized.
SAME CARD E-4
SERIES(command) xxi,63
1-3
=
I-4