I ALTERATION OF EPA'S SWMM I FOR USE ON A CDC 6400

95
I I I I I I I I I I I I I I I I I I I ALTERATION OF EPA'S SWMM FOR USE ON A CDC 6400 E. D. HETZEL R. L. JOHNSON DECEMBER 1976 h>.. . '"1\!G :1:'n:30:< · " :3RARY FRITZ ENGINEERING LABORATORY REPORT NUMBER 416.1

Transcript of I ALTERATION OF EPA'S SWMM I FOR USE ON A CDC 6400

I I I I I I I I I I I I I I I I I I I

ALTERATION OF EPA'S SWMM

FOR USE ON A CDC 6400

E. D. HETZEL R. L. JOHNSON

DECEMBER 1976

h>.. . '"1\!G :1:'n:30:< · " :3RARY

FRITZ ENGINEERING LABORATORY REPORT NUMBER 416.1

I I I I I I I I I I I I I I I I I I I

ii

ABSTRACT

The computer program, ~torm ~ater ~anagement ~odel (SWMM) de­

veloped by the U. S. Environmental Protection Agency for simulation of

stormwater quantity and quality has been adapted for use on the Lehigh

University CDC 6400 computer system. This report documents the changes

necessary to reduce the SWMM from approximately 800,000 (octal) words

to the 120,000 (octal) words that are currently available at Lehigh

University.

Program modifications included reduction of the size of problem

that can be handled, but also included using the SEGLOAD directives to

accomplish the desired reduction of size to fit with the Lehigh University

system.

I I I I I I I I I I I I I I I,

I I I I

TABLE OF CONTENTS

ABSTRACT

LIST OF FIGURES AND TABLES

INTRODUCTION

GENERAL COMMENTS

PROGRAM MODIFICATIONS

A. Parity of IBM and CDC Systems

B. Program Size Reduction

C. Segmented Loading

D. Mode Error Corrections

E. Nonessential Changes

USER'S MANUAL CORRECTIONS

UNRESOLVED PROBLEMS

REFERENCES CITED

APPENDIX A: SOURCE CODE CHANGES

APPENDIX B: SEGLOADING OF SWMM

APPENDIX C: PROGRAM SIZE CHANGES

iii

ii

iv

1

3

5

5

8

10

12

14

18

21

23

24

59

76

I I

I I I I I I I I I I I I I I I I

Figure

1

2

Table

1

LIST OF FIGURES AND TABLES

Corrections to TRANSPORT Flow Chart (5)

Corrections to STORAGE Flow Chart (5)

Grouping Source Code Changes from Appendix A With Descriptions Given in Text

iv

19

20

15

I I INTRODUCTION

I In the late 1960's, the Environmental Protection Agency (EPA),

I recognizing a need to more clearly define the effects of stormwater run-

off on the environment, funded a project to develop a computer model to

I simulate stormwater flow. The program was to model both the quantity i

'

I and quality of the water from the source to its ultimate effect on the

receiving body pf water, with an option to store and/or treat the water

I prior to discharge. The model development was a joint venture of the

Univeristy of Flordia, Metcalf & Eddy, Inc., and Water Resources Engi-

I neers, Inc. The initial version of the program became available in 1970

I under the title of ~torm ~ater ~anagement ~odel (SWMM) (1,2,3,4).

The Fritz Engineering Laboratory Water Resources Division ac-

I quired a "Release 2" (February 1975) copy of SWMM in the spring of 1976

I for both research and classroom utilization. Since SWMM was developed

on large IBM computer systems, it posed two immediate problems in attempt-

I ing to use it on a Control Data Corporation System (specifically a CDC

6400). First, there are basic system differences that must be dealt with

I anytime a program is used on a system other than the one on which it was

I developed. Secondly, the core requirements of SWMM are estimated at ap-

proximately 800,000 octal words, whereas the CDC 6400 at Lehigh University

I has 120,000 octal words available to the user. Hence, this necessitated

segmenting the program and reducing the core requirement by changing array

I size limitations wherever possible.

I The essence of this report, is to document the program altera-

tions that were necessary to make SWMM function on the CDC 6400. The

I body of the report describes the types of changes made with specific ref-

I

I I I I I I I .I I I I I I I I I I I I

-2

erences to the program source code. Appendix A presents a listing of

the line by line changes, including the original and adjusted versions.

Appendix B illustrates the program operating size reduction accomplished

through segmentation (5,6) and includes the control directives, struc­

ture.and relevent maps associated with the segmenting operation. Finally,

Appendix C defines the reduction of array s·izes as noted in the "Card

Data" sections of the User's Manual ( 7) •

I I I I I I I I I I I I I I I I I I I

-3

GENERAL COMMENTS

It is somewhat unrealistic to believe that by incorporating

the changes to the SWMM program as illustrated in this document, that

the model will immediately operate smoothly on any CDC 6400. There are

sufficient differences between individual operating systems to prohibit

th~s from occurring. Program control directives were specifically ex­

cluded from this report for that reason. It should be noted that the

necessary program modifications are computer dependent. In this case,

an FTN compiler (8) was used, which is a fairly flexible system. Should

this same task be repeated with a more restrictive compiler, it is quite

likely that additional program changes would need to be implemented.

After program compilation is achieved, there is still no guar­

antee that the model will work effectively for all operating combinations.

The modified version of the SWMM as presented here was never rigorously

tested at Lehigh University. One set of trial data from the User's Man­

ual (7) and another from a short course during July of 1976 (9) were both

applied to the program, and except for the RECEIVE block, the results

correlated well with those published. However, since neither data set

incorporated all of the program options, a user could select an untested

option that may not execute properly.

The RUNOFF and TRANSPORT blocks of the program were used ex­

tensively in the past six months in conjunction with a storm water man­

agement study performed for the Urban Observatory of the City of Allen­

town, Pennsylvania. Both program blocks performed very smoothly through­

out the study and seemed to produce reasonable results·.

I I I I I I I I I I I I I I I I I I I

-4

The STORAGE/TREATMENT block, although it does execute to com­

pletion, is plagued by what appears to be some minor coding errors as

discussed later in this report. The University of Massachusetts is cur­

rently updating this block of the program (10), therefore it seemed un­

necessary to correct these aspects of the code, especially in light of

the fact that there was no immediate need for this portion of the model

during the storm water management study.

The final program block, RECEIVE, is one of the few totally

dynamic stream modeling programs available today. This particular block

has never executed to completion at Lehigh University. The portions

that did execute required significant computer time and consequently

this program block proved to be costly. A subsequent study (11) attempted

to reduce the RECEIVE block down to its essential components in an effort

to obtain reasonable output, but this work has proved fruitless to date.

Even if the coding was made to execute, in light of the detailed data

input necessary, coupled with the long execution time, it seems more

prudent to apply one of a number of simpler quasi-dynamic or steady-state

stream modeling programs to most stream situations.

Despite the potential pitfalls of implementing the program mod­

ifications contained herein, it is believed that this document represents

a substantial step toward making the SWMM operational on a CDC 6400, or

any other CDC system. For any user interested in using this report for

that purpose, it is strongly recommended that they first familiarize

themselves with the SWMM model through the EPA documentation, and secondly

that they seek the assistance of someone very knowledgeable of their

particular computer system.

I I I I I I I I I I I I I I I I I I I

-5

PROGRAM MODIFICATIONS

This section describes the source code modifications made to

the SWMM program. The changes are divided into four categories, which

are then broken down into groups and subgroups. Naturally, each of the

specific changes as documented in Appendix A will correspond to one of

the subgroups mentioned. Consequently, Table 1, at the end of this sec­

tion, places every change into a subgroup to provide a cross-reference

for users who may wish to isolate particular types of modifications ger­

mane to their computer system.

Appendix A shows a full list of the common blocks contained

within each major program block. The array sizes within those blocks

have been reduced in accordance with the new program size limitations

imposed. Hence, a user should be careful when constructing the common

blocks, since those changes are not noted elsewhere.

A. Parity of IBM and CDC Systems

The initial step in the conversion from one computer system

to another is successful program compilation. The FTN compiler (8) used

in this instance divides errors into fatal (preventing compilation) and

informative diagnostics.

1. Fatal Errors Prohibiting Program Compilation

(a) Program Card

All CDC computer systems require that the first card

following the control statements be a program card, which both names

the main program and distinguishes it from the subroutines. The pro-

I I I I I I I I I I I I I I I I I I I

-6

gram card has the additional responsibility of assigning specific numbers

to peripheral tapes. Since IBM does not use a program statement, this

had to be inserted at the beginning of the program.

(b) Delimiters

The SWMM program makes extensive use of the asterisk in

literal output. However, the FTN compiler (8) interprets the first as­

terisk as the beginning of a literal character string and the second as­

terisk as the end of the string. This resulted in format statements un­

recognizable to the compiler. The situation was remedied either by re­

placing all interior asterisks with other characters such as dollar signs

or employing hollerith notation.

(c) Illegal Transfers

On a number of occasions program control was transferred

from a point external to a DO loop to a point within the loop. This sit­

uation is corrected with simple modifications to the coding of the loop.

(d) READ Statement

The SWMM program utilizes a single READ statement that

reads a tape or file and automatically transfers control to a specific

statement label if an end-of-file is encountered. This command is un­

acceptable to the FTN compiler (8) and must be replaced with two state­

ments: a conventional READ statement followed by an IF(EOF) check.

(e) STOP n

This command, when encountered during execution, ter­

minates the program and the number n appears in the dayfile. CDC requires

I I I I I I I I I I I I I I I I I I I

that n be an octal number, therefore any digit of n greater than seven

produces a fatal error.

(f) INTEGER and REAL

The INTEGER and REAL commands must precede any execu­

table statement in a program or subroutine. In a couple of cases, the

SWMM has either or both of these commands following a DATA statement,

which is considered executable code by CDC. The solution here was a

simple repositioning of the commands.

2. Informative Diagnostics

(a) ~tput Field

-7

The line printer at the Lehigh University Computer Cen­

ter (LUCC) allows for 137 characters to be printed on a line. Some of

the format statements in the SWMM exceed this limitation, and must there­

fore be adjusted. Unfortunately, this can result in sloppy or even in­

discernible output.

(b) E Format

The program uses a number of E7.2 formats, which on a

CDC Gomputer will truncate both the sign and the integer to the left of

the decimal point. In most of the cases, these formats were changed to

E9.2. However, some of the format statements could not accommodate the

expanded field without exceeding the 137 character limit, so a variety

of E formats now appear in the code.

I I I I I I I I I I I I I I I I I I I

-8

(c) Inaccessible Statements

The changes cited in this section remove two lines of

code that cannot be accessed during program execution. In both instances

the ~tatements removed were duplicates of active commands in the coding.

(d) Argument Lists

The number of variables contained within the argument

lists in subroutine KILL and the calls to that subroutine are different.·

This will not interfere with program execution provided the longer argu­

ment list is encountered first, thereby assigning enough space in core

for variable transfer. If the smaller list is encountered first, exe­

cution will more than likely proceed, but the variable location accessed

by the central processor will not be the desired one. Potential disaster

is therefore averted by equalizing the lists.

B. Program Size Reduction

Transfer of the SWMM to a core-bound CDC system naturally re­

quires some means of reducing the program size to the 120 K (octal) lim­

itation. This was accomplished by a combination of program segmentation

(5) and a decrease in the dimensions of variable arrays.

1. Variable Array Dimensions

(a) Common and Dimension Variable Arrays

The intent here was to reduce the size of the double­

subscripted variables which account for a sizable allotment of the core.

In doing so, it was also necessary to adjust many of the single sub-

I I I I I I I I I I I I I

I I I I I I I

-9

scripted variable arrays to maintain consistency. The major effect of

this procedure was to reduce the maximum allowable number of channels,

junctions and timesteps allowed for in the model. As noted earlier, the

changes in the DIMENSION statements are specified in Appendix A, whereas

the common blocks are only shown as they currently exist.

(b) Variable Initialization

There are a number of variables contained within the

program that are initialized and later used as upper limits in DO loops.

Once the variable array dimensions have been reduced, it is imperative

to alter DO loops to avoid access to an improper location in the core.

Consequently the variables used for DO loop control must be reduced as

dictated by the new array sizes.

(c) DO Loops

The changes in this subgroup are the result of the in­

consistent coding demonstrated by the program. Whereas many of the DO

loops utilize variable names to define the loop upper increment, as de­

scribed in (b) above, there are a number of occasions where the loop is

controlled by the actual integer number. This is a less sophisticated

programming style and results in a more difficult transition to the re­

duced program version presented here. The proper way to correct this

would be to create new variable names, use them in the DO loops, and

initialize these variables accordingly. However, as time was a factor,

the proper numbers were simply inserted in the DO loop commands.

I I I I I I I I I I I I I I I I I I I

-10

(d) IF Checks

The program contains several flags to check that vari­

able array limits have not been exceeded. In this case it was a simple

rnat~er to modify the IF check criteria, although once again variable

names should be utilized for this purpose, not integer numbers.

C. Segmented Loading

The segmented loader (5) currently supported by the LUCC is a

convenient system to work with, since the source code need not be alter­

ed. The loading of the program into the central processor is controlled

via a series of SEGLOAD directives inserted as part of the control card

sequence. App~ndix B is devoted to the relevant SEGLOAD information,

including a complete map which illustrates precisely how each subroutine

is sequentially loaded into the computer.

SEGLOAD (5) operates on the principle of building the program

code into a tree-like structure, differentiated by subroutines, with the

main program as the base of the tree. The first word address of the core

corresponds to the very bottom of the tree base, and the last word ad­

dress to the uppermost limb of the highest branch in the tree. The con­

venient feature of this is that the program need not always occupy all

of that space in central processor core. Instead, the program only takes

up as much core as is required by the subroutine currently executing and

the lower levels of the branch that subroutine occupies.

There are a few subtle points regarding SEGLOAD that should be

understood before effective usage can be realized. First of all, SEGLOAD

places all blank common at the top of the uppermost limb in the program.

I I I I I I I I I I I I I I I I I I I

-11

By maintaining blank common in a program, the advantage gained by seg­

loading is effectively negated. Since blank common must always remain

in core, and if it is loaded at the top of the tree structure, then the

maximum core requirement of the uppermost limb plus blank common will

always be utilized. For this reason, all blank common in the SWMM has

been changed to labelled common. This is an extremely important point,

because if a different segmentation scheme were chosen, then it is like­

ly that the substantial effort involved in sorting common variables would

be unnecessary.

The second point to understand regarding program segmentation,

which is a factor regardless of the segmentation option chosen, is that

if a variable is to be used sometime later in execution, its address in

core must be maintained until that time. In other words, if a common

variable is to be used in more than one branch of the tree, its value

must be passed in common through the subroutine connecting the branches

in order to preserve the location of the variable and the subsequent

value held in core.

Additional problems associated with SEGLOAD emerged during seg­

mentation development and are illustrated below.

(a) Block Data

SEGLOAD does not know how to handle block data as it

cannot differentiate betweeQ the block data contained in RUNOFF, TRANS­

PORT and STORAGE/TREATMENT. The solution is to label the block data,

and then SEGLOAD interprets it as a subroutine of zero length.

I I I I I I I I I I I I I I I I I I I

-12

(b) ENTRY

The SWMM has a subroutine (QSHEDl) that contains an EN­

TRY point (QSHED2). SEGLOAD was apparently not designed to recognize an

ENTRY command, consequently the ENTRY was changed to SUBROUTINE, and all

of the common blocks and dimension statements contained within QSHEDl

were included in QSHED2.

(c) ASSIGNED GO TO Statements

It appeared as though the SEGLOAD routine had difficulty

coping with the ASSIGNED GO TO statements utilized in subroutine HIGHRF.

Although the specific problem was never pinpointed, it was considered

simpler to change to COMPUTED GO TO statements rather than spend the time

locating and correcting the source of difficulty.

D. Mode Error Corrections

In attempting to achieve complete execution of the SWMM, a

number of mode errors (primarily 1, 2 and 4) were encountered virtually

every step of the way. This was an especially difficult situation, since

perhaps the major drawback of the FTN compiler is its inability to locate

mode errors.

1. Resulting From IBM/CDC Incompatibility

(a) Initialization to Zero

Many computer systems have the core preset to zero,

while the CDC 6400 at the LUCC has the core preset to negative infinity.

This difference created frequent execution problems as several variables

were encountered in arithmetic statements prior to being defined, result-

I I I I I I I I I I I I I I I I I I I

-13

ing in mode 4 errors (undefined variable). If all variables are preset

to zero, then such mode errors are impossible.

It is often an arduous task to locate these types of mode er­

ror~, but once defined, it is then a simple matter to initialize the

variable to zero at the beginning of the appropriate subroutine. It is

noteworthy that the core of the CDC 6400 at the LUCC can be preset to

zero with a single control card [LDSET(PRESET=O)], but this is generally

considered a poor practice during program development as it tends to

camouflage potentially damaging execution errors.

(b) ASIN Routine

The "arc sin" system function contained on IBM systems

is written ARSIN( ), while CDC uses the notation ASIN(). This error

was not picked up during compilation because the FTN compiler treats

ARSIN( ) as it would any subscripted variable. During execution, how­

ever, this will surface as a mode 4 error.

2. Coding Problems

(a) Unknown Variables

This type of error is very similar to those encountered

in l(a) above, except in this case the variables were not meant to be

initialized to zero, but rather to one as shown in Appendix A.

(b) Counter Manipulation

Subroutine HIGHRF contains code that will prohibit ef­

fective execution under the proper circumstances. There is an IF check

I I I I I I I I I I I I I I I I I I I

-14

on variable KDT upon entering the subroutine in an effort to flag the

first entry to HIGHRF. The problem results from the fact that this par­

ticular variable name is utilized elsewhere in the program and is likely

to bypass the initialization step as a consequence of already being as­

signed a value in some other subroutine. This problem was corrected by

establishing a new variable that was properly forced to behave as expec­

ted through the initial IF check.

(c) Third STORAGE/TREATMENT Option

Although the program obtained was listed as a "Release

2" copy, the coding in the STORAGE/TREATMENT block did not incorporate

the third option documented in the User's Manual. Coincidentally, the

trial data runs were using that third option (ISTOR=3). As it turns

out, there are two COMPUTED GO TO statements in the coding that check on

the value of the variable ISTOR, and this resulted in another mode error.

The code was adjusted to correct the mode error, but there remains a

good deal of skepticism as to the validity of this aspect of the program.

E. Nonessential Changes

While successful execution of the SWMM was the primary objec­

tive of the project, occasionally it would be convenient to perform mod­

ifications that had no bearing on the results. Such changes were made

for either aesthetic or simplification reasons, but it should be realized

that a conscientious effort was not made to improve the output obtained

from the CDC 6400. Hence, this represents only a small fraction of what

might be done if such modifications were part of a project.

I I I I I I I I I I I I I I I I I I I

-15

1. Format Statements

These changes were incorporated purely for aesthetic reasons.

In one case a misspelled word was corrected, and in another a .0 was

dis~layed in the output where only the decimal point had appeared before.

2. Counter Variable

In light of the problems encountered with variable KDT in

subroutine HIGHRF, an isolated counter labelled KDT in another subroutine

was changed to KT to avoid further confusion.

3. Comment Coding

There are two blocks of code that have been made into comment

cards, perhaps to preserve them as programming options. For the moment,

however, these blocks have been removed from the source code.

Text

A.

Table 1

GROUPING SOURCE CODE CHANGES FROM

APPENDIX A WITH DESCRIPTIONS.GIVEN IN TEXT

Notation

1. (a)

(b)

(c)

Program Block

MAIN

MAIN RUNOFF TRANSPORT STORAGE RECEIVE

RUNOFF TRANSPORT RECEIVE

Appendix A Location

2 8,11,14,16-18,24,25,32,33,39 3-5,9,11,12,23-29,31,32,35-39,43-49,51-53 5,6,8-11,13-15,17,20-22,24,27,36-38,41,43-45 6,12,13,18,22,23

20,21,23 17,18 24-26

aNumbers refer to change number as labelled in Appendix A, not line number from program code.

I -16

I Table 1, cont'd.

I GROUPING SOURCE CODE CHANGES FROM

APPENDIX A WITH DESCRIPTIONS GIVEN IN TEXT

I Program Text Notation Block AEEendix A Location

(d) RUNOFF 36 '40 ,41

I RECEIVE 15,16

(e) STORAGE 7' 39

I (f) RECEIVE 2

2. (a) MAIN 5 TRANSPORT 50

I STORAGE 25

(b) RUNOFF 42 TRANSPORT 10

I RECEIVE 5,19

(c) TRANSPORT 42 STORAGE 12

I (d) STORAGE 23

B. 1. (a) MAIN 3,4

I RUNOFF 6 TRANSPORT 1,2,13,15,16,19,20,30,33,34,40,41,55 STORAGE 1,40

I RECEIVE 1

(b) RUNOFF 1 '10 '35

(c) TRANSPORT 21,22

I STORAGE 19 RECEIVE 3,4,8-10,17,20

(d) RUNOFF 3-5,7,9,12,13,15,19,22,27,28-31,34,37,38

I RECEIVE '11,14,21

2. (a) RUNOFF 43

I TRANSPORT 57 STORAGE 46

(b) RUNOFF 26

I (c) STORAGE 29-35

1. (a) RUNOFF 2,44 TRANSPORT 7

I STORAGE 2 RECEIVE 3,4

I (b) TRANSPORT 14,56

----------

I aN umbers refer to change number as labelled in Appendix A, not line number from program code.

I

I I I I I I I I I I I I I I I I I I I

Text

-17

Table 1, cont'd.

GROUPING SOURCE CODE CHANGES FROM

APPENDIX A WITH DESCRIPTION GIVEN IN TEXT

Program Notation Block Appendix A Location

2. (a) TRANSPORT 7,8

(b) STORAGE 18,28

(c) STORAGE 26,42

1. (a TRANSPORT 6 RECEIVE 7

2. STORAGE 3,4

3. TRANSPORT 54 STORAGE 16

aNumbers refer to change number as labelled in Appendix A, not line number from program code.

I I I I I I I I I I I I I I I I I I I

-18

USER'S MANUAL CORRECTIONS

The version II User's Manual for the SWMM ,5) has two obvious

documentation errors. Figures 6-1 and 7-1, the flow charts for the

TRANSPORT and STORAGE blocks, are shown as Fig. 1 and Fig. 2 with the

corrections noted. The TRANSPORT flow chart shows a transfer to sub­

routine TSROUT, which does not exist in the current version of the pro­

gram, and neglects to show transfer from subroutine FIRST to PSI. The

STORAGE flow chart has neglected to show the Block Data. In all cases,

the changes are noted on the included sheets.

Each major block of the User's Manual contains a "Card Data"

section specifying the order and format of the input data. In this sec­

tion the maximum limits for variables as dictated by the source code are

specified to prevent the user from oversizing a problem in the model.

As a result of the variable dimension decreases implemented here, these

specified maximums have been reduced. Appendix C includes those pages

from the "Card Data" where maximum values have been adjusted. The orig­

inal SWMM limits have been circled with the new limits indicated in this

portion of the Appendix.

I I I I I I I I I I I I I I I I I I I

Note:

EXECUTIVE BLOCK

TRANS

Arrows point from the calling program to the called program. Boxes with double underline represent major subroutines.

Fig. 1 Corrections to TRANSPOR'3>Flow Chart (5)

-19

-------------------EXECUTIVE BLOCK

NOTE: BOXES WITH DOUBLE UNDERLINE REPRESENT MAJOR SUBROUTINES,

Fig. 2 Corrections to STORAGE Flow Chart (5) I N 0

I I I I I I I I I I I I I I I I I I I

-u

UNRESOLVED PROBLEMS

The only coding problem still plaguing the program as a whole

is the inactive variable and statement label. If a map is obtained dur­

ing program compilation, a number of variables and labels surface as in­

active. Presumably this is the result of the "Release 1" to "Release 2"

modifications, whereby the programmer performing these changes either

did not foresee the entire effect of such changes or considered it unnec­

essary to remove the inactives.

The STORAGE/TREATMENT block has three major unresolved prob­

lems, which were not acted upon in this study due to updating currently

underway elsewhere.

The first, and perhaps the most interesting of the three, is

the fact that if a time increment is specified, then that increment less

one minute is printed in the time history output for BOD, suspended sol­

ids and coliforms. This occurs despite the fact that the proper incre­

ment is printed in the output almost immediately following entry to the

STORAGE block.

The next problem occurs in the time history printout, specifi­

cally in the columns titled "Treatment Operations", Levels 3, 4 and 7.

At each time interval, the concentration of the particular parameter in­

to and out of the treatment unit are printed, with another row labelled

removal. Presumably this row should simply be the difference between

the two preceding rows. However, this is not the case in the output,

indicating that there are some problems with either the mass balance al­

gorithms or coding used for these treatment operations.

I I I I I I I I I I I I I I I I I I I

-22

The final unresolved difficulty in this block also occurs in

the time history printout, but only in the coliform sections. Asterisks

keep appearing in the output which is indicative of inadequate allotted

field width for printing. This problem seems to relate back to the dif­

ficulties discussed earlier regarding E formats.

I I I I I I I I I I I I I I I I I I I

-23

REFERENCES CITED

1. Metcalf and Eddy, Inc., University of Florida, and Water Resources Engineers, Inc., "Storm Water Management Model, Volume I- Final Report," Environmental Protection Agency, Water Quality Office, Report No. 11024DOC07/71.

2. Metcalf and Eddy, Inc., University of Florida, and Water Res·ources Engineers, Inc., "Storm Water Management Model, Volume II - Veri­fication and Testing," Environmental Protection Agency, Water Quality Office, Report No. 11024DOC08/71.

3. Metcalf and Eddy, Inc., University of Florida, and Water Resources Engineers, Inc., "Storm Water Management Model, Volume III- User's Manual," Environmental Protection Agency, Water Quality Office, Report No. 11024DOC09/71.

4. Metcalf and Eddy, Inc., University of Florida, and Water Resources Engineers, Inc., "Storm Water Management Model, Volume IV- Program Listing," Environmental Protection Agency, Water Quality Office, Report No. 11024DOC010/71.

5. Control Data Corporation, "Loader Version 1 Reference Manual," Publication No. 60344200J.

6. Control Data Corporation, "Scope Reference Manual, Version 3.4," Publication No. 60307200E.

7. Huber, W. C., et al. "Storm Water Management Model User's Manual­Version II," Environmental Protection Agency, Report No. EPA-670/2-75-017, March, 1975.

8. Control Data Corporation, "FORTRAN Extended Reference Manual," Publication No. 60176600I.

9. DiGiano, F., et al, "Short Course Proceedings- Applications of Stormwater Management Models," University of Massachusetts/Amherst, July 18-23, 1976, at University of Chicago Continuing Education Center.

10. Jewell, Thomas K., University of Massachusetts, "Personal Commu­nication," August, 1976.

11. Warwick, J. and Beechwood, D. C., "Term Report on RECEIVE Water Q•1ality Model, CE 475," Lehigh Univers;ty, December, 1976.

-------------------APPENDIX A

SOURCE CODE CHANGES

MAIN Block

A) Common Blocks

C 0 ~ 1'1 C t-. I G R I N ~ C C (1 0 0 ) ' Y T ( 1 0 0 ~ i C Q ) , I TAB ( 1 0 U , I PCO T C fi:l 0 > COM~C~/CRV/X C101, =l ,YC101,S)i~·FTf100) ,OUH~Y C50)

=--=-~-_J;_OM~9~'-bAJll_ JJ.li-11_~l,XLA8 U.l.~A~(6) t~OR.IZ_(~Q) ,VfR.T.C7,€d ,rT,!CC COt"MCN /TAPES/ 1NCNT,IOUTCT,JINC10),JOUTC10).,NSCR.ATc~n·-·-----·--·-- .. --

- C 0 "'ltc.hl1:i.l.C NAME ( 2 l ----~---,~- -·-----·~~---·-~~~- ' _

Subroutines Containing the Above Blocks

TAPES: MAIN program,GRAPH.COMBIN,RUNOFF,HYDRO,RHYDRO,QSHEDl.QSHED2. GUTTER,GQUAL,HCURVE,RECAP,TRANS,PRINT,STORAG,TREAT,RECEIV. SWFLOW, I NDATA, TI DCF, TRIAN, OUTPUT, PRTOUT, SWQUA L, I NQUA L. LOOPQL

Ml: MAIN program

GR: GRAPH

CRV; GRAPH,HCURVE

LAB: GRAPH,CURVE,PPLOT,HCURVE,OUTPUT

I N +:-

-------------------B) Codin~

2. ~~IN program, line 16

1R MANAGEMENT MODEL ••• ····--- Jg~~~NAGfMENT MODEL $$$

3. Subroutine CURVE, line 3

DIMENSION XC201,10l,YC201,10l,NPTC10t Ll! ME N S I o_ f\ X ( 1 0 J , 1 Q. ) , V ( 1 0 1 , 1.Q_l_t_~_p T (1 0 )

4. Subroutine COMBIN, lines 2-4

OI~FN~!O~ nUHHYC4~J;TITLEl40l~NDATA~C16l,JUNCT1f160l,JUNCT2C160J, 1 J UN C T J ( 16 0 t , 00 1 C 16 0 ) , 0 0 2 C 16 0 > , Q 0 3 ( 16 0 l , P 0 L L 1 f 6, 16 0 l , POLL2 ( 6, 16 0 l , 2 G~~~~~~~l 6 g~~~~~~8r:f~}l~?~~~!~&lt~~9~b:~~UNCT1<100),JUNCT2<100>,!

. 1JUNCTJC100) ,Q01C100l ,Q02C100) ,Q03(100),POLL1(6,100>,POLL2C6,100l,: _2_? _ _9~t 3 ( §_.!_.!_Q __ ~)_!_J_~51 0 0, 10) , NOUTS ( 10 t , CPOLL ( 6) __ .·. ·

5. Subroutine COMBIN, line 166

1,• ARE•,1&I5,(31X,1615ll -·· -·-· 1_.!_•· ARE•, 1615 ,'!, C 31X, 16;5_1_1 __

I N V1

-------------------RUNOFF Block ------·----

• c c •

• c

• c • • c • • c •

• c .. • c

COMMCN/RUN1/NW,NG,NIN,HISTOG,TRAI~,OELT,OELT2,NOW,NOG,NSTEP, 1TAREA,TIME 9 TIME2,RI,RLOSS,St~R,SU~I,SUHOFF,SUMST,TZERC,NING

COMHON/HY01/WFLOWC100J 1 WWIOTPf100>,WARFCA(100JJWSLOPf(100t,WNC100), 1 W S T 0 R E ( 1 0 0 , 3 ) , W L MAX ( 1 0 u l , W L 1- I 1\ (1 0 0 J , 0 E A Y ( 1 0 0 , HD E P T H ( 10 0 , 3 ) , 2WCONC100,3),NA~EWC100J,PCIHFC100J

COMMCN/HY02/ C G F L C W (1 0 0 l t G HI OTH ( 1 0 0 ) , GLEN ( 1 0 0) , t,S 1 ( 10 0) , GS 2 ( 10 0 l , G N U 0 0 l , 1 GO E P T H ( 1 0 0) , G CON~ 1 0 0) , NP G ( 1 0 0 ) , OF U L L ( 1 0 0) , NGU T ( 10 0) , S UMQ H ( 10 0) , 2FCTZF~,GSLOPEC100l

C 0 M H C 1\ I H Y 0 3/ N HTOG ( 1 0 0 , 10 ) , N C:T C G C 1 0 0 , 1 0) , N WT OI C 1 0) , NG T OI C 10 0 )

COMMCN/HY04/QSURC100l,DEL0(100l,QINC100)

CO~~Ct-./HVD5/IFRNT C100l ,ISAVF C100l ,NFR.NT,NSAVE,OUTFLW( 100), 1INTJ:"RV,INTCNT

COMHCN/HY061RA!N(1Q0,10l ,NHVETC100) 9 NRAIN,NRGAG,NHISTC,THISTO

COMMC~/~UN2/HGRAPHC100),HT!~E(100) COHMCN/TITLE/TITLEC40) . COMMC~/WFAVE/HFAVEC100) CO~MCNIFLUX/FLUXC10t

q- __ c a ~_c t:l/-E.W:I..J...S.:Ufl.JibSIJ.1.Wll==" - . ·-· . GC~~CI\/~U~O/FLCHC10Q),QUAL(1CC,10)

. -----·--·-------·----·-· ·--·-I

N

""

-------------------Common Blocks (cont.)

.. c • .. c

cg~~CN/AeLK/NQS,CLFREQ,ORYCAY NFA~S,CBVOL,CC100 10) 1C OT (100 ,10) ,FSHEO (100,10) 'FCFF(100 ,10) ,KLANO (100) ,OOFACT (5)' 2Q FACT C 5, 10) , P BA~. IN C 10 0,1 0) , e AS INS U 0 0) , CB FACT C 10) , GQ LEN C 10 0) , 3F1C10J,F2C10J,TFLCW,TBOOtT5US~TCOL,CVSURC100,10)

COHMON/ERSON/ERFOSNf100l,f~CSN,FRlENC100) CONTPFC100), 1C~O~~FC100),SOILFC100),ERODARC100),IRO~,RAINIT,CNSTNTC100),ISS

CO~~CN/QSHOICT~IN,A,8,NQS1,~CS2,REFF,INC,AINC,AAINC,TDUM2,CC, 1H~qAIN,TCTCOC1CO),PFOASNt100,10),FPSHEOC100,10) ·

Subroutines Containing the Above Blocks

RUNl: HYDRO, RHYDRO, QSHEDl, QSHED2, WSHED, GUTTER, GQUA L. HCURVE. RECA.P HYD5

.R UN2 : HYDRO, RHYDRO, HCUR VE

HYDl: HYDRO,RHYDRO,QSHEDl,QSHED2,WSHED,GUTTER,GQUAL,HCURVE HYD2 HYD3 HYD4 HYD6

TITLE: HYDRO,RHYDRO,RECAP

WFAVE: · HYDRO,GUTTER

FLUX: HYDRO,GUTTER,GQUAL

FLWLST: HYDRO,QSHED2

. RUNO: RECAP

I N -...,J

-------------------

B) Coding

-ABLK: HYDRO,RHYDRO,QSHEDl,QSHED2,GUTTER,GQUAL,RECAP,BLOCK.DATA BKRUN

ERSON: HYDRO,RHYDRO,QSHEDl,QSHED2,GUTTER,GQUAL,RECAP

QSHD: HYDRO,QSHEDl,QSHED2

1. Subroutine HYDRO, lines 33-36 . r-J"W=-2 0 lJ

NG=200 NING=200 NRANVL=200 NW=100 NG=lOO NING=100 NRANVL =100

2. Subroutine.HYDRO, line 65 (Delet~)

_Pp f_EJ.L__J + 1 0 ) = Q_.=---"0'-~ 3, Subroutine HYDRO, line 119

IF<NSTEP,GT.2,0)NTH1ES = CNSTEP/M) I 200 + 1 IF<NSTEP.GT.100) NIIMES=CNSTEP/Ml/100+1

4. Subroutine HYDRO, line 123

IFCNSTEP.Lf.200) I = I + 1 IF CNSTEP.LE.10!J r·I=!+1

5, Subroutine HYDRO, line 128 IFCK.NE.NTIMf~,OR.I.GE,200l GO TO 350 I.f_jJ~!.J~E, NT I HES. OR • I • GE, 10 0 l GO TO 3~5:....::0::...----~~-~---

I N 00

-------------------6. Subroutine RHYDRO, liee 18

7. Subroutine RHYDRO, line 39

'IF r NSTEP. GI.70-~RrTt( 6,10111 IF < N S T E P , G T • 1 0 0 ) W R I T E ( 6 , 1 0 11 ) .--

8. Subroutine RHYDRO, lines 40-41

9, Subroutine RHYDRO, line 58

··-rFTNHISTO.LE.200) GO TO 1027 IFCNHISJO,LE,100! G? IO ~027

10. Subroutine RHYDRO, lines 63-64

-NT!M~S = NHISTO I 20~ + 1 NHISTO = 200 NTIMES=NHIST0/100+1

~o=~t~a~n~-----------------

11, Subrroutine RHYDRO, lines 70-71 "ftf26 FOR MATt II ,-.---•-••••- . PR-OGRAM STOPPED ••••••, Jl;·.: -~•••··· ---NsC·frAT-(2 r ---- 1HOULO- NOT BE -EQUAL- TO ZERO--- ••••••-) - --102ot_~gfi~~T ~6f'~Esl~~~D~o~~~g s}~~~i2, 'S$$$• ,I/, • $$$$~Ns:,_~~~_:_~_ .. _

I N 1.0

-------------------12. Subroutine RHYDRO, line 82

IFCNN,EO,NTIMESl NHISTO: NOUtif..fy·- 21JO • CNT.tMES·--~-·-rr·· ___ _I£( NN I EQ I NT I HES) NHI ST O=NOUMH'L~10Jl!.J.NTif:1ES-1l

13. Subroutine RHYDRO, line 124 tm-=otrFfflY·~·Gr.-2mf~FITTt:TNS-C"RT2_) __ RA !N"TI";lrr--·--.

_ IF(NDUMMY.GT.10Q) WR.IIECNSCR12) RAIN(!,N)

14. Subroutine RHYDRO, lines 139-140 -:rrtlrF·a·rnn~rnHr; 11 ,•· • ··--:··-~.,.--.,.--GrrT-r-·e:···~t-····A- ·N :rr· ·-p·--r-.,-· E·--··o -A--T ... A- -.•

1 ••••• ,,,, -1106--FORMATC1H1,1/,:f-. $.$ .1: $ $ G U T f E R- A N 0 P-I P--E .. 0 A T A S ___ t $ $ L$~!1.~-------------:--------

15. Subroutine RHYDRO, line 174 ---1tT7- IF (NAME G C N t , E Q. 0 , 0 R, N. G T , 2 0 0 ) G 0 TO . 50 0

1117 IF(tJAHEG(Nl.EQ,O,OR,N.GT~100) GO TO S_QQ__

16. Subroutine RHYDRO, line 188 11.22 --FORMAT (. + .. -- ---•• -,----· ...

_JJ..l_2 __ f_QRMAT c•+ __ $_!1_: ...

17. Subroutine RHYDRO, line 240

18.

1151 FORMAT( • tlA STERI S K c• t OENOT'ES CIRCULAR PIPE, D I AMETER= •. W IOT H."' l 1151 FORMATC"'0•,52HASTERICK t•> DENOTES CIRCULAR PIPE, OIAHETER=.WIOTH.

____ u_ ____ · --··---····-

Subroutine RHYDRO, lines 246-247 -1049 FORMATUHl-;llt•··.y.··· -..,.- • .--·-s··u···a···c···A-T C H H E·N--··r---o A""··r·A--........... • --~·---- -1-............ ,//-l----···---··-······-·······-- ····-. ... ····-···--·-- -·--- ..... -· ..

1049 FORMATC1H1,/I,• $ $ $ $ $ S U C A T C H t1 E N T 0 A T A $ t $ t __________ 1__~-j~_,//) . ··-------------:------

19. Subroutine RHYDRO, line 310 - 1065 IFCNAMEWCNl.EQ,O.OR.N,GT.200l-GO T0.36IT--- _1 0 6 & _ I F C N A~ F: W (N ) • FJJ • 0 ,_p R. N • G T , 1 0_0 l ___ G 0 T 0 3 9_0 .. _

I w 0

-------------------20. Subroutine RHYDRO, line 395

-·--rFC NO·G~"EQ.·Q) GO TO 62·n---·-· ... ---=--=-. .lf__l ~ Q Ci • E Q • 0 I G CLLQ __ 6_2_L_

21. Subroutine RHYDRO, line 421

WRITEC6, 1240) &21 WRITE16,1240)

. ···•· ...•.. -·-··.... ... ---·;;:_:_,..---

22. Subroutine RHYDRO, line 469 ----rrn;.mrs·nr;·Gr ~ 20 or Go-·ro--7oio' ·

IFCNHISTC.GT.100l __ GO TO J~...::0:..:::2:...=:0 __

23. Subroutine RHYDRO, lines 532-536 DO 3002 K : 1, NOW IF( N ,NE. NAHEWCKt ) GO TO 3002 KLANO(I<) :: KL GQLEN(K) = GQ

__ BAS.l_~J.SjJQ_ = SA._~~~----=-:--=---'-"· -·---·--..............- ·---· KLANO CJ)=KL GOLEN(J):GQ eASJ_]:.S ( J) = eA

24. Subroutine RHYDRO, lines 542-543 2 13X, • NUMBER CLASS, (~NGTH•lo••i FT. CATCHBASINS•,It, 2 (12X,IJ,IS,I7,6X,F10.2,7X,F10.2)J .

_____ 2 .. 1 .. ~ ~_,_:"_ .. N U_~_~t;.B ____ Ql.A..§.S •,.. -=• ..t.~&t-f_l.~:~tGJ~tt-~.0.-~-~~--V-•. ~-~-GAIC H 6A.S. .INS.! __ ,ll-'-- ~ __ _u__2_X_t_l_;l , I 5 , I], 6 X , F 1 0 • 2 , 7 X , F 1 0 • 2) _ . __ __ ....... .. .. . . ........ -·- .

25, Subroutine RHYDRO, lines 607-609

. 7030 1 ~~R~AI ,, I i tRb~~~ ~· ~; ~OT. H~O~~~~ T~g~ li~;rpr~~-~~·-··:--:····:·i'< }~;-o;-2T10 •• • • • ····· IROS MUST EQUAL ZERO •·· •-" ••,) --- ····- .......... - ·· · · · -i(jiii- -FORMAT-(1///,T10,•$ S $I SIMULATION STOPPED $ $ $ «•tii,T10, t•$ $ $ $ EROSION IS NOT MODELED FOR SIHPLE SWMH $ $ $ ~•,11,

__ z..T.J.D .... ~.$ ~ J $ IR.O.S MUST FQUAL ZERO $ ~ $ $~.__ ___ _,____

-------------------26. Subroutines QSHE-Dl and QSHED2, at: ENTRY QSHED2

- ·: n;jTR'r·as-HEot· ··-·- ____ .... END

_...S._UBROUTI NE OSHE02._ __ _

27. Subroutine QSHED2, line 72 IF C AV F'"CO.\of.LE. 5 • 0 E- OJ. AND. NHIST o. GT. 2 00' PSHED ( N 9 Jr:P-SFlEtHN ,.J l + IF (A VFLO W .L£. 5. Of- 03. AND. NHISTO. GT .1 00) P .. $ HE.QJ_N, J) -=PSHEOJ N, JJ~----·--··

28. Subroutine QSHED2, line 74 IF ( AVFLOW .LE·. 5 ~ 0 E-03. ANO .NHI STO. Gl;-2-0 0 ,---p·oFF""rN1Jl O =

0 0 .lJ­

IF<AVFLOW.LE.5.0E-03.AND.NHISTO.GT.100lPOFF(N,Jt= •

29. Subroutine QSHED2, line 95 U-tA VFt:u·w;-GT;-s-;o f -0 3. Ok. NH ISTO .L E. 2'0 OJ G 0 TO 219

_____ _I_f_(_A VfLOJi!GT, 5 • 0 F.- 0 3. 0~. NH IS TO. L E. 10 0) GO l.0-?1:.9. __

30. Subroutine WSHED, line 32 IF ( T I HE2-+IZ ERO .LE. TRAIN. AND. NHI ST 0 ~ LE·;z-o-or···Rr···: . "!~AI N rtNo·, NGAG) . -­

-·- _ J.~J I I M E 2 + T Z f R 0 • L ~ • TR A I N • A N 0 • N HI ST 0 ~ L E , 1 0 0 ) ... R I = B A I N ( I N 0 , N G A<{ ) ..

31. Subroutine WSHED, line 36 IF ( T I ME2t_ T ZERO . .t.I...E..t TR.Ailh AND. NH IS TO • G T ~ 20 0 l RE~D ( NS_CRT2 tE ND-=~'00 l R I

___ t f ( J I..ME2t.!Zf.!{.O. L E. TRAIN. AND. NH ISTO. GJ .10.0 )~EA (Y( NSCR.l2lE._l ___ .,. .... - ....

32. Subroutine WSHED, line 81 -1-o·o-o--rOR-M"AT -l·.-···cHECK-RESUCTS-;---N·o ·caN\IEf{(;E.NCE-···uf •WSHEO•• 'F 8. 0' 16 .

11100 FOKMAT c• CHECK RESULTS. NO CONV_~RGENCt: ___ lH.JJf.Sl:i.EO_#•,Fe.O_,_lQ _____ _ - ....... _- .. ··--- ----------

33. Subroutine GUTTER, line 203 . ~mlftr"FllRH-ATC•-~CHECK "RTSULTS~-~ -NOT"-C-ON.VERGEO -rN"-·•GUTTER••.; -·

__ t...[_QQ_fQRt1~lJ"' CHECK RESULTS. NOT CONVE.RG_ED- IN 'tG . .U:U..f.R1.!..t_

34, Subroutine HCURVE, line 42 IF(NHISTO.L€.200) GO ·-ro·2o

_ Tf_(_NHlSTO_~t. E .10 D) GQ_[Q__?~O __ I w N

-------------------35. Subroutine HCURVE, line 46

---NTTM~-=~HT STO I z·cr·o

36.

-~_T I .M.E.S _ _:=_NH.l5LQL1.0 0 _· ____ _

Subroutine HCURVE, lines 52-53 READ CNSCRT2,END=19)00UHMY J = J + 1 REAOCNSCRT2)00UHMY IF(EOFCNSCRT2))19,18 16 J =..J-~_1 ________________________ . __ _

37. Subroutine HCURVE, line 54 -rrc J. NE .""NrrMrs-;-o~t-;;·ra-;··zoo,---c;u-To-·-r-s--·· ·

.. JF(J _ _,_N_S.~l!IfMES,OR.L,F0.100l GO .I_Q __ 15 __ , ___

38, Subroutine HCURVE, line 97 IF<"NST·rp·,Gr. t'OO"l. NSTEP : 200 I F ( N S! f:_ P.__. G T • 1jljl_) _NSTf_p_:: 1 0 _Q ____ _

39, Subroutine RECAP, line 36

40,

41,

6014 FO~MAT(I//l,T11, -- - - --· ···•¥•• NOTE ONLY THK-f"IRST-THREE POLLUTA _§_1}_1._4 f.ORHAT~..Lt!lti1_1,_ •$$$$_i_N_OTf: __ ON~Y __ T_HE_ FIR?I_THR~~- PCLLUTA

Subroutine RECAP, lines 63-64 -----REAOCNSCRT"I"iEND:i:200r· NTIMEH, TI HEM, (FLOW( NJ , N=1 t NPTSJ

IF1 NTIMEH .EQ~ -1 ) GO TO 2UO READlNSCRT1)NTIMEH,TIMEH,(FLOHlNJ,N=1,NPTS) IFlEOFCNSCRT1))200,13U

___ ULlf tN TIME H • ..EQ ~-t _G.u0"'--.1Tw..OI.-.k2...!:!.'0.!t.O ------------

Subroutine RECAP, line 66 ... -- ------ r·s·· ··-- RE-AD ( NSC R.T19-ENO= 20 0) NTIHEH, TI HEMt ((QUAL 01 t Nl9N·:: 1; NQS) ,M=i t NP )

REAO(NSCRT1)NTIMEH,TIMEH,( (QUAL(ti,N) ,N=1,NUS),M:~,-~:.!.~)- -~--- ____ .. --IflEO[-HtSCRTUl20Q,J.. -- -----------

42, Subroutine RECAP, line 68 .. . _ .... GOO 5 FORMAT ( 2X '14, F5 .1' 3Ft0.2, 2X' E9.32 'FF1100 .z2,FF99. ~~ ~~t ~ • ~~~~' ~li•~ ~ 6005 FORMATC2X 1 I4,FS.1,3f'10.2,2X,E9.' ~--'-- •' • ' __ ! ____ • I

w w

-------------------43. BLOCK DATA

. --aLa-CK ··oAT A . BL o C K oAf'7=A =6~!<'==&:-:-;U::-:-N-_ •

44. Block Data BKRUN, lines 35-39 . - ...... ··-·--·······-·

4 --- &o•o.o/· oo1 t3•o 01 DATA F 1/ - .. 0 • () ' 0 • 0 '0 • 0 ' • 0 2 '- 0 • 0 '-• 00 t i: • 0 0 4 5 1 ~.;. 0 0 I DATA F2/ o.o,o.o,o.o,.o5,0.0,. ~J,. ' ~ • OATA CBFACT/O.o,o.a,o.0,100.0, 16•0.0/ DATA c,conT,CVSUR/12000 4 0.0/

4oATA ~ 1/ 0_!-.B ;.;~_g ~ ~.!-.QL!-Q 2 _, 0 ~O _ _u t) t_,, 0 01 t 3• ~. 0 I ·--·-·a ATA· .. --F-2/ 0. I'!, 0. 0, 0. D, • 05, 0. 0, • 04~' • 0 0 45'... 0 • 0 I

DATA CBFACT/Q,Q,Q.Q,0.0,100.0,& 0.01 DATA C,CQQI,~1~UR/3000•0.0/

-------~-----------

TRANSPORT Block

A) Common Blocks

COMt-:Ct\/T~8LES/KOEPTHC25l ,KL.Il~St25l ,PSIMAX (15) ,ALFMAX (15), 1NNC2~llM~(25l~JlNOPM(15,51l,Q~CRMC15,51J,ONORM<15 9 51l, 2AFACI ( 5l,RFA~T<1~)

CCMMCNI~A~ES/ ~AM£(4,25l,GNC,YES,8LANK

COMMCNITR1·/Al100 1 2,21,QC100,2,2l,CPOL1C100,2,5),CPOL2(1C0,2,5), 1OM A X ( 1 0 0 ) , OF U L L ( 1 0 0 ) , A FULL ( 1 0 0) , 0 XnT ( 10 0) , C U 10 0 ) S L 0 FE ( 1 0 8 l , 2 0 I '3 T ( 1 0 0 l , G E 0 M 1 t 1 0 0 l , R 0 U G r C 1 C 0 ) , N C E ( 1 0 0 l , NU E I 1 0 0 , ~) , I 1'\U E ( 1 0 , J l , 3 NT Y P E ( t 0 C) , J R ( 1 CO ) , NKL AS$ , N F , ~ DT, F PSI L, T I ~E , D T, M, K FULL, N, N 0~, 4 N P 0 L L , " P R I NT , IT f ~ , Q 0 W F ( 1 0 C l , I C L 0 .( 1 0 0 ) , P 1 ( 1 0 0 ) , ~ N 0 F F ( 1 0 0 l , ~OINFIL(10Ql,WOWF(100t5l,PLUTCC10015l1IRC100l,F2C100),N!NC200l, t P S ( 1 0 0 l t F 6 (1 0 0) , P 7 ( 1 u 0 l 1 S C F < 1 Q 0 l , t: ARt.: EL ( 1 0 0) , TITLE ( 4 0 ) , N P E ( 20 l , 7NYNI20l '"CRDEF;(7Q) ,GEC~~ (100 ,GEOH3C100l,P4(100) 9 8SCOUR <100) ,KSTOkf (11)0)

I LV V1

-------------------Subroutines Containing the Above Blocks

B) Coding

TRl: TRANS, SLOP, FIRST, DWLOAD, INI TAL, ROUTE, QUAL, PRINT, TSTCST·, NEwTON, FINDA,TSTORG,TPLUGS,TSTRDT,DEPTH,DPSI,FILTH.INFIL,RADH,PSI

TR2: TRANS, SLOP, DWLOAD, INI TAL, ROUTE, QUAL, PRINT, TSTCST, NEwTON, FINDA, TSTORG,TPLUGS,TSTRDT,DEPTH,DPSI,FILTH,PSI

TABLES: TRANS,SLOP,DWLOAD,INITAL,ROUTE,QUAL,PRINT,TSTCST,NEWTON. FINDA,TSTORG,TPLUGS,TSTRDT,DEPTH,DPSI,FILTH,INFIL,RADH,PSI, BKTRAN(Block Data)

DRWF: TRANS,DWLOAD,INITAL,FILTH

NAMES: TRANS,SLOP,FIRST,ROUTE,INFIL,BKTRAN(Block Data)

XX: PRINT

PSIDPS: DPSI,PSI

1. Subroutine TRANS, lines 9-10 OIMfNSION OIC160l ~QOC16Ql,SURGE1C160l,SURGE2C160J,WELL1C 51G)Q), 1 WELL?(160) PUMPC16Q),· Q01(16Q),Q02(16Q),OUTINUO, ' OI~EN§to~ afct~O>,Q0(100),SURGE1(100l 7 SURGE2(100t,WELL1(100l,

tWE __ f,~_? t~JUU._, PUMP I 10 0) • QO 1_(J_O_Q_) ,_9_0 2 ( 10 0 J , OUT INC 10 '~1 ' ----·-·-- ··-

2, Subroutine TRANS, line 45 DIHFNSIITN.~N(5) ,RANKC160,5) n I ~f:-t~SIQ _ _N JN ( 5) , PA ~K (1. 00,5 t

I w (J'\

-------------------3, Subroutine TRANS, lines 212-214

46 FOR~.v-rm••••..,.••..,••~~~m-¥~ ------ ··-··-~---~- ---···· . 1. · • •••••••••• INPUT HYDROGRAPHS AND POLLUTOGRAPHS ARE READ

!FROM CARDS •••••••••••,!,• •••••••••••••••••••••••••••••••••• 11• ~6 FORMATC1H ,33H••••••••••••••••••••••••••••••••• I '

11H t9H•••••••••,• INPUT HYDROGRAPHS AND POLLUTOGRAPHS ARE READ FR 20M-~AROS-•,11H•••••••••••,I,1H ,J3H•••••••••••••••••••••••••••••••

----~3~·~~· ---------------------------4, Subroutine TRANS, line 250

· 914 FORHATC5x,•••• HYORAULrC DESIGN ROOT!NE:-rSus·t-0--.·;.;.-•r;t/)------········· · _____ 91.Lt_.f.O.R.ti.AIJ5.X ,JH•••, • HYDRAULIC DESIGN ROUT I HE IS USEQ__!,.3tj_~:"•-JL)_

5, Subroutine TRANS, line 255 ,--i:1-f"&I!'ORMAT (I,¥ • • ' • • E[ EAE~ARAHETE·Rs---.--"¥·- ¥"·-l'--:-'1f•·;7I;-¥"-··E~T ; .. --! yp· __ 9.U>. E O..R.f'1AT. ( /,5.J.2.1:L_!IL. ELE:t-iE.tl_LP._A RA METERS • ,5 t 2 H • LtlJJ • __ EXT ,_J_YP . . ... .

6, Subroutine TRANS, line 269

·-TrN"r-=• .. ;rs-,·1/ if _ 1 T I NE= •, I 5 , II I)

7. Subroutine TRANS, after line 295 · Q HA X\Nf+1T=U-;·o---. Q F='U L L ( NE t-1l =·~. 0 · GE 0 "13 ( NE +1l = 0. 0

... -~ARREL CNF+1J:::t, 0 _

8, Subroutine TRANS, after line 310 --~-l.fv coL rrrl-=T;· -----------·--~~~-Q~~··~

9, Subroutine TRANS, lines 714-715 · 990 FORHAfllH1,/,* * * *· * * RESULTS OF POLLUTANT MONIToRING ROUT'Il'fr

1 • • • • ••,lt,tX,•POLLUTANTS ASSOCIATED HITH MANHOLES <INLET POIN =~~9.90_,_F_D_R_tiAIJ 1Jj!.,f, 5 C 2.!:L!J-~ESULTS · Of_:__fD_LUJJ A.N.I::: :l10_NII_ORI.~G_:_~QUTI NE· •, ·

... • 5f2H •1,//,1X,,..POLLUTANTS ASSOCIATED WITH HANHQLELCltlCgT PQ.J.N __

I w -....!

-------------------10, Subroutine TRANS, lines 737-738

-- 9 9 2 .. F 0 R MAT ( 1 .<! I 3 t 2 X , I 4, 3 X , E 8 • 3, 1 X, £8 • 3 , 1 X, F 5. 2, 2 X , E 8. 3, 2 X, F 7 • 2, 1 X, 1E8.3,1X,Etl.3,5X,E8.3) ·

992 FORMATC1X,I3,2X,I4,3X,E8.2,1X,E8.2,1X,F5.2,2XtE8.2,2X,F7.2,1X, - 1 E 6 • 2 , 1 X '· ~ ~.· _2 .. t.5 X t E 8 • 2 ) .. . . ·

11, Subroutine TRANS, line 779 690 FORHAT(*O ••• TAr-NUH.BER··or-sToRAG"F"-uNTTS 1 NSTOR-:•,--"Is·;--······

_.Q_9L .. FOR~A.I<1..t!..O..t'+OH•• THE NUMBER OF STORAGE _U_NJ,~S_, ____ NSTO.R_~t_l.S.t __ _

12, Subroutine SLOP. lines 65-66 --·croi FO~HAT ll, * " " " " " EL EHENT li N}<AG-ES-~_Nn--:c:rm?YTAI.PJN .. Sf."l:llJ~N~------.,-----:r-•-~,77,• ELEMENT No. ZERO~S~iVEN-rNTERNAr-NO. = NO. EltHEN . 901 FORMATCI,SC2H ") ,• ELEMENT. LINKAGES AND COMPUTATION SEQUENCE •,5(2

1_1:i • _ _t_, _______ _/_(.....t...!_ELEMENT NO. ZERO IS GIVEN INTERNAL NO. = NO. I:LEHEN

13. Subroutine FIRST, lines 7-8 . OI AF.Nst 01\lJI C160 I, QO-C161TT~E1IZTioOT9001TT60T~-Q02 CfGO l ;·PUMP ( 161) l

1 , SURGE1 ( 160), SURGE 2 Clo0) . 0 I M E N S I 0 " 0 I (1 0 0 1 , Q 0 ( 1 0 0 ) , W ELl 2 ( 1 0 0 ) , 0 0 1 {1 0 0 l , 0 0 2 ( 1 0 0 ) , P U H F ( 1 0 0 ) , __ 1_$URGE1 ( 100), 'SURGE2 (1 00 l ____ _

14. Subroutine FIRST, line 101 -T2·J--?5Ttrr-.:- 2. 0 • ARSI N ( GE OM2 ftf) /2.0 I GEOM3 ( H l )

_!.f_US ( H} = 2, J • AS IN ( GEQ!1~ (t:1l/ 2._0/.G.E:.QJ:.t~_tljJJ __ _

15. Subroutine DWLOAD, line 5 0 I M F N S I 0 N IJI (15 0 J , Qo ( !001-;T.l 0 f (16 0 J,OUZTHiO ,---­

___QIHENSJO~ 9,1 ( 100 >, QO < 10 0) tOOt ( 100), 002)-:lll .. OJ_

16, Subroutine INITAL, line 33 DTMENS !ON SOA2 C 6), 00 C16 o J, OI Cio 0 l, 00 U 160 l 9Q02Tfo·or--

- ___ D I..f. sN S) 0 " s u M 2 (Ed I g 0 ( 1 0 0 ) ' Q I ( 1 0 0 ) ' 0 n 1( 1 0 0 ) ' g 0 ~ ( 1 0 0 )

17. Subroutine INITAL, line 98 GO TO 100

, ___ r; 0 .. Io___ 9? _____ _

------------~------

18. Subroutine INITAL, line 100 ·r F CNPOCt.-; LT;·n-··wPITFT6, 9 011 NOE ( Ml , NT SUM 1, A (M, 1, U, VEL! NT

95 IFC N.POLL .LT .u WRITE C6, qou NOE CM), NT ,SUM1 ,A ( M, 1, U, VELINT .

19. SubrGutine ROUTE, lines 6-7 DI r" ENS I 0 N tH (160 J , QOT16 0), SURGE"rff6trr9SUP.GE2 t 16 0), W ELC1 ( 160) ,

1 WELL2<160l,PUMPC160), Q01f160),Q02C160) DI~ENS!ON ni<100> 1 00C100> 1 SURGE1C100>,SURGE2110Ql,WELL1C100),

__l_liUL.2._LLO 0 l , P U '1 P U u 0 ) , g 0 1 f 1 0 0 l , Q o 2 f 1 0 0 l .. = _ _

20. Subroutine QUAL, lines 8-9 ----rrnrtf.fSTU~--suP"Gt:l\T6·rr-r·--suRGE2116·o l .... WE l L1 t lb 0 J , WELL2Tl60l. -- ..

1 a o c 16 o > , a I c 16 o > , a o 1 c lo o > , a o 2 c 16 o J , PUMP <16 o , 0 I Mf NS I 0" Q I ( 10 0 > , flO C 10 0 ) , SURGE 1 ( 1 0 0 l , SURGE 2 ( 10 0) , W ELL1 ( 10 0 ) , _!.!!I;:L~2J_1_9_Q_)_, PUMP ( 10 0) , QO 1 C1 0 0), 002 f 10 0)

21. Subroutine PRINT, line 33 ·····-no ---t·o·- J ==-1,.-·-zrr--·· __ PO_ 1 o J= t d.__Q. __

22. Subroutine PRINT, line 35 oo·-Tc·- N·=-r;·ts o

__ OQ. __ JO N=t t 10 0

23. Subroutine PRINT, line 69 960 FORMArt*0*,40x,•••• BOO IN LB-s7M1"fr••••r··-··-··---­g6o __ F:.PRM.ALl!'0•,4QX,3H•••,• SOD IN LBS/HIN •,3_H••.•J_

24. Subroutine PRINT, line 72 ---9 6-1-- F 0 R M A 1· < ~ 0 • ·; 4 0 x;-.,_-.... -.·--sUSPEliD"EO ___ S Ol"I 0 S --nJ-CB.S7M Iff:-·..-.·•-) -·- -___ nU9&1_ FOR..M.AJ t• o• t 40 X, 3 H•••, •SUSPENDED SOLI OS IN l8SIMI N•_,_:~_tt_• •!_!_

25. Subroutine PRINT, line 75 g62 FORMAT(* 0¥94llX~•r·mr:v:-m) ·

. 962_fORM4J..(•0•,40X,3H•••,• DO •.3H._•_•~J __

I w >;f)

-------------------26. Subroutine PRINT, line 78

·-· 961 FORMAT ( • o• ~4ox;··-···-··c·oTn!·QRff IN HP Nll1fN_\Io . ._ .• -.-r---------963 .. _ _FO~HAT~•:o•,4QX,3H•••,• COLI£QRH .. tl' _Jf>_NIHIN_•,3H•~..!l_

27. Subroutine PRINT, line 123 ~~-;-4 ox, • ... -.-... -suu--nrRl;n:-...-.·...-· • J . .. 96d FQRMAJl~O!_,JH•••_,• BOO IN HG/l_.• _ _,~_ti.:!_:!.~l-. __

28. Subroutine PRINT, line 126 . 969 F ORHA TC • O•, tt:O X, •• •• SUSP"ENDETI-s-OLI OS ·-.IN"'1i7L--•••-.-y--··---- 9&9 __ f_ORH AT (• o•, 3H!_~!_, !_ $!JSPE NDEO SOLIDS IN MG{l ... !t.ltt!:'-!) ___ _

29. Subroutine PRINT, line 132 966 FORA A I t" 0 •, LtD X, • •••COLI FoRM IN MPN7run-fl~T¥""¥)

- .. .Jo&_,_f_QfSJi~!..t• ·p•, 3H.!:..!:..:~_t.! ... ~O~IF_PRH IN t1 PN/1 00 HL •, 3H!.":!.l ___ _

30, Subroutine TSTCST, line 29 ----oTt-ENsro·~-·ao·ntso, ;ao2 [!SO>

OIMfNSIO~ !')OUtOO> ,flO~_jJ,.O_O> __ . --- ~----.- .

31, Subroutine TSTCST, line 87 ·:. 691 FORMAT <•O ••• IS I oUt =•, 13, •t. IN r<.ESERVO.IR NO.•, 14, ___ 691 F"_O& 1'1A T _(..!._0_!__,_3 H• ••, • I STPJJT=• , __ I__~_,_.!_ ___ I._I'L.R~S E_~Y..O_Il~ __ N 0 ·-·-~ .llt' -

32. Subroutine TSTCST, line 92 692 FoR HAT l • o..-,-·-Tox-;- ••••--mr FLOODED,. SO SUM5f17(RI~r-~fN¥~~I~ib·~~ __ 692_f_ORHAI<•Q•_,.1QX,JH•••,• U..NIT FLOQDEQ, SOUMM ...1.-W~ -- --

33. Subroutine NEWTON, line 4 p or RENe:; rON ar nGo J , mrrroOT ____ _

_ 0 I MEN 5 I 0 ~ 0 I (1 0 0 ) , 0() C 1 0 0 )

I -!:' c

-------------------34. Subroutine TSTORG, lines 29-30

0 I Mf NS I 01\ ·····of.PT HL r··z-T9QTTP5-al-;·oo ( 16 0) , PUMP ( 2) DI~ENS!Of\ ·rl01C160) ,Q02C160) ,SUR.GE1C160) ,SUR.GE2C160) ,OUHA02c-11) IJII"ENSIOt- OEPTHL(2),QIC100),00(100) ,PUMPC2) · OIMf.NSION 001(100> ,QQ2 (100) ,~URGE.1 (100) ,SUR.GE2(100) .tDUM.~.?.JlA.L-

35. Subroutine TSTORG, lines 150-151 - 6-00-s-F'ORHA-T C/, .-.-._--.--.-.--PUMP!~RATr··sET BACK TO--lN!TI-AL-vACOE--oF"•·;-

6005 1FF7oR•H11T•CC/F,§ ~·~·~·~•.••p'u1 HlPING A T ~ ~ ~ ~ ~ RATE SET BACK TO INITIAL VALUE OF•, ___ 1F.7_.1,• CFS i $! i $•,t>

36, Subroutine TSTORG, lines 160-161 ·e;os 1 ~~~~A-6~~t~ ;~~~ I~E • osf~...,...~oror,....,c R .... ~,.....,~r-0-.~~-M""PJN-~~AIE-;~~~~·c£·--r-o•·~ r:1·~ 1, • ·crs u 605 FORMATCI~• $ i $ t $ INITIAL PUMPING RATE DO~BLE TO•,F7.1,• CFS U

-· ._ . .1.NIIJ. DFPTH IS TWICE OSJOPCKSTORI $ $$$ $•,() ---··-··-···-----·--·-

37, Subroutine TSTORG, lines 248-251

38,

c

~~~·~· ........ ·-··'f·JI. -...• -•... If..,. ...... -.................................................... -~f •• •••••••• STORAGE UNIT IN TRANSPORT IS FLOODING •••••••••,1· •• ••• EXCESS WATER IS BEING STORED IN UPSTREAM ELEMENT ••••,1· .. ··············j·········~·································· I ·-·1-·-·-··-·5 7H••••••••••• ••••••••• •••••• .. ••• •••••••• •••••••••••• ••••••• t I ·· 2 57H••••••~• STORAGE UNIT IN TRANSPORT IF FLOODING ••••••••,/ 3 57H$$$ EXCESS WATFR IF BEING STORED IN UPSTREAM ELEMENT •••,/ 4 ____ 5.1..H~.! ~ •••• • !..•.• •••• ••• •• •• •••• ••• • •• •• • ••• ••• • • •• • •• •_'!'• • • • ••• L. __ _

Subroutine TSTORG, lines 474-477 . 69 3 FOR HAT (" 0 n-. T E RfflNATr-=-I"N"PUT·--nr--rrnT-RP-PR.OCElfu RE~l S

•OWEST VAlUE ON CURVE liN SUBRT. TSTORG)•) STOP 901 .

-·--G93.FORHATl•0•,3H•••,• TERMINATE- INPUT TO TINTRP PROCEDURE IS lES5 I 1HAN LOWEST VALUE ON CURVE CIN SUBRT. TSTORG)•) ST_O P. _60..0 ______ . __ _

-------------------3~. Subroutine TSTORG, lines 479-481

- _6_9_4 ___ F'ORHA1'l•-tr•-..-T"E-R~fHn\Tt--~-nn>UT TO T INTRP :PROCE'O.URE--IS .. GR€ATER T HA •N LARGEST VALUE ON CURVE liN SUBRT. TSTORGJ•) .

STOP 902 694 FORHAT(•D•tJH•••,• TERMINATE- I~PUT TO TINTRP PROCEDURE IS GREATE

1R THAN LAR~EST VALUE ON CURVE liN SUBRT. TSTORGJ•) - STOP 6QO __________ _

40. Subroutine TPLUGS, line 29 0 I f" f N S I 0 N Q 0 U 15 0 J 1 0 0 2l1 5 OT . Oit-'ENSIO~ OOU10'J) ,1102(100)

41. Subroutine TSTRDT, line 30 IJlf"Etlo;;;IOf\ UOU150) ,Q02C1'30J DIMENSION _Q_O 1 ctJUL.LJJ}02 Cl 00 )_

42. Subroutine TSTRDT, line 116 (Delete)

--"Go-ro .. u1 o o, 1 z o__o , 1.Z.-rn;;-- <i"Q '+ , _ 9 o ~, _ _, _ _1( __ _

43. Subroutine TSTRDT, line 168 -.RTFtCE"-, I, .-•-;-Tsx·,-- •oRIFICE A"R"E1f¥""CQ-::•, F 10 • 3 i ·----s·ct;F,.,--ut:~-;

__ -~fU£JC~,____• __ •_,_1_._~~, _ _17HORIE.ICE -~-REA•CD =, F 1 o. J, • SQ. FT_, ___ OT .-:-=-...t.-

44. Subroutine TSTRDT, lines 219-220 2 F 7 ~ 2 • F I, Of =•-, FfO-;T,-•---s·£c--.__,,r7'f ..... R1"7'10:-nH~I~PUT HYUifOGRAPHT.-T16X9 ______ . ·n- ·H

3•oRiF!CE AREA•CO=•Et0.3,• SQ.FT, HEIGHT OF ORIFICE CENTERLINE AB01~. 2 F7.2 • FT OI=•,F10.l• SEC. (fROH INPUT HYOROGRAPH)•I16X, o lHORIFfCE.:JlEA!..CD=. E1 0 .3. • SO. FT. HE! GHT OF 0 RIEl CE CENTfRLI NL . .AB_D~-

45, Subroutine TSTRDT, line 360

• -- E7.3. • TIMES (Q-PUMP•OT)•) -_i. ____ mf7.ltr6HTrMES-fOPUR~jn---

46, Subroutine TSTRDT, line 376 .-----.·or,·-"2x-;··-•••••-:- ---·- -FOR THE "ABOVE REASONs-,---TRE- FOl:LOWitfG--OUTPUT•, • • 0 •, 2X , 4 H• •_!:_!__t_.!_ ____ _f_Q.fLiliLlttlQ'lL&J;:_A_s_Q__~S_, __ THL£91._"-_0tilN.G ___ QJJJf_U_T.• ~-

I ~ N

------------------~

47. Subroutine TSTRDT, line 421

691 FORHAT('"O •-.-.-.t"RM!NlTt~-r~rPUTI'C1-T!NTRP PROCEDURE IS LESS THAN 1. _____Q__9J~ FORHATf•o•,• TF.RHINATf: - INPUT T~_.EOURE IS LESS __ THAN_I.._

48, Subroutine TSTRDT, line 426

69 7. F1lRlwf"ATr" 0 ••• TERMINATE - INPUT rn-rnURP--PROCEDURE IS G-RtA·T·R--i'H4 __ 692 FORMli.t!_O:!,• _TERMINATE - INPJJT T_O T IN!RP PRQCE.OJ.!RE..JS GREAI.E:_R, __ T_!:IA

49, Subroutine TSTRDT, line 431 693 FORMAT(•O *"** FOR RESERVOIR NO.*, I!t-,- -- - -

__ 693 FQRMATt•0• 7 3H"'"' .. ,• FOR RE:SERVOIR_N0~-~'--

50, Subroutine TSTRDT, lines 432-434 • +, THE MAX. DEPTH, DEPHAX =•, + F7 2 • FT IS OUTSIDE DEPTH PARAM~TER RANGE. LARGEST DEFTH PARA •METER! ADEPTH(11) =·' F7.2) 1"',THE MAX. OEPTH,OEPMAX=•, 2F7.2 9 "' FT,IS OUTSIDE DEPTH PARAMET~~ RANGE. LARGEST DEPTH PARAMETE 3R,~OE.PTH(11>=• F7.2l

51. Subroutine TSTRDT, line 438

694 FORMAT("' 0 ••• IST~- 13, --.--;··--ur~ESERVOIR"--No·;..--,---!4! __ 694_ FORMAT<•u•,JH!*'" t*'ISTTYP =•,I3, •, IN RESERV..QlJL_NQ,_!_, _!t_, .

52, Subroutine TSTRDT, line 443 69 5 ·-F'-6RMA-TP'~-rJ-s··rt10rr-:•--- -r·r,,:-;·-xN-,:Es ERV OI R N 0~- • -- I 4-- ---·

__ €1_9_5 F:ORH_ATf• o•,3H•••,•tSTM00 =•, 13, •, IN RESERVOIR __ NC)_.!:,ftu. 53, Subroutine TSTRDT, line 448

-696--FORHAT('"Ou·""'"-UISTOUT =•, ·r3, •, ·rN-REStRVOIR No.•,. 14,-. ___ E)_~o ___ fOR.~/.1 T ( • 0 •, JH••• ,_!_l_STOUT =• ,I 3, ~_.__I_N ___ _RESERV._QlJL .. t.LQ..,.,_!,t.,llt..t.-

I ~ w

------------------ ..

54, Subroutine TSTRDT, lines 452-455 (Delete) C 907 WRITE(o,&97J ISTINF,---KSTOR C &97 FORMATC•O ••• ISTINF =•, !3, • 1 IN RESERVOIR NO.•, !4, C .. 4- .• •, .. IS- OF A TYPE NOT PRE:sE NT LV MODELED•) ·· - -C S T 0 P _______ .-=.·=--=---=·· ..... .,. ..... ..,. .. .......,. .. _""" __ -=--=---=-·=---=-=··=··""'"'· --------~-·-=·=··----== .. =-~--=-~=~--·-~~=

55, Subroutine DEPTH, line 4

DTl' F NS I 01\ tJ I ( 16 0 J , 1TO\T61n·- -~ .. Q.I_MfNST ON QI ( 10 0) '00 ( 10 0 L.--

56. Subroutine RADH, line 79 --·THi='Tt = Ai<:.SH:<2.G•CATHY/GEOM2(;1)l __ Lf:iEJ£-=1- ~It~< 2. o• cAT ~-tY ;Gro t12 < M l l __ _

57. BLOCK DATA dL OC K-DAI'A ________ _ BLJCK DATA BKTRAN _., _____ - ·::-~··--=-:. . -- ·---·-· - =-:::o- •• ·r~a.-

------------------~

STORAGE Block

A) Common Blocks

C 0 M ~ c t\ IS T 0 R 11 C C NV E R ·, K HOUR 9l<Trr-;r;lortf0-;NFLA-Gj)fl(;_!.H E A 0 1 , HE A 0 2 , ,. Q D E ~ y N 1 Q Q I F ' WAB u ( 7) J w A I " (7 ) ' c QO u ( 7 , ' Q Q I tH () j w A K 1'1 (7 , ' Q Q R L ' • gor~,auRHC7J,B OU(7 ,BOINC7J,SCOUC7J,BCINC7 ,BDRL, • SSIF,SSIN(7),SSOUC7J,SCCUC7J,SCINC7J,SSRMC7J,SSRL,COIF,CORL, • AOEPTH (11) ,AASUFFC11t, !TREAT C12J, I~ TOR, IPRINT,ICOST,HRFD, • MCDS1Z 1 ICHEM,ICL2,SCREEN,CQIFMX,OESF,IRANGE,KNTOF,TRIBA,SEOA, ,. SOMtSREFFH,OREFFH,NUNITH,U~REAH,OPRAMA,ICHEMHtHM,VOLDAF,ITABLE, • MCO~ST,TOTCST,RECIRC,OV~DAF,iSU~FA,OVRSED,NSEO,JM(7),WTRMT5, • NSC~N,SCRCAP,SUAREA,FAREAE,~~S,AREAHS~VOLCON,VOLSEO,ALUMUT,

! a~~~l~J~:~B~~l~~~!~~~~f~~~:~a~g~f~Af~fe~~f~,l~aag~~~~~,wTRMT1, ,. QORI"T (7) ,QQOUT (7) ,QQRMMXC7J ,CQOUMX(7J ,QQR~Mt\(7) ,QQOUHNC7J, • 13CRI-1Tl7J ,BCOUi( 7J ,8CRHHX (7l ,ECOUMX l7J ,BCRfo'MNl7J ,BCCUHN (7), • SCR~Tf7J~SCOUTC7J~SCRMMXC7l,SCOUMXC7),SCR~M~(7) ,SCOUMNC7J, ,. B0Rt'C7J 1 t:ICRM(7) ,S~.;RMC7J COHHCh/ST~K/QJNC1COJ,eOD!h(100J,SUSlNC10Q),COLINC100J,

• QINST,QOUST,OIN~TL,QOUSTL,STCRL,QOUTO,STORO,

! af~~~~Ifr?~o~B~~1~l??~~~pf~~I~; ,8STORC11J, ,. OUMSTR C1U ,OUMDEPC11J, • VOLINf100J~VCLOUTC100),STC~,CUHlNfCUMOUT, • S800 1 SSS~S CL,BCOOUT,SUSCLT,COLCU , • ISTMu0 1 I~T YP,ISTOUT, • QCU~P,~START,OSTOP, • OTON,STORMX,OTPUMP,nTMORE 1STCF.F,APLAN, .

: E~!~~:E~~~~:r~~£t!8{~~Nf~1~6r:~~~g~r5o,, __ '!.~§ YP llS 1 8 OC 8 Y~i S~SDT8Y :.,.c

1_ 0 L 9YP, lOUTTF.:..~ BO_QJ: __ gJ_,_SS,C.QUL_Q..Q~~-==C.=OT.:....·==----......

.... u I' dJ N If B L K ll.' ' 1\ I ' "0 . E8~~~t,s(~~~~6~~~~~~3~!~oAR~C100l · ·. CO~MC~/8LK3/JS,JNS,NPOLL,SSt~~(100),CCARR(100),pQLLt100,5,5J,

... 00(100,5) COMMON /HIGH/ !QOHO,QOHIGH ·

·{B~-~-%~~~~M1L~~~i~'t~~~4~ c ~', n:-nn-rq-r,tn-c9f7Ef2 r 9>, rrrcro-Clr>-~·a INFlT91 1, o IA.f.~_e_. --·~-~- __ --· ···~=·'·-···

I ~ lll

-------------------Subroutines Containing the Above Blocks

B) Coding

STOR1: STORAG,TRTDAT,TRCHEK,STRDAT,TREAT,TRLJNK,SEDIM.HIGHRF'.TRCOST

STBK: STORAG,TRTDAT,STRDAT,TREAT,SEDIM,STRAGE,PLUGS,TRCOST

TBLK: STORAG, TRTDAT, TRCHEI<, STRDAT, TREAT, SEDI M, HIGHRF, STRf\.GE, PLUGS. SPRINT

BLK1: STORAG,TRTDAT,TREAT,TRCOST,Block Data BKSTOR

BLK2: STORAG,TRTDAT,SPRINT

BtK3: STORAG,SPRINT

HIGH: STORAG,TREAT,TRCOST

LLABL: STORAG,TREAT.HIGHRF

VOR: TRTDAT,TREAT,TRCOST

1, subroutine STORAG, line 31 O!t-IENSTOI\ TIMEC160l ,TITLECltO),JN(5)fTVTLE(20)

__ __ D I ~f.JiS.I_Qf\_.J.lME Lt.O Q.J , TIT L_E C.Lt 0) , JN C 5 l , VT1. t::J.2 OJ __

2. subroutine STORAG, after tine 126 ATI::~-,..-Tm = o .. ~·-o-- ·

I ~

"'

-------------------3, Subroutine TRTDAT, lines 265-266

~~ 18aA1~TKfit~ 0!Gr. o.o> GO ro 92 DO 9n KT=1,NOT !F(QQARRCKT).GT.O.O)GO TO 92

4, Subroutine TRTDAT, line 269 92 ~C!F : 1605U.O•eOARRCKOTl/tQQARRCKDTJ•OT"60.0) 92 BCI F= 16'0 50,0 •SOARR CKTl/ C QQARRtKT) •QT •&_Q __ , __ OJ --==·-=·==~=

5. Subroutine TRTDAT, line 627 ·----r;-q-o·-~·al~~JnnT"O"•-~"' 1 r Rtrrrr.-rr;--..,-:-•-;--·rz --·- ·· ··· ·· _6'J_O_ .. f_O_RM..~T (• 0 .. '3H $~i I .. ITgEAT (\'' l1' "l =--~-1 i2L-

6, Subroutine TRTDAT, line 643 6q3 F01'fMATC•u••••, 5~ •OOfSVN :+, F 10.2, • HGO IS LARGFltJH1ftrl'1AXTROH-

__ 69 J f.Q~HAT (" 0 •, 3H""", SX, •ODE SY N=•, F1 o. 2, • MG 0 IS L A_R(j_~R l_H_AN MAJUHU.M ...

7, Subroutine TRTDAT, line 646 S I OP 6'3r--.

__ STOP 600 ____ _

8. Subroutine TRCHEK, line SO ---63"0 .. FO-RI'fATT•-o···rACf!."-OTLCHffNr;-cl5R8-IffA1'-I:OlfS --·or-·TRtAI~·ENT-·op·ry·oNS"-HA-VE--····;·-___ 630 _ _FORf'tAJ'<• o•,•HiE FOLLOHING ___ CP~-~-~NAT IONS OF TREATH~NT OPTIONS HAVE"t

9, Subroutine TRCHEK, line 52 -··-·· " • S IHOLA t ION wt lt 1 AEREF 0 RE BE 0 ISC ON II NOEO .-,-7, -~-----··· _! ______ $_lf'1U_LAJION. .. HI lL. THERE FORE BE DISC ONTI NU...E_Q!_,_{t _

10, Subroutine STRDAT, line 171 -- • RIF''I"Ct~~~O'-ro:R..,..I.,....,F I"'"'C ..... r·-A""RE""A...-CU ·-: ¥";-· F t 0 -~·J.·;· ··~·.-sQ-~F ~~~or--:~;-__ •RIF_~CE!:,J,_22X, .17:ti0R_I_[J_C_E __ AR.E A•CO =, F 10.3, •sa .FT •J ___ OT::_~_, .. -,~. -··-

---- ---------------11. Subroutine STRDAT, lines 209-210 ___ _

6ZI FORMAit•o•••••• wARNTfilG1TSfoP OEPIA SAOOC0--13rTE"SS THA"N--STAK.T", t• DEPTH, RUN TERMINAT'EO. •••••••1../llll .,. -" START•

627 FORHATt•o•,4H••••,• WARNING STOP DEPTH SHOULD BE LESS •H~N --_l.t_• DEPTH, RUN TERMINATE0.•,4H••••,/I./ ---- --

12. Subroutine STRDAT, line 212 (delete)

--G""cr:::r~~nru~::==·

13. Subroutine STRDAT, line 365 • - ----T1'2-;.-·2--;--.-1rtfES\·a·puM-P•'OTP'.-f _____ _

_ '!: _ _ __ , __ -f.J ~~ ~_,_!'T_I t1.ES __ C QPU MP_~_,_1H •,_!O_TI •l_

14. Subroutine STRDAT, line 408 And line 413 ---6·9·1-FORtiAT!•·o-·•••--TERHINATf·-·-.;. INPUT-TO lNTERP- P'R-OCTOtJK.t'lS-·Trss--THAN L

691 F0°MAT(•~3H•••!•TERMINATE-INPUT TO INTERP ROUTINE IS LESS THAN ~ -6 <:f 2 -T 0~ H'ATf¥"'o .,..,.-.,. T E R HTifAT£-:=-nfp1JTI!JI~ITJ<P-"PlrOCTIJlJRtlS-G-~tAiU--TR A-- Q_9_~_ fORM A l_t • ll ~,.3ti Jt.~ • t· ~ TE RMl NATE~ lNPU L.:lJLllil:.E.&P· .. -ROUT. I NE .1S __ G B.E A! ER _.I__tl_~

15, Subroutine STRDAT, lines 424,429 and 434 69Z+ FORMAT c•·a--..,-•~ISTTYP =•-,--r"J:, . 694 FORMATt•o•~JH••• 2 •ISTTYP =•,!3, 695 FOR:MAl l* 0 ~•* IS 1 MOO =* 1 IJ, 695 FORH~f~:g•~H•••t•ISTMOU =•,I!L__

o9-0FO"Rlf. • IS o OT-:• , I 3 , _§9_9 __ FORt! AT t • 0 •, 3 H•••, • ISTOU_T_ = • ,J.J...t --·

16, Subroutine STRDAT, lines 438-441 (delete) C 907 WRIT£(6,697) ISTINF C &97 FORMAT<•o ••• ISTI~F =•, !3, C • •, IS OF A TYPE NOT PRESENfLY MODELED•)

-~ C - .:. , S_lO P- - ··"--'" -~-·_;.;··.;...· _.;..· ....;;.;_ _ _;__;_ ___ __;.._...;.:....;;.._.:....::.__..:._~

17. Subroutine TREAT, line 40 DATA POLNAM I*BOD•,•ss •;•c-oL•,7•• DATA POLNAM/JHBOD,JHSS .JHCOLt4H•

__ 1H• __ .__ili!__ _ .... _________ _

.,-------... _____ __

t ltH• t 4H• t4

I ..J::'-00

-------------------18, Subroutine TREAT, after line 46

_'< F LA G,_::-=·1"--

19. Subroutine TREAT, line 72 oo 2 1<=1,150

____ p_o ?. '<=t,,~l~O~o __

20, Subroutine TREAT, tines 185-186 1f1'0RHAT.cl7l..--•-._--.---.-:;.--.--.-----EXECOrrctf·-sr·oppEQ-;;--NSCRAr( {) .... "MUST ·a

1E GREATER THAN ZERO. • •••• ••,!Ill _1!.J~~2~T{~~~'i€~Q!__! ~~~ $E~~;~~}rN STOPPPEO __ ~ NSCRA~IU MUST BE GR

21. Subroutine TREAT, line 205 . 4 56 F ORl'fA T C • . • , 17X , m.-.-.-TN"--HTG-11·-···RATE Fl [fER REtfO\fA cs·-r NOTC-A"TES·•-, .45~ FORMAJ~!..t?_H!_~•••,•IN HIGH RATE FILTER REH9\fA.LS INDICA.lES•,

22. Subroutine TREAT, lines 333-334 3 9 F 0 R1fA"Ifl9.--.--~~-sr01Vl'"Gt:- I s-·crvrRF LOW rnG";--s1YMrFL ow--A-ND---POTCOT

1ANTS ARE BYPASSING STORAGE • • • • ••,/) 39 FORHATCI,• $ $ $ t S STORAGE IS OVER FLOWING. SOME FLOW AND POLLU

1TA_NI_S __ ARE BYPASSI_NG STORAGE$$$$ $ __ ~_t_{) -----d··-···

23. Subroutine TREAT, line 610 and line 650 CALL KILL(VOLOAF,SCIF,SCIN(J),QQINC3J!CCIN,CCOU) .

-·CALL- KILLtVOLCAF;-S'CIF,SCI~.CT);CQit--t3)·-,ccit\,CCOU,~l - --· ··--------- -----·--- - ------··-· ·---·· -·

24, Subroutine TREAT, lines 1074-1076 !LOwS, QOANTIJY\C"FJ =FLOW RAIE Af•1 71Tf-crt•EACA TIME STEP" OT. -rn 2~ POLLUTANTS, ·QUANTITY llBl = FLOW KAlE A EACH TIME STEP•,!,

. 3l'19,•• CONCENTRATION • OT.•,/1) ·· · 1LOWS, QUANTITY CCFl =FLOW RATE•,t,T19,•EACH TIME STEP X OT.FO 2R POLLUTANTS, QUANTITY tLB) = FLOW RATE AT EACH TIHE STEP•,!,

... 3T19,• __ C_ONCEHIR~I_ION X DJ_._!_..lll ----

l'

------------~------

25. Subroutine TREAT, lines 1138-1139

95&0 FORMATCT2,I2. ,• •,I.2,T9tf7.2,F5.1,1X!E7.2~1X,F5.11 • IN•tF7,2,3F6.2, 12(1X,E7,_~,_F?e1)l~Xl.f-.7·~rF5,1~.2t1.X!E7.2,F~.!),/l.TJ5,•0U •"-F7.2, _

-- g ?l)U'""'"F D ~Fr~l·c l 2 , I 2 , * 1 I ?. , i 8 , 7 • 2 , 5 , i , X , F 7 • 2 , F :-.> • 1, I N..,. t F 7 • ' 3 F 8 • 2 , _ 12 ( E 7 • 2 , F 5 • 1 t , 1 X , t 7 • 2 , F 5 , 1 , 2 ( E 7 • 2 , F S • 1) , I , T .3 5 , • 0 U T 4 , F 7 .!.1..1 .. .. __

26. Subroutine SEDIM, line 51

___ G_O_T_Q_ ___ (3_!tUIO...t..33_8_?2DO~T2I_SO_T)OIS~R-__ §..0 rc c~e1 , e , ... c

27. Subroutine SEDIM, line 81 and line 86 - ---6-clrTO-RMAT<¥·a·-.-.. TERMINATE--~· 'INPUTIO-,NTERP .. 'PROCEOURE- IS. CESS--TH.AN -l

691 FORMAT(••o•,iH•f•TERMINATE-INPUT TO I NTERP PROCEDURE I_S_LES_S TH~_N_L 692 FORMAl l*O ••• ERff!NAIE- lNPOf 10 !NffRp-PR.l)C'EO"URE"J:S G'REATER TRA

___ C29.Z_ .. .EORM.AJ t!O_•, 1H•, •T~RJil.N .. ~LE- INPUT TO I NTE_Rf' _ ___P-ROCE DURE IS ... GJ~EAIJ~f{ __ l_lil\

28, Subroutine HIGHRF, line 23 IF (KDi .GT. U GC-T0.430·o---TF<K~LAG.GT.1)G0 TO 4300 KFL..AG=2

29, Subroutine HIGHRF, line 24

ll S S I r, N43 iff-To-CCA G F.L L LA 8E'L=1

30, Subroutine HIGHRF, line 30

--4~ o o ·Go ro -1!L"AnEL, c 4~1 rr, 4 3 2o, 43-!'0-;-tt 34 o-;-43 50) .. -~~.Q]_ __ !jO TO (4310,~120,~330,L .. 1L0tL;.350tJ.Lll.8.£:.!..._

31, Subroutine HIGHRF, line 48

... I F'(R;'G'F";'fffTW3S I G f\! 4"32 0 I n L LA 1J Er rFcH.Gf,H1lLLA8El=2

32, Subroutine HIGHRF, line 55 A ss·rc~t.-~-~-o·--rrr · c L .n:Et

---~LA 1E'L= 3

I IJI 0

-------------------33. Subroutine HIGHRF, line 71

IF t KnTB ~r.-GE ~NfiT!TilT~-~TGfr4""3L.lfiCf\:TA-l'\EL-. __ l_f_LI(f\T tiW • G F, NQ I 0 W) L LA eEL =4 :---·.

34, Subroutine HIGHRF, line 85 .. 4T4-rf ~SSIGN ..,3'5-0TO LTAeEL

4 ~ 4 f) L LA •3 F L -!:"

35. Subroutine HIGHRF, line 116 AS~ IG N t.. 3 20 TO --CLAeFc-­LL~9~L~-~z~-------------

36, Subroutine STRAGE, lines 11 0-111_ . ·---Er'BACK TtrL'NITlA'C .. VALUE OF•, T • • .. ,. --•~-...-:--puMPINbKATE' ::»

------6eOS-t-ORMA (C,FS. •"' • • •• /) T INITIAL VtALUE OF•, 1F7.t,• • $ ' t $ ~ PUMPINT RATf SET BACK 0

6005 FORMAT (I, .1' ~ $ .• $ • /) ------1 f 7. 1 I • c FS ;p ~ - :b - I -

37. Subroutine STRAGE, lines 120-121 _________ (J 605 FORMATI/ .... -:-¥--.---.~--li'UTTA-C:-PUMPING RATE-DOUBLE To•,F7.1,• CFS

605 1 N~5~Mgf~tH.I~ lwlci ~sr~~rriA~ ~u~Pi~G 1~ATE ooueLE ro•,F7.1,• CFs ~- _____ .1VNTU. OEPfH IS TWICE DSIOf ____ $_L$__$_$_!_tLt . -- -·----·-- --

38. Subroutine STRAGE, line 346 and line 351 · M T .. 0 --•••-TERt•fifaTE - INPUT TO INTERP PR"OCE.OURE~-:-'!S LESS THAN l --·----~~~ -- ~g~H~T~ • o• ,1 H., •lER~INA lf-INPUT __ TO I NTERP PR__OCEDU RE ISS~RE~~-TTE~ATN_H-i

. - .... 69-1+- FORMAT(¥ 0 •••. TET<:HifniE - INPUT T 0 I NTEl<.~O'Ct:OURE I , ~ t:.H ~ ____ _9._9.Lf..ORMAT c" 0 •, 1H •, • I ERH INA T E- I Neu I TJL .I NT ER P PR ~ U RE_lS_G_RE.Al'.E.R.__lii

39, Subroutine STRAGE, line 348 and line 353 SlOP 901 STOP 600

-sTo-p--en-~ .SJ_P.P ... {)00

40, Subroutine SPRINT, line 7 DlME~stOK 00Mt160J 0 I fl ENI)J o L n Q t4 l.l O.OL

-------------------41. Subroutine SPRINT, lines 87-93

42. Subroutine TRCOST, line 257 ~SO J" G 0 T lJ t J b D 0 ;-37lfO"T9 -·TSTDR·--·u J S 0 0 G 0 T 0 ( 3 b 0 0 t. 3 7 0 Q_t} 7 9 QJ.."J ;_T_Q_~- ···-

~,...:.....:---·· ·----~=-~·_::-·.· .. -

43. Subroutine TRCOST, line 498

6 9 0 F' 0 R MAT ( • 0 ·-~--yrRtiTT.,- I 1 , •-r-:-•--;--r2-,----~ -- _ ···--69-a=n5KE"Ar<T"~TEE:ALT"_;I_1~J--=--•;r2-;-

44. Subroutine TRCOST, line 500 2••••, II I;·

__ Z_! __ ,_3 t:t_!_•• ,JJI J __ . -

45. Subroutine TRCOST, line 504 and line 509 --·6"91--F'-o·R-MATr•·o·•...--.---yEA·R·-·oF-MOOE c-·:··~·-·u,·; --· • . rs·- B"EF ORE-Tcn-o·•, 691 FORMAT«•o•,3H~··~• YEAR OF HODEl =•tio~IS BEFORE 1°7]•,

-o-«32---r"ORHATIT"O:Y-.-¥ VEIH{\lrMOQE[ =·---!£), --T:::, A.FTER···p~-8 O""t-L- ·----. ..9~E __ Q_I~JiATt•o•,JH•••,• YEAR oF HODEL =•, r&,• IS AFTER_!_~.~_!)•,_

46. BLOCK DATA BLO"""CKIJATr-

___ ~LOCK CA _!} __ 8KST~O:..:..R;_.._

·,'

I VI N

-------------------RECEIVE Block

A) Common Blocks --··-------· ...

COMMCN/R~LL/~CHANC50,12t tC!~CSO),QOUC50),V0Ll50),ASC50), 1 N J U ~ C ( 1 0 0 , 2) , Q C 1 0 0 ). , L 'EN ( 1 0 0 ) , t\ P P. T , N Q P RT t I C 0 L ( 1 0 ) , ALP H ~ ( 3 0 ) , N J , 2 N C f T T C 2 J , J GW , N rlGW , I BC { 10 0 J , L C C A ( 1 0 0 ) , L 0 UK ( 2 0) , TITLE ( 6 , 6 l , N JS W,

-~g 6 H ~ gi.,·h~-~f~ 5 ~ ~ ! N E , N? 0 , N a crr,c-Etl (f!ISW'CH·cro-, ------·~~ -· COM~CN/CCNTR21N21 9 NTCVC,N~CYC,NT,NuSWPT,LfLT,TZERO -COMMClN ... i"~ifNI DMH~tl,VARN(4> - - - .. _____ u _________ _

-· c·a·~·;c N ~ 11 H (50)' H~- ,-S-0 ,:-.:~r· ( "s "ri) t HAA ~ ( 5 o---,;HA-VE- ( so),IPO I NT ( s 0 '12) ' 1 X (_50 Lt..Y ( 5 OJ_t..O_E_F_( 5 QJ__&QF_(_?_O_l , C I NST (50 l , Q IN SAP C 50__), OOU 8 ARC 5_9 _ _)_ ___ _

C 0 ~ t' C t-; I R 21 8 ( 1 0 0) , A ( 1 0 0 ) , AT t 1 0 0 ) , A K ( 1 0 0) 1 Q 3A R C 10 0) , Q AVE ( 10 0) , 1 V ( 1 0 0 ) , V T ( 10 0 ) 1 V 8 ~ R ( 1 0 0 ) t F WIN 0 C 10 0) , NU M c H ( 1 0 0 ) , NT E r1 P ( 12) t 2NCLCSC100l,RC1uOJ -

CO~!"Ct\/R~/IPRT,NHFRT,JPRT f"!01 tFFTHC30,30l ,CPRTC30) ,PF-TVC3Q,30l, 1 'P ~ T Q ( 3 0 , 3 0 , , I 0 U M ( 1 2 ) _,__~_:r ~ M E , ~ P J T .1.. N F 0 E_h_,_}_!>_b~_! __ -!_Q_)_! _ _l:i_P.J~ .. ~Q_) _____ ~---~-----....c

COHMONIRLt.iVOLO CSO )=;u C100) ,K-CC~,i<CCN0 1 C2 CbltiCON (6 l, CSAT (6), 1 C (50 , 6 l , S U MC (50, 6) , C MAX (50 , E J ,.C S ( t l , {.;MIN (50 t 6 ) , MA 0 0 (50, 6) , 2 0 COT <50, Ell 1 C E C E, 50 , ?. ) , T E C Ed , T f P C 6 » , SLOPE ( 50) l C:5 PIN (50 , 6 l , T E 0 ( 6 l , 3ITCPRT,LCC~RT,NSTP~I,NQCTCT,ISKIP,MSTPRT,KPRJ

--··ccfl'i MeN IRs/ t~ vc, t<cvc-;·Ncvc, w r t-c, trbft, EVAP~ PREcP"cso>;f.iE x it __________ ------ ··· ----· ·-c O,...H ON/'< G/YY ( s·o-f;-A-A--cTiir,-xKCfl)f ,s X X ·c 10· ,~f"OT7s-x·'rfi Ol, AT'(id~2 (ZC J,

1 A 3 ( 2 0 ) , A 4 ( 2 0 ) , A 5 ( 2 0 ) , A 6 ( 2 0 ) , tJ 7 ( 2 0 l , PER I 00 _ . --Co I" I"~ i R 7/R.A IN ( 10 0 J , I NT I H F c 1 C c l ;J: ~-RA-IN~ jf3ou.NO-(S oi;JJ 8 CU N --~....,...,..--~·-=-~,.... -c a H M c" 1 Re TNf c, ~--r,rrrrs·w f3 o, , FfE fE~ n;, , bE-cAvT6f-;"X-t.fE c6-;zo1 ,

1 X t-! E C C E , 2 0 ) , N 1 0 , N 3 0 , N4 0 , N S T A j; T , X RQ [J

C 0 M I" 0 N I~ C: I IS W ( 2 G J , M J ~ W t C T ( §. z 2 0 z 2 ) ...t, I~jfi!at ( __ ~CLJ..?J..:._~=-·. _ .. , ... ····-- __ .~.--::--__ . _-. ·~ COHM OtU I NQLPQ/ SAT (1 00), A ER ( 10 0), CSAT 0, OCS, TE HP, IC L.t 0 lFMOL ,KOL~-~--

--COM~ON/TRIIT (5T;ffif5l ,NXOUt' (5-, ----~~----· .. =~-----=~-~-- ~

__c_.CL'iJoi_C.N/ E LOTtA Y,l.1.0.1, 10.t.t.A Y ( 101 J.lOJ~,.NP.IJ 1.0.L =--, CO~MON /CDEPTH/ ENC4l,IICCLC10l

____f.Q:~_F-.U~SJ (I .llll~~JU,=_, _, ___ , ___ _ COHMCN /ST1/ TITELl40, COMMON /XTI~E/ TIME

.... _. C9.t:~CN IT I Ms I 'ffi-E"RO~~----,...,

I'

. I V1 w

-------------------Subroutines Containing the Above Blocks

RALL: SWFLOW, INDATA, TIDCF, TRIAN, OUTPUT. PRTOUT, S~-IQUAL, INQUAL, tOOPQL, QPRINT

CONTR' SWFLOW, INDATA, TIDCF. TRIAN, OUTPUT, PRTOUT, SWQUA L, INQUAL. LOOPQL, QPRINT

CONTR2: SWFLOW,INDATA,TIDCF,TRIAN,OUTPUT,PRTOUT

MAN: S·WFLOW, INDATA

Rl: R2: R3: SWFLOW,INDATA,TIDCF,TRIAN,OUTPUT,PRTOUT R5: R6: R7:

R4: SWQUAL,INQUAL,LOOPQL,QPRINT R8: R9: SWFLOW,SWQUAL,INQUAL,LOOPQL,QPRINT INQLPQ: INQUAL,LOOPQL,QPRINT

TRI: TRIAN,OUTPUT

PLOTt OUTPUT

CDEPTHs INDATA,TRIAN

STlt LOOPQL ST2: S\VFLOW

TIME: INDATA,LOOPQL XTIMEs LOOPQL,QPRINT \.

I V1 +:--

--------------------B) Coding

1. Subroutine SWFLOW, line 8 -- ·-·n I ~ERS-Hff\ ___ f)CXTT10·o-;c:;-c > -, T£ EM t 10 0) ;R:c-tNT t 50, 50> , ORA IN (50, .. __ D ;r ~ENS I 0 ti- EX XT ( 5 0 , 2 0 l , T E EM ( 50 ) , R G E NJ ( 2 {) t1 0 ) ' 0 R A I N (1 jl)

2, Subroutine SWFLOW, lines 62-63 Subroutine INDATA, lines 59-60 Subroutine INQUAL, line 46

Move INTEGER and REAL commands above DATA statement INTEGER ·cPRT-- ---

--~R~E~AL lEN,INTIHE

3, Subroutine SWFLOW, line 77 (delete line 78) 00 205 1=1,100 no 2os t=1,5o IBCCI,=O

4, Subroutine SWFLOW, line 89 uo 210 1=1,225--00 210 !=1,100 . ~ B CJJ"'-'l=-=.....;0::...-__ _

5, Subroutine SWFLOW, line 592 ---r-uu AL c_'L.~J.:.;~~---- H v ot<o c·f cL ~..!.I L~_-;:~ ·· T.Q.E.P.Tf1!J t.7. ~ 1 ,_ 1 x_t:~_o_c_tl-Y!.J.f

1 ?lU Al1; YC LC: , I 4 ,• tl iD RO C Y C"[t¥ , f47-r=Q t:"Pih•?E9. 2, I, 1 X, •v t L O_C IT~.~ .. !.~-

6. Subroutine SWFLOW, lines 596-601 510X,•SWFL 558~,J/,1X~•••• STANDARD FIXUP ~HOULO BE TO INCREASE THE 6 LENGTH OF THE CHANNtL SO THAT IT IS LONGER THAN THE TIME STEP•,t, 71X,•••• LOOK AT CHANNEL PRINT OUT FOR TIHE STEP AN·O CHANNEL lENGTH 6 ••••,t,1X,•••• OR ••• CHECK ELEVATION OF TOP OF HEIR<A2) IF USE 10 ••••,1HU ··

STOP 8686 510X,•SWFL 558•,/J 1X,•$$$ STANDARD FIXUP SHOULD BE TO INCREASE THE

·---6 LENGTH .. OF .THE. CHANNEl SO THAT. IT IS LONGER THAN TH£ .. TIME STEP•, 1, 71Xt•$$$ LOOK AT CHANNEL PRINT OUT FOR TIHE STEP AND CHANNEL LENGTH 8 $~£•tlt1X,•$$~ OR $$$ CHECK ELEVATION OF TOP OF HEIR«A21 IF USE 90 $!$• t1HU · -:-:-::- -·· s ro_e==·- - ·· -- -- ·-·-· · · ·· · ,,

I V1 V1

-------------------7. Subroutine INDATA, line 189

12 4 F ORM/ITTT5flll1lTilrr-viT1H~TTY·7-F?-~ 0, 2 2H MPH - WIN'D DIRECT I ON, FS .. 0,1 qH DE 121-t FORHATC15HOWINn.,V,~Lp'lziTY,F5.1,22H MPH WINO OIRECTION~ _ __1.9.H o;

8, Subroutine INDATA, line 298

DO 620 I=l,!OO . --. Q .9_ Q_l _Q_l--=-.1 ,5 o_ ___ -

9, Subroutine INDATA, line 301

!FfJ.GT.100,GO To 640-____ JF_(_)._~GT. 50 I G_Q_J_Q_6!t__O__ ______ _

10. Subroutine INDATA, line 319 UU bbU 1=1, 225 no 660 I=1,too

11. Subroutine INDATA, line 322 ·rr-·tN.-GT~-2251 GO TO 570

IF(N.GT.100)GQ TO 6ZO

12. Subroutine INDATA, line 363 and line 422 ~: -r6·9--FOR"r-tAT n Ht, '", • -• • •· ··---.----t---H-A--N-··r:r E-··c·-~·o-::-A--r-:-A~----~·-· .--.--.--.-,.-;-IT>--

169 FORMAT(1H1j/1,• $ $ $ $ f C H A N N E L 0 A T A $ $ $ l $•,11> 181 FORMAT<1Ht,·lf,• • • • • • J U N C T I 0 N 0 A T A • • • • ••11>

_1Jtt __ .f_OR_MATUH1_,[t_,• $ $ I $ $ J U N C T I 0 N 0 A I A .LJ __ 1J__$_¥:/it

13, Subroutine INDATA, lines 440-441 -- 19 0 - F OR A A T C I 9 1 ~ 9 ¥ T 0 l A L A REA F 0 R TR E S Y STUr.-:;o?tiD. 2 ~ :y.-:--..-_-::TQT...--~lr-t'r-

1 OR•f OPF9.2, • SQ MILES•,//) 190 FORMA (/,1X 1 •TOTAL AREA FOR THE SVSTEH•1 -GPF10.2~• • 1 13H10••G SQ F

_ _tf __ ,_•OR•,OPF9.2,• SO HILES•,/!) u- _

14, Subroutine OUTPUT, line 70 IF" .. { N • G T • 2 o 1 J G1JTLi2"2-r­IFtN.GT.101) GO TO 225

\.

-------------------15. Subroutine SWQUAL, lines 61-62 and lines 137-138

. REA 0 ( N2 0 , END= 50 l NQ, C Q ( N J, 0 ( N )~CT;TVOI:TJ1tliTfH"JltQ1lOTJT;-----· 1 J:t,NJ) . .

REAO<N20) NQ,(Q(~),U(N),N:t,NCt,(VOLCJ),QINCJ),QQU(J),J:t,NJ) IFCEOFCN20)t 50,~0

---REAOCN20,EN0=4140l NQ,IQCN),UfNl ,N=1,NC), IVOL(J) ,QIN(J.,OOUCJI ,J=1 1 , NJJ

R.F. A 0 C N2(J J NQ, ( Q C N) , U iN) , N= 1, NC) t (If OL ( J), 0 IN ( J) , Q OU ( J) , J: 1, N J) ~~CEOfCN201J4140~~4~1~Z~O~~~~~~~~~~~~~~~~~~~--~~

16, Subroutine SWQUAL, lines 159-161 -,:{~AO"tN10,ENO=it466 J NQ, (Q(N) ,UtNt,N=1tNC), lVOLlJ) ,QINlJ) ,QOU (J),J=i·-1, NJ)

WRITE C Nit 0) N.O..t 10. ( N ) t U ( N» , N=.~_N.Ct,J.VOL.PC.JJ_~_Ql~J_JLJlO_UJ_ J) __ '"j_:;:_.1..,.N.JL ______ __ kEAOCN10) NQ,(Q(NJ,UCN) ,N=1 9 NC), CVOLCJJ ,QINCJJ 1 QOU(J) ,J=1,NJJ IFCEOFC~10)J 44E6,4464 · .

. . 416 4 WRIT F ( N4 0) W:tr ! C (t,l) , U ( N) , ~-=:.t . .t~GJ__, LVOJ.J. JJ ,_Q.lf'{J,l_Lt.Q.Q.!J_UJ_,_J::.t_,_N . .JL_- .. p-

17. Subroutine INQUAL, line 139 aa·seYo J=r,roo f)Q 5090 J=1,50

18, Subroutine INQUAL, line 252

6 l='~f c1.tl ,I ax, •• • • • • _fL.f_Q.R.MA.I (Ill t.l8).(_.__!_$ $ $ $ $

19, Subroutine INQUAL, line 262 -) FQRi1AT <I~,F1Q,Q,3£5,Q,5X,6A4) g FO~MAT<IS,F1g,Q,3~7.0z5X,6A4J

20, Subroutine INQUAL, line 314 -uo 102 J=t,roo

DO 10 2 .J= 1 , 50 - ·-

21, Subroutine INQUAL, line 319 .IF CJTT.r;T.100l GO TO 102f

--~I~F~(~J-~T~·~G~T-·~5~0~)~G~O~T~O-~J.21. __ == I.

-------------------22. Subroutine INQUAL, lines 372-375

·-··3154 FORMAifllll1lO-s-ATURATlONSh-·ARE COMPlJTElJA-TtACH JUNCTION AT:-EA-ClrTIME: 1 STEP AS FUNCTION OF CHLORIDE CONC lCONSTITUENT•IJ,•) BY FORHJLA •:

-- -2~5X,•CSAT (MGL) = •FS.2,• - •E11.~,• • CHLORIDES lMGL) FOR TEMPER JATURF. OF•FS.t,• DEG. CENT.•l

315~ FORHATC•O•~•oo SATURATIONS ARE COMPUTED AT EACH JUNCTION AT EACH T 1IHE STEP A~ A FUNCTION OF CHLORIDE CONC CCONSTITUENTS•1IJ,•l BY FO 2RHULA •ISX,•CSAT MG/L) = •,Fs.z,•-•,E11.4,1H•,•CHLORIO~S CMG/L)

_____ 3_£QR TEHPI;RATURE Of•,F?, 1. • DEG__.__c_ENT,•) --------

23. Subroutine INQUAL, lines 387-392 -

3184 FORMAT ( * 0 REAERATI CN Corrn·crE~rs-trR£ COHPUTEo··-Ait.ACH JONCTICfN_AT_: 1 EACH TIME STEP USING OCONNOR AND DOBBINS FORMULA •t• REAR COEF(1/

- ----------2SEC)--= SORTIO¥U) tH••t.S WHERE U=AIIE VELOCITY, H=OEPTH -AND•!• O=M 30LECULAR OIFFUSIVITY OF OXYGEN IN WATER =•E11.4,• SQ FT/SEC AT • ~F5.1,• OEG. CENT.•!• A MINIMUM VALUE OF 2'FT/OAY/OEPTH WILL BE USE 50 4 )

31!~ FORMATC•o•,•REAERATION COEFFICIENTS ARE COMPUTED AT EACH JUNCTION !AT EACH TIME STEP USING OCONNOR AND DOBBINS FORMULA •t• REAR COEF( 21/SEC) = SQRTIDXUtt•f6HH••1.5,•WHERE U=AVE VELOCITY, H=DEPTH AND•/ J• D=MOLECULAR OIFFUS VITY OF OXYGEN IN WATER =•,E11.4,• SQ FT/SEC

--4AT"',FS,1,• OEG CENT•!• A MINIMUM OF 2 FTIQAY/OEPTH·Hl_l._.L BE U.s.E.D_!j_

24. Subroutine LOOPQL, lines 192-193 · IFCIBCCJGWI.NE.l) GO TO 230 00 230 KC=l,KCONO IFtiBC<JGW).NE.!t GO TO 229

__ DO_ ZZ_& __ K_C=1, ~00~----- __ _

25. Subroutine LOOPQL, line 206

GO TO 23 0 -. ___ GQ __ IQ_2.Z_9 ___ _

26, Subroutine LOOPQL, after line 219 228 CONTINUE

---229- CONTINUE.-.. : .... -·· --------·- ...

\,

I V1 00

r ---------------~----

APPENDIX B

SEGLOADING OF S.W.M.M.

SEGLOAD DIRECTIVES

r-------------------------1 ~-------- -- ·· GCa~·AL -t APEs--t.Aa·-----------------------------------· ·--·---1 . GQAPH GLCBAL GR-~AVE I CURVE GLCBAL cr.v-SAVE L--~Ut--CJ:F GLCet~.L ABLK,EF\SCN,Hvo=,RUN1,TITLE-SAVE : HYO~C GLC3AL HY01,HYD2,HY03,~Y04,HY06,QSHO,RUN2,WFAVE,FLWLST,FLU)-SAVE

: ~~~R~G G~E8~Et c~~[K!~eki~et~~;~L~~:~T~~~~ok~tt6~~:~1~~,LLABL-SAVE QECEIV GLO~~l P9,CONTR,TI~r,~ALL-SAVE SWFLCH G~oa~L CONT~2.~t~,ST2,COEPTH,TRL,PLOT,~1,R2tk3,~5,R6,F7-SAVE S~Cu4L GLOEtL ST1,XTl~E,I~OLPQ,R4,R8-SAVE CU~V~ IN:LLCf CU~VE,FPLCT,PI~E ~U~C~F I~CLUGE RUNOFF,EKFL~ T~ANS INCLLDE T~ANS.EKTR~~ STC~AG INCLUDE STORIIG,~KSTOR T~E~T I~CLUG£ T~EAT,KILL,~lGH~F,SEOI~,TRLINK,BYPASS,STRAGE,PLUGS

. SH~MSL TqEE SW~M-<CU~V~L,TRA~SL,~TCRSL) CU~VSL TQFF CURVf-(~UNSL,~FCSL,GRAPH-CCM8IN) RU~SL T~E~ RUNCFF-lHYOSL,FECtP) HY~SL TR=E HYO~O-C~HYCRC,W~HfC,QSHED1,QSHE02,GUiSL,HCURVE)

'----- GL T~L T~fE GUTTE'?-GQUAL ~ECSL T~EF RECEIV-<FLC~SL,SWCSL) FLC~~L TgfF SWFLOW-fl~(~TA-CTIDCF,TRIAN' ,MANING,FRTO~T-OUTPUT)

I SW~SL T~EE SWOUAL-fl~QLAL,LOCPOL-QPRINT) i--·-··--- T; ~NSL T f\fE T ~tNS- CT I NSL, FlL TH, INF Il ,SLOP, FRINT, TSTCST) : TI'SL T~~F TINT~P-(TST~CT,~ACH-CEPSLl 1 D~PSL TQEf D~PTH-coUAL,FI~rA-NEWTON-nPsi-PSISL> ! PSJ~L J~~E ~~I-COHLCAC,~~ITAL,FIRSJ,RTESLl •---· RTc.-L TP.EE f\.CUT£-fVEL, 1 ... TCkG-TPLUG,;)) I STC~~L T~EE STCHAG-fSP~I~T,TFCOST,INTERSLl I I~TE~SL T~ff I~T€RP-(T~E~1 1 T~TSL) ! T~TSL TR.EE T~TOAl-lTt'CI-'EK,~TFiJAT>

__ .. --~-f~LO ... ~-£-~~-~~~,__, .. _~,~····-· . ..... ..... . . .

I V1 \t)

I I I I I I I I I I I I I I I I I I I

SEGLOAD TREE STRUCTURE

I 4 SWMM i ... ! .a.rtCURVE L .... + ... +... . ... ,.-

•.•rtRU~OFF ..,,.TRANS .. .. ... ... ... • • •rtHYDRC • o~rrtTI~TP.P . ... ... ... ... ... ...

~- . • 4- • "',. C< H Y r ~ C 1-.&.-"' - •-;:. T S T ROT i " ... ... ... i ... ... ... , "' • • ..,,.WSH!:IJ : " • .&ortRAOH L-:---:---!· ··!,.aSh EO 1 !-:---:----:·,.IJ EFTH. ---- ·-----·-····---- ---- -·

... ... " " ... ... ... "' + • .a.~QSHE02 • "' .&.rtOL~L

-60

·-~--"' . - . . ---. --·---. ·--"'-"' ____ .... -· -----·-···--·-··- ·----...,------···-

0. ~ "' .&ortGUlTE~ "' "' +rtFI~OA . ... ... ... ... ... ... ... : __ : __ : __ : _.,.GQU ~~- ____________ :_ :--·--~-~~E-WTON .... --·--- -------··---. .._ • .._ o&.rtHCURVE .&. "' •rtDPSI . ... ... ... ... ... .a. • o~rrtRECAP .• "' olrrtPSI ~---·-· ... - . .. _____ .. ___ ..... . ------·· .. . . ... ______ .. __ , __ _

[

c. "-rtRECE!V . 4- • ... ,.CWLOt!O " + "' "' ... ... . I • • • ~ S W F L C H • "' • rt HUT A L 1 ... __ ._ .. __ .... , .... -· .... ____ ___;_ ... _-&. ...... .. - _______ . ...,... ....... !

"' + + ,._,.INO~T~ • "' +rtFIRST ............. ...... ... " + • .a. " ,. T I 8 C F .._ + ",. R CUT E ;

_ ... _~ __ .. _ .. __ ... __ -- -------T--L.+ _ ... ___________ __; l • + "' + .JrtTRIJ!~ i .., "' "-rtVEL . : "' "' "' " . I .. "' "' .., . ... ........ ,.HANING I ... ... +rtTSTORG _ ... _ ... __ ... ___ ... __ . ___ , ____ L_ .. _.__ _ ____________ ....... __ , ___ , ____ , __

• "- • +rtPRlCUT + .a. .,.,.TPLUGS " ... ... .. ..... " • + "'rtCUTFUT ; .a. ..,,.Fit TH i ·

__ .. __ ... _ ... _ --- .... ________ .J__~_ ... -· --- --·--------·----------- -----... ' • + +rtSWQUAL . .a. +rtiNFIL : ... ... ... .. ... l

..... •rtiNQU~L ·' ...... ,.SLOP I

_.+ ...... ____ ............. ,.,_, __ .. ______ : _ ... __ ... - ... ____ ., .. ________________ --- -------·-1 • "' .a.,.LCCFQL .a. +,.PRINT ... ... ... ...... • + •rtCFR~~T "' "'rtTSTCST .. ... r-"'-- . - .. ____ .. ______________ ........ --------------.... ,.GRI\PH I .. ,.STCRAG ---I

I • ... f ... • +rtCC~8I~ I •rtSPRINT

l__+ •rtTJ\COST ... +,.It\TERP

--- ... + .._,.TREAT ... +rtTRTOAT

---- .... " .a.,.TRCHEK ..

. _____ .. ----- ...... ---------- .. - ! '

_ ---•~JB.C.A...__ ________________ ...

--·

-------------------'I

SEGLOADt LOADER MAP

--> > > > > );;, >··;.·-s E.G~ E t:.i r- ---s-~(t-1;;!- --- --. --- F \rA-= .:-ooTi6o-fx£C.F'w~+ 1fo i 1"&6 - -L.WA+ 1:·- -+ri 2 3-4!f3 ----·-··------••• ELCCK NAME •• TYPE.~~•••••Ft-:Jl •••••• LENGTH . -·· -·· ..... .

SW~~ fFOGRAM +C01166 0011745 ACCS FFOGPAM +C1~133 0000034 XTCI! F~OGRAM +n1~1E7 D000051

__ _____ a L C G 1 0 $ F F 0 G ~AM + C 1 ~ 2 4 0 0 0 !l 0 C ~ 2 .. CUTFTC~ PFOGRA~ +C13272 0000074 AeS~ FFOGRAM +013~66 G000003 REhl~~t P~OG~A~ +013371 OOOOOS2

----·-·-·-- TFIX~ PkOGKAM +013443 00000 C3 S01T~ P~CGRAM +C13446 tCOQ024 ACGCE~$ f~OGRAM +C1J~72 C000013 INT~ F~OG~A~ +C1 7 505 0000003

_________ .OUTI=T3~ PROGRAM +C13510 0000264 INPUTe~ F~OGRAM +C1~774 Ou002co FLCAT~ PFOGRAM +01~2E2 0000003 I~FLTC~ fROGRA~ +C1~2t5 0000126

-------- . S Y 3 T E ~ '5 f R 0 G R A ~ + 0 11J 4 13 0 0 I) l 0 4 7 . . .. . . . -- ... . . . ~TOY~ FkOGRA~ +0154~2 OOOOG53 EX~~ PFOGRAM +01~535 0000042 CCS{ P~OG~AM +C1~577 0000032

______ ···--·.Sit\~ PF.OC.RAM •Ct:E:H OOOJC32 _AJ_At\~ PFCGRAI-! +C1~EE3 C000020 ~i~~2~ F~OGRAM +01~703 OOuOC24 AL~LOGE P~CGRAM +C1S727 0000037

-------------~. SIO! ff:OG~AM ... - +01~7£:6 ... 0001500 KCCER~ FkOG~AM +C17L6& 00~1424 GFTeh pcoG~AM +(21112 0000017 S~~TE fkOGQAM +021131 0000022

---·-····· ___ KC::AKE~$ .. FROGRAM +021153 00015?5 FXPE P~CG~4~ +02~700 OOa0044 S1~CCSE PhOGRA~ +022744 0000055 ~~A~E FROGRAM +02~021 GOG0061

--------···-· ATAN2E PF.OG~A~ +C231G2 tu0u101 ··--·--- --·······---·- --. ~1 CCP.~CN +(2~203 0000002 LA3 GLOEAL +C2~205 00001~3 T liPF~ GLOeAL +.02~:!SO _____ l)QOOO ~3 .. __

--------~----------

>>>>>>>>>.SE~~ENT CURVE FW~ ~ +023403 EXEC.F~A= ••• GLOCK NAHE •• TYPE •••••••• FkA •••••• LEN~TH

CU~VE P~OGRAM +02J~03 0000617 ~FLCT PROGRAM +C24222 0012437 PINE PROGRAM. +03EE61 0000237 I~~NOF1 P~OGRAH tC37120 0000057 CRV GLOEAL(S' +037177 0~~2210

••• FN.GLC8AL •• SEG~ENT4 •• SAFETt •••••• FWA . . . LA e. . . . . _ S W M f-l. . . _ ......... S Jl F .E. . .. + 0 2.3 2 0 5 .

>>>>>>>>> SEGMENT RUNOFF FWJl : •041407 EXEC.FWA= ••• 8LCCK NAME •• TYPE •••••••• FW~ •••••• LENGTH

QUNOFF P~OGRAM +041411 OU00063 ~K~U~ PROGRAM +C41474 0000000 TITLE GLOBAL(Sl +041474 0000050 RUI\1 GLOEAL(Sl +C41544 000u025 HYO~ GLOOAU:>J +041571 00004EO FRSON GLOBAL(SJ +042251 00~1380 A8LK GLOP.ALtSl +043~51 0014372

••• FN,GLCSAL •• SEG~ENT ••• SAFETY •••••• FWA TAFES SWtH' SAFE +023350

> > > > > > > > .,. S E G t-' f NT H Y 0 h. C . . . . . F W A = . .. + 0 6 0 1 4.3 E X E C • F W A= ••• eLOGK NAHE •• T~PE •••••••• FkA •••••• LENGTH.

HYORG FROGRAM +OE0152 n000621 FLUX GLOBAL<SJ +~E0773 U000012 ~LwLST GLOBAL(S) +Ct1C05 0000144 WFAVE GLOP.ALtSt +OE1151 GG00144 ~UI\2 GLOEAL(Sl +Ce1~1S 0000310 OSHO GLOBAL($) +061E25 0004100 HYC6 GLOEAL(SJ +!E5725 DD02120 HY04 GLOBAL{SI +070045 0000454 HVC3 GLOEAL(Sl +(70~21 0004076 HYD?. GLOEAL(S) +07t..E17 0002~+25 HVC1 GLOOALlS) +077244 00035~4

••• ~~.GLCBAL •• ~fGMENT ••• SAFET~ •••••• FWA TAnEs SWHM . SAFE +023350 TITLE RUNOFF S~FE +041474 R U ~ 1 . R W l C F F . .. S ~ F E + 0 4 15 4 4 HY05 RUNOFF SAFE +041571 ERSON ~UNCFF S~Ff +042251 A.9LK ·--·-·· _ _RUNCF.F .. ____ SAFE ____ +Oc.:.::'+:..:.:3~5...;,;~~1---

+023403 LHA+l= +041407

+041411 LWAt1= +Q60143

•060152 LHA+i= +103020

I 0\ N

------------------~

>>>>>>>>> S~~ENT F.-HYDRO FWA = +103020 EXEC. FHA= +103020 -LHA-l-1= +107433 ...... ELCCK NAMF •• TYPE.1•••~••FW~ •••••• LENGTH RHYrRC PF<;OGR-AH +10~020 000'+'+13 ...... F~.GLCEAL •• SEG~ENT ••• SJFETY •••••• FW-A TAFES SWM~ SAFE +023350 TITLE ~L1 N OFF SAFE +0l;1474 RUN1 j;UNOFF SAFE +0~15 44 ~YC5 RUNOFF S JlF E +0-+1571 ERSCN F1UNOFF SAFE +042251 A eLK RUNOFF SAFE +043551 HYGE HYOI\0 SAFE +Uo5725 HY04 HYu F. 0 S~FE +07004:i HYC3 HYO F\0 SAFE +070521 HY02 t"YOFO SAFE +074tJ17 HY01 HYOFO S~FE +077244

>>>>>>>>> SEGI-F.t\T W ~HE C FWA = +103020 EXEC.FWA= +10:!020 LW A t1= +103511 ...... ELCCK NA~f •• TYPE •••••••• FWA •••••• LEt\GTH WSHFO F"OGRAM +10~020 0000471 .... Ft\.GLCBAL •• SFG~ENT ••• SAFETY •••••• FWA RUt\1 FiliNOFF S~FE +041544 HY05 RUNOFF SAFE +0 .. 1571 HYIJ6 HYD~O SAFE + 0657 25 HYOLt HYOFO SAFE +0700 45 HYC3 HYDRO SAFE + 07"0~ 21 HY02 HYDRO SAFE +074617 HYC1 .-.voRo S/IFE +0772Lo4

+103346 >>>>>>>>> se-GMENT CSHFD1 FWA -:: +103020 EXF.C.FWA= +103020 LWA +1= .... BLOCK NAMf •• TYPE •••••••• FWA •••••• LENGTH QSHE01 FF:OGRAH +10~020 0 0 0 0 3 26 .... ~~.GLC8AL •• SEG~ENT ••• SAFET'••••••F~A TAPES SWM~ SAFE + 0 2 33 50 ::lUf\1 RUNCFF S~FE +041544 HYC5 RUNOFF SPFE +041571 F.I'SCN RUNOFF SAFE +042251 A8LK IWNCFF StFE +043551 !1St-O HYDRO SPFE +061625 HYCE HYO~O S/IFE +0&5725 HY04 HYDRO SAFE +0700~5 t1Y(3 HYDRO SAFE +0705 21 HYC2 HYDRO StFE +071.t617 IDi__ .. , ___ .. HYDFQ SAFE +07724!+. ... '"["

I

"' w \.

- - - - - - - - - - - - - - -- - - - (-'I

>1>~>>>>>>- S~G!VENT OS~EC2 --fW~--;-- ·-+lo30?.0 £XEC .• FWA= --···------· •1~3020. LWA+1= +103771

• •.. 8 L 0 C 1< NA ~E •• T )' P E. • ••• • •• F ~ tl ••• • • .., LENGTH OS~E02 P~~GRAM +10~020 0000751

•~• F~.GLCeAL •• SEG~ENT ••• SAFETY •••••• FWA TAPES SWM~ S~FF ~0233:0 o~~1 RUNCFF StFE +041544 HYGS RUNCFF SAFE +041571 E~SCN FUNCFF StFE +042251 ABLK ~UNCFF S~Fr. +043551 FLWLST HYO~O SAFf ~061005 OSHC HYrRO S~FE +051625 HYCE ~YDPO StFE +065725 HYO~ HYVFO SAF~=" +070045 HYG3 ~YD~O StFE +070521 HYC2 HYDRO St~="E +07~617 HY01 HYDFO ~~FE +077244

>>>>~>>>> SEGMENT GUTTFP FWt : +103020 EXEC.FWA= +103021 LWA+1= +104570 ••• 8LOCK NAME •• T)'PE •••••••• FWA •••••• LENGTH

GUiTER P~OGRA~ +10~021 0001~47 •~• FN.GLC8AL •• SEGMENT ••• StFfTY ••••• ~rHA

TA~ES ·sw~M S~FE +023350 RU~i RUNCFF StFF +0~1544 HYC5 ~UNCFF SAFE +041571 ERSCN ~UNCFF St-FE •042251 AeLK RUNOFF S~F~ +043~51 FLUX HYO~O SAFE +060773 WF~VE HYDRO StFE +061151 HYC6 HYVFO SAFE +~65725 HY04 HYDRO SAFE +070045 HY03 HYDRO SAFE +070521 HY~2 ~YD~O StFE +074617 HYD1 HYDRO SAFE +077244

>>>~>>>>> SEG~ENT GOUAL FW~ : . +10~570 EXEC.~WA= +104570 LWA+i= +105260 ••• 8lCCK NAME •• TYPE •••••••• F~A •••••• LENGTH

GQUAL FFOGRAM +10~570 OU00470 ••• ~N.GLCRAL •• SEG~£NT ••• SAFFTY •••••• FHA

TAFES SWM~ SAFE +0233~0 RUN! RUNCFF S~FE +0415~4 HYG5 QUNCFF SAFE +041571 ER5CN RUNCFF S~FE +042251 ARLK ~UNOFF SAFF +0~3551 FLUX HYO~O StFE +060773 HY~e HYO~n SAFE +065725 HYC~ HYORO StFF +0700~5 HY03 HYDRO S/lFE +070521 HY~2 HYOPO SAFE +074617 HYC1 .. ~YOFO S/lFE_ t.D77244

- - - - -· - - - - - - - - - - - - - ...

>>>>>>>>> SEGME~T HCUPVE FWt = +103020 EXEC.FWA= ... ,. eLOCK NAHf •• TYPE ••••• •• .FWA •• ••••LENGTH

HCURVE PROGRAM +10~020 0000~~2 ••• FN.GLCAAL •• SfG~ENT ••• SAFETY •••••• FWA

LAB SwM~ SAFE +023205 TAFES SWMr S~FE +023350 CRV CUkVE S~FE +037177 RU~1 RUNCFF StFF +0415~4 HYOS f<UNCFF S~FE +041571 ~U~2 HYDRO S~FE +061315 HY06 HYG~O SAFE +065725 HYC4 HYDRO S~FE +070045 HY03 HYDRO SAFE +070521 HYC2 HYDRO StFE +074617 HYD1 HYO~O SAFF +077244

>>>>>>>>> SEGMENT kfCAP FWA ~ +060143 EXEC.FWA= ••• BLOCK NA~E •• TYPE •••••••• F~~ •••••• LENGTH

PECAP P~OGRA~ +060143 0000774 RU~C COM~ON +Ct1137 0002114

••• FN.GLCBAL.~SEGHENT ••• SAFETY •••••• FWA TAPES SW~M SAFE +023350 TITlE RUNCFF SAFE +041474 ~UN1 RUNCFF S~FE +041544 HY05 RUNCFF SAFE +041571 ~PSON "UNCFF StFE +042251 AGLK RUNCFF StFf +0~3551

>>>>>>>>> SEGMENT RECEIV FWt = +041407 EXEC.FWA= ••• BLOCK NAHE •• TYPE.~••••••FWA •••••• LENGTH

RECEIV P~OGRA~ +041411 0000112 MINO! PROGRAM +041523 0000006 E~DF!LI PROGRAM +0~1531 D000051 SIG~~ PROG~AM +C41602 0000004 QALL GLOBALfS) ~C~1E06 0003131 TI~E GLOBAL(SJ +04~737 0000001 CONTR GLOBAL(S) +0~~740 0000017 Rq GLOEAL(S) +0~~757 0000456

••• FN.GLOBA~ •• SEG~ENT ••• SAFfTY •••••• FwA ____ _l.AEES SW1r SAFE ........... ±..0 23_3 =o .. _

+103020 LW/1+1= +103552

+060143 LWA+1= +063253

.. ----·~······~~-------~-------------

\.

I 0\ \J1

- ·- - - - - - - - - - - - - - - - - -

>>>>>>>>> SEG~ENT SWFLCW FW~ = +045435 EXEC.FWA= ••• RLOCK NAHE •• TYPE ••••• •• ,Fto~A •••••• LEt..GTH

SWFLCW FFOGRAH +C45~42 0007371 IA8S~ PROGRAM +OS~033 0000003 R7 GLOEAL(St +0~5036 0000374 ~6 GLOBAL(SJ +C~~432 0000501 RS GLOBAL(SJ +05E133 0000071 R3 GLOeAL(S) +CS€224 0005401 R2 GL08AL(SJ +CE3t25 0002~40 ~1 GLOEAL(SJ +OEE2c5 00022EO FLCT GLOBAL(St +070545 0003756 T~t GLO~AL(SJ +(74~23 0000017 COEFT~ GL06AL(SJ +074542 0000016 ST2 GLOEAL(SJ +07~560 G000050 ~A" GLOEAL(S) +074630 0000010 CG"T~2 GLOP.AL(SJ +074640 0000007

••• ~".GLC9AL •• SEGMENT ••• SAFETY •••••• FWA TAPES S~~~ S~FE +0233~0 R4LL RFCEIV SAFf +0~1606 CC"T~ RECE!V SAFE +04~740 R~ RECFIV SAFE +04~7=7

>>>>>>>>> SEG~ENT INCATA FWA = +07~647 fXFC.FHA= ••• ELCCK NAME •• TYPE•••~••••FWA •••••• LENGTH

!NOATA PPOGRAM +074E51 0002502 ~AXO~ PROGRAM +077353 0000006

••• F N. G l C 9 AL , • S EG t-' f NT ••• 5 A FE T Y ... , •• F W A TAPES SWM~ SAFE +0233~0 ~ALL ~tCEIV SAFE +041606 TIME RFCFIV SAFF +044737 CONTR RECEIV SAFE +044740 R7 SWFLOW -· · StF£ +055036 R6 SWFLOW SAFE +055432 R5 SWFLOW SAFf +056133 R3 SWFLOW StFE +056224 R2 ~WFLOW SAFE +063625 R1 SWFLOW SAFE t0662t5 CO~FTH SWFLOH S~Ff +074542 HA" SWFLOW StFE +074630

______ CONTR? SWEI Oli SAEf t!)ZH640

+~45442 LWA+1= +074647

+074651 LW~+1= +077361

\ .. I

"' "'

--------------------. . ---··- - .....

>•>>>>>>> SEGMENT T IDC F FIH = +077361 EXEC.FwA= +077361 LWA+1= +100Lt05 ••• BLOCK NAHE •• TYPf •••••••• FWA •••••• LENGTH

TICC~ Pf\.OCRAM +077361 000102-t ...... FN.GLCBAL •• SEG~ENT ••• SAFETY •••••• FHA TAFES SWMM S~FE +023350 PALL RfCEIV SAFE +041606 CONTR R.EC EI V SAFE +04~.+7~0 R7 SWFLCW. SJ!FE. +055036 R& SWF LOW SAFE +055432 RS SWF LOW SAFE +056133 R3 SWFLOW SAFE +056224 R2 ~WFLCW SAFE +063625 R1 SWFLOW SAFE + 0662 65 COI\TR2 ~wr LOW S.OFE +07~640

>>>>>>>>> SEG~ENT TRIA t. FW.O = +077361 EXEC.FWA= +077361 LWA +1= +100302 ..... BLOCK NAME •• TYPE •••••••• FWA •••••• LENGTH TRlAI\ 'Ff..OGRAM +C77361 0000721 ..... F t'i • C: L C e A L •• ~ E G ~ c NT ••• SA FE T 'Y •••••• F WA Tflf:ES SWMM SAFE +023350 QJILL RFCEIV SJIFE +01+1606 COt\TR ~FCEIV SAFE +044740 r:<7 SWFLO\ri SAFf +055036 f.i6 SWFLOW S~FE +055432 RS ShFLCW S:J!FE +056133 R3 SWFlCW SAFE +056224 R2 SWFLOW SAFE +063625 1<1. SWFLOW S.OFE +066265 TRI S~FLOW S.OFE +07~523 COEFTH SWFLOH SAFE +074542 CGt\T~2 SWFLOH SAFE +074640

>>>>>>>>> ~c:G~ENT MANI 1\G FWA = +07~647 EXEC. FHA= +074641 LWA+1= +074740 ...... BLOCK NAHE •• TYPE •••••••• FWA •••••• LENGTH MAl\ INC: PROGRAM +C7LtE47 0000071

>>>>>>>>> SEGMENT ·PRTO UT FHA = +07't647 EXEC.FWA: +074650 LWA + 1= +075Lt12 ..... BLOCK NAME •• TYPE •••••••• FWA •••••• LEI\GTH PRTCUT PROGRAM +C74E50 0000542 ...... FI\.GLC8AL •• SEG~ENT ••• S~FET~ •••••• FWA T~!=ES sw~:M S~FE +0233c;o ~~LL FCECEIV SJ!FE +0 .. 1606

... CONT ~ RECE IV .. StFE. +044740 . R7 SWFLOW SAFE + 0 5 50 36 F.E SWFLOW SI!FE +055432 ~5 SHFLOW SAFE +056133 R3 SHFLOW SAFE +056224 R2 SWFLC~ SAFE +06:!625

I Ri SWFLOW S~FE +Oo6265 C)\

---· CC.~I~ 2 SHEL.OI!i SlfE ±LlZ!tfdtO --·--~·-··--···-·- ..... -....! ,,

-------------------

>>>>>;:,.,:;---SEGMENT CL'1PUT FHt-= +075412 EXEC.FWA= ••• 8LCCK NAM'E •• T'YPE •••••••• F~A •••••• LENGTH

CUTFUT PROGRAM +075412 0000267 ••• FN.GLC8AL •• SfGH£NT ••• SAFETY •••••• FWA

LAG SWMM S~FE +023205 TAF~S SHM~ SAFF +023350 R~LL RfCEIV S~FE +041b0b CONTq RFCEIV SAFE +044740 ~7 SWFLOW SAFE +055036 R6 SWFLOW SAFE •055432 R5 SWFLOW SAFE +056133 R3 SWFLCW S~FE +05o2?.4 Q2 SWFLOW SPFE +063625

. R1 SWFLOW SAFE +06o265 PLCT SWFLOW StfE +070?~5 TRI SHFLOW SAFE +07"+523. CONT~2 SWFLOW S~FE +074640

>>>>>>>>> SfGMF~T SWOUAL ~WA -= •04~4J5 EXEC.FWA= ••• OLOCK NAME •• TYPE •••••••• FkA •••••• LENGTH

S~QLAL PkOGRAM +C4~437 0001074 RP. GLOBALlSJ _ +04E533 00004~1 ~4 GL08AL(SJ +047174 0005607 INGLPQ GLOBALlSt +n~5003 0000316 XiiME GLOBAL(S) +C55321 0000001 ST1 GLOBAL($) +(~S~22 0000050

••• Fh.GLCBAL •• SEGHENT~ •• SAFETY •••••• FWA TACFS SWMM S~FE +0233~0 ~ALL ~ECFIV S~FE +041606 CO~T~ RECEIV SAFE t0~4740 R9 RECEIV SAFE +04~757

>>>>>>>>> SEG~ENT INQUAL FW~ : +055372 EXEC.F~A= ••• ~LOCK NAME •• TYPE••••••• .FWA •••••• LENGTH

INGUAL F~OGRAM +055372 0003047 ••• F~.GLC'3AL •• SEGI-'£NT • •• SAFETY •• • ••• FWA

TA~ES SWMM SAFE +023350 RALL ~ECEIV S~FE +0~1606 CC~T~ RECEIV SAFE +0~"+740 Rq "fCEIV StFE +04~7~7 PA SWQUAL SAFE +046533 R4 SWOUAL SAFE •047174

______ _.I_N Q LPG ___sj.~QUA L = S A E E ;t ll.5..S.O. Q 3

+075412 LWA+1= +075701

+04~~37 LWA+l= +055372

+055372 LWA+1= +060441

\o

I

"' co

-------------------

,,>·>->>>>>--SEGMENT LCOPQL FW.d = +055372 EXEC.Fr4A= +055373 LW~+1= +060501 ••• ELCCK NAME •• TYPE, •• •• , •• FWA., ••, .LENGTH

LCCFQL FFOGRAM +0~:373 Ou03106 ••• ~N.GLCBAL •• SEG~ENT ••• SAFfTY.~••••FWA

TAFES S~M~ StFE •0?.33:0 RALL RECEIV SAFE +041606 · TitJE I<FCEIV SAFF +044737 CCNT~ RECEIV SAFE +0~~740 RS RECEIV SAFE +044757 Q8 SWQUAL StFE +0465~3 Q4 SWQUAL SAFF +047174 INQLPQ SWQLAL SAFF. +055003 XTIHE SWQUAL SftFE +05~321 ST1 SWQUAL SAFE +055322

>>>>>,>>> SEGME~T QPRI~T FWA = +060501 EXEC.FWA= +060501 LWA+1= +061172 ••• ALOCK NAM£ •• T¥Pf·~••••••F~A •••••• LENGTH

QPRYNT PkOGRA~ +060501 0000471 ••• FN.GLCQAL •• SEG~ENT ••• SAFETY •••••• FWA

RALL RECEIV SAFE +041606 CCNTR RECEIV SAFE +044740 RC3 RECEIV SAFE +044757 Q8 SWQUAL S.dFE +046533 R4 SWQUAL SAFE +047174 I~QLPQ SWQLAL SAFE~ +055003 XTI~E SWQUAL S~FE +055321

>>>>>>>>> SEG~E~T G~APH FWA = ~041407 EXEC.~WA= +041407 LWA+1= +066451 ••• ~LOCK NAME •• TYPE •••••••• FWA •••••• LE~GTH

GRA~H PEOGRAM +C41407 0000745 GK GLOBALCSJ +042354 0024075

••• F~.GLC8AL •• SFGrENT ••• SAFETY •••••• FWA LAG SW~M StFE +023205 TAFES SHM~ S~FE . +0233~0 CRV CU~VE S~FF +037177

>>>>>>>>> SEGMENT CCMBIN FW~ = +066451 EXEC.FWA= +066451 LWA+1= +076776 ••• FLCCK NA~f •• TYPE •••••••• FWA •••••• LENGTH

1 ~O~BIN PROGRAM +06E451 0010325

, ••• FN.G~C8AL •• SEG~ENT ••• SAFFTY •••••• FWA . L-- TAPES SH~~ SAE£ . _ .. ,_.J..Q_2.3.J;.a ... -....

\,

------------------->>>>>>>>> SEGMENT TRANS FWt = +023403 EXEC.FW~= +623422. LWA.+1= +072562

••• BLOCK NAME •• TYPF. •••••••• FWA •••••• LENGTH TR~~S PKOGRAM +C2~422 00063t7 eKTRA~ PROGRA~ +C32011 0000000 TR2 GL08ALCS) +(32011 000~526 PH GLOBALCSJ ~t-e3E537 0016757 PS!CPS GLOBALCSJ +055516 G000011 XX GLOEALCSJ +(~5527 0007644 ~AMES GLOBAL(SJ +C6~373 0000147 TAeL~S GLOEAL(SJ .+OE~S42 0004627 ORhF GLOBAL($) +072371 0000171

••• FN.GlCgAL •• SfG~ENT ••• S~FETY •••••• FWA TAFES SWM~ SAFE +0233~0

>>>>>>>>> SEGMENT TINT~P FWA = +0725E2 EXEC.FWA= +072562 LHA+1= +0 72 665 ••• BLOCK N.\ME •• TYPE ....... •• .F~A •••••• LENGTH

TINT~F F~OGP.AM +072562 0000103 >>>>>>>>> SEG~ENT T5T~CT FW~ = +072665 EXEC.FWA= +072665 LWA+1= +0 75 365

•~• BLOCK NAHE •• TYPE •••••••• FWA •••••• LENGTH TSTROT FPOGRAM +0726b5 0002500

••• FN.GLC9AL •• SFG~ENT ••• SAFETY •••••• FWA TK?. T~A~S S~FE +032011 TR1 TFA~S StFf +036537 TA~LES TRA~S S~Ff +065542

>>>>>>>>> SEGMENT RAOH FWt = +072665 EXEC.FWA= +072667 LWA+1= +073566 ••• BLOCK NAHE •• TYPF •••••••• F~A •••••• LENGTH

RACH PKOGRAM +C72E67 D000537 ~SIN! P~OGRAM +073426 0000024 AS~CCSE PROGRAM +C734S2 0000114

••• FN.GL09AL •• SfGMENT ••• SAFET¥ •••••• FWA . . _ ..... TR1. . . __ . TRA ~S-. . .. SllF£ _________ t;.0.3£!i.J7 ______ ----------- -- _- .. ----- . - - ---- . - - -- ..

TA2LES T~A~S StFE +065542 ~>>>>>>>> SF.G~FNT DEPTH FW~ = +0735E6 EXEC.FWA= +073566 LHA+1= +07'+222

._..._ ELOC!< NAME •• TVPE ••••• •• .F~.II .•••••• LENGTH OEFTH PROGRAM +073566 0000~34

••• F~.GLCEAL •• SEG~ENT ••• S~FfTY •••••• FWA TR2 TRAt-S S~FE +032011 TR1 TP.A~-S SAFE +036537 TAELES TRA~S. S~FE +0655~2

>>>>>>>>> SEGMENT QUAL FWt = tG7~222 EXEC.FWA= +074222 LWA+1= +0 75055 _. •• gLOCK NAME •• TYPE •••••••• FWA •••••• LENGTH

QUAL PFOGRAM •C74222 0000633 •~• FN.GLCEAL •• SEG~ENT~ •• SAFETY~•••••FHA

T~2 TPAt-S S~FE +012011 T~1 TPA~S S~FE +03E537

···----· __ ... __ If.E.LE.S .. ______ ~--1-F.tA.t~-... - ... SA FE_ . ·= t.il655 42 -·- ... ··-·····"'·· ---... -"~~-------·-- .... ·.-........ . \.

I --..J 0

·------------------->>>>>>>>> SEGMENT FINDA FHA ~ +07~222 EX£C.FWA= +07422.~ LHAt1=

••• ELOCK NAHE •• lYPF •••••••• FWA •••••• LENGTH FlNCA PPOGRAM +07~223 0000221

••• F~.GLCBAL •• SEG~ENT ••• SAFETY •••• ~.FWA TR2 TRA~S SAFE +032011 TR1 T~A~S SAFF. +036537 TABLES TRA~S SAFE +06~542

>>>>>>>>> SEGMENT NEWTCN FW~ = •07~444 EXEC.FWA= LWA+1= +07Lt5o7 '~•• BLOCK NAME •• TYPE ......... F~A •••••• LENGTH

~EWTO~ PROGRAM +074446 0000121 ••• FN. GLC8AL •• SFG~E'NT ••• S AFFTY •••••• FHA

TR2 TRA~S . SAFE +032011 TR1 TRAl\S SAFE +036537 TABLES TRA~S S~FE +065542

>>>>>>>>> S~GMENT CPS! FWt = +0745E7 EXEC. FHA= +074571 LHA+1= +075245 ••• 8LCCK NA~f •• TYPf •••••••• F~A •••••• LENGTH

OPSI PROGRAM +074571 0000454 ••• ~N.GLCEAL •• SEG~ENT ••• SAFETY •••••• FWA

TR2 TF.t.NS SllFE +032011 TP1 TkAt--S SliFE +036537 FSICFS TRA~S SAFE +055516 TABLES TRANS StFE +065~42

>>>>>>>>> SEG~ENT PSI FWA = +075245 E.XEC.FWA= +0752Lt5 LHA+1= +075777 ••• BLOCK NAME •• TYPE. ••• •••• F\iA •• •• •• LENGTH

PSI F~OGRA~ +075245 OOJ0532 ••• Ft-..GLCEAL •• SFGMENT ••• SAFETY ••• ••• FWA

TR2 TRA~S SAFE +032011 TR1 Tf::AI\S SAFE +036537 ~SlOPS TRAt\S SAFE +055516 TABLES TP.A~S S~FE +065542

>>>>>>>>> SEG~ENT OWLOAO FHA = +075777 EXf.C.FHA= +075777 l HA+ 1= +076544 ••'~ 8LOCK NA~E •• TYPE •••••••• F~A •••••• LENGTH

DWLCAC PROGRAM . +07~777 00005~5 ••• F~.GLCeAL •• SEG~ENT ••• S~FfTY •••••• FWA

TR2 TRAI\S SPFE +G32011 TR1 TPA ~S SAFE +036537 TABLES TRA~S SAFE. +065542 ORWF TRANS SPFE +072371

>,>>>>>>> SFG~ENT INITAL FW~ = ~075777 ••'~ BLOCK NA~E •• TVPE •••••••• F~A •••••• LENGTH

; ~- ..

EXEC. FHA= +075777 LWA+ 1= +076551

TNITnL f~OGRAH +07~777 0000552 ••• FN.GLC8At •• SEGr.ENT ••• SftFtTY •••••• FWA

TR2 T~A~S S~FE +032011 TRt T~At--S S~FE +036537 ~A3LES TRA~S S~FE +065542 ~ RH f_ ______ ~~~·-J RA~_S. . . ... SP E.E.-~-•!....;OILJZwZo...~3:l..l1u1._ __________ _

-------------------SEGMENT FIR!::. T FWt +075777 £ XEC~ n4A= +075777

..... ·-·· ·~- -- ..

+077160 l>>>>>>">>> = LWA + 1= ...... BLOCK. NAHE •• TYPE ••••• •• .F\'IA •••••• LENGTH Fiqsr FFOGRA~ +075777 OO!l11c1 .... F~.GLCAAL •• SFG~ENT~ •• SAFETY •••••• FWA TP1 TFA 1'\S SJIFE +036537 NA~E~ T!<A,._S SAFE +065373 TAeLE5 TRA f\ S SAFE +065542

>>>>>>>>> SEGt'Ft\T ROUTF FWt = +075777 !EXfC.FWJI= +076004 LWA •1= +100111 ..... BLOCK tJA 11 F •• TYPE •••••••• F W Jl •••••• L E NG T H RCUTC: Fr;OGRAM +C7EC04 0002105 ....... FN.GLC8AL •• SEGMENT ••• SJIFETY •••••• FWA

! TR2 T~AI\S StFF +032011 "j 1!:(1 TR/\1\S SJ!FE +036537

NAt'F.S TkA 1\S SJIFf +065373 TA8LES TRA f\S SAFE +065542

>>>>>>>>> SEGtJENT VEL FW~ = +10()111 EXEC.FWA= +100111 LWA+1= +100134 ..... 8LOCK NAMF •• TYPE•~••••••FWJI •••••• LENGTH VEL PROGRAM +HC111 00300 23

>>>>>>>>> SEGMENT T~TORG FWt -- +100111 EXEC.FWA= +100112 LWA + 1= +102773 .... PLC":CK NAME •• TYPf •••••••• FWA •••••• LE~GTH TSTCRG PPOGRAM +100112 0002661 ....... ~1\.GLCeAL •• SfG~ENT ••• SAFfTY •••••• FWA T P2 TRA 1\S SJIFE +032011 Tj;l1 TRAI\S SJIFE +036537 T A9LES TFA~S SAFE +06.551,2

>>>>>>>>> SEGr-J.ENT T PLUGS FWA = +102773 £ Xf C. F WA= +102773 L WA + 1= +103332 ..... 9 LCC K NA M I •• T Y P F •••• -• ••• F l- A •••••• L E N G T H TPLL.GS PROGRAM +102773 0000337 ..... F~.GLOBAL •• SEG~ENT ••• SAFfTY •••••• FHA TF;2 TRAI\S SAFE +032011 TR1 TRANS S.OFE +036537 TAELES TRAI\S StiFE +065542

>>>>>>l>>> SFGI"ENT FlLT H FW.O = +-072562 £XEC.FHA= +072562 LWA+1= +075035 ..... BLOCK NAME •• T 'YPf. •• ••••• F~A •• •• •• LENGTH FILTH fh.OGRAM +C725c2 0002253 .... F~.GLOBAL •• SEGMENT~ •• SAFETY •• , ••• FWA TR2 TF:Af\S StFE + 0320 11 T R1 TFAt<-S SAFE + 0 3 65 37 TABLES TR.A f\S S~FE + 06 55 42 0 ~~-~f TR At, S S~FE +072371

>>>>>>>>> C::FGMENT IN Fit FWJl = + 07 25 E2 EXEC. FWA= +072562 LWA+1= +074223 ••• flLCCK NAME •• T~PF •••••••• F\'I~ •••••• LENGTH

!NFlL PFOGRAH +G72St2 0001441 .... FN.GLC8AL •• SFG~tNT ••• SJlFET'Y •••••• FWA TR1 Tf: A 1\S . SJlFE +03E537 I ~A~-'ES TFt.I\S SAFE +065373 -....!

___ TMll.S__ T.E.l;.t> s . "S.P..F..L ... +.0&'::542 N I;----

------------------->>>>->>>>>-sf G I" E t\ T SLOP

- .. - -· -nu = +072SE2 EX£C.FHJI= ·+0725b2 LWA+1= +073063 ..... ELOCK NAM£ •• TYFE ••••• •• .FWA •••••• LENG1H SLCF PFOGRAM +072562 0000301 ....... FN.GLOBAL •• SfGMENT ••• SJIFETY.~ •.••• FWA TR2 T~A f\ S SHE +032011 TR1 TPAt-S SJIFE +036537 ~\A fliES TI'Af\S SJIFf +G6?373 TAeLES TFA I'S SAFF +065542

>>>>>>>>> SEGtJENT PRINT FWA = +072SE2 EXFC.F~A= +072Sb2 LWA +1= +073771 ..... BLOCK NAME •• TYPE •••••••• FWA •••••• LENGTH PRINT FROG RAM +C725E2 0001207 ..... F~.GLCOAL •• S[G~ENT4 •• SAFfTV •••••• FWA TAPES SWMM SAFE +023350 T R2 Tfd\ f\S SAFE +032011 TR1 Tf.JI "S SJIFE + 0 3 65 37 XX T Fi.A f\ S SAFE +usss21 TA8LES TR A f\S SJIFE +065542

>>>>>>>>> SEGMENT TS TC ST FHA = +0725E2 £XEC. FW A= .. 072562 LWA+1= •073073 ...... PLCCK NAMF •• TYPE •••••••• Fl-A •••••• LE~GTH TSTCST PPOGRAI1 +(7(:5f2 OU00311 .. ..,. FN.GLC8AL •• SEGPENT ••• SAFET~ •••••• FWA TR2 TF..At\S SAFE +032011 TR1 TI'.At\S SJIFE +036537 TAeLES TF~A ~ S S.tiFE + 06 55 42

>>>>>>>>> SEGMENT STCRAG FWA = +0'23403 EX£C. FHA= +023407 LHA+1= +03631& ...... ELOCK NAME •• TYPE •• ••. • •• F~JI •• •• •• LENGTH STCFAG Ff'OGRAM +C23407 0001150 C:KSTOR PI'.OGP.A~ +02~5~7 0000000 LLA8L GLOBAL(St +0(4557 0000002 HIGH GLOEAL(Sl +024561 0000002 STCR1 GLOeAL(S) tCC:t..~63 000070'+ vc~ GLOEAL(S) +025467 0000070 STRK GLOBAL($) +C2~557 0001625 ~LK3 GLOPAL(S) "+(27404 'C006203 '3LK2 GLOBAL(S) +C35E07 0000310 3LK1 GL08ALfS) tC3E117 0000174 T9LK GLOBAL($) +036313 0000003 ••• Ft-..GLCgAL •• SEG~ENT ••• SAFETY •••••• FWA TAFES SWHt-' SAFE +0233~0

- '>>>>>>>>~ SEGMENT SPRINT FHA = +03o316 EXEC.FWA= +036316 LWA+1= +ll37236 ........ ELCCK NAME •• TYPE •••••••• F~A •••••• LENGTH SP~INT PROGRAM t03E316 0000720 ..... ~~.GLCBAL •• SEG~£NT ••• SAFfTY •••••• FWA 8LK3 STORAG SAFE +027404 !3LK2 STOFAG St.FF +035b07 I

. lJtllC :S~Q..E !G__ --· S ~ F ~ +ll3f:IJ13 ...... w ,,

-------------------

,.,;,;>->">>>> St:GMtNT TRCOST FW.O = +036316 EXE·C~-F-WA: +036316 LHA+1= +041541 ••• BLOCK NA~Ea.TYP£.~···~··FWA •••••• LENGTH

TQCCST PROG~AH +03E316 0003223 -" • • F' 1\ • G L C El A L •• SF G ~ ENT ••• S /l F E 1 Y • • • • • • F W A

HIGH STOkAG SAFE +02~SE1 STC~1 STORAG SAFF +02~~E3 VO~ STORAG SAFE +0254E7 ~T8K STOPAG SAFE +025S~7 BLK1 STORAG SAFE +03o117

>>»~>>>>> SEGMEI\T I~TERP FWA = +036316 EXEC.FWA= +036316 LHA+1= +036421 ••• BLOCK NAME •• TYPE •••••••• FWA •••••• LENGTH

I~TE~F ~~OGRAH +O~E316 0000103 >>>>>>>>> SEG~ENT TRFAT FWA = +036421 EXEC.FWA= +036421 LHA+1= +054132

••• 8LCCK NAME •• TYPE •••••••• F~A •••••• LEI\GTH TREAT PkOGRAM +C3~421 0011663 KILL P~OGRAM +C5C~04 0000073 r.rr,b.RF F~OGRA~ +0~0377 0000611 SEOT~ f~OGRAM +051210 000030S TPLINK P~OGRAM +05151& no~o325 EYF/lSS PROGRAM •CS2043 0000047 STRAGE F~OGqA~ +052112 00014E6 PLUGS P~OGRAM +C~~ECO 0000265 ITOJt PROGRAM +054C65 0000045

••• F'I\.GL03AL •• SFG~ENT~ •• SAFETV •••••• FHA TAFFS S~~~ S.OFE +023350 LLAEL STORAG S~F~ •02~5~7 H!G~ . STO~AG SAFE +0245E1 STCRt STO~AG StFE +02~5E3 VC~ STO~AG SAFf +02~4E7 STBK STORAG SAFF +025557 8LK1 STO~AG StFE +016117 TBLK STORAG SAFE +036313

>>>>>>>>> SEG~ENT TRTDAT FW~ = +03b~21 EXEC.FHA= ••• P.LOtK tlAME •• TYPE ...... •• .F~A •••••• LEt\GTH

+036423 lWA+1= +041617

TRTCAT FF.OGRAM +C2E~23 0003174 ••• ~~.GLCeAL,,SfG~ENT ••• SAFETY, •• , •• FWA

STCR1 STOk.AG S~FE +0245E3 VOR STO~AG StFf. +0254€7 ST~K STORAG SAFE +025557 8LK2 STORAG StFE +035E07 BLK1 STO~AG SAFf +036117 TPIK STOE~.G_- S.OF~="_ +036313.,.,---- ·-------··--··· .....

I.

-------------------

>>>>>>>>> SEG~ENT TRCHEK FW~ = +041617 E~EC.FWA= +0~1617 LHA+l= +042320 ••• BLOCK NAME ... TYPE ...... •• .FW~ •••••• LENGTH

TRCHEK P~OGRAM +0~1t17 0000501 ••• F~.GLCeAL •• 5£G~ENT ••• SAFETY ....... FWA

STOR1 STORAG SAFE +02~5E3 TBLK STORAG SAFE +036313

>>>>>>>>> SF.t,MENT STFOAT FWA = +041617 EXfC.FWA= +041617 LWA+1= +043E01 ••• BLCCK NAME •• TYPE•••••~•·F~A •••••• LENGTH

ST~D,T PFOGRAM +041617 00017E2 ••• ~N.GLCBAL •• SFG~ENT ••• SAFETY •••••• FWA

STO~l STO~AG SAFE +02~563 STEK STORAG SAFE +0255:7 TBLK STORAG S~FE +03E313

•••••••• CM ELANK COMMON FHA= +107433 LWA+1= +107433

. ·-------- --- ----- ·----

lo

I I I I I I I I I I I I I I I I I I I

APPENDIX C

PROGRAM SIZE CHANGES

-76

The follo·.ving tables are taken from the various "Card Data"

tables in the Version II User's Manual (7). The changes that were made

to the size of the different variable arrays are circled with the reduc­

tion noted.

I I I I I I

I I I I I. I I I I I I I

Talla 4-1. COMBINE BLOCK. CARD DATA

Card Card Variable Default croup Format columns Description name value

1 IS 1-5 Program Control. 8 . ICOMB

- 1, Collate only,

•.2, Collate and then combine,

- 3, Combine only,

- 4, Combine then collate.

2 IF ICOMB • 1, INCLUDE CARDS 2, 3 ~- 4 ONLY.

IF I COMB • 2, INCLUDE CARDS IN THE. FOLLOWING ORDER: 2, 3, 4, 5~ 6, 7.

IF ICO~m • 3 OR 4 1 SKIP TO CARD 5 FIRST.

20A4 1-80 Title cards: two cards with heading to TITLE be printed on output.

3 215 1-S Output data set number. b NDOL'T

6-io Number of i~t data sets. NIH· (maximum • 16 ---.10)

Input data set numbers.b NDATAS

4 1615. "1-5 First input data set number. NDATAS(l)

6-10 NDATAS(2)

76-80 Nth input data set number. NDATAS (NIN)

s IF ICOMB • 1, SKIP CARDS 5, 6; AND 7 IF ICOMB • 3, I,NCLUDE CARDS 5, 6, AND 7 ONLY.

a The collate portion of the Combine ~lock uses two scratch data-sets •.

b

It is desirable to use the Graphing Routine in the Executive Block after the Combine Block has been run.

See Section 2, Initial Job Set-up, for discussion ·of data sets and input/output files.

1

None

None

None

-77

I -78

I I Table 4-1 (continued) • COMBINE. BLOCK.. CARD DATA

I ·ear.s Card Variable ·Default aroup Format colUIUla Deaeriptioa ..... value

IF ICOMB .. 4, INCLUDE CARDS IN THE FOLLOWING ORDER: 5. 6, 7. 2, 3, 4. I

20A4 1-80 Title cards: two cards with heading to TITLE None

I be printed on output.

6 3I5 1-5 Node number for outpu~. NODEOT None

I 6-10 Output data set number. • NDOUT None

I 11-15 N~ber of ~t data sets. NIN None

(maximum "' 6 --10

7 16IS Input data set numbers. a

NDATAS

I 1-5 First input data set number. NDATAS{:L)

6-10 NDATAS(2)

I 76-80 Nth input data set number. NDATAS (NIN)

a Initial Job Set-up, See Section 2, for discussion of data sets and input/output files. I

I I I I I I I I

I I I I I I I I I I I I I I I I I I I

Table 5-7. RUNOFF BLOCK CARD DATA

Card Card group Format columns Description

1 20A4 Title cards: two cards with heading to be printed on output.

2 Control card: one card.

2IS 1-5 Basin identification number.

I3

12

F5.0

6-10

11-13

14-15

16-20

Number of t~steps to be calculated (maximum .. ~ 100

Hour of start of storm (24-hour clock).

Minutes of start of storm.

Integration period (time ~tep), min.

Variable name

TITLE

BASIN

NSTEP

NHB.

NMN

DELT

IS 21-25 Number of hyetographs (rain gages) NRGAG

3

NOTE:

FS.O 26-30

IS 31-35

FS.O 36.,-40

·Is 1-5

F5.0 6-10

(maximum =- 10).

Percent of impervious area with zero PCTZER detention (immediate runoff) •

• IROS • 1, Erosion for subcatchment IROS is to be modeled.

If IROS • 1, Highest average 30-minute RAINIT rainfall intensity, in/hr.

Rainfall control card.

Number of data points ~each hyetograph (maximum .. ~ 100

Time interval between values, min.

·NHISTO

THISTO

The Runoff block requires only one scratch data-set. All non-decimal numbers must be right-justified.

-79

Default value

Blanb

0

None

0

0

None

None

25.0

0

o.o

None

None

I I I I I I I I I I I I I I I I I I I

Table 5-7 (continued). RUNOFF BLOCK CARD DATA

Card Card Variable Default zroup F.ormat columns Description name value

REPEAT CARD GROUP 4 l:"OR EACH IIYETOGRAPII.

4 Rainfall hyetograph cards: 10 interva~ per card·· (maximum number of values = 200 • a 100

· 10F5. 0 1-:-5 Rainfall intensity, first interval, RAIN(l) None in/hr.

6-10 Rainfall intensity, second interval, RAIN(2) None in/hr •.

11-15 Rainfall intensity, third interval, . RAIN(J) None in/hr.

.16-20 Rainfall intensity, fourth interval, RAIN{4) None in/hr.

.

REPEAT CARD 5 .roR EACH GUTTER/PIPE.

Gutter/pipe· cards: one card per gutter/ 5 piE ,(if none, leave out) (maximum number

• 200~. 100 .. /

no 1-10 Gutter/pip~ number. b

NAliEG None

215 11...;.15 Gutter or inlet number for drainage. b NGTO None

{ • l for gutter, NP None 16-20

• 2 for pipe.

7F8.0 21-28 Bottom width of gutter or pipe GWlDTll=Gl None diameter, ft.

&proble~s may occur when zero .rainfall occurs several time-steps.beforc the actual start of the rainfall (the computer underflows).

bNumbers may be arbitrarily chosen. However, if inlet number is to correspond to inlet manhole for Transport Block, it must be 5_ 1000. The maximum total number of inlets must be ~ 50 for input .to Receiving or ~ 70 for input to Transport.

-80

I -81

I I

Table 5-7 (continued). RUNOFF BLOCK CARD DA!A

Card Card Variable Default

I group Format columns Description ilame value

11-15 Land use classification. 5

I • 1, For single family residential,

• 2, For multipl.e family residential,

I - 3; For commercial,

• 4, For industrial,

I • 5, For undeveloped or park lands.

2Fl0.0 16-25 Number of catchbasins in subcatchment. BA Hone

I 26-35 Total length of all gutters within GQ Hone subcatchment, hundreds of feet.

I .12 GUTTER/INLET PRINT CONTROL: ONE CARD

215 1-5 Number of gutters/inlets for which NPRNT 0

I ~to be printed (maximum • 100

6-10 Humber of time-steps between printings. INTERV None

I 13 IF NPRNT • O, SKIP CARD 13.

I GUTTER/INLET PRINT CARDS: 16 VALUES/CARD.

16I5 1-5 Gutter/inlet numbers for which flows IPRNT(l) None and/or pollu~ants are to be printed.

I 6-iO 1PRNT(2) None

11-15 IPRNT(3) None

I I IPRNT (NPRNT) None

I I I I

I I I I I I I I I I I I I I I I I I I

-82

Table 6-6 (continued). TRANSPORT BLOCK. CARD DATA

Card Card sroup Format columns

10

8Fl0.5 • 1-10

11-20

11 20A4

12

1615 3-5

8-10

14-15

Description

REPEAT CARD GROUP 10 FOR EACH ADDED SHAPE.

Input .of tabular data (flo,, rate, Q, divided by the flow rate of the conduit running full, Qf (Q/Qf)).

for each added shape corresponding ·to the ~~-1 equal divisions of A/Af

of the conduit as given by MM on card group 4.

First value of Q/Qf for shape 1.

Second value of Q/Qf for shape 1.

Last value for Q/Qf for shape 1.

(Total of MM(l4)/8 + MM(l5)/8 data cards)

Title card containing a one-line heading to be printed above output.

Execution control data.

Total numbef.:3! sewer elements (maximuin = ~ 100

Total numbe~ ~ime-steps (maximum = ~100

Total number of non-conduit'elements into which there will be input hydro­graphs anq pollutographs (maximum .. 70, minimum= 1).8

a Not required if input is from tape or disk.

Variable name

QNORM

QNORM(I,l)

9NO-ru.t (I , 2)

.

Default value

None

None

QNORH(i,MM(I)) None

TITLE Blanks

NE

NDT None

NINPUT None

I I I I I I I I I I I I I I I I I I I

Card group

15

Format

514

a Not operationa.l.

Table 6-6 (continued). TRANSPORT BLOCK CARD DATA

Card Variable columns

20

25

30

1-4

Description

NFILTH • 1, sewage inflows to be estimated (subroutine FILTH called).

Control parameter concerning printed output·, i.e.,

JPRINT • 0, flows and concentration not printed,

JPRINT • 1, flows and concentrations printed out in tabular form.

Control parameter concerning plotting of output,

JPLOT a 0, plotting routine r.o~ called from within TRANSPORT,

JPLOT • 1, plotting routine i3 called from within TRANSPORT~

name

JPRINT

JPLOT

Control parameter ·for hydraulic design NDESN routine, i.e.·,

NDESN c 0, hydraulic design routine is not called,

NDESN = 1, hydraulic design routine is to be called.

REPEAT CARD GROUP 15 FOR EACH

number of cards = CARDS HAY BE READ

Sewer element data~

External .element number. b No NOE element may be labeled with a · number greater than~ 200 it must be a positive numeral.

-83

Default value

0

0

0

None

b"External" numbers are those assigned by the user to the various components. "Internal" numbers are assigned within the program. t.hP Trnnc::f'ort HociE'l i !': in tC'rm!': of externnl numhen;.

Sl'\••cr system All input to

I I I I I I I I I I I I I I I I I I I

Table 6-6 (continued). TRANSPORT BLOCK CARD DATA

Card Card group Format columns Description

Variable name

a

******

5-8

9-12

13-16

17-20

******

7F8.3 21-28

29.-36

37-44

45-52

53-60

61-68

However, numbering need not be consecutive or continuous.

EXT.W::RNAL ~IT}~f9:?.R {S) ':'F tt?ST!'.FA"! F.LV.1ENT(S). tTP !0 THREE ARE ALLOWED. A ZERO DENOTES NO UP­STROOI ELEMENT (maximum value ...

******

~200

First of three possible upstream elements.

Second of three possible upstream elements.

Third of three possible elements.

Classification of element type. Obtain value from Table 6-1.

THE FOLLOWING VARIABLES ARE DEFINED BELOW FOR CONDUITS ONLY. REFER TO TABLE 6-1 FOR REQUIRED INPUT FOR NON-'CONDUITS.

Element length for conduit, ft.

First characteristic dimension of conduit, ft. See Figure 6-4 and Table 6-2 for definition.

Invert·slope of conduit, ft/100 ft.

Hanning's roughness of conduit.

Second characteristic dim~nsion of conduit, ft. See Figure 6-4 and Table 6-2 for definition. (Not required for some conduit shapes.)

******

Number of barrelsa for this element. The barrels are assumed to be identi­cal in shape and flow characteristics. (Munt be int~ger ~ 1.)

NUE(l)

NUE(2)

NUE(3)

NTYPE

DIST

GEOMl

SLOPE

ROUGII

Cr.:OM2

BARREL

Example: A two barrelled conduit would consist of two identical pa~allel conduits adjacent to each other.

-84

Default value

None

None

None

16

None

None

0.1

0.013

None

1.0

I I I I I I I I I I I I I I I I I I I

Card · p:oup For ~~~at

1

4A4

2

15A4

3

15A4

4

lOIS

Table 8-1. RECEIVING WATER BLOCK CARD DATA

Card col1.111ns

1-8

9-16

1-60

1-60

1-5

6-10

11-15

Description

Control Card. a

If hyaraulic calculations are to be carried out,_ write QUANTITY.

If quality modeling is to be. accomplished, write QUALITY.

IF QUANTITY ANALYSIS IS NOT SELECTED, SKIP TO CARD GROUP 31.

QUANTITY MODEL DATA.

Run title card·, 2 cards.

Two card title for run.

Storm title card,~earse. 3

Two card title for storm.

Control switches.

• 0, System is influenced by downstream head relationship (dam),

- 1, sy.stem is tidally influenced ,b

• 2, System has specified· outflow, as read in card groups 26 or 28.

• 31 System has multiple boundary-condi­tion junctions. Type is specified in card group 10.

• 0, Print input channel and junction data,

• 1, Skip printing of input channel and junction Jata.

• 1, Spatially variable rainfall allowed, Junction inflows computed using card groups 23 to 27.

-85

Variable Default D•e value

·Blanks

Blanks

ALPHA Blanks

TinE Blanks

ISWCH(l) 0

ISWCII(2) 0

ISWCll(J) 0

• . . If both QUANTITY and QUALITY are punched, the program first carries out quantity, thea quality analysis. ·

~A ."tidal" boundary condition can iDclude apeeificatioo of a cooatant head (e.a. eateri111 a lake) •

I I I I I I I I I I I I I I I I I I I

-86

Table 8-1 (continued). RECEIVING WATER BLOCK CARD DATA

Card Variable Default ~oup Format columns Uescription name value

7

8110

8

8IiO

21-30

31-40

1-10

11-20

..

8-10

11-17

18-20

• • . Right adjust all numbers.

Etc., up to INRAIN points•

·Junctions sel~cted for stage-

} RAIN(2) .None

INTIME(2)

history printout, NHPRT (card fc~ values., 8 per card (maximum • ~ 30

First junction number.

Second junction number.

Last junction number

Channels selected for flow print, NQPRT (car~ values, 8 per card (maximulli -~ 30 .

Lower junction n. ·(numerically lower) at end of first desired cbannel.4

·

Higher junction no. (numerically higher) rt end of first desired chann.el.

Lower junction no. (numerically lower) at end of last desired channel.

Higher junction no. (numericaily higher) at end of last desired channel.

JPRT(l) None

JPRT(2) None

. JPRT(NHPRT) None

C~RT(l} None

CPRT(2) None

CPRT(NQPRT) None

I I I I I I I I I I I I I I I I I I I

T~ble 8-1 (continued). RECEIVING WATER BLOCK CARD DATA

Card Card aroup Format columns

9

8I10 1-10

11-20

. 10

2IS 1-5

6-10

11

415 1-5

6-10

Description

IF NPLT • 0 ON CARD 5 1 SKIP CARD GROUP 9.

Variable Default name value

Junctions selected for head plo~ NPLT (card 5) values (maximum -~10

First junction to be plotted.

Second junction to be plotted.

Last jur.ction to be plotted.

IF ISWCH(l) ~ 3 ON CARD 4 1 SKIP DIRECTLY. TO CARD 11 OR 13. IF ISWCH(l) • 3 1 REPEAT CARD GROUPS 10 AND 11/12 OR 13 NJGW (CARD 5) NUMBER OF TIMES (Maximum • 20) •

Multiple boundary condition card •

Junction number of boundary con­dition junction.

Type of boundary condition.

• 1, Tidal (include card groups 11 , 12) ,

• 2, ¥,eir (include card 13)

IF ISWCH(l) • 2 ON CARD 4 1

SKIP TO CARD 14. IF ISWCH(l) • O, SKIP TO CARD 13. INCLUDE CARDS 11, 12 IF ISWCH(l) • 1 OR IF llBC • 1 ON CAKe 10.

Tide input control card.

If • 1 will expand· from only four tidal stages (HHW,.LLW, LHW, HLW over one daily cycle of length • ~ERIOD) for tidal coefficients.

~umber of ~idal stage data points. maximum • 50. (NOTE: Set NI • 4 1f KCI • 1).

JPLT(l)

JPLT(2)

JPLT(NPLT)

JGW

IDC

Nl

Not;~e

I I I I

Nope I

None·

1

0

None

I I I I I I I I I I I I I I I I I I

Card croup

14

15

Table 8-1 (continued). RECEIVING WATER BLOCK CARD DATA

Format

8FlO.O

.15

rs.o

FlO.O

Card columns

1-10

11-20

21-30.

31-40

41-50

51-60

61-70

71-80

.. 1-5

6-10

Description

SKIP TO CARD 15 IF ISWCH(7) rj 1 ON CARD 4.

Variable Hanning's roughness card. Four pairs of depth vs n values-are required.

Lowest depth, ft (should be zero).

~Ianning' s n cQrresponding to lowest depth.

Next depth. ft.

Corresponding Hanning's n.

Next- depth, ft.

Corresponding ~Ianning' s n.

Highest depth, ft.

·corresponding Hanning's n.

'REPEAT CARD~ FOR EACH JUNCTION (maxiinum • ~ SO .

. Junction card.s.

Junction number •

. Water s~rface-~levation. ft a (referenced to datum plane).

IF IITEHP(3) ON CARD 17 IS SUPPLIED ***~*~ LEA~ SURFACE AREA BLANK UNLESS ******

1SWCH(6) = 1 ON CARD 4.c

11-20

Variable n8111e

DNN(l)

VARN(l)

DNN(2)

VARN(2)

DNN(3)

VARN(3)

'DNN(4)

VARN(4)

J

Default value

0

None

0

None

0

None

0

None

·None

None

Surface area of junction, millions of sq ft.d AS(J)•SURF None

~atum plane usually mean low low water.

bHead is negative when below datum plane. CUowr1er, if the junction area is to be added to junction area computed for triangle, include su~face area end set ISWCH(6) • 0. See discussion of Figun. 8-3.

·daalt of the surface are~ of the previous channel plu~ half of the surfaee area of succeeding channel.

I I I I I I I I I I I I I I I I I I I

Table 8-1 (continued). RECEIVING WATER BLOCK CARD DATA

Card troup Format

2F5.0

2Fl0.0

20X

2F5.0

16 IS

17

515

Card columne

21-25

26-30

31-40

41-50

51-70

Desc;:ription

Constant junction flow into receiving waters, cfs ~

Constant junction flow out of receiving

Variable Default awae ••lue

·QIN(J)•QFl None

waters, cfa. .QOU(J)•QF2 None

a Junction depth, ·ft •.

Junction Manning's coefficient~ (Include ~~nning's coefficient if program develops geometric data. Channel roughness will be average of two end junctions unless 1SWCH(4) a 1 on .card 4.)

Leave.columns blank.

X AND ·y COORDINATES REQUIRED ONLY

DEP(J)•DT None

COF(J)•CF None

****** IF WIND ~ 0 ON CARD 5 OR NTEMP(J) + 0 ****** ON CARD GROUP 17.

71-75

76-SO

1-5

1-5

. 6-10

11-15

16-20

x-coordinate (easterly). thousands of ft.

Y~coordinate (northerly), thousands of ft.

T~ terminate junction cards, write 99999.

REPEAT CARD 17 FOR· EACH CHANNEL OR ~ANGLE (maximum number of channels • ~100

Channel or triangle cards.

Channel or triangle number.b

Junction at lower end of channel (numerically lower).

Junction at uppe-· end of channel (numerically higher).

Blank unless program is used to develop geometric data through the use of triangles. Then NTEMP(l), NTEMP(2), NTEHP(3) are the vertices of an acute triangLe. Program will develop channel characteristics.

X(J)•Xl None

Y(J)•Yl None

None

N None

NTEMP (1) None

NTEMP(2) None

NTE~1P(3) 0

4nepth is distance to bottom from datum plane (downward is positive). b These numbers may be changed by program.

I I I I I I I I I I I I I I I I I I I

Table 8-1 (continued). RECEIVING WATER B~OCK CARD DATA

Carel &roup

21

22

Carel· Format columna

6A4 l-8

9-16

16I5

6-10

.•

23 . 3I5 1-S

6-10.

Variable Default. Description na111e value

Pl~t vertical label ~ard.

·Line-1 of the vertical label.

Line 2 of the vertical label.

Line ~ of the vertical label.

IF NJSW a 0 ON CARD 5, SKIP TO CARD GROUP 30. a .

J } }

VERT(l) VERT(2)

VERT(3) VERT(4)

VERT(S) VERT(6)

Stormwater input control card·, ~-~­NJSW (card 5) values (maximum-~~ 20

Number of first junction receiving stormwater input.

Number of second junction ceceiving stormwate_r _input.

Number of last junction receiving

JSW(l)

JSW(2)

..... ,.

None

None

None

None

None

· sto_rmwater input. . · ".iSll(NJSW) None

lF ISWCH (3) .rl 1 oN· CARD 4, SKIP TO CARD GROUP 28; OTHERWISE INCLUDE CARDS 23 THROUGH. 27.

~otal number of time inputs of rain­fail and stormwater flows (maximum • 100).

Total number of rain gages (maximum •

NTDlST

50). NGAGE

··': · .. : ·c.:·,,:

None

None

8NOTE: .If stormwat~r input is provided to the same junction(s) from both tape/disk

and. cards, -the card input will override the tape/disk input.

I I I I I I I I I I I I I I I I I I I

Table 8-1 (continued). RECEIVING WATER BLOCK CARD DATA

car• Card aroup Format columns

.8Fl0.0 1-10

11-20

27 16F5.0 1-5

6-10

11-15

Description Variable Derevle

name val"-

Flow v6lume.for first junction, cfs. EXXT

Flow volume for last junction, cfs.

REPEAT CARD 27 FOR EACH INPUT TIME.

Rainfall intensity for first rain gage, in/br.

(NTIHST,NJSW) None

. DRAIN(!) None

Rainfall intensity for last rain gage, in/hr. DRAIN(NG~CE) .Mona

~-------~---------~-----------~----------------------------------------------------------------

·a

28

8Fl0.0 1-10

11-20

21-30

29 FlO.O 1-10

IF ISHCH(3) a 1 ON CARD4,· SKIP TO CARD 30. REPEAT CARD~ FOR EACH

.INPUT TIME (maximum .. ~ jllr'.etions).

.Input hydrograph. a

Time of day, sec.b

Flow volume for "first junction, cfs.

Flow volume for second junction, cfs.

Flow volume for last junction, cfs.

Terminate input hydrograph cards with TE(l) beyond expected time of analysis.

NOTE: 1ariable outflows may be read as negative inflow values.

bThis is cumulative time 'if more than one day is simulated.

20

TE(l). None

QE(l,l) tlone

QE(1,2) None

QE(l, NJSW) None

None