160
Appendix A. Computer Program Listing and
Instructions
A.3. Instructions for Introducing Data Cards into
Program DAMBLD
Table A.l indicates the correspondence between the notation in the
computer program and that in the text of the book.
A.3.1. Read-in
Data
Cards 1 to Ν (Ν is the number of existing dams.)
On each card punch information about reservoir K.
NRES(K), the reservoir number, FORMAT 15, right justified, columns
1-5.
Table A.l
Correspondence Between the Computer Program
Notation and the Mathematical Notation
0
Computer program notation Mathematical notation
I
J
Τ
t
R
r
AVCAP(T)
0 t
ARCS
Mi
BND(I, T)
B it
CUMRET(I, T)
CR t
FLOW(M)
Qimt
HI
c m
12
Μ
IRET(T)
i-l J-1
INV(I, T)
Cu
LAMDA(I, T)
LO
MAR (I)
MRj
Ν
Ν
NZC
NZC
PF(I)
PFi
PVBAR(I, T)
OR u
TMAX
TOTRET(T)
TR T
a Units are listed in Section A.5.
Appendix A. Computer Program Listing and
Instructions
A.3. Instructions for Introducing Data Cards into
Program DAMBLD
Table A.l indicates the correspondence between the notation in the
computer program and that in the text of the book.
A.3.1. Read-in
Data
Cards 1 to Ν (Ν is the number of existing dams.)
On each card punch information about reservoir K.
NRES(K), the reservoir number, FORMAT 15, right justified, columns
1-5.
Table A.l
Correspondence Between the Computer Program
Notation and the Mathematical Notation
0
Computer program notation Mathematical notation
I
J
Τ
t
R
r
AVCAP(T)
0 t
ARCS
Mi
BND(I, T)
B it
CUMRET(I, T)
CR t
FLOW(M)
Qimt
HI
c m
12
Μ
IRET(T)
i-l J-1
INV(I, T)
Cu
LAMDA(I, T)
LO
MAR (I)
MRj
Ν
Ν
NZC
NZC
PF(I)
PFi
PVBAR(I, T)
OR u
TMAX
TOTRET(T)
TR T
a Units are listed in Section A.5.
