United States
Environmental Protection
Agency
Municipal Environmental
Research Laboratory
Cincinnati OH 45268
EPA-600/2 78-036
March 1978
Research and Development
vvEPA
Users Manual
Data Storage and
Retrieval System for
Pilot Wastewater Treatment
Research
Environmental Protection
Technology Series
-------
RESEARCH REPORTING SERIES
Research reports of the Office of Research and Development, U.S. Environmental
Protection Agency, have been grouped into nine series. These nine broad cate-
gories were established to facilitate further development and application of en-
vironmental technology. Elimination of traditional grouping was consciously
planned to foster technology transfer and a maximum interface in related fields.
The nine series are:
1. Environmental Health Effects Research
2. Environmental Protection Technology
3. Ecological Research
4. Environmental Monitoring
5. Socioeconomic Environmental Studies
6. Scientific and Technical Assessment Reports (STAR)
7 Interagency Energy-Environment Research and Development
8. "Special" Reports
9. Miscellaneous Reports
This report has been assigned to the ENVIRONMENTAL PROTECTION TECH-
NOLOGY series. This series describes research performed to develop and dem-
onstrate instrumentation, equipment, and methodology to repair or prevent en-
vironmental degradation from point and non-point sources of pollution. This work
provides the new or improved technology required for the control and treatment
of pollution sources to meet environmental quality standards.
This document is available to the public through the National Technical Informa-
tion Service, Springfield, Virginia 22161.
-------
EPA-600/2-78-036
March 1978
Users Manual
DATA STORAGE AND RETRIEVAL SYSTEM
FOR PILOT WASTEWATER TREATMENT RESEARCH
by
Gregory A. Fish
and
Stanley L. Forsythe
Southwestern Ohio Regional Computer Center
Cincinnati, Ohio 45220
Assignment No. EPA-76-45
Contract No. GS-05S-10030
Project Officer
John English
Wastewater Research Division
Municipal Environmental Research Laboratory
Cincinnati, Ohio 45268
MUNICIPAL ENVIRONMENTAL RESEARCH LABORATORY
OFFICE OF RESEARCH AND DEVELOPMENT
U.S. ENVIRONMENTAL PROTECTION AGENCY
CINCINNATI, OHIO 45268
-------
DISCLAIMER
This report has been reviewed by the Municipal
Research laboratory* U.S. Environmental Protection Agency, and
approved for publication. Approval does not signify that tue
contents necessarily reflect the views and policies ox the U.S.
Environmental Protection Agency, ncr does mention of trade names
cr ccBinercial products constitute endorsement or recoaatendatiob
for use.
11
-------
FOREWORD
The Environmental Protection Agency was created because of
increasing public and governmental concern about the dangers of
pollution to the health and welfare of the American people.
Noxious air, foul water, and spoiled land are tragic testiaony to
the deterioration of our natural environment. The complexity of
that environment and the interplay between its components require
a concentrated and integrated attack ou the problem.
Research and development is that necessary first step in problem
solution and it involves defining the problem, measuring its
impact, and searching for solutions. The Municipal iiBvircnmentai
Research Laboratory develops new and improved technology and
systeas for the prevention, treatment, and management of
wastewater and solid and hazardous waste pollutant discharges
froa municipal and co BIB unity sources, fcr the preservation and
treatment of public drinking water supplies, and to minimize the
adverse economic, social, health, and aesthetic effects of
pollution. Ibis publication is one of the products of that
research, a most vital communications link between the researcner
and the user community.
This report describes a data storage and retrieval computer
system designed to handle the large amount of data generated by
the pilot study at the Blue Plains Treatment Plant located in
Washington, D.C. The study evaluates the effectiveness of
various treatments used in Advanced waste treatment Systems which
have the fotential tor producing potaole quality water from
municipal wastewater. This process would not only prevent
discharge of pollutants into the environment but recycles much
needed pure water.
Francis I. ttayo. Director
Municipal Environmental
Research Laboratory
111
-------
The , computer system described in this docuaent was designed as a
data storage and retrieval system for the water reuse project at
the Blue Plains Treataent Plant located in Washington, D.C. The
system was designed to be run on EPA's UM1VAC 1110 located at
Besearch Triangle Park, North Carolina and thus would require
nodifications to be transferable to other computer systems.
The Municipal Environmental Besearch Laboratory, aEEL, was
responsible for the water reuse project which was undertaken tor
the purpose of evaluating Advanced Waste Treatment Systems which
have the potential for reliably producing potable quality water
from municipal waste water.
The pilot study was intended to evaluate the effectiveness ot
various fiocesses in removing specific pollutants from
wastewater. The six processes being evaluated at Blue Plains
were Lime Clarification, Nitrification, Denitrification. Carbon
Absorption, Filtration, and chlorination.
This "User's Manual11 describes the programs and files of tne
system, the use of terminals while using the system, and what tue
user needs to do to operate the five functions of the system.
These five functions are:
I. Program PBEP to create the two tables of water systems
information.
2. Program SXSTAT to list the computer system.
3. Program DATASTORE to store water sample data.
»». Program BEPGEN to produce statistical reports based on
the stored sample data.
5. Program PBEPLT to produce plots of time vs.
contaminant ("parameter") using program TXBLUE.
The system is designed to use a combination of batch and demand
(on-line) interaction with the computer.
This report was submitted in fulfillment of Task Assignment wo.
EPA-76-45, Contract No. GS-05S-10030 by Southwestern Ohio
Begional Computer Center, University of Cincinnati under the
sponsorship of the U.S. Environmental Protection Agency and was
completed September, 1976.
iv
-------
CONTENTS
Subject Page
Section One - Introduction
A. History and Development of the Project 1
B. Project References ........ 3
Section Two - System Overview
A. System Application ........ n
B. Systea Operation . 4
Section Three - Program and File Descriptions
A. General Information. .............. 3
B. BLUEPBOG 9
1. Program PBEP ............... 9
2. Program SISTAT 11
3. Program DATASTOBE. ...... ......12
4. Prograa BEPGEM ..... 12
5. Program PHEPLT 13
6. Program TYBIUE ..... 14
7. Subroutine BEADIT 15
8. Subroutine HBITIT .16
9. Subroutine DEHAND 17
10. Subroutine ¥EBDAT 18
11. Subroutine COMDAT 19
12. Subroutine DATCCN. ...... 19
13. Subroutine CLEAfi 19
14. Subroutine PBUFF 20
15. Subroutine S1ATS 21
16. Subroutine TYPRE 22
17. Subroutine GPLTOS. ............ 23
18. Subroutine GPLTBS 24
C. ECL Files .24
0. FILEA 26
£. FILEE 26
P. BPDATA 35
Section Four - Introduction to the UNIVAC 1110
A. General Information. . 35
B. The ONIVAC 1110 37
-------
CONTENTS (Continued)
C. Demand Terminal session Initialization ana
Termination • 38
1. fcaderson-Jacofcson b30. .......... 38
2. Anderson-Jacobson 630 38
3. Texas Instrument Silent 700. ....... 39
u, Tektronix 1012 39
5. session Initialization .......... 39
6. Session Termination. . . 40
D. Error Correction Procedures. ... 41
Section Five - operating Instructions for the Blue Plains
Data storage and Retrieval System
&. General Instructions ..............42
B. Program PHEP . 43
}. Batch Processing 43
2. Demand Processing 47
C. Prog tan SKSTAT 58
1. Batch Processing . 58
2. Demand Processing 58
D. Program D&TASTOBE .62
1. Batch Processing . 62
2. Demand Processing. 62
E. Program BEPGEN 73
1. Batch Processing 73
2. Demand Processing 88
F. Program PREPLT .......... 91
6. Error Hessages . .... 98
vi
-------
Section 1
Introduction
A. History and Development of the Project
1. Description of the Blue Plains Pilot Treatment Plant
The Municipal Environmental Research Laboratory, MERL had responsibility
for a water reuse project at the Blue Plains Treatment Plant located in
Washington, DC. The water reuse project was undertaken for the purpose
of evaluating Advanced Waste Treatment (AWT) systems which hold the
potential for reliably producing potable quality water from municipal
wastewater.
Intensive long-term treatment characterization studies were conducted
to achieve the following objectives:
a. Identification of specific pollutants in the system's final
effluent and the performance of individual processes in removing
these pollutants.
b. Provide data on process and system performance variability and
reliability with respect to pollutant removal.
The AWT system configuration employed at the Blue Plains facility
included six treatment processes. In order to facilitate the monitoring
of the processes, each one was assigned a code. The processes and their
codes are:
a. Lime Clarification Code H
b. Nitrification Code A
c. Denitrification Code I
d. Carbon Adsorption Code J
e. Filtration Code K
f. Chlorination Code L
A schematic flow diagram of the system is shown in figure 1-1. Within
each one of the above processes are test nodes from which the water
quality samples were drawn (denoted by an integer associated with the
process code). The water quality samples were taken by the operators at
-------
FIGURE 1-1 REUSE SYSTEM SCHEMATIC
BO
SCREEN
ll
METKANOL
LIME CLARIFICATION '
H5
H8
X—
B7
1
-3
IH9
A
y
HOBM
NITRIFICATION
AO
DRAIN
T
511 1
w
Al
A2
A3
M
1
A6
A8
A7
BACKWASH HATER
FROM
DENITRIFICATION
CARBON
FILTERS
r
WASTE
—ft
11
-ft
12
it
13
IDA
KO FILTRATION
J2
J3
J7
s-
ALUM
>T
Kl
1
K3
1
1
Hi
J
DENITRIFICATIOM
CARBON ADSORPTION
HOLDING TANK
CHLORINATION
K7
LO
CONTACT
TANK
CHLORINE
FINAL
EFFLUENT
-------
varying frequencies from several times a day to once or
twice a month, depending upon the type of sample (graii or
composite) . After taking the samples, they were analyzed for
the presence or absence of various parameters, i.e. ^H,
alkalinity, temperature, trace aetals, organics, etc. I he
system was operational twenty-four hours a day with operators
assigned to three shifts of eight hours each.
2. Preview of the Blue Plains Storage and Retrieval System
Establishing the reliability of the previously described AKT
system required a program of routine monitoring of the
system performance. To this end a mass of valuable data was
obtained. Clearly, an efficient data storage and retrieval
system was needed to process the data and aiu in
establishing system performance and credibility*
The Southwestern Ohio Regional Computer Center
designed and implemented such a system tor the Blue Plains
Pilot Treatment Plant. The storage and retrieval system
utilized the inverted tree structure of the Pilot Plant
(i.e. each process having a number of test nodes with the
sample drawn from each node being analyzed for a number of
parameters) as a basis for the design. The system design
specifications vere produced under Task Assignment No. EPA-
76-28, Contract Mo. GS-05S-09678 with the implementation
dene under Task Assignment Nos. EPA-76-16 and EPA-76-4b,
Contract No. GS-05S- 10030. The system has been implemented
on the EPA U8IVAC 1110 located at Research Triangle taj.it,
North Carolina.
B. Project Beferences
ffSflJ?? t Sponspr • Municipal Environmental Research Laboratory ,
BBC, EPA.
Operating Center; national Computing Center, Research Triangle
Park, North Carolina
Feasibility Study
Systems 9e.sjLfln Specs: "Final Analysis of Blue Plains Mater
Quality Data Storage and Retrieval System11,
prepared by Gregory A. fish and Stanley L.
Forsythe, SHOBCC, under Task Assignment MO.
EPA-75-28, September, 1975.
Systems Maintenance
Documentation; Included in this User's Manual.
Statements of Work; Task Assignment Nos. EPA-75-2bf
EPA-76-16 and EPA-76-U5.
-------
Section 2
System Overview
&. System Application
The Blue Plains Data Storage and Betrievdi System is
designed to allcu Blue Plains personnel to store, edit and
retrieve water Duality data. Processing nay take place in
either batch or demand mode. Batch processing allows the
user to submit a set of cards or card images to the computer
Cor processing without the user being asked for additional
information while processing is taking place. The user
obtains all output after processing is complete. Demand
processing allows the user to interact with the computer
while processing is taking place, with any results of tae
processing being returned immediately to the user.
The system is nodular in design. As the user needs acre or
different information, programs may be added or modified
withcut destroying the integrity of the system. At present,
the minimum configuration for a typical storage and
retrieval system is supplied, so as not to overwhelm Blue
Plains personnel with a lot of unnecessary options.
B. System Operation
As previously stated, the programs of the Blue Plains Data
Storage ana Retrieval System have been designed to operate
in batch or demand mode. However, certain functions within
a given program may be restricted to cne moue or the ether.
Ihe user is restricted to batch node when the volume of data
to be entered or the amount of output expected is large
enough to involve a lengthy terminal session. The user is
restricted to demand mode when it is felt that the queries
from the system are necessary in order to correctly perform
the desired function. In addition, demand mode allows tae
user a "quick-look1* capability, i.e. direct output to tae
terminal instead of the delays inherent in batch processing.
Hcde restriction has been performed in the following manner.
For each program, two sets of Executive Control Language
(ECL) exists, one for batch and one for demand mode. Ihe
ECL for batch processing sets bit 12 of the flun Status Word
(BSB); the ECL for demand processing does not reference the
BSi, leaving bit 12 off. FOETBAN 7 programs access the BStt
-------
by the SSHI1CH routine. If bit 12 is on, indicating Latch
processing and the user attempts to use a function
restricted to demand mode, an error occurs and processing
terminates. A similar error will occur if the user attempts
to use a function restricted to batch mode while utilizing
demand processing. Instead of terminating in error, tne
user receives an error message and is prompted to enter a
different function.
Before reviewing the actual system, a few definitions and
standards should be explained. As previously mentioned, the
Blue Plains plant is subdivided into several processes, each
with several test nodes where samples may be drawn tor
analysis. For the Blue Plains Data Storage and Retrieval
System, the processes are denoted .Subsystems , each stili
associated with a single alphabetic code? Thus the H
subsystem would be the one where lime clarification taxes
place. Each of the test nodes is denoted a Sampling
§iaii°JL» each associated with a single digit code. The two
aforementioned codes together uniquely identify a particular
test node (subsystem/sampling station). For example, HG,
HI, H5, H7 all represent test nodes witnin the H subsystem
for the current Blue Plains plant. Sampling frequencies are
also given codes. A Grab sample (code G ) is one which is
taken at a particular time and is unique unto itself. Ihe
time at which the sample is taXen is important, as well as
the date. A JJaiii Composite sample (code D) is one where at
several times during the day, samples are drawn, mixed up,
and analyzed together. Thus the time of day the sample was
taken is of no significance, only the date. A ijegkly
sample (code U) is similar to the daily composite
sample, but the individual samples are spread out over one
week instead of a single day. This cede is currently not
used.
So far a sample may be identified as to where it came from
and how it was taken. To identify what is in the sample,
six character (laximum) mnemonic names have to be assigned
to the particular parameters to be examined, i.e. ?E for
iron, IOC for total oxygen content, P04 for pnosphates, etc.
Since a given sample may be assayed for several different
parameters, these parameter codes are cross matched to the
subsystem/sampling station codes. This cross matching
defines the total plant configuration to the storage ana
retrieval system.
Fig urett-1 shows the flowchart of the Blue Plains Data Storage
and Betrieval System. The user enters the initial system
configuration into program PREP which builds the flatter
Directory (FILE* and FILEB) . Then as the user begins to
collect data from the plant, it is entered into the system
via program DA1ASTOBE and stored in the actual database
-------
BLUE PLAINS PILOT TREATMENT PLANT
DATA STORAGE AND RETRIEVAL SYSTEMS
FILEA
(MASTER
I DIRECTORY
Figure II-l
-------
(BPDATA). If. the user then wishes reports ot data already
collected, program SEPGEH is run, providing him *ath
descriptive statistics and if desired, raw data listings.
If plots of the data (time versus value) are desired,
progra& PREPLOT is run, which selects the data, refcraats
it, adds control information and initials running ot a
• edified version of prograa TXPLOX (originally developed as
part of the MiTC Graphics Package) which actually produces
the plots.
Although auch checking of the data is done before it enters
the database, errors invariably are found. The user Bay, at
any tiae, edit the database, altering or removing erroneous
data by specifying one of several editing functions of
prograa DAIASTOFE. If the user decides to expand the systea
(i.e. add acre subsystems, saapling stations or paraaeters)
or alter some of the information in the Master Directory, he
•ay do this at any time by using the editing function of
program PBEP. In addition, the user aay display the current
systea configuration by running prograa SYSTA1.
Once the user has obtained all the reports and plots for a
particular set of data, it aay oe archived to tape, the on-
line files deleted, and the whole procedure nay be restarted
for a new set of data.
-------
Section 3
Program and File Description
General Information
There are five permanent and three semi-per out neat on-line
files in the Blue Plains Data Storage and Retrieval System.
Ihe permanent files contain the programs and ECL necessary
to operate the system; the seaii-permanent files are tue
actual data files of the system which will usually be
archived to tape uheii they are no longer needed. Tne ru.es
and their contents are as follows:
BLUEE8GG
DATASTORE
PREP
BEPGEN
SYSTAT
FILEA
F1L£B
BPDA1A
Progran file containing all o± tae
programs for the system.
File containing ECL for batch execution of
program DATASIOKE.
File containing ECL for batch execution of
program PREP.
File containing ECL for catch execution of
program KEEGEN.
File containing ECL for batch execution or
program SYSTAT.
Part of the Master Directory arranged oy
subsystem, sampling station, parameter.
Part of the Master Directory arranged uy
parameter, subsystem sampling statioti.
File where water Duality data is stored.
All files of the system have the leftmost qualifier BLUti-L,
and are registered to account 64030001 on the NCC UN1VAC
1110. The five permanent files of the system were backed up
en tape 101334 utilizing the following ECL statements:
-------
3CCPY.,HG PREP. ,BACKUP.
olCOPY,MG REPGEN.,BACKUP
dCOPY,HG SYSTAT. ,EACKUP.
B. ELOEFBOG
This file is a UNIVAC program tile which coataiiis the
programs of the Blue Plains Data Storage ana Retrieval
System. During system development it contained source,
relocatable (product of compile) and absolute (product of
collection) elements. For iiaple mentation, only the afisclute
elements, ready to execute, remain. Each of the nain
programs and subprograms is contained in an element of the
same naae, i.e. program PEEP is in element PBEP of file
BLUEEHOG and is denoted BLUEP60G . tfiiiP. (There are two
exceptions to this convention: REPGEhl and STATS 1 are
versions of HEPGEN and STATS which produce only i.ormai
statistics. They are present in source form only). A
listing of the Table of Contents (TOC) ot bLUEPKOG before
isplementation may be seen in figure II1-1. This 1'OC
reflects the status of the file on the system backup tape.
The remainder of this subsection will be structured as
fellows. Each of the program units (main programs,
subprograms) will be briefly described. Detailed
descriptions of input, output and other information needed
to execute a particular program may be founa in Section Five
(Operating Instructions for the Blue Plains Data Storage and
Retrieval System) of this manual.
1. Program P8EP
a. To build the Waster directory (Hi.rA, F1LEB)
b. To edit the Master Directory, enabling the user
to change and/or expand the system at any time.
In^ut Files
a. Card or Terminal Input
b. FILEA - only input for edit function
c. FILEB - only input for edit function.
a. FILEA
b. FILEB
a. READIT
-------
BLUEFL*BLUEPROG
ASM CLEAR (0)
REL CLEAR
FOR CONDAT(O)
REL CONDAT
FOR VERDAT(O)
REL VERDAT
FOR DATCON(O)
REL DATCON
FOR PBUFF(O)
REL PBUFF
FOR DATASTORE(O)
REL DATASTORE
ABS DATASTORE
FOR READIT(O)
REL READIT
FOR WRITIT(O)
REL WRITIT
FOR PREP(O)
REL PREP
FOR REPGENl(O)
REL REPGEN1
FOR STATS 1(0)
REL STATS 1
REL STATS
REL REPGEN
ABS REPGEN
FOR TYPRE(O)
REL TYPRE
ELT TYBLUE(O)
REL TYBLUE
ABS TYBLUE
FOR REPGEN(O)
FOR STATS (0)
ABS REPGEN1
REL DEMAND
ABS PREP
ABS SYSTAT
FOR SYSTAT (0)
REL SYSTAT
FOR DEMAND (0)
FOR PREPLT (0)
REL PREPLT
ABS PREPLT
ELT GPLTDS(O)
REL GPLTDS
ELT GPLTBS(O)
REL GPLTBS
ABS PRBLUE
Figure III-l
10
-------
b. MfiHIT
C. DIMANC
d. VEBUAT
e. CONCA1
Because of the large number of parameters, lattung
information ana data valuer necessary to create the
master directory, the initial execution of PfatP uas
been limited to batch mode. This will eliminate a
long, tedious terminal session and also allow user
verification ct the input data.
The edit capability of tne program allows auditions
and/or changes to the system configuration as a result
cf either keypunch errors ou initial generation or
future aevelopuents and aodif ications to systea
configuration. The edit capability may only be
utilized in demand mode.
Program SYSTAT
a. Display the current system configuration,
listing subsystem, sampling station ana
parameters being utilized.
a. Card or Terminal Input
b. FILEA
c. FILtB
None
^Subprograms Used
a. BE&DI1
Because of the large amouLts cf printing involved in
displaying the entire system conf iguratioii, toxs
option has teen liniteu to batch mode. However, it
only a particular subsystem, sampling staticn or
parameter is desired, the ^rogiam may oe executed in
demand mode.
11
-------
3. Program DATASTOBE
Program functions
a. To store new data in the «ain data file (BPEAXA)
b. To edit data already existing in ttPDATA.
c. To dynamically expand BPDATA, if necessary.
a. Card or Terminal Input
b. FILEA
C. FILEB
d. BPCATA
a. BPDATA
b. FILEB - current nuaber of records and current
maximum number o± records on bPDATA, first
tine parameter indicator all nay be undated,
a. VEHDAl
b. CONLAl
C. DATCON
d. CLEAB
The two main functions of this proyraa are data
storage and data edit. The storage function of the
program may be run in either batch or deaa&d node.
Since proapting messages were deemed necessary to aid
the user, the edit functions nay only be run in deaand
node.
Program REPGEN
To produce reports, including data listings ana
statistical summaries of the data stored iu
BPCATA.
a. Card or Terminal Input
b. FIL£A
C. FILEB
d. BPDATA
12
-------
Hone
a.
b.
c.
a.
e.
VERDAT
CONDAT
DATCON
PBUfF
STATS
Additional
Two basic types of reports ace produced by tuis
program, one arranged by subsystem, tne other &}
parameter. Both types may oe obtained either with or
without raw data listings. Summary reports, where
the user gets all subsystems or all parameters vatha.ii
a specified tine period, are limited to batch moat aue
to the volume of print expected.
The current report contains both normal and logncritai
statistics. A previous version (hE^Giiiil) contained
only normal statistics, as specified in the design
specifications for this system. A listing of RiPGENI
is included along with BEPtiiiN but BEPGEN1 has not teen
included in the active programs of che Blue Piarus
system.
5. Frog ran
Pr ogr a a f u nc t jLon
a. Allows user to interactively enter requests for
plots of time versus value.
b. Extracts data to be plotted from BPUA1A.
c. Reformats data and writes a data file in a term
compatatle with program TYBLUE.
d. Builds control file for TYBLUE.
e. Starts execution of TYBLUE,
a. FILED
b. BPCATA
a. TYCTBL
b. TYDATA
13
-------
Subprograms Used
a. VEKLAl
b. CONEAT
C. DATCON
Ihis program may be ruu only iu demand mode as it
prompts the user for information needed such as aata,
parameters, sampling stations and plot options. It
then extracts the data, builds the output files and
either:
a. Submits program TYBLUE (<*SXA£T) for
execution,
b. Begins execution of program IYLBUK (4A£C) in
demand mode
depending on which option the user selected.
6. Program TYBLUE
a. Produces plots of tiae versus paraaeter value
for the water quality data stored in BPDATA.
Input^Files
a. TYCTBi
b. TYCATA
Output Files
None
Subprograis Used
a. CALCCflF Basic Routines
b. * - see additional connents
Add j. |ipna 1 Coaien ts
This prograa is a modified version of program TYPLOX,
part of the graphics system developed for the National
Haste Treatment Center (NtiTC) of EPA. All needed
subprograms are part of the IYBLUE element and uo.ii
not be discussed separately. For a further
description, see the Functional Documentation for the
14
-------
7.
NHTC Graphics System, provided in response to Xask
EPA-76-01, Contract No. GS-05S- 10030.
Subroutine BEADIT
a. This subroutine is used to read into core toe
Raster File Directory consisting of FILEA and
FILEB data.
FOHTBAN USAGE
CALL REACIT
There are no arguments toe this subroutine; ail
information is passed in labeled common blocks.
Additional gfijaents
The information read by this subroutine is passe a to
the main program via labelea common blocks. They are
described as follows.
Common Block FILEA: contains the information
obtained from the FILEA segment of the Master file
Directory.
SPECSA - an array containing alphanumeric
information to be used for labeling and
titles in the reports.
NUHSUB - A variable containing the total number ot
sampling stations in the system.
ITOTAL - A variable containing the total number of
sampling stations in the system.
NUHSAH - An array containing the number of sampling
stations at a specific subsystem.
MSTA - An array containing the number assigned to
a specific subsystem/sampling station
pair.
NUttPAB - An array containing the number of
parameters measured at the various
sampling stations.
NDATE - A variable containing the beginning date
of system operation.
15
-------
SUBCOD - An array containing the codes for the
various subsystems.
Common Block FILEB: Contains the infcreation obtained
froa the FILEB segment of the Master File Director*.
SPECSB -
NPM -
PNAME -
IBP -
NUNSTA -
NO EEC -
MAXBEC -
An array containing alphanumeric
information to be used tor iaoels and
titles in the reports.
A variable containing the total number of
parameters measured in the system.
An array containing the
parameters.
names of the
An array containing the initial record
pointer for each parameter.
An array containing the number of sampling
stations at whicn a parameter is measured.
A variable containing the number of
records currently on file.
A variable containing the number of tracks
to be used when allocating more space to
the database.
Common Block
verification.
FILEC: Contains an array used in data
ALOC -
8. Subroutine
Function
a.
An array which contains the subsystem code
and sampling station number read in F11EA
data. This is compared to the information
read for FILEB and if the two files do not
correspond an appropriate error message is
written.
HBIT1T
b.
This subroutine is used to write modified Master
File Directory information onto mass storage.
Modifications may be in the form of additions
and corrections to titles and labels.
CALL WH1TIT(IADD,PSPECS,IOHT)
16
-------
where IADD - A variable denoting the type of addition
to be performed.
If IADD = 0 - no additions
1 - add a subsystem
2 - add a saapliny station
3 - add an existing paraneter to a
saapliny station
4 - add to a new parameter
PSPEC- An array containing the update information
for FILEB,
SPECS- An array containing locating information to
determine proper position in FILEA and
FILEB to insert the update data.
INCT - A variable waich contains the number cf
parameters to add.
Additional Cpanepts
This subroutine also uses the same labeled common
blocks described under Subroutine BEADIT.
9. Subroutine CEHAND
junction
a. This subroutine is actually tne demand segment
of program PREP. It allows the user to make
additions or corrections to the Master Fixe
Directory.
b. The user is prompted for all information
necessary to make the modifications requested.
There are no arguments for this subroutine, all
information is passed in labeled common bleeps.
FOBTfi AN J!£
CALL DEMAND
Additional Cements
This subroutine also uses the same labeled common
blocks described under subroutine BEAD1T.
The user is allowed the choice of,
1. making additions to the Master File Directory or
2. changing titles and headings.
17
-------
Dnder the Addition segment the user may acid
1. a subsystem,
2. a sampling station,
3. an existing parameter to a saapliny station or
4. a new parameter.
Under the change segment the user Bay change
1. the system title,
2. the subsystem titles,
3. the sampling station titles, or
4. the parameter naaes.
Whenever the user is prompted to enter a function
code, he may obtain a list of valid codes by entering
an WH" for HELP.
10. Subroutine VERDAT
function
a. Checks date or date/tine entered by user tor
accuracy.
FORTH Ajjjys
CALL VEBDAT (I DAT E , ICODE, IFL AG)
vhere IOA1E is a 3 word integer array date (Htt LL
or 4 word date/time array (tin CD YY hHfltt)
to te checked.
ICODE = 1 for 3 word uate array
2 for 4 word date/time array
IFL&G returned from routine
0 - date or date/time OK
1 - invalid date or date/ time
Ad di ti o na LfifiB men t s
The routine checks for valid aonths (1-12), the
correct number of days in each *onth (i.e. 31 is an
invalid day in September, February 29 invalid for non-
leap year) , ana a year between 1975 and 1999. Failure
to call this routine before calling CONDAT could yield
erroneous results from CONDAT.
18
-------
11. Subroutine COMDAT
Converts calendar date to Julian date.
CALL COMDAT (IDATE, JDATE)
where ICA1E is a 3 word integer calendar date m tne
fora HH DD ¥1 passed to the routine.
JUATE is returned to Main and is the single word
Julian equivalent of IDATi, on the lorn
Y.IDDD, i.e. 01/30/76 = 76030
Add.iti.9na 1 .Comments
Ihe data input to the routine should first be ch«cxed
by subroutine VE8DAT for accuracy. Incorrect dates
input will yield erroneous results.
12. Subroutine EATCON
a. Converts Julian date to calendar date.
FOBTfilN.JJsa.se
CALL CATCOM (IDATE, JDATE)
where IDATE is a 3 word integer calendar date ci tnt
fore HH OD Y¥ returned to main.
JDATE is the single word integer Julian date
passed to the routine in the form YYLLD.
lue Julian date passed to CATCGN should be cue
computed by CONDAT. If an erroneous Julian date is
passed to LATCON an error message is printca ana
program control is returned to main.
13. Subroutine CLEAR
Clears out (zeros) fOttlRAN I/O unit nuiaber so
that it aay be used for a different file.
19
-------
CALL CLEAB (NUMIT)
where NDNIT is the single word integer unit number to
be cleared.
AMi t j,o nai^ cc agents
This routine is written in UN1VAC 1100 Assembler to
link with a FORTRAN 7 Bain program. It stores zeros
in the specified location of table flTAB$ the FOBl'MAN
I/O unit number table. It is normally used aitex a
call to CLOSE which drains and releases the butters.
It should not be used for the following I/O units:
0 - reread unit
1 - PUNCH! (primary output punch file)
5 - flEAC$ (primary input file card)
6 - PBINTI (primary output file - printer)
30 - reread
14. Subroutine FBUFF
a. Stores raw data extracted from tfPDATA by program
REPGEN.
b. Produces the raw data listings of program
BEPGEM.
CALL PBUFf (P ABU, KDATE,SS,FSEg, VALUE)
where FARM is the 6 character Parameter I.D.
KOATE is single word integer Julian date/time in
the form lYDDDHHHfl.
SS is the two character subsystem/sampling
station code.
FEEQ is the single character frequency code.
VALUE is the floating point data value.
Coments
PBUFF is used only when reports with raw data listings
are requested. Each call passes one complete data
point, which is then stored in a buffer area. After
20
-------
150 points are stored in this Banner, the batter are
-------
S = 10
For zero values the normal SUBS and saaple sizes are
incremented but not the log SUBS because tne log ot 0
is undefined.
The original version of STATS which calculates noraal
statistics only, is included in source fora only as
eleaent S1A1S1.
16. Subroutine 1XPBE
a. This subroutine is used to write the control
inforaation used by the plot program TXBLUE into
a control file.
FORTH AN US£GE
CALL TYPfiE
There are no arguments for this subroutine. All
inforaation is passed in the labeled comaon olock.
Additional Sfinaeits
The inforaation needed by this program to write the
plot control file is passad via the labeled ccaaon
block described as follows:
COBBOQ Block PASS
AKEY * contains the inforaation describing line
type to be used when plotting.
SYM - contains the inforaation describing which
synbol is to be used when plotting.
TITLE - an array containing tne titling
information for the plot.
NTMIN - an array containing the earliest date/time
and day of the week code for the requested
time period.
NTMAI - an array containing the latest date/tiae
for the requested tiae period (no day of
the week code) .
22
-------
XL EN -
XMIN -
YBAX -
LOGSH -
IGBID -
a variable containing the length ot the x-
axis, in inches.
an array containing
value.
the ainiauu data
an array
value.
containing the aaxiaua data
INUM -
A variable which is usea to de term me if
the plot is to have log or linear scaling
on the y-axis. 0- linear, 1=log.
an array containing the flags turning on
or off the various options requested by
the user. These options are described in
the segment for the plot program TYBIUi,.
a variable containing the total nuoter oi
lines to be drawn on the plot. Up to 5
lines may be drawn.
17. Subroutine GPITDS
function
This subroutine is used to subnit toe plot jet tor
deaand execution. This will allow the JOD to be
processed while the user is still logged on tc the
demand terminal.
FORTRAN Usacje
CALL GPLTDS (CNTL,DATA)
where CNTL - is the file naae containing the plot
control information.
DATA - is the file case containing the
data points to be plotted.
Additional Coeaents
This prograa writes the UNI VAC ECL stateaeuts
necessary for prograa execution into a riie calleu
PLOTBUN. This file is then added to the dauana
terainal runstteaa thus allowing deaaud execution ot
the plot job. The output, both printed and punched,
is then sent to the DATA GENERAL (site l.D.
located in roca 308, EPA building.
23
-------
18. Subroutine GPLTBS
This subroutine is used to submit the plot jet tot
batch execution. This means that the job mil be
submitted into the batch job query foe execution at a
later tiae.
FORTRAN Usa^e
CALL GPLTBS (CNTL, DATA)
where CNTL - is the file name containing
the plot control information.
DATA - is the file name containing
the data points to be plotted.
J^itiESJl gcmaents
This program writes the Dm vac ECL statements
necessary to start a jobstream into a tile and then,
via a call to EKTBAN (Executive Request Subroutine)
the plot job is started as a batch job. The output,
both printed and punched, is sent to tne LAI A GiNfcRAL
(site 1.0. DATA/Q) located in room 30d, iiPA building
upon job termination.
C. ECL Files
The four remaining permanent files of the Blue Plains i/dta
Storage and Retrieval System are UNIVAC SDF tiles containing
Executive Control Language (iiCL) for running programs in
batch mode. These files were supplied so tne user need oniy
remember two ECL statements - dXQT and *ADD. In demana moue
the user would enter a)XgT pgm. In batch he would build a
runstream with an aRUN, tfADD pgm., the input data and at IN.
The diACD file would contain the hCL necessary for proper
batch program execution.
Each of the £CL filenames corresponds to the name ct tne
program it invokes, i.e. file PREP contains the LCL
necessary for the proper batch execution of program PRiP.
Following are listings of the four ECL tiles (figure
Note each file routes output (4SYM), sets page depth
sets the batch snitch (dSETC) and invoices execution
If necessary, these tiles may oe changeu using the C.D
processor.
24
-------
ECL Files
PREP.
6SYM PRINT?.,,DATAOX
@HDG X.M,64,0,4
@SETC 1
@XQT BLUEPROG.PREP
DATASTORE.
@SYM PRINT$.,,DATAOX
@HDG X.M,64,0,4
@SETC 1
@XQT BLUEPROG.DATASTORE
REPGEN.
@SYM PRINT$.,,DATAOX
@HDG X.M,64,0,2
@SETC 1
BLUEPROG.REPGEN
SYSTAT.
@SYM PRINT$.,fDATAOX
@HDG X.M,64,0,4
@SETC 1
@XQT BLUEPROG.SYSTAT
25
-------
D. fILEfl
This file is a UNIVAC SDF file and is the part ot the master
directory containing the subsystem - sampling station
parameter relationships. It vas created by program Ffir.?,
utilizing sequential formatted processing. The file
consists of four different types of records. following is a
description of each record along with FORMAT specifications.
1. System Title, Number of subsystems (N) , Beginning bate
in Julian Mode, Total Number of Sampling Stations
(10A6, 12, 11,15, IX, 12)
2. Subsystem Code, Subsystem Title, Number of Sampling
Stations for this Subsystem (fl) .
(A1, 1X,6A6,1X,I2)
3. Sampling Station Code, Sampling Station Title,
Sampling Station Number, Number of Parameters Measured
here (MX).
, 1X,6A6, 1X,213)
4. Parameter Number and Sample Frequency packed into
single word, repeated up to 14 times per record.
(14 A 4) - each A4 later decoded to 13, A1.
Per this file there is only one type I record. Type 2 is
repeated N times, each followed by B cf type 3. Each type 3
is followed by at least one type 4 record depending upcn how
many parameters are being sampled at that particular
sampling station. Thus the file is arranged hierarchically,
similar to the Blue Plains Plant Layout. following is a
listing (Figure III-3) of an actual FILEA utilized in
inp lementing the system. Note the composition of this file
is variable as information may be added or changed by
frog ram PREP.
E. FILEB
This file is a UNIVAC SDF file and is the part of the master
directory containing the parameter - subsystem sampling
station relationships. It was also created oy proyra* ffifiP
utilizing sequential formatted processing. The file
consists of three different types ot records. Following is
a description of each record along wath FORMAT
specifications.
1. Current Number of Parameters (N), Current Number of
Records in BPDATA, Current Maximum Number of Records
in BPDATA.
(315)
26
-------
FILEA.
l» EPA-DC PILOT PLANT WASTEWATER R.EUSE TREATMENT SYSTEM
2. H LIME CLARIFICATION 7
3. 0 RAW WASTEWATER 1 2
4. 1C 3G
5. 1 SCREENED RAW WASTEWATER 2 35
6. 4G 6G 28D 29D 30D 31D 32D 33D 34D 35D 36D 39D 40D 41D
7. 42D 48G 49G 50G 51G 52G 53G 54G 55G 56G 57G 58G 59G 96G
8. 101G 99G 60G103G 61G 62G102G
9. 2 COLUMN AND FILTER BACKWASH RECYCLE 3 2
10. 1C 7G
11* 5 FLOCCULATION TANK 4 8
12. 4G 35D 37D 9G 10G 11G 12G 8G
13. 7 LIME CLARIFIED EFFLUENT 5 27
!*• 5G 6G 28D 29D 30D 31D 32D 33D 34D 35D 36D 39D 40D 41D
15. 42D 48G 49G 50G 51G 52G 53G 54G 55G 56G 57G 58G 59G
16. 8 LIME SLUDGE RECYCLE 6 1
17. 1G
18. 9 LIME SLUDGE WASTED 7 5
19. 2G 35D 37D 38D 13G
20. A NITRIFICATION 9
21. 0 NITRIFICATION FEED 8 2
22. 4G 3G
23. 1 REATOR PASS ONE 9 1
24. 14G
25. 2 REACTOR PASS TWO 10 6
26. 4G 6G 15G 14G 35D 36D
27. 3 REACTOR PASS THREE 11 1
28. 14G
29. 4 REACTOR PASS FOUR 12 6
30. 4G 6G 15G 14G 35D 36D
31. 6 CLARIFIER BED 13 1
32. 16G
33. 7 NITRIFICATION EFFLUENT 14 13
34. 1G 4G 6G 14G 28D 29D 30D 31D 32D 33D 34D 35D 36D
35. 8 NITRIFICATION RECYCLE 15 4
36. 1C 15G 35D 36D
37. 9 NITRIFICATION WASTE 16 2
38. 2G 13G
39. I DENITRIFICATION 10
40. 0 DENITRIFICATION FEED 17 4
41. 17G 18G 19G 43D
42. 1 COLUMN ONE 18 1
43. 20G
44. 2 COLUMN TWO 19 1
45. 20G
46. 3 COLUMN THREE 20 1
47. 20G
48. 4 COLUMN ONE EFFLUENT 21 1
49. 14G
50. 5 COLUMN TWO EFFLUENT 22 1
51. 14G
Figure III-3
27
-------
52. 6 COLUMN THREE EFFLUENT 23 1
53. 14G
54. 7 DENITRIFICATION EFFLUENT 24 33
55. 28D 29D 30D 31D 32D 33D 34D 35D 36D 64G 60G 65G 66G 67G
56. 68G 69G 70G 71G 72G 73G 74G 75G 76G 7 7G 78G 79G 80G 81G
57. 82G 83G101G102G 63G
58. 8 SPLITTER BOX A 25 1
59. 14G
60. 9 SPLITTER BOX B 26 2
61. 14G 13G
62. J CARBON ADSORPTION 4
63. 1 LEAD CARBON COLUMN 27 3
64. 20G 30D 34D
65. 2 SECONDARY CARBON COLUMN 28 3
66. 20G 30D 34D
67. 3 TERTIARY CARBON COLUMN 29 3
68. 20G 30D 34D
69. 7 CARBON COLUMN EFFLUENT 30 16
70. 20G 22G 14G 28D 29D 30D 31D 32D 33D 34D 35D 64G101G102G
71. 13C 63G
72. K FILTRATION 5
73. 0 FILTER FEED 31 3
74. 23G 24G 25G
75. 1 FILTER ONE 32 1
76. 21G
77. 3 FILTER THREE 33 1
78. 21G
79. 4 FILTER FOUR 34 1
80. 21G
81. 7 FILTRATION EFFLUENT 35 15
82. 4G 22G 28D 29D 300 31D 32D 33D 34D 35D105D 84G 85G 96G
83. 13G
84. L DISINFECTION 2
85. 0 DISINFECTION FEED 36 1
86. 26G
87. 7 DISINFECTION EFFLUENT 37 79
88. 4G 6G 3G 14G 22G 27G 28D 29D 30D 31D 32D 33D 34D 35D
89. 37D 39D 44D 45D 40D 42D 41D 46D 47D104G103G 64G 86G 87G
90. 60G 88G 89G 90G 91G 92G 93G 94G 61G 95G 62G 48G 49G 50G
91. 51G 52G 53G 54G 55G 56G 57G 58G 59G 65G 66G 67G 68G 69G
92. 70G 71G 72G 73G 74G 75G 76G 7 7G 78G 79G 80G 81G 82G 83G
93. 100G 96G101G 99G 97G 98G102G 13G 63G
94. M ION EXCHANGE 2
95. 0 ION EXCHANGE FEED 38 1
96. 1G
97. 7 ION EXCHANGE EFFLUENT 39 21
98. 4C 6G 3G 27G 28D 29D 30D 31D 32D 33D 34D 35D 39D 44D
99. 45D 40D 42D 46D 47D102G 13G
28
-------
FILEB.
NJ
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
105
FLOW 1
C 1
G 14
FLOW 2
G 7
TEMP
C 1
G 39
PH
C 2
G 10
C 35
ALK P
C 5
ALK MO
C 2
G 12
C 39
KW HRS
G 3
FE FED
G 4
LIME
C 4
FE ADD
C 4
FE CMC
G 4
FE DLM
G 4
ON THE
G 7
C 30
G 39
DO
C 9
C 12
C 22
C 26
SV
G 10
BED LV
G 13
M FEED
703 800
GPM
.00000000
.00000000
GAL
.00000000
DEGREES C
13.000000
13.000000
UNITS
6.0000000
6.0000000
6.0000000
PPM
20.000000
PPM
70.000000
40.000000
.00000000
KWH
.00000000
ML/MIM
100.00000
LBS
.00000000
GAL
.00000000
LBS/GAL
2.0000000
GAL
.00000000
HRS
.00000000
.00000000
.00000000
PPM
1.0000000
1.0000000
.00000000
3.0000000
ML/L
50.000000
FT
2.0000000
ML/MIN
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
6
50.000000
50.000000
2
300.00000
4
28.000000
28.000000
9
8.0000000
8.0000000
8.0000000
1
120.00000
7
150.00000
150.00000
30.000000
I
24. 000000
1
350.00000
1
1
1
20.000000
1
5.0000000
1
200.00000
7
24.000000
24.000000
24.000000
12
7.0000000
7.0000000
3.0000000
9.0000000
3
1000.0000
1
12.000000
1
G
G
G
C
C
G
G
G
C
C
G
G
C
G
G
G
3
15
16
8
4
12
37
5
14
16
35
10
14
23
30
12
.00000000
.00000000
.00000000
13.000000
9.0000000
6.0000000
6.0000000
100.00000
40.000000
.00000000
.00000000
1.0000000
1.0000000
.00000000
.00000000
50.000000
10.000000
15.000000
26.000000
28.000000
11.000000
8.0000000
8.0000000
200.00000
150.00000
24.000000
24.000000
7.0000000
7.0000000
3.0000000
2. 0000000
1000.0000
C 6
C 38
G 37
G 8
G 14
G 39
C 10
C 37
G 26
G 37
C 11
C 21
C 25
G 37
G 15
.00000000
.00000000
13.000000
9.0000000
6.0000000
.00000000
40.000000
40.000000
.00000000
.00000000
1.0000000
.00000000
3.0000000
.00000000
700.00000
10.000000
6.0000000
28.000000
11.000000
8.0000000
8.0000000
•
150.00000
140.00000
24.000000
24.000000
7.0000000
3.0000000
9.0000000
4.0000000
1000.0000
Figure III-4
-------
46.
47.
48.
49.
50.
SI.
52.
S3.
54.
55.
56.
57.
58.
59.
60.
61.
62.
C 17
M ADD
C 17
M DILM
C 17
G
C
C
G
C
A
G
AL
G
DP 1
18
27
30
DP 2
32
TURB
30
FEED
31
ADD
31
.00000000
L
.00000000
GAL
.00000000
PSIG
.00000000
.00000000
.00000000
IN H20
.00000000
FTU
.00000000
NL/MIN
.00000000
LBS
.00000000
18
19
20
21
22
23
24
300. 00000
1
12.000000
1
95.000000
7
25.000000
35.000000
35.000000
3
125.00000
3
3.0000000
1
300.00000
1
3.0000000
G
G
G
G
19
28
33
35
.00000000
.00000000
.00000000
.00000000
25.
35.
125
000000
000000
.00000
3.0000000
G 20
G 29
G 34
G 37
.00000000
.00000000
.00000000
.00000000
25.000000
35.000000
125.00000
3.0000000
63
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
89.
90.
A DILM
G 31
CL2 PD
G 36
COMD
C 37
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
TOC
2
24
37
BOD
2
24
37
COD
2
24
29
37
TP04
2
24
37
TUN
2
24
37
NH3
GAL
.00000000
LBS/DAT
.00000000
MHOS
100.00000
PPM
50.000000
.00000000
.00000000
PPM
50.000000
.00000000
.00000000
PPM
ISO. 00000
.00000000
.00000000
.00000000
PPM
5.0000000
.00000000
.00000000
PPM
10.000000
.00000000
.00000000
PPM
25 1
100.00000
26 1
4.0000000
27 2
600.00000
28 8
150.00000
20.000000
15.000000
29 8
200.00000
15.000000
15.000000
30 11
350.00000
40.000000
20.000000
15.000000
31 8
25.000000
1.5000000
1.5000000
32 8
30.000000
4.0000000
4.0000000
33 8
G
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
39
5
30
39
5
30
39
5
27
30
39
5
30
39
5
30
39
.00000000
10.000000
.00000000
.00000000
25.000000
.00000000
.00000000
50.000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
5. 0000000
.00000000
.00000000
600.00000
50.000000
15.000000
10.000000
75.000000
15.000000
10.000000
150.00000
30.000000
20.000000
15.000000
3.0000000
1.5000000
1.5000000
20.000000
4.0000000
4.0000000
D
D
D
D
D
D
D
D
D
D
D
14
35
14
35
14
28
35
14
35
14
35
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
15.000000
15.000000
10.000000
15.000000
40.000000
25.000000
20.000000
2.0000000
1. 5000000
4.0000000
4.0000000
-------
91.
92.
93.
94.
95.
96.
97.
98.
99.
100.
101.
102.
103.
104.
105.
106.
107.
108.
109.
110.
111.
112.
113.
114.
US.
116.
117.
118.
119.
120.
121.
122.
123.
124.
125.
126.
127.
128.
129.
130.
131.
132.
133.
134.
135.
0
D
D
2
24
37
N02M03
D
D
D
D
D
D
0
D
D
D
D
D
D
D
D
D
D
D
D
0
D
M
0
D
D
D
0
G
2
24
29
37
SS
2
7
14
30
39
VSS
2
12
24
TS
4
TVS
7
TDS
2
39
CA
2
39
PB
2
MC
2
39
TOC
17
CL
37
S04
37
MA
37
K
37
AC
2
5.0000000
.00000000
.00000000
PPM
.00000000
.00000000
.00000000
.00000000
PPM
50.000000
10000.000
.00000000
.00000000
.00000000
PPM
25.000000
1000.0000
.00000000
PPM
1500.0000
PPM
3000.0000
PPM
150.00000
.00000000
PPM
20.000000
.00000000
PPM
.00000000
PPM
2.0000000
.00000000
• PPM
3000.0000
PPM
50.000000
PPM
40.000000
PPM
25.000000
PPM
5.0000000
PPB
.00000000
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
25.000000
2.0000000
2.0000000
11
.50000000
10.000000
10.000000
10.000000
13
200.00000
25000.000
20.000000
5.0000000
5.0000000
7
150.00000
3000.0000
10.000000
3
3500.0000
1
8000.0000
4
400.00000
200.00000
4
40.000000
4.0000000
3
2.0000000
4
8.0000000
2.0000000
1
12000.000
2
80.000000
2
60.000000
2
50.000000
2
15.000000
3
5.0000000
D
D
D
D
D
D
D
D
D
0
D
D
D
D
0
D
D
D
D
D
D
D
C
5
30
39
5
27
30
39
4
10
15
35
5
14
7
5
5
5
5
39
39
39
39
5
5.0000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
1200.0000
1500.0000
5000.0000
.00000000
5.0000000
.00000000
10000.000
200.00000
40.000000
.00000000
1.0000000
.00000000
.00000000
.00000000
.00000000
.00000000
20.000000 D 14
2.0000000 D 35
1.5000000
.50000000 D 14
10.000000 D 28
10.000000 D 35
10.000000
3500.0000 D 5
3500.0000 D 12
25000.000 D 24
5.0000000 D 37
40.000000 D 10
15.000000 D 15
25000.000 D 37
500.00000 D 37
70.000000 D 37
1.0000000 D 37
7.0000000 D 37
8.0000000
2.0000000
15.000000
5.0000000
.50000000 G 37
.00000000
.00000000
5.0000000
.00000000
.00000000
5.0000000
1500.0000
.00000000
.00000000
1000.0000
3000.0000
200.00000
200.00000
40.000000
.00000000
1.0000000
2.0000000
2.0000000
15.000000
10.000000
10.000000
100.00000
3500.0000
15.000000
5.0000000
3000.0000
19000.000
500.00000
500.00000
70.000000
1.0000000
7.0000000
.00000000
.50000000
-------
136.
137.
138.
139.
140.
141.
142.
143.
144.
145.
146.
147.
148.
149.
150.
151.
152.
153.
154.
155.
156.
157.
158.
159.
U> 1*0-
to 161.
162.
163.
164.
165.
166.
167.
168.
169.
170.
71.
72.
73.
74.
75.
76.
177.
178.
179.
180.
AS
C 2
BA
C 2
CD
G 2
CR
C 2
CU
C 2
HG
G 2
MM
C 2
PB
G 2
SE
G 2
ZN
G 2
F
G 2
MBAS
G 2
CN
G 2
PHENOL
G 2
UV 1
G 24
UV 2
C 24
ALDRIN
G 24
CHLDAN
C 24
DDT
C 24
DIELDR
G 24
ENDRIN
G 24
HEPTAC
C 24
HPEPOX
PPB
.00000000
PPB
.00000000
PPB
.00000000
PPB
.00000000
PPB
.00000000
PPB
.00000000
PPB
.00000000
PPB
.00000000
PPB
.00000000
PPB
.00000000
PPM
.00000000
PPM
.00000000
PPB
.00000000
PPB
.00000000
(212) ZT
.00000000
(290) ZT
90.000000
PPT
.00000000
PPT
.00000000
PPT
.00000000
PPT
.00000000
PPT
.00000000
PPT
.00000000
PPT
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
-65
-66
-67
-68
-69
-70
-71
3
6.0000000
3
300.00000
3
5.0000000
3
100.00000
3
100.00000
3
1.5000000
3
300.00000
3
40.000000
3
15.000000
3
400.00000
3
1. 5000000
3
15.000000
2
15.000000
2
20.000000
3
10.000000
3
100.00000
2
20.000000
2
20.000000
2
20.000000
2
2.0000000
2
10.000000
2
5.0000000
2
C
C
C
G
G
G
C
C
G
G
G
C
G
G
G
G
G
G
G
C
C
C
5
5
5
5
5
5
5
5
5
5
5
24
37
37
30
30
37
37
37
37
37
37
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
90.000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
5.0000000
200.00000
1.0000000
20.000000
50.000000
1. 5000000
20.000000
1. 5000000
15.000000
20.000000
1.5000000
1.0000000
10.000000
10.000000
10.000000
100.00000
10.000000
20.000000
20.000000
2.0000000
10.000000
5.0000000
G
G
C
G
G
G
G
G
C
G
G
G
G
G
37
37
37
37
37
37
37
37
37
37
37
37
37
37
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
90.000000
5.0000000
200.00000
1.0000000
20.000000
50.000000
1. 5000000
20.000000
1. 5000000
15.000000
20.000000
1.5000000
1.0000000
10.000000
100.00000
-------
181.
182.
183.
184.
185.
186.
187.
188.
189.
190.
191.
192.
193.
194.
195.
196.
197.
198.
199.
200.
201.
202.
203.
204.
U) 205.
U) 206.
207.
208.
209.
210.
211.
212.
213.
214.
215.
216.
217.
218.
219.
220.
221.
222.
223.
224.
225.
C 24
L1NDAN
C 24
MEOXCL
G 24
SILVEX
G 24
TOXPUN
C 24
24D
C 24
245T
C 24
245TP
G 24
DIAZIN
C 24
CUTHON
C 24
MALATN
C 24
PA RATH
C 24
SEVIN
C 24
ODOR
G 35
CL DHD
G 35
CCE
G 37
CAE
C 37
P ARGN
G 37
T CLFM
G 37
F CLFM
C 37
TTL CT
G 37
SALMNL
C 37
PSDMDS
G 37
.00000000
PPT
.00000000
PPT
.00000000
PPT
.00000000
PPT
.00000000
PPT
.00000000
PPT
.00000000
PPT
.00000000
PPT
.00000000
PPT
.00000000
PPT
.00000000
PPT
.00000000
PPT
.00000000
UNITS
.00000000
PPM
.00000000
PPM
.00000000
PPM
.00000000
ORG/100 ML
.00000000
ORC/100 ML
.00000000
ORG/100 ML
.00000000
ORC/100 ML
.00000000
ORG/100 ML
.00000000
ORG/100 ML
.00000000
-72
-73
-74
•
-75
-76
-77
-78
-79
-80
-81
-82
-83
84
85
-86
-87
88
89
90
91
92
-93
2.0000000
2
10.000000
2
80.000000
2
100.00000
2
100.00000
2
100.00000
2
100.00000
2
100.00000
2
10. 000000
2
400.00000
2
20.000000
2
20.000000
2
100.00000
1
5.0000000
1
10.000000
1
5.0000000
1
5.0000000
1
5.0000000
1
5.0000000
1
5.0000000
1
200.00000
1
5.0000000
1
10. 000000
G
G
G
G
G
G
G
G
C
C
G
G
G
37
37
37
37
37
37
37
37
37
37
37
37
37
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
.00000000
..,0000000
2.0000000
10.
80.
000000
000000
100.00000
100
100
100
100
10.
400
20.
20.
100
.00000
. 00000
.00000
.00000
000000
.00000
000000
000000
.00000
-------
OJ
226.
227.
228.
229.
230.
231.
232.
233.
234.
235.
236.
237.
238.
239.
240.
241.
242.
243.
244.
245.
246.
247.
248.
249.
250.
251.
FR CL2
G 37
COLOR
C 37
VIRUS
C 2
G ALPH
G 37
C BETA
G 37
TRIBNZ
G 2
CH30H
C 37
PAHS
G 2
37
ORG ID
G 2
C 37
HRDNSS
C 2
CA STB
G 37
AL
D 35
PPM
.00000000
UNITS
.00000000
PFU/100 GAL
5000.0000
PCI/L
.00000000
PCI/L
.00000000
PPB
.00000000
PPM
.00000000
PPB
.00000000
.00000000
PPB
.00000000
.00000000
PPM
70.000000
UNITS
-10.000000
PPM
.00000000
94
95
-96
-97
-98
-99
-100
-101
-102
103
104
105
1
10.000000
1
5.0000000
3
80000.000 G 35
1
2.0000000
1
10.000000
2
50.000000 G 37
1
10.000000
4
1000.0000 24
300.00000
5
1000.0000 G 24
300.00000 C 39
2
130.00000 G 37
1
10.000000
1
1.0000000
.00000000
.00000000
.00000000
.00000000
.00000000
80.000000
10.000000 G 37
50.000000
.00000000
10.000000
500.00000
30 .00000000
500.00000 G 30 .00000000
200.00000
170.00000
300.00000
300.00000
-------
2. Parameter I.D., Chemical Units, Initial Record
Pointer, Number of stations Sampled at (N) .
(Ab, A12, 15, 13)
3. Sample Frequency, Sampling Station Number (packed into
single word) , Acceptable Minimum and Haxiaum, repeated
up to 3 times per record.
((3(A4,2616.8))) - the AU is later decoded into A1,13.
Fcr this file there is only one type 1 record. The type two
record is repeated N times, each being followed cy a uuj&ber
of type 3 records until all n sampling stations are
accounted for. Following is a listing (Figure III-4) or an
actual FILEB utilized in implementing the system. Note the
composition of the file is variable as it is teing
constantly updated by DATASTOBE and can be expanded by PR hi1.
F. BPCATB
This file is where the water quality data is actually
stored. It is a UNIVAC SDF file, utilizing unformatted
direct access processing. Initially each parameter is
assigned one record. When that record is filled, another is
assigned so as a particular study increases in length and
more data is collected for a given parameter, more records
are assigned to that parameter. A set uuaber of records
(300) are initially assigned to the file. When all records
have been used, the file is dynamically expanded, thus
reducing the need to have a lot of assigned empty space.
Each record is 132 words long, with 129 being used to store
data points (3 words per point; 43 data points total) and
the ether three being used for system information. The word
is divided as follows:
Word 1 - Current Hunter of Data Points (N, 1 _NJ*3) n» this
record.
Word 2 - Earliest and Latest Uate contained in tnis record
in packed Julian format (YXDDOODDD) .
Words 3-131 - The 43 data points containing:
1. Sampling Station Number
2. Julian Date/Time in the form YYDDDHHttM
3. Floating Point Data Value
Word 132 - Pointer to Continuation Becord.
Given all of the above information, any program using this
file can efficiently locate any set of points.
35
-------
Section *
Introduction to the UNIYAC 1110
&. Geneial information
Two different types of remote terminals are utilized by the BLUE
PLAINS Data storage and Betrieval System for communicating *ith
the UNI VAC 1110 at fiesearch Triangle Park, North Carolina. Ihey
are:
Low Speed Terminals (300 ba"d)
Anderson-Jacobson 830
Anderson-Jacotson 630
Texas Instruaent Silent 700
Tektronix 4012
Medium Speed Terminals (between 2000 and 4800 baud)
Data 100/78 configured as a UtuvAC 1004
Data General 840 configured as a UNIVAC 1004
Both terninal types are linked to the main computer system via
telephone lines. For the low speed terminals, a character is
struck, translated to electrical impulses by the terminal, sent
through an acoustic coupler to a normal dial-up telephone, and
down the phone lines to the main computer. This pathway is
reversed when the computer sends a character to the terminal.
The iiediui speed terminals work in very much the same way but
instead of single characters of information being the unit of
information a more sophisticated version of an acoustic coupler
is used, and a dial up telephone may or may not be used. Thus
for both terminal types a two-way communications link may be
established with the main computer.
Certain abbreviations and conventions will be used in this
section. All dialogue to and from the computer will be on the
left side of the page, with dialogue from the computer
UHDEBLINJLD. A (CR) indicates a carriage return. The letters
CTBL-x, where x is any key on the keyboard, means strike the CTBL
key and the other key simultaneously. Thus, CTRL-C means strike
the CTBL key and the C key simultaneously.
Cauticn: Be sure tc differentiate between a zero ana the Ittter
0. Interchanging these two symbols could result in a
disaster.
36
-------
B. Ihe ONI?AC 11 10
The UNIVAC 1110 is a large scale computer which may service many
different requests for'data processing tasks from users all ever
the country. These tasks or "runs" are scheduled and serviced by
a master program (operating system or executive) called EXEC tt.
The user tells EXEC d exactly what it is he wants aoae oy usu^ a
language called Executive Control Language (ECL) . An ECL cciuinand
is distinguished from other languages and control statements by
the presence of an at sign (d) in column 1 followed by a mnemonic
name i.e. oDXQT for execute, dASti tor assign, <*FOK xor a FOfilfiAN
compile, etc. A set of these commands defines a run aj.d in
UHIVAC terminology is called a runstream. A ruu btyins with au
SBUN statement defining the run and ends with an *FIfo statement
denoting run termination.
Bunstreams nay be processed in one of two different mooes, lu
latch mode, the user assembles a whole runstream )
sign.
The runstream is submitted to the UNIVAC utilizing either a low
speed terminal by keying in the J3CL statements or a medium sj-ted
terminal with all ECL and program input punched on cards. Each
of these terminal types is known to the UNIVAC by a unique six
character site identification number assigned to each terminal by
BTP similar to a HASP remote job entry terminal number. Output
from a run submitted from one site is returned to the same site,
unless the user specifies otherwise.
The BLUE PLAINS Data Storage and Retrieval System utilizes both
batch and demand mcde processing, as some programs will oniy
execute in batch while others may be executed in either aodt.
For further information on the UNIVAC 1110 and iiiEC a, refer to
the publication Sjgero MiIA£ 1L2S Series Executive System, UP-
-*•
37
-------
C. Demand Terminal Session Initialization and Termination
This section contains instructions for initializing ana
terminating demand terminal sessions. This process is analogous
to log en/ logoff procedures for a system line lull's ISO or
login/killjob procedures fcr the DEC System 10. Since each of
the four lew speed terminal types now in use by CSSD must te set
up differently, they will be dealt with individually, up to the
point of dialing up the UN I VAC. After that point, they all
behave siailarly.
1. Terminal Setup for the Anderson-Jacobson 830
a. Set LIN/LOC switch to LIN.
b. Set terminal power switch to ON.
c. If the red power light on the coupler does not come
on, switch on power to coupler * this switch shcuia
remain in tb€ ON position.
d. Lift the lid of the terminal and set the toggle
switches as fellows:
CODE ASCII
RATE HI
U/C ALPHA CN
LF 1
PITCH 10
PAR CHK OFF
AUTO RET CN
OOP HALF
e. Strike the following keys:
ESC - c - 0 - 0 - 1 (zero, zero, one) .
This sets the internal form length to one line tc
ss form feeds from the UNIVAC.
2. Terminal Setup for the Anderson-Jacobson 630
a. Sat LIN/LOC switch to LIN.
b. Set terminal power switch to ON.
c. If the red pcwer light on the coupler does not cooe on,
switch on power to coupler - this switch should remain
in the ON position.
d. Lift the lid of the terminal and set the toggle switches
as follows:
RATE 30
DUPLEX HALF
ALPHA
LOU CFF
AUTO
38
-------
RET ON
PAR
CHK OFF
3. Terminal Setup foe the Texas Instrument silent 700
a. Switch power CM.
b. If on-line light is not lit, depress on-line key (on
top cow of keyboard).
c. Set BAUD switch to 300.
d. Set DUPLEX switch to half.
e. If terminal is equipped for upper/lower operation,
set upper case switch ON.
4. Terminal Setup for the Tektronix 4012
a. Set transmit and receive speed rotary swatches to 300
baud.
b. Set duplex switch to half, normal.
c. Hake suce TTY lock key is depressed.
d. Turn power ON - when screen illuminates, strike reset
key.
5. Session Initialization
Now that the terminal is properly set up dial up one oi the
following numbers:
FTS HATS
8-629-2176 9-1-800-334-8521
8-629-2223 9-1-800-334-8525
6-629-2416
8-629-2521
8-629-2512
8-629-2661
8-629-2713
8-629-2917
If any number is busy, try another. If all lines are busy, try
again later in the day, or call George Scruggs (8-629-2Jb5) and
ask for an open line. If two or more numbers ring but do not
answer, the system is prcbably down. Dial the status number (8-
629-2226) to find out when the system will be back up.
If a high-pitched tone is heard, place the handset into the
cradle of the coupler and perform the following sequence of
commands.
XXXXXX Type in your 6 character site I.D. - it can be
found on a sticker affixed to the terminal. A
(Cfi) is not needed.
39
-------
- VEB. It. &2B*
System responds to your site I.D. by printing a
header.
C, (BS) (CR) Set the backspace as a character for AJB30,
or AJ630, TK4012. Set d)a»TTY C, (Ci<) the back
arrow foe TI700.
COMPLETE
H,132 (CB) For AJ830 and AJ630, set carriage width
ot 132 characters. The default width is
80 characters.
o)RUN BLUE/6403aBLU£e,BlUEEl, 10 (Cfi)
Initiate the deaaiid run. Your run 1.0. is BIUL,
under account 64034dLUEP, project BLUEPL ana you
are requesting 10 SUP uxnutes 01 processing.
DATEi060J76_TIME:._J50000
Sjsteai responds with the date and tine. Note
that here is where the system begins prccptiag
for input.
a)S£TC,X (CRj This line suppresses printing of some useless
systea information.
New you may proceed onto processing.
6. Session Termination
To terminate a desand session, enter the following coaaands;
Tell the system you are finished.
i_BLUE __ ACCT; 64034BJ.UEP
"
TIflEj. _TOTAL _ CBSUPS
~~
System prints out final run accounting
information^ then tells you it is finished
having nothing else to do.
(CR) Tell the system its OK to drop the line, ihe
carrier light should then go out. Hang up the
phone and turn the power off for the terminal.
40
-------
U. Error correction Procedures
For an incorrect character, just backspace to tne incorrect
character, and retype froa that point, for the AJdJU, AJbJU
and TK4012. For. the TI700, strike the back, arrow («-) key
to simulate a backspace, i.e. it a mistake was made live
characters ago, strike the back arrow live times, then
retype from that point.
To delete an entire line, strike ClBL-x. The systea
give a carriage return, line feed but no additional
Just retype the entire line.
41
-------
Section 5
OPEBATIHG INSTRUCTIONS FOB THE
BLUE PLAINS DATA STORAGE AND RETRIEVAL SYSTEM
A. GINEBAL
Ihis section contains the instructions for running tne
programs of the Blue Plains Data Storage ana Retrieval
System. If you have not yet read Section four of this
manual (Introduction to the USIVAC 1110), do so before going
any further in this section.
The remainder of this section is dividad into several
subsections, each detailing instructions for running a
different program. Within each subsection both, batch and
demand execution Mill be dealt with. In the batch segment,
any special inptt forms needed will be saown as well as a
sample runstream. Note for brevity the entire run card mil
net be shown: aBUN ... will stand for an entire valid run
card, the format of which is shown in Section Four. In the
demand segment, an actual demand run will be shown. All
messages printed by the program are typed normally. lour
input to the program is proceeded oy the standard
solicitation character (> ) .
Before any programs are executed in demand mode, the user
should copy the program library to the system temporary file
TPF$. by entering the following command: d COPY
B LOBE BOG. ,TPF$.
42
-------
The function of this program is the creation and maintenance
of the Master Directory which contains the configuration of
the treatment system. Because of the expected large vclume
of input, the creation of the directory is limited to batch
aode. The maintenance of the directory includes changing
titles or parameter names or adding subsystems, sampling
stations or parameters and is limited to demand node.
1« E&ICH PROCESSING
For ease in the creation of the Master Directory, a matrix
should be drawn showing the system configuration tefore
filling out the coding sheets. Figure V-1 shows such a
matrix. Note there are two subsystems, with 4 and 3
sampling stations respectively arranged across the top ot
the page with four different parameters. The actual entries
withit the matrix are the valid sample frequency codes.
Caution - if at a given sampling station the same actual
parameter is measured under different frequencies (i.e., one
is a grab, one is a composite), enter as two distinct
parameters, foe instance: DO1 and 002 ror two different
measures of dissolved oxygen. This differentiation should
also be used where the measurements are taken using
different chemical units, i.e. FLOi 1 measured in
gallons/hour and FLOW 2 in thousand gallons/day.
SUBSYSTEM/SAMPLING STATIONS
B.
1234 123
£ar.§.jeter
PH G G 0 D
DO G G
FLOW G G G
TEHP G G G G
You are now ready to fill out the coding rorms. First,
parameter information to be stored in FILEB is filled out.
The total number of parameters is coded onto FILEB Card lype
1 (Figure V-2) . Be sure this number is lia&t lustlfisd on
the five position field (all fields should be right
justified on all ceding forms unless otherwise noted). Now,
for each of the parameters a FILEB card Type 2 (Figure ¥-3)
is filled out.
Each Card Type 2 is followed by one or a number of Fil€ B
Card Type 3*s (Figure V-4). Each subsystem/ sampling station
43
-------
BLUE PLRIN5 PILOT TREflTMENT PLflNT
CflRD TYPE 1 - FILEB PflRflMETER INFORMflTION
TM15 CflRO 15 ONLY FILLED OUT ONCE
KEY
TNT* - TOTflL. NUMBER OF PfWWMETERS MEflSURED
Figure V-2
-------
BLUE PLfllNS PILOT TREATMENT PLflNT
CflRD TYPE 2 - FILEB PflRflMETER INFGRMflTION
THRU.
TF*
-
—
UCHIO*
UNIT CODE
ts
CMC CflTO MILL BE CWTltTED FOR tflCH PHRfWETER
KET
NS - MUMBER OF MTLINC 3TflTlON5 HHERE THIS nWflMETER 15 MEflSUKEO
Figure V-3
-------
BLUE PLfllNS PILOT TREATMENT PLflNT
CflRD TYPE 3 - FILEB PflRflMETER INFORMflTION
en
1
I
-
-
-
-
p
s
CD
,
,
-
-
-
i-
-
-
•
^
-
IV
ei
i
_
-
-
-
-
r
n
UL
-
-
-
-
-
f*
JOU£
-
-
H-
—
—
—
a
MJE
Vt U 46 <:u
r
-
uJ
U)
HINIIM<
—
-
-
-
-
-
IMtlMM
itrwrwTioh 13 NCTEMTEO ON CHOI c*wo «4 TIMES.
" "»* ™N 20 PMWCTER LOCATIONS USE HULTinf COOIIC SHEETS
El
S
-
-
-
-
-
63
-
-
-
-
-
p
IHMNM
-
-
-
-
wim*.
JT
33
CO - SUBSnTDl/SmrLINC STffTHM CODE
Figure V-4
-------
where a parameter is to be Measured Bust be represented. Up
to four subsystem/sampling stations Bay be coded on a single
card. For more than four stations, use additional cards.
In this card, ST represents sample frequency (sample
frequencies and sample type are used synonymously) . The
micimua and maximum values are used to:
1. Check for keypunch errors. If at a given
station values around 5 are expected, 0.0 and
10.0 aay be coded as minimum and maxiaua check
values. Do not make the range too tight; any
data value outside this range will initially be
rejected as a keypunch error.
2. Set a lower or upper limit of resolution. If a
particular test has a lower liait of . 1, set
that as the lower limit. Then when entering
data, instead of entering .1 (an error for this
system) .09 may be entered with an accept fo.ag
(covered later).
Once all FILEB cards have been filled out, begin filling cut
the FILEA cards which contain subsystem/sampling station
descriptions. One FILEA Card lype 1 (Figure V-b) is filled
out. Fhe date filled in is the starting date of a study or
blcck of information and is used to check all other dates
entered into the system. Mow fill out one FILEA Card Type 2
(Figure V-6) for each subsystem, each followed by one tlliiA
Card lype 3 (Figure V-7) for each sampling station. Each
type 3 card is followed by one or many FILEA Card lype 4
cards (Figure V-8) which detail the parameters measured at
that particular subsystem/sampling station. At first the
whole arrangement may seem confusing; but it is really a
simple, straightforward, hierarchical arrangement where each
card type expands upon the previous one.
When all forms are coded, they should be keypunched and
submitted for processing. Following is a sample runstream,
constructed from the example matrix on Figure V-1. Upon
successful run termination the user is informed FILEA and
FILEE are ready to use.
DEJJjlMJD PROCESSING
The denand portion of PHEP is used to maintain the Master
Directory. It is a bit easier to use than the batch portion
in that the program "asks" the user for the information ail
in the correct order.
47
-------
CO
BLUE PLfllNS PILOT TREATMENT PLflNT
CflRO TYPE 1 - FILER ST5TEM TITLE
1
STStEH TITLt
. ,
-
-
62
NO
-
K
M
-
-
a 71
m
-
-
NO
THIS CflRD IS ONLY FILLED OUT ONCE
KEY
NO - MONTH
OH - OPT
YR - row
NO 99 - TOTRL MMER OF 9UBYSTEH9 IN THIS OMFIGUfVniON
Figure V-5
-------
BLUE PLfllNS PILOT TREflTMENT PLflNT
CflRD TYPE 2 - FILEfl SUBSYSTEM INFORMflTION
SUBSYSTEM TITLE
fO
CVC CflRO MILL BE COfCLETEO FOR EflCH SUBSYSTEM
KEY
SC - SUBSYSTEM COPE
NS - NUMBER OF SftTLING STRTIONS FOR THIS SUBSYSTEM
Figure V-6
-------
BLUE PLHIN5 PILOT TREflTMENT PLflNT
CflRD TYPE 3 - FILER SAMPLING STflTIGN INFGRMflTIGN
3 IIQ
3
5
—
«•
MTLINC MOTION TITLE
lllllllllillllllilllllllllllltl.il!
NT
ONE CflTO MILL BE COMPLETED FOR EflCH 3WTL1NC 3TflTION
KEY
bS - SAMPLING STflTION CODE
NP - NUMBER OF PflRflMETERS MEB9URED flT THIS STflTION
Figure V-7
-------
BLUE PLfllNS PILOT TREATMENT PLflNT
CflRD TYPE 4 - FILEfl PORflMETER INFORMflTION
IJt.
.....
-
-
-
-
-
-
1
J
_—
._.-.
-i-
:==
==
==
"
ij».
.....
.....
.....
=
-
-
-
™
••
»
L_
=.
-j-
^1
^:
=
El
nwi.
z
-
-
-
-
~
a
s
__
_
—
—
— —
=
n
3
z
i
i
i
-
5f »l IB SI SB
9
—
=
=
riM.
z
z
*-
»
C
—
zz
zz
—
ram.
-
-
3
i
=
SI
-
-
-
-
-
SB
S
71 71
-
-
I
S
immrriaN is NEWTED w not cm • TI«S.
FOR MK TNM W IH>U.IUU WE MfLTIFU OOINC
HCT
Figure V-8
-------
Ihe following example denonstrates the options available to
the user for denaad execution of PfiEP. The Master Directory
being used is from the current Blue Plains Pilot Treatment
Plant,
52
-------
ui
OJ
SAMPLE RUNSTREAM FROM THE EXAMPLE MATRIX ON FIGURE V-l
@RUN BLUE.6403BLUEP,BLUEPL
@ADD PREP.
4
PH PPM 4
G Al 0.0 10. OG A3 0.0
DO PPM 2
G Al 0.0 10. OG Bl 0.0
FLOW GPM 3
G A2 30.0 300. OG B2 30.0
TEMP DEGREES 4
G A3 32.0 212. OG A4 32.0
10. OD A4
10.0
300. OG B3
212. OG Bl
0.0
30.0
32.0
TEST DATA FOR BLUE PLAINS DOCUMENTATION
A FIRST TEST SUBSYSTEM
1 FIRST TEST SAMPLING STATION
PH G DO G
2 SECOND TEST SAMPLING STATION
FLOW G
3 THIRD TEST SAMPLING STATION
PH G TEMP G
4 FOURTH TEST SAMPLING STATION
PH D TEMP G
B SECOND TEST SUBSYSTEM
1 FIRST TEST SAMPLING STATION
PH D DO G TEMP G
2 SECOND TEST SAMPLING STATION
FLOW G
3 THIRD TEST SAMPLING STATION
FLOW G TEMP G
4
2
1
2
2
3
3
1
2
10.OD Bl 0.0 10.0
300.0
2.2.0G B3 32.0 212.0
02 04 77 2
@FIN
-------
EXAMPLE OF PREP IN ADDITION OF EXISTING PARAMETER MODE.
@XQT PREP
ENTERED PROGRAM PREP IN DEMAND MODE.
LISTING OF VALID FUNCTION CODES:
1 - ALLOWS ADDITION TO THE MASTER FILE DIRECTORY
2 - ALLOWS CHANGES TO TITLES OR HEADINGS
3 - END OF PROCESSING
H - HELP (PRINT THIS LISTING)
ENTER FUNCTION CODE FOR DESIRED OPERATION
TYPE "H" FOR HELP.
>1
********** BEGINNING ADDITION SEGMENT **********
ONLY THE FOLLOWING MAY BE ADDED:
1-A SUBSYSTEM
2-A SAMPLING STATION
3-AN EXISTING PARAMETER TO A SAMPLING STATION
4-A NEW PARAMETER
ENTER THE NUMERIC FUNCTION CODE FOR THE DESIRED ADDITION.
TYPE "H" FOR HELP.
>3
** ADDITION OF AN EXISTING PARAMETER TO A SAMPLING STATION **
ENTER THE CODE FOR THE SUBSYSTEM IN WHICH THE SAMPLING STATION
YOU WISH TO ADD THE PARAMETER TO IS LOCATED.
>H
ENTER THE CODE FOR THE SAMPLING STATION TO WHICH YOU WISH TO ADD
THE PARAMETER.
>0
ENTER THE PARAMETER NAME YOU WISH TO ADD.
> PH
ENTER THE SAMPLE FREQUENCY CODE FOR PH
>D
ENTER THE MINIMUM EXPECTED VALUE FOR PH
>0.0
ENTER THE MAXIMUM EXPECTED VALUE FOR PH
>100.0
DO YOU WISH TO MAKE MORE ADDITIONS?
(YES-l.NO-O(ZERO)).
>0
ENTER FUNCTION CODE FOR DESIRED OPERATION
TYPE "H" FOR HELP.
>3
PROCESSING COMPLETED,
PROGRAM EXECUTION TERMINATING NORMALLY.
54
-------
EXAMPLE OF PREP IN PARAMETER ADDITION MODE.
@XQT PREP
ENTERED PROGRAM PREP IN DEMAND MODE.
LISTING OF VALID FUNCTION CODES:
1 - ALLOWS ADDITION TO THE MASTER FILE DIRECTORY
2 - ALLOWS CHANGES TO TITLES OR HEADINGS
3 - END OF PROCESSING
E - HELP (PRINT THIS LISTING*
ENTER FUNCTION CODE FOR DESIRED OPERATION
TYPE "H" FOR HELP.
********** BEGINNING ADDITION SEGMENT **********
ONLY THE FOLLOWING MAY BE ADDED:
1-A SUBSYSTEM
2-A SAMPLING STATION
3-AN EXISTING PARAMETER TO A SAMPLING STATION
4-A NEW PARAMETER
ENTER THE NUMERIC FUNCTION CODE FOR THE DESIRED ADDITION.
TYPE "H" FOR HELP.
>4
** ADDITION OF A NEW PARAMETER **
ENTER THE NAME OF THE NEW PARAMETER
(UP TO 6 CHARACTERS)
>BPTEST
ENTER THE CHEMICAL UNIT FOR BPTEST
(UP TO 12 CHARACTERS).
>TEST PARM ADD
ENTER THE NUMBER OF SAMPLING STATIONS WHERE BPTEST
IS TO BE MEASURED,(UP TO 9 LOCATIONS)
ENTER THE CODE FOR THE SUBSYSTEM IN WHICH THE SAMPLING STATION
YOU WISH TO ADD THE PARAMETER TO IS LOCATED.
>H
ENTER THE CODE FOR THE SAMPLING STATION TO WHICH YOU WISH TO ADD
THE PARAMETER.
>0
ENTER THE SAMPLE FREQUENCY CODE FOR BPTEST
>G
ENTER THE MINIMUM EXPECTED VALUE FOR BPTEST
>0.0
ENTER THE MAXIMUM EXPECTED VALUE FOR BPTEST
>100.0
DO YOU WISH TO MAKE MORE ADDITIONS?
(YES-1.NO-O(ZERO)).
>0
ENTER FUNCTION CODE FOR DESIRED OPERATION
TYPE "H" FOR HELP.
>3
PROCESSING COMPLETED,
PROGRAM EXECUTION TERMINATING NORMALLY.
55
-------
EXAMPLES OF PREP IN CHANGE MODE.
(§XQT PREP
ENTERED PROGRAM PREP IN DEMAND MODE.
LISTING OF VALID FUNCTION CODES:
1 - ALLOWS ADDITION TO THE MASTER FILE DIRECTORY
2 - ALLOWS CHANGES TO TITLES OR HEADINGS
3 - END OF PROCESSING
H - HELP (PRINT THIS LISTING)
ENTER FUNCTION CODE FOR DESIRED OPERATION
TYPE "H" FOR HELP.
>2
********** BEGINNING CHANGE SEGMENT **********
ONLY THE FOLLOWING MAY BE CHANGED:
1-SYSTEM TITLE
2-SUBSYSTEM TITLE
3-SAMPLING STATION TITLE
4-PARAMETER NAME
ENTER THE NUMERIC FUNCTION CODE FOR THE DESIRED CHANGE.
TYPE "H" FOR HELP.
>1
THE PRESENT SYSTEM TITLE IS:
EPA-DC PILOT PLANT WASTEWATER REUSE TREATMENT SYSTEM
ENTER THE ENTIRE CORRECTED TITLE (UP TO 60 CHARACTERS).
>THIS IS AN EXAMPLE OF CHANGING THE SYSTEM TITLE
DO YOU WISH TO MAKE MORE CHANGES?
(YES-1.NO-O(ZERO))
ENTER THE NUMERIC FUNCTION CODE FOR THE DESIRED CHANGE.
TYPE "H" FOR HELP.
>2
ENTER THE CODE FOR THE SUBSYSTEM WHOSE TITLE YOU WISH TO CHANGE.
>H
THE TITLE FOR SUBSYSTEM H IS:
LIME CLARIFICATION
ENTER THE ENTIRE CORRECTED TITLE (UP TO 36 CHARACTERS)^
>EXAMPLE OF SUBSYSTEM CHANGE
DO YOU WISH TO MAKE MORE CHANGES?
(YES-1.NO-O(ZERO))
ENTER THE NUMERIC FUNCTION CODE FOR THE DESIRED CHANGE.
TYPE "H" FOR HELP.
>3
ENTER THE CODE FOR THE SUBSYSTEM IN WHICH THE SAMPLING STATION
WHOSE TITLE YOU WISH TO CHANGE IS LOCATED.
56
-------
ENTER THE CODE FOR THE SAMPLING STATION WHOSE TITLE YOU WISH TO
CHANGE.
>0
IN SUBSYSTEM H THE TITLE FOR SAMPLING STATION 0 IS:
RAW WASTEWATER
ENTER THE ENTIRE CORRECTED TITLE (UP TO 36 CHARACTERS).
>SAMPLING STATION CHANGE TITLE
DO YOU WISH TO MAKE MORE CHANGES?
(YES-1,NO-0(ZERO))
ENTER THE NUMERIC FUNCTION CODE FOR THE DESIRED CHANGE.
TYPE "H" FOR HELP.
>4
ENTER THE PARAMETER ID. YOU WISH TO CHANGE,
AS IT IS CURRENTLY RECORDED.
>BPTEST
THE PARAMETER ID. IS:
BPTEST
ENTER THE CORRECTED PARAMETER NAME (UP TO 6 CHARACTERS).
>CHTEST
DO YOU WISH TO MAKE MORE CHANGES?
(YES-l.NO-O(ZERO))
>0
ENTERED PROGRAM PREP IN DEMAND MODE.
LISTING OF VALID FUNCTION CODES:
1 - ALLOWS ADDITION TO THE MASTER FILE DIRECTORY
2 - ALLOWS CHANGES TO TITLES OR HEADINGS
3 - END OF PROCESSING
H - HELP (PRINT THIS LISTING)
ENTER FUNCTION CODE FOR DESIRED OPERATION
TYPE "H" FOR HELP.
>3
PROCESSING COMPLETED,
PROGRAM EXECUTION TERMINATING NORMALLY.
57
-------
c.
SX.STA1
The only function of program SXSTAT is to display all or
selected parts cf the Master Directory. A listing of the
entice system configuration, because of the expected large
volume of output, is limited to batch mode. if listings tor
a single subsystem, sampling staticn or parameter are
desired, they nay be obtained in demand node.
1.
Only listings for the entire system configuration can be
obtained in batch mode. Because of this, no additional
input to the program is needed. The runstream to produce
the entire system configuration is as follows:
o)B UN • • . • •
dlADD SYSTAT.
5) FIN
The output will be arranged with the contents of illEA
(subsystem, sampling station, parameter) printed first
followed by the contents of FILEB (parameter, subsystem,
sampling station). The following examples utilize the
current Blue Plains Pilot Plant Master Directory.
2. MfilJLS PgQgESSING
If information about a specific subsystem, sampling station,
or parameter is the only thing desireu, program SXSIAT may
be run in demand mode. The user is prompted for all
necessary information. The following example utilizes the
Master Directory for the current Blue Plains Plant and shows
information for a single subsystem, single sampling staticn,
and single parameters.
58
-------
EXAMPLES OF SYSTAT IN DEMAND MODE.
@XQT SYSTAT
ENTERED PROGRAM SYSTAT IN DEMAND MODE
ONLY THE FOLLOWING MAY BE REFERENCED:
1 - SUBSYSTEM INFORMATION
2 - SAMPLING STATION INFORMATION
3 - PARAMETER INFORMATION
ENTER THE NUMERIC FUNCTION CODE FOR THE DESIRED INFORMATION
TYPE "H" FOR HELP.
>1
ENTER THE CODE FOR THE SUBSYSTEM TO BE LISTED.
>M
SUBSYSTEM CODE M **
THIS SUBSYSTEM CONTAINS
ION EXCHANGE
2 SAMPLING STATIONS.
SAMPLING STATION CODE 0 ** ION EXCHANGE FEED
THIS SAMPLING STATION CONTAINS 2 PARAMETERS.
PARAMETER NUMBER 1 ** FLOW 1 - SAMPLE FREQUENCY CODE
PARAMETER NUMBER 2 ** PH - SAMPLE FREQUENCY CODE
SAMPLING STATION CODE
THIS SAMPLING ST
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
PARAMETER NUMBER
DO YOU WISH TO LIST ANY MORE INFORMATION?
YES-1, NO-O(ZERO).
G
D
CODE
7 **
ION
EXCHANGE EFFLUENT
,TION CONTAINS 22 PARAMETERS.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
**
PH
ALK MO
TEMP
COND
TOC
BOD
COD
TP04
TKN
NH3
N02N03
SS
TDS
CL
S04
CA
MG
NA
K
ORG ID
DN TME
PH
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
- SAMPLE
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
FREQUENCY
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
CODE
- G
- G
- G
- G
- D
- D
- D
- D
- D
- D
- D
- D
- D
- D
- D
- D
- D
- D
- D
- G
- C
- D
59
-------
ENTER THE NUMERIC FUNCTION CODE FOR THE DESIRED INFORMATION.
TYPE "H" FOR HELP.
>2
ENTER THE CODE FOR THE SUBSYSTEM WHICH CONTAINS
THE SAMPLING STATION TO BE LISTED.
>H
ENTER THE CODE FOR THE SAMPLING STATION TO BE LISTED.
>0
SAMPLING STATION CODE 0 ** RAW WASTEWATER
THIS SAMPLING STATION CONTAINS 2 PARAMETERS.
PARAMETER NUMBER 1 ** FLOW 1 - SAMPLE FREQUENCY CODE - G
PARAMETER NUMBER 2 ** TEMP - SAMPLE FREQUENCY CODE - G
DO YOU WISH TO LIST ANY MORE INFORMATION?
YES-1, NO-O(ZERO).
>1
ENTER THE NUMERIC FUNCTION CODE FOR THE DESIRED INFORMATION.
TYPE "H" FOR HELP.
>H
LISTING OF VALID FUNCTION CODES:
1 - LIST SUBSYSTEM INFORMATION
2 - LIST SAMPLING STATION INFORMATION
3 - LIST PARAMETER INFORMATION
H - HELP (PRINT THIS LISTING)
ENTER THE NUMERIC FUNCTION CODE FOR THE DESIRED INFORMATION.
TYPE "H" FOR HELP.
>3
ENTER THE ID FOR THE PARAMETER TO BE LISTED.
RIGHT JUSTIFIED IN THE FOLLOWING FORMAT.
xxxxxx
> TEMP
INFORMATION FOR PARAMETER TEMP
THIS PARAMETER IS MEASURED AT 4 LOCATIONS.
THE CHEMICAL UNIT CODE FOR THIS PARAMETER IS DEGREES C
LOCATION I 1 * SUBSYSTEM CODE H SAMPLING STATION CODE 0
SAMPLE FREQUENCY CODE G
MINIMUM EXPECTED VALUE 13.000000
MAXIMUM EXPECTED VALUE 28.000000
LOCATION I 2 * SUBSYSTEM CODE A SAMPLING STATION CODE 0
SAMPLE FREQUENCY CODE G
MINIMUM EXPECTED VALUE 13.000000
MAXIMUM EXPECTED VALUE 28.000000
LOCATION I 3 * SUBSYSTEM CODE L SAMPLING STATION CODE 7
SAMPLE FREQUENCY CODE G
MINIMUM EXPECTED VALUE 13.000000
MAXIMUM EXPECTED VALUE 28.000000
60
-------
LOCATION * 4 * SUBSYSTEM CODE M SAMPLING STATION CODE 7
SAMPLE FREQUENCY CODE G
MINIMUM EXPECTED VALUE 13.000000
MAXIMUM EXPECTED VALUE 28.000000
DO YOU WISH TO LIST ANY MORE INFORMATION?
YES-1, NO-O(ZERO).
>0
PROCESSING TERMINATING NORMALLY - EXIT PROGRAM SYSTAT
61
-------
J* £MA STOKE
This program is the largest prograu of the system in terms
cf number of statements and performs the storing of the
water quality data, as well as providing the user the
capability of editing any data previously entered. Data
storage may be done in batch or demand node, but editing may
cnly be perforated in demand mode.
The only function (other than end ot processing) which can
be performed in batch node is data entry. Before entering
into the system, the data should be transcribed onto tne
special data recording forms (Figure V-9) . The form should
be filled out in the following manner. The parameter and
date should be entered into the proper fields on card type
1. Then the data units composed ot two character sampling
station code, sample frequency code, time (on a twenty-tour
hour clock 0000-2359) for grab samples, the actual data
value (including decimal point) and an accept flag (X) if
desired are entered four units per card ontc card type 2.
If mere than twenty data units are to be entered tcr a
particular parameter/date set, use another form, drawing a
line through the empty card type 1. There should fct no
blank data units in a contiguous set i.e. if ten data units
are to be entered, three type 2 cards will be utilized, two
of which are full, the last one filled to column 40. Arter
entering all data units, count them and place that number,
*-n columns 17-20 of card type 1.
Follow the above procedure for all data to be entered lor a
particular run. Then the following three control cards are
needed. A card with a "1" in column one, a card wath
"FINISH" in columns 1 to 6, and a card with an "ti" in coiuain
one. These cards mean start data entry, finished with data
entry, end of processing respectively.
There is no real limit to the amount of data that can be
entered with a single run but should be kept to around 500-
3000 cards because some keypunching mistakes will cause the
run to abort, disregarding all data after the mistake.
Ihe following sample runstreaa shows data for three
parameter/data sets.
2. DEMAND £BOC£SSING
This program is structured so that not only data entry tut
also data edit may be performed in demand mode. This mode
cf operation is useful in that a data entry person may enter
directly and correct the water quality data on a daily
62
-------
OJ
BLUE PLRINS PILOT TREflTMENT PLflNT
PflRflMETER DflTR RECORDING FORM
CHTO TTTE 1
1
l.D.
• i i • i
=
-
B
M>
-
-
11
OH
^
-
1« 17 20
TK
=
—
NO.ORTM
iMin
CflND TTFE 2
1
99
en
=
~
~
-
Z
-
4
9
c
^
-
z
-
-
-
p
TIK
^
™
~
-
11
am
«•!*
2D
X
r
99
rn
^
-
21
™
-
_
n
9
r
"
~
™
=
z
-
»
TIM
=
~
~
™
z
-
91
ami
YIIUT
^
X
r
93
rn
H
=
z
-
>M
9
r
z
-
-
lie
nre
~
~
-
-
—
51
DPTK
in IF
60
x
f
99
CD
^
z
z
-
z
1—
M
9
r
E
~
£
-
^
Z
S6
TIK
=
~
3
-
Z
z
71 80
DMT* X
ttllf '
KEY
53 co - amniNC JTBTIW CODE
5C - 9fMTl£ nCBUEICr CODE
V - (CCCTT FLAG FOR OUT OF WMZ WTO
R MUIHUN OF 20 OBTfl UNITS CM K COOED ON THIS FOMN
FOR flOOUIOML (MTA UNITS. USE (MOTHER FORM
Figure V-9
-------
basis, thus avoiding large data backlogs due to Jcaypuncniug
delays.
Hhen executing in deaand node, program DAIASTORE prompts lor
a function code. Two of the nine possible function codes
have already been aentioned in the description of tatch
processing, 1 for data entry and 8 for end of processing.
They are used identically in deaand aode. Of the remaining
seven function codes, six are utilized in editing the data
with the seventh being reserved for HELP.
As previously mentioned, data entry in demand node is
performed essentially the same as is done in batch. ihe
data is coded onto the data entry forms; but instead of
being keypunched and subaitted tor batch processing, they
are entered directly into the prograa. The user is proapted
for all inforaation in the proper order. His takes in coding
or typing are caught right away and may be immediately
corrected. Exiting troa the data entry function is done by
typing "FINISH" when proapted for a paraaeter I.D.,
siailarly to using the "FINISH" card in batch proces&iuy.
The user may then enter code 8 tor end of processing or may
choose one of several editing functions.
The six editing functions (codes 2 through 7) may be divided
into two general categories. In an ite.a edit, only a single
data value, defined by a unique data/time and
subsystem/sampling station is desired. This is opposed to a
sequential edit where a set of data values, within a given
date/tiie period at any number of subsystem/sampling
stations may be desired. Both itea and sequential edits are
related in that once a function code is entered, only a
single paraaeter may be specified, if data for more than
one parameter needs editing, multiple function codes would
be utilized with all editing tor a given function teing
finished before beginning on the next function.
For either item or sequential edits, three different types of
edits may be performed. Be placement allows the correction
of value froa the data base, tt^storatipfl allows the return
of a deleted value to the active data base.
A typical case where replacement would be used is where the
user enters one or several data items as being sampled at HO
when they were actually taken at H9, assuming HO and tiS are
both valid sampling stations for the parameter in question.
The previously entered HO may be changed to H9. The
following fields may be replaced.
Month - 2 Digits
64
-------
2 Day - 2 Digits
3 Year - 2 Digits
4 Time - 4 Digits
5 Subsystem/Sampling
Stations - 2 Characters
6 Frequency Code - 1 Character
7 Actual Data Value - Up to 12
Digits Jiitji decimal point
Deletion of cny or several data items would be desirable it
they had been entered as the wrong parameter, i.e. data rot
FLOW 1 is inadvertantly entereu as FLOW 2. All erroneous
data weald be deleted, then correctly enterea using th€ data
entry function. If one or several data items were
mistakenly deleted, they may be restored to th€ data fcasc by
use cf either restoration function.
Ihe following function codes have been assigned to each of
the editing functions.
2 - Item Replacement
3 - Item Deletion
U - Item Restoration
5 - Sequential Replacement
6 - Sequential Deletion
1 - Sequential Restoration
The remaining function code is "HM for HELP. If entered
when ftcmpted for a function code, a list 01 allowable
function codes will be displayed, followea by a new function
code prompt.
Ihe following example demonstrates several of the functions
which can be utilized in demand mode. Note in data entry
the number of data units has not been right justified so
instead of 1 data unit the program is expecting 100. ihe
"fix" for this mistake is to enter "oiEOF" when prompted for
additional data units. The program will complain about the
end of tile but it hill allow continuation of data entry and
will properly enter the data values.
65
-------
0XQT DATASTORE
ENTER FUNCTION CODE - TYPE "H" FOR HELP
>H
LISTING OF VALID FUNCTION CODES:
1 - DATA ENTRY BATCH OR DEMAND MODE
2 - ITEM REPLACEMENT DEMAND MODE ONLY
3 - ITEM DELETION DEMAND MODE ONLY
4 - ITEM RESTORATION DEMAND MODE ONLY
5 - SEQUENTIAL REPLACEMENT DEMAND MODE ONLY
6 - SEQUENTIAL DELETION DEMAND MODE ONLY
7 - SEQUENTIAL RESTORATION DEMAND MODE ONLY
8 - END OF PROCESSING BATCH OR DEMAND MODE
H - HELP (PRINT THIS LISTING) DEMAND MODE ONLY
ENTER FUNCTION CODE - TYPE "H" FOR HELP
***** DATA ENTRY FUNCTION *****
ENTER PARAMETER I.D., DATE AND NUMBER OF DATA UNITS TO FOLLOW AS FOLLOWS-
XXXXXX MM DD YY XXXX
> LIME 09 01 75 1
ENTER A LINE OF DATA WITH 1 DATA UNITS
>H5 C 0710 80.0
ENDING DATA ENTRY FOR LIME, 9/ 1/75 - SUCCESSFULLY ENTERED 1 DATA UNITS
ENTER PARAMETER I.D., DATE AND NUMBER OF DATA UNITS TO FOLLOW AS FOLLOWS-
XXXXXX MM DD YY XXXX
> LIME 09 02 75 1
ENTER A LINE OF DATA WITH 4 DATA UNITS
>H5 G 0710 160.0
ENTER A LINE OF DATA WITH 4 DATA UNITS
>§EOF
UNEXPECTED END OF FILE REACHED WHILE PERFORMING DATA ENTRY FUNCTION FOR LIME. 9/ 2/75
ENDING DATA ENTRY FOR LIME, 91 2/75 - SUCCESSFULLY ENTERED 1 DATA UNITS
ENTER PARAMETER I.D. , DATE AND NUMBER OF DATA UNITS TO FOLLOW AS FOLLOWS:
XXXXXX MM DD YY XXXX
> LIME 09 03 75 1
-------
ENTER A LINE OF DATA WITH 1 DATA UNITS
>U5 C 0711 85.0
ENDING DATA ENTRY FOR LIME, 9/ 3/75 - SUCCESSFULLY ENTERED 1 DATA UNITS
ENTER PARAMETER I.D., DATE AND NUMBER OF DATA UNITS TO FOLLOW AS FOLLOWS:
XXXXXX MM DO YY XXXX
>FINISH
SUCCESSFUL TERMINATION OF DATA ENTRY FUNCTION
ENTER FUNCTION CODE - TYPE "H" FOR HELP
>2
***** ITEM REPLACEMENT FUNCTION *****
ENTER PARAMETER I.D. AND DATE/TIME AS FOLLOWS:
XXXXXX MM DD YY HHMM
> LIME 09 03 75 0711
ENTER THE SUBSYSTEM/SAMPLING STATION TO BE REPLACED
>H5
RECORD FOUND MO DA YR TIME SS F VALUE
9 3 75 0711 H5 G 85.000000
DO YOU WISH TO PERFORM A FIELD BY FIELD EDIT?
>YES
WHEN YOU ARE FINISHED EDITING THIS RECORD, ENTER 0 (ZERO) FOR RECORD FIELD TO BE EDITED
ENTER FIELD TO BE EDITED
>TIME
INVALID FIELD SPECIFIED - T - REENTER WHEN PROMPTED
ENTER FIELD TO BE EDITED
>4
ENTER CORRECT VALUE FOR FIELD 4
>0710
ENTER FIELD TO BE EDITED
>0
CORRECTED RECORD MO DA YR TIME SS F VALUE
9 3 75 0710 H5 C 85.000000
-------
IS THIS RECORD O.K.?
>YES
SUCCESSFUL TERMINATION OF PREVIOUS FUNCTION
ENTER FUNCTION CODE - TYPE "H" FOR HELP
>3
***** ITEM DELETION FUNCTION *****
ENTER PARAMETER I.D. AND DATE/TIME AS FOLLOWS:
XXXXXX MM DO YY HHMM
> LIME 09 03 75 0710
ENTER THE S UB SYSTEM/ SAMPLING STATION TO BE DELETED
>H5
RECORD FOUND MO DA YR TIME SS F VALUE
9 3 75 0710 H5 C 85.000000
DO YOU WISH RECORD TO BE DELETED ?
>YES
RECORD DELETED
SUCCESSFUL TERMINATION OF PREVIOUS FUNCTION
ENTER FUNCTION CODE - TYPE "H" FOR HELP
>*
***** ITEM RESTORATION FUNCTION *****
ENTER PARAMETER I.D. AND DATE/TIME AS FOLLOWS:
XXXXXX MM DD YY HHMM
> LIME 09 03 75 0710
ENTER THE SUBSYSTEM/SAMPLING STATION TO BE RESTORED
>H5
-------
RECORD FOUND MO DA YR TIME SS F VALUE
9 3 75 0710 H5 C 85.000000
DO YOU WISH RECORD TO BE RESTORED ?
>YES
RECORD RESTORED
SUCCESSFUL TERMINATION OF PREVIOUS FUNCTION
ENTER FUNCTION CODE - TYPE "H" FOR HELP
>5
***** SEQUENTIAL REPLACEMENT FUNCTION *****
ENTER PARAMETER I.D. AND DATE/TIMES AS FOLLOWS:
XXXXXX MM DD YY HHMM MM DD YY HHMM
> LIME 09 01 75 0710 09 03 75 0710
^ ENTER NUMBER (3 DIGITS) OF SUBSYSTEM/SAMPLING STATIONS TO BE REPLACED OR "ALL"
UD > 1
ENTER THE I SUBSYSTEM/SAMPLING STATIONS TO BE REPLACED AS FOLLOWS:
XX XX XX XX
>H5
RECORD FOUND MO DA YR TIME SS F VALUE
9 1 75 0710 H5 C 80.000000
DO YOU WISH TO PERFORM A FIELD BY FIELD EDIT7
>NO
RECORD FOUND MO DA YR TIME SS F VALUE
9 2 75 0710 HS C 160.00000
DO YOU WISH TO PERFORM A FIELD BY FIELD EDIT?
>YES
WHEN YOU ARE FINISHED EDITING THIS RECORD, ENTER 0 (ZERO) FOR RECORD FIELD TO BE EDITED
ENTER FIELD TO BE EDITED
> 7
ENTER CORRECT VALUE FOR FIELD 7
>80.0
-------
ENTER FIELD TO BE EDITED
>0
CORRECTED RECORD MO DA YR TIME SS F VALUE
9 2 75 0710 H5 C 80.000000
IS THIS RECORD O.K.?
>YES
RECORD FOUND MO DA YR TIME SS F VALUE
9 3 75 0710 H5 C 85.000000
DO YOU WISH TO PERFORM A FIELD BY FIELD EDIT?
>YES
WHEN YOU ARE FINISHED EDITING THIS RECORD, ENTER 0 (ZERO) FOR RECORD FIELD TO BE EDITED
ENTER FIELD TO BE EDITED
>4
ENTER CORRECT VALUE FOR FIELD 4
>0910
ENTER FIELD TO BE EDITED
>7
ENTER CORRECT VALUE FOR FIELD 7
>80.0
ENTER FIELD TO BE EDITED
>0
CORRECTED RECORD MO DA YR TIME SS F VALUE
9 3 75 0910 H5 C 80.000000
IS THIS RECORD O.K.?
>YES
SUCCESSFUL TERMINATION OF PREVIOUS FUNCTION
ENTER FUNCTION CODE - TYPE "H" FOR HELP
>6
***** SEgUENTIAL DELETION FUNCTION *****
ENTER PARAMETER I.D. AND DATE/TIMES AS FOLLOWS:
XXXXXX MM DD YY HliMM MM DO YY HHMM
> LIME 09 01 75 0710 09 03 75 0910
-------
ENTER NUMBER (3 DIGITS) OF SUBSYSTEM/SAMPLING STATIONS TO BE
> 1
DELETED
OR "ALL"
ENTER THE 1 SUBSYSTEM/SAMPLING STATIONS TO BE
XX XX XX XX
>H5
DELETED
AS FOLLOWS:
RECORD FOUND
MO DA YR TIME SS F
9 1 75 0710 US G
DO YOU WISH RECORD TO BE
>NO
DELETED
RECORD FOUND
MO DA YR TIME SS F
9 2 75 0710 H5 G
DO YOU WISH RECORD TO BE
>YES
RECORD DELETED
DELETED
VALUE
80.000000
VALUE
80.000000
RECORD FOUND
MO DA YR TIME SS F
9 3 75 0910 H5 G
DO YOU WISH RECORD TO BE
>NO
VALUE
80.000000
DELETED ?
SUCCESSFUL TERMINATION OF PREVIOUS FUNCTION
ENTER FUNCTION CODE - TYPE "H" FOR HELP
>7
***** SEQUENTIAL RESTORATION FUNCTION *****
ENTER PARAMETER I.D. AND DATE/TIMES AS FOLLOWS:
XXXXXX MM DD YY HHMM MM DD YY HHMM
> LIME 09 01 75 0710 09 03 75 0910
ENTER NUMBER (3 DIGITS) OF SUBSYSTEM/SAMPLING STATIONS TO BE RESTORED OR "ALL"
> 1
ENTER THE 1 SUBSYSTEM/SAMPLING STATIONS TO BE RESTORED AS FOLLOWS:
XX XX XX XX
>H5
-------
RECORD FOUND MO DA YR TIME SS F VALUE
9 2 75 0710 H5 C 80.000000
DO YOU WISH RECORD TO BE RESTORED ?
>YES
RECORD RESTORED
,0 SUCCESSFUL TERMINATION OF PREVIOUS FUNCTION
ENTER FUNCTION CODE - TYPE "H" FOR HELP
>B
PROGRAM EXECUTION IN DEMAND MODE TERMINATING NORMALLY
-------
E.
The function of this program is to yenerate
containing statistical summaries of the information stored
in the database file BPDATA. Two types of report formats
may be specified, one arranged Dy subsystems and the otaer
by parameters. Both types may be obtained either with or
without raw data listings. Summary reports, which utilize
all data stored tor a specific time periou, are limited to
batch mode due to the length of the printed revolt.
1. BAJCH
All function codes may be utilized in batch mode; however,
the first four function codes, specifying summary reports in
either parameter or subsystem format and either with or
without raw data listings, are restricted to batch mode
only. This is necessary because the amount of data to be
printed would involve a lengthy terminal session if printed
en a demand terminal.
By completing the Report Request Form (Figure V-10) and
punching the appropriate cards, it is possible tor the user
to request any of the desired reports in batch mode, for
example, if a parameter report for FLOW 1 without raw data
listings at all locations is requested tor the month of June
1975, the form would be completed as in Figure V-10. Note
that only the card type 3 tor parameter reports is
completed. If th€ report format was to be by subsystems,
card type 3 for subsystem report would be completed insteaa.
Ihe runstream to produce reports in batch mode is as
follows:
oifiUN
SACD BEPGEN.
(function code)
(beginning/ending date time)
SFIN
The following examples demonstrate the use ot program
in batch mode execution.
73
-------
BLUE PLfllNS PILOT TREflTMENT PLflNT
REPORT REQUEST FORM
CIWD rm i
COB nit z
1 U 7
10
15 IB 81 2*
a si
m
O.I - 7.4 -o.
TIM
in
TIIC
UN) nrft 3 - PAWCTEK RETWT5
ML
1I_
_s_
I 39 ~ 33 ~ 33
S3 I S3
CMD TTPE
i a
i -
Z
«
»T
3 - »
7
••
-
T
-
JK
1
|
trSTEH
11
_
-
7
H
|^
T
cr
w
1^
t
m
>
IT
T
^
-
!•
T
—
—
»|
T
p
T
K
- I
—
NET
FC
NB
Y* - TOW
TIIC - w nauR CLOCK tire
.
MM LOT - MMEK BT 3U«3T5TO(/3«rLlie 9THTIIM
TB • NErWTED BH -NU.1
55 - SmaT3TPtTHmiHC 9TNTION CBDE
s - aunrsren cane
NB ST . mMER ar awrviic MNTIONS TB BE
KCTWTED BK 'NU.'
9T . 9ATLINC 9TNTIOM CBDC
MTN
Figure V-10
74
-------
>@SETC 1
>@XQT BLUEPROG.REPGEN
-------
EPA-DC PILOT PLANT WASTEWATER REUSE TREATMENT SYSTEM
DATA STORAGE AND RETRIEVAL SYSTEM
PROGRAM REPGEN
-------
EPA-DC PILOT PLANT WASTEWATER REUSE TREATMENT SYSTEM
REPORT PERIOD
II 1/75 0000 THRU 11/17/77 1625
OUT OF RANGE DATA INCLUDED
SUBSYSTEM H - LIME CLARIFICATION
SAMPLING STATION 0 - RAW WASTEWATER
ARITHMETIC STANDARD GEOMETRIC SPREAD
N MINIMUM MAXIMUM MEAN DEVIATION MEAN FACTOR
****** ************ ************ ************ ************ ************ ******
FLOW 1 1092 18.0000 38.0000 34.9835 .572609 34.9768 1.021
GPM
TEMP 92 22.0000 28.0000 25.8859 1.40271 25.8471 1.057
DEGREES C
-------
EPA-DC PILOT PLANT WASTEWATER REUSE TREATMENT SYSTEM
REPORT PERIOD
7/ 1/75 0000 THRU 11/17/77 1625
OUT OF RANGE DATA INCLUDED
PH
UNITS
SUBSYSTEM H -
SAMPLING STATION 1 -
N MINIMUM
540 6.70000
LIME CLARIFICATION
SCREENED RAW WASTEWATER
ALK MO 545 70.0000
PPM
oo
TOC
PPM
BOD
PPM
COD
PPM
TP04
PPM
TKN
PPM
NH3
64 33.9000
63 56.0000
64 123.000
63 5.10000
60 8.40000
64 7.90000
PPM
[ A
MAXIMUM
*********
7. 60000
1
1
1
2
1
2
2
70.000
00. 300
16.000
90. 000
8. 6000
5.4000
2.2000
ARITHMETIC
MEAN
************
7.18555
131. 917
62.5109
81.9778
204.078
13.4565
16. 9250
15.5500
STANDARD
DEVIATION
************
. 123934
16.5208
12.9056
12. 7184
36.8197
2.44450
3.24626
2. 94743
GEOMETRIC SPREAD
MEAN FACTOR
************ ******
7. 18446
130. 782
61.1950
81.0090
200.681
13.2014
16. 6040
15.2689
1.
1.
1.
1.
1.
1.
1.
1.
018
145
234
169
206
231
223
216
-------
-J
10
N02N03
PPM
SS
PPM
VSS
PPM
CA
PPM
FE
PPM
MG
PPM
AC
PPB
AS
PPB
BA
PPB
CD
PPB
CR
PPB
CU
PPB
HC
PPB
64
64
64
52
52
50
23
24
24
23
24
23
24
.000000
56.0000
38.0000
28.0000
. 740000
5.40000
1.30000
.500000
60.0000
.350000
6.00000
38.0000
.350000
.600000
136.000
106.000
44.0000
2. 57000
9.20000
7.30000
4.50000
269.000
4.35000
26. 0000
105.000
2.00000
.843750-01
100. 187
72.4375
36.0577
1.32135
7.20200
4. 15087
1.82083
166.208
1. 83391
14. 7083
57.8696
. 82291 7
.820738-01
19.6241
13.9362
3. 77512
.410972
.930769
1.61177
.878229
58.4711
.981880
5.66821
17.0622
.359426
.193727
98. 1702
71.0445
35.8616
1.26355
7. 14368
3.82183
1.63386
154. 220
1. 60628
13.6220
55. 7747
. 760308
2. 790
1.231
1.225
1. 112
1. 349
1. 137
1. 547
1.625
1. 524
1. 726
1. 506
1.311
1. 492
-------
oo
o
MN
PPB
PB
PPB
SE
PPB
ZN
PPB
PPM
MBAS
PPM
HRDNSS
PPM
CN
PPB
PHENOL
PPB
24
24
17
24
2
1
18
1
1
90.0000
7
5
6
•
2
1
7
3
.60000
.00000
7.0000
430000
. 50000
02.000
.00000
.40000
368
50.
.000
3000
5.00000
173
.000
153. 750
1
5
1
.760000
2. 50000
128
.000
7.00000
3.40000
2
1
7
3
7.2833
.00000
24.917
595000
.50000
15.889
.00000
.40000
51. 7605
9. 98201
.000000
27. 7816
.233345
.000000
6. 58778
.000000
.000000
1
1
5
1
•
2
1
7
3
47.904
5.2910
.00000
21.585
571664
.50000
15. 709
.00000
.40000
1.
1.
1.
1.
1.
1.
1.
1.
1.
307
616
000
280
496
000
059
000
000
-------
EPA-DC PILOT PLANT WASTEWATER REUSE TREATMENT SYSTEM
REPORT PERIOD
II 1/75 0000 THRU 11/17/77 1625
OUT OF RANGE DATA INCLUDED
SUBSYSTEM H - LIME CLARIFICATION
SAMPLING STATION 2 - COLUMN AND FILTER BACKWASH RECYCLE
M ARITHMETIC STANDARD GEOMETRIC SPREAD
N MINIMUM MAXIMUM MEAN DEVIATION MEAN FACTOR
************ ************ ************ ************ ************ ******
FLOW 1 190 2.00000 5.50000 4.96579 .293381 4.95193 1.088
GPM
KW HRS 92 5.80000 24.7000 13.0000 4.87571 12.0997 1.472
KWH
-------
EPA-DC PILOT PLANT WASTEWATER REUSE TREATMENT SYSTEM
oo
N)
REPORT PERIOD
7/ 1/75 0000 THRU 11/17/77 1625
OUT OF RANGE DATA INCLUDED
SUBSYSTEM H -
SAMPLING STATION 5 -
LIME CLARIFICATION
FLOCCULATION TANK
ARITHMETIC STANDARD GEOMETRIC
N MINIMUM MAXIMUM MEAN DEVIATION MEAN
****** ************ ************ ************ ************ ************
Ptl 1084 7.90000
UNITS
SS
PPM
TS
PPM
LIME
LBS
FE ADD
GAL
FE CNC
LBS/GAL
FE DLN
64 1252.00
62 1723.00
59 80.0000
83 4.00000
3 3.40000
84 44.0000
GAL
FE FED 1091 .000000
ML/MIN
11.3000
3124.00
3461.00
160.000
10.5000
3.40000
180.400
720.000
9.96852
2400.94
.276929
367.165
9.96450
2370.18
SPREAD
FACTOR
******
1.029
1. 182
2692
103.
. 2
05
5. 9939
3
1
8
333
36.
1
3.40000
95.2286
225.
92
7
1
5
. 889
5426
. 52220
000000
8.
7.
2461
0682
26
97
5.
3.
93
21
70.5
.684
9
8
83530
40000
.5172
6. 92
1
1.
1.
1.
1.
1.
1.
1
3
2
39
72
51
000
2
15
388
-------
EPA-DC PILOT PLANT WASTEWATER REUSE TREATMENT SYSTEM
REPORT PERIOD
7/ 1/75 0000 THRU 11/17/77 1625
OUT OF RANGE DATA INCLUDED
ALK MO
PPM
TOG
CO
u>
PPM
BOD
PPM
COD
PPM
TP04
PPM
TKN
PPM
NH3
PPM
N02N03
SUBSYSTEM H -
SAMPLING STATION 7 -
N MINIMUM
545 76.0000
63 9.00000
62 14.5000
54 35.7000
64 .650000
61 5.00000
64 5.70000
64 .000000
LIME CLARIFICATION
LIME CLARIFIED EFFLUENT
MAXIMUM
**********
194.000
33.3000
42.8000
108.000
2. 90000
18. 4000
15. 1000
.600000
ARITHMETIC
MEAN
************
135.046
19. 1397
25. 7726
58.0167
1.22312
11.5131
10.6125
. 151562
STANDARD
DEVIATION
************
20. 1220
4.44590
6.48239
14.0354
.382195
2.05990
2.00226
. 109823
GEOMETRIC SPREAD
MEAN FACTOR
************ ******
133.517
18.6028
24. 9919
56.4456
1. 17452
11.3192
10.4175
. 152099
1. 165
1.280
1.285
1.265
1.322
1. 211
1.219
1.872
PPM
-------
oo
ss
PPM
VSS
PPM
CA
PPM
FE
PPM
MG
PPM
AC
PPB
AS
PPB
BA
PPB
CD
PPB
CR
PPB
CU
PPB
HG
PPB
MN
PPB
63
63
51
49
50
1
1
1
1
1
1
1
1
4.00000
2. 00000
43.0000
. 150000
3.30000
. 140000
1. 60000
55.0000
.550000-01
2.20000
8.00000
.800000
3. 90000
37.0000
21.0000
60.0000
.830000
6.90000
. 140000
1.60000
55.0000
.550000-01
2.20000
8.00000
.800000
3. 90000
16. 7302
9.57143
50.2588
.309592
5. 56600
. 140000
1.60000
55.0000
.550000-01
2. 20000
8.00000
.800000
3. 90000
8.03863
4. 32440
3. 82211
. 143715
.827984
.000000
.000000
.000000
.000000
.000000
.000000
.000000
.000000
14.8265 1.674
8.46872
1. 711
50.1180 1.078
.284899
1. 482
5.49788 1.178
.140000 1.000
1.60000 1.000
55.0000 1.000
.550000-01 1.000
2.20000 1.000
8.00000 1.000
.800000 1.000
3.90000 1.000
-------
PB 1 .290000 .290000 .290000 .000000 .290000 1.000
PPB
ZN 1 8.00000 8.00000 8.00000 .000000 8.00000 1.000
PPB
F 2 .410000 .660000 .535000 .176777 .520192 1.400
PPM
ALK P 540 20.0000 120.000 63.7389 12.8710 62.3933 1.235
PPM
GO
-------
EPA-DC PILOT PLANT WASTEWATER REUSE TREATMENT SYSTEM
REPORT PERIOD
7/ 1/75 0000 THRU 11/17/77 1625
OUT OF RANGE DATA INCLUDED
SUBSYSTEM H - LIME CLARIFICATION
SAMPLING STATION 8 - LIME SLUDGE RECYCLE
ARITHMETIC STANDARD GEOMETRIC SPREAD
N MINIMUM MAXIMUM MEAN DEVIATION MEAN FACTOR
****** ************ ************ ************ ************ ************ ******
FLOW 1 489 5.25000 6.34000 5.25560 .652951-01 5.25522 1.012
GPM
-------
EPA-DC PILOT PLANT WASTEWATER REUSE TREATMENT SYSTEM
REPORT PERIOD
7/ 1/75 0000 THRU 11/17/77 1625
OUT OF RANGE DATA INCLUDED
SUBSYSTEM H - LIME CLARIFICATION
SAMPLING STATION 9 - LIME SLUDGE WASTED
ARITHMETIC STANDARD GEOMETRIC SPREAD
N MINIMUM MAXIMUM MEAN DEVIATION MEAN FACTOR
****** ************ ************ ************ ************ ************ ******
m SS 62 12560.0 31730.0 18122.4 2886.44 17918.9 1.161
^ PPM
TS 57 12875.0 23782.0 17911.6 2058.76 17793.0 1.124
PPM
FLOW 2 540 .000000 501.000 205.970 44.0863 199.349 1.387
GAL
TVS 59 2208.00 7316.00 4978.73 834.201 4903.13 1.201
PPM
DN TME 16 .200000 7.30000 1.46875 1.71453 .958700 2.519
HRS
(Continues by Subsystem)
-------
DEMAND PROCESSING
If reports are desired for only a specific paLaneter or
subsystem, either with or without raw data listings, {.rcgraa
REPGEN may be executed in demand node. Ine user wall be
prompted for all necessary xntor nation. The follcuing
examples utilize the Master Directory for the current blue
Plains Plant and utilize the four options that may be used
in demand processing.
88
-------
00
IO
0XQT REPCEN
ENTER FUNCTION CODE - TYPE "H" FOR HELP
>II
LISTING OF VALID FUNCTION CODES:
1 - SUMMARY REPORT BY SUBSYSTEM WITH DATA LISTINGS
2 - SUMMARY REPORT BY SUBSYSTEM WITHOUT DATA LISTINGS
3 - SUMMARY REPORT BY PARAMETER WITH DATA LISTINGS
4 - SUMMARY REPORT BY PARAMETER WITHOUT DATA LISTINGS
5 - SUBSYSTEM REPORT WITH DATA LISTINGS
6 - SUBSYSTEM REPORT WITHOUT DATA LISTINGS
7 - PARAMETER REPORT WITH DATA LISTINGS
8 - PARAMETER REPORT WITHOUT DATA LISTINGS
9 - END OF PROCESSING
H - HELP (PRINT THIS LISTING)
BATCH MODE ONLY
BATCH MODE ONLY
BATCH MODE ONLY
BATCH MODE ONLY
BATCH OR DEMAND MODE
BATCH OR DEMAND MODE
BATCH OR DEMAND MODE
BATCH OR DEMAND MODE
BATCH OR DEMAND MODE
DEMAND MODE ONLY
ENTER FUNCTION CODE - TYPE "H" FOR HELP
>8
ENTER BEGINNING AND ENDING DATE/TIMES OR "ALL"
AND WHETHER TO EXCLUDE OUT OF RANGE DATA AS FOLLOWS:
MM DO YY HHMM MM DD YY HHMM XXX OR
ALL XXX
>ALL
ENTER PARAMETER I.D.. NUMBER OF SAMPLING STATIONS (3 DIGITS)
AND SAMPLING STATIONS DESIRED OR "ALL" AS FOLLOWS:
XXXXXX XXX XX XX XX XX ... OR
XXXXXX ALL
>DN THE ALL
EPA-DC PILOT PLANT WASTEWATER REUSE TREATMENT SYSTEM
REPORT PERIOD
4/ 1/75 0000 THRU 11/17/77 1508
OUT OF RANGE DATA
PARAMETER DN THE - UNITS
INCLUDED
HRS
MINIMUM
MAXIMUM
ARITHMETIC
MEAN
STANDARD
DEVIATION
GEOMETRIC
MEAN
SPREAD
FACTOR
****** ************ ************ ************ ************ ************ ******
H9
A9
19
J7
4
6
6
7
.300000
.300000
.300000
.300000
1. 30000
2. 80000
2. 80000
3.80000
. 775000
1. 23333
1.31667
1.67143
.457347
.937372
.856543
1.22163
.664521
.909768
1.07134
1.28374
1.946
2.510
2. 130
2.316
-------
K7 6 .300000 23.2000 5.76667 8.71244 2.39858 4.452
L7 7 .300000 23.2000 5.05714 8.17187 2.05036 4.158
VO SUCCESSFUL TERMINATION OF PREVIOUS FUNCTION
0 ENTER FUNCTION CODE - TYPE "H" FOR HELP
>9
PROCRAH EXECUTION IN DEMAND MODE TERMINATING NORMALLY
-------
F. P HOG BAH £HEPLT
The function ot this prog ran is to interactively prompt the
user for parameter I. D. f titles, symbol types, and various
other information necessary to execute the plot program
1YBLUE. Since the user must interact with this program tc a
large extent this program nay only be executed in demand
mode. However, if the user does not wish to remain
connected to the demand terminal, he may specify that tue
plot program be submitted to the batch ijueue to await
execution at a later time. Since this is an interactive
program, the user is prompted for all information necessary
for plot execution. Following is an example of a sample
terminal session used to generate and submit a plot demand
execution along with the computer listing of the points
plotted and the resulting plot.
91
-------
PREPLT
ENTERED PLOT PREPROCESSOR PROGRAM.
PLOT RESTRICTIONS ARE AS FOLLOWS:
1. FIVE (5) LINES PER PLOT
2. TWO THOUSAND (2000) DATA POINTS PER LINE.
ENTER THE NUMBER OF LINES TO BE PLOTTED ON THIS GRAPH.
>1
DO YOU WISH TO USE THE EXTENDED GRID OPTION? (YES OR NO)
>NO
ENTER FIRST TITLE.
>GRAtHICS DEMONSTRATION
ENTER SECOND TITLE.
>BLUE PLAINS DOCUMENTATION
ENTER THIRD TITLE.
>PARAHETER VS TIME
ENTER Y-AXIS TITLE.
>PH
IS THE Y-AXIS A LOG AXIS? (YES OR MO)
>NO
DO YOU WISH THESE PLOTS TO BE EXECUTED IN DEMAND MODE7 (YES OR NO)
>YES
ENTER PARAMETER I.D. TO BE PLOTTED AND BEGINNING AND ENDING DATES AS FOLLOWS:
XXXXXX MM DO YY HHMM MM DD YY HHMM
> PH 04 01 75 0600 06 30 75 2359
ENTER THE SUBSYSTEM/SAMPLING STATION TO BE PLOTTED
>L7
ENTER ONE OF THE FOLLOWING LINE TYPES:
L1NEONLY, PTSONLY, LINE+PTS, PARABOLA, OR PARAB+PT
>LINE+PTS
ENTER ONE OF THE FOLLOWING SYMBOL TYPES:
SQUARES, CIRCLES. TRIANGLE, +, X, DIAMONDS, Z, Y, *, OR I
> +
THE PLOT RUNSTREAM HAS BEEN EXECUTED - YOUR PLOT(S) ARE READY TO DRAW
PROGRAM EXECUTION IN DEMAND MODE TERMINATING NORMALLY
READY
READY
SYSTEM WARNING - MAX CARDS
SYSTEM WARNING - MAX CARDS
SYSTEM WARNING - MAX CARDS
SYSTEM WARNING - MAX CARDS
READY
READY
FURFUR 0026-11/17-15:13
'TIMEOUT WARNING*
92
-------
me,A PLOT151025.
•cut
•AIC,A PtTCIIlOJS,
READY
•UII 4.,PbOT15|025.
READY
•use 5..PLTC15I02I.
READY
•XOt RLUEPROG.TYRLUE
EXPECTED
NEXTPACE
OPTION
TITLE1
TITLE!
TITLIJ
TMIN
TMAX
TLCNCTH
YLAIEL
YMtN
YMAX t
YLENGTHa
Y»LOG
NtXTLXMC
LINEONLY
•QUAKE*
rOUMD
NEXTPAOE
OPTION
TITLE!
TITLE2
TITLE3
TMIN
TMAX
TLENGTH
YLABEL
YMIN
YMAX
YLENGTH*
Y'LINEAR
NEXTLINE
LINE«PT5
.00 .00
ORAPHICI DEMONSTRATION
5LUE PLAINI DOCUMENTATION
PARAMETER ¥5 TIME
4 1 75 «00 3
• 10 75 21St 0
11.5450
PH
4.1000
7.1000
5,0000
*
t
t
,
*
*
•
t
t
•
t
t
1
2
1
4
5
4
7
5
t
10
11
12
12
11
14
IS
1$
17
11
5
5
I
I
5
5
5
5
*
5
5
5
1
5
5
5
5
5
I
7
7
1
5
5
•
•
t
to
to
10
11
It
11
11
12
12
12
11
75
75
75
75
75
75
75
75
75
75
75
75
75
75
75
75
75
75
75
710
1510
1110
710
3110
710
1510
2310
710
1310
9310
710
710
1510
3310
710
1510
3310
110
7,15000
7,10000
7.35000
7,40000
7,30000
7,30000
7,45000
7.15000
7,45000
115.000
110,000
7,50000
7,50000
7.45000
7.10000
7.20000
7.11000
7,20000
1,50000
93
-------
t
*
•
,
•
t
•
t
t
t
t
*
t
«
'
It
ao
at
aa
ai
34
at
at
ai
at
at
10
n
la
11
14
It
It
17
11
It
40
41
42
41
44
49
46
47
41
49
to
11
ta
11
14
it
tt
17
II
tt
to
tl
ta
41
»4
tt
tt
47
tt
10
t 11 71 1110
i 11 7i ano
14 71 710
14 71 1110
14 7t ano
11 71 710
It 71 1110
it 7t ano
It 11 710
It 71 1810
it 7t ano
17 71 710
17 78 1810
17 7t ano
11 71 710
11 71 1910
it 78 ano
11 78 710
It 78 1910
it 7t ano
ae 7t 710
ao 79 1910
ao 7t ano
at 7t 710
21 71 1810
at 78 ano
2J 78 710
aa it 1910
32 79 2J10
ai 78 710
21 79 1910
ai 7t 2110
24 79 710
24 71 1910
24 79 ano
as 79 710
28 71 1110
at 78 ano
at 78 710
at 7i mo
2f 71 2110
27 It 710
27 71 1110
27 7i ano
2t 71 710
at 7t mo
at 7t no
at 7i mo
at 7t ano
10 71 1110
io 7t ano
7,11000
7.11000
7,11000
7,20000
7.20000J
7,41000
7.10000
7.10000
7,40000
7,10000
7,10000
7,11000
7.10000
t.toooo
7,28000
7.10000
7,20000
7,10000
7,10000
7,10000
7,10000
7.20000
7.20000
7,28000
7.20000
7,20000
7,11000
7.10000
7,20000
7.10000
7.20000
7.28000
7,10000
7,18000
7,20000
7.10000
7,11000
7,20000
7.18000
1,11000
7.28000
7.10000
7.10000
7,11000
7,20000
7,10000
7.10000
7,40000
7,40000
7, mnnn
7,10000
1,10000
94
-------
71 I II 71 TtO
7,41000
72
71
74
78
71
77
71
71
10
11
12
11
14
II
II
• 7
II
II
10
• 1
• 2
• 1
• 4
18
•1
17
II
• 9
too
101
102
101
104
108
104
107
101
101
110
111
112
111
114
111
111
117
111
11*
120
11 71 1810
11 71 3110
31 78 3110
1 78 710
1 78 1810
1 78 3110
2 78 710
2 71 1810
2 78 3110
1 78 710
1 7| 1110
i 1 78 3110
1 4 78 710
• 4 78 1810
1 4 78 3110
• 8 71 710
• 1 71 1110
1 8 78 3110
1 1 71 710
1 1 71 1810
• 1 78 3110
t 7 71 710
1 7 78 1810
1 7 78 3110
1 1 78 710
1 1 71 1810
1 1 71 3110
1 1 78 710
1 1 78 1110
1 1 71 3110
t 10 78 710
1 10 71 tllO
t 10 71 3110
1 11 71 710
1 11 78 1810
1 11 78 3110
t 12 78 710
1 12 78 1810
< 13 71 3110
4 11 71 710
1 11 78 1810
« JJ T« i)lO
1 14 71 710
1 14 78 1810
1 14 71 3110
I 11 71 710
1 18 78 1810
t 18 71 3110
1 11 78 710
7.10000
7,30000
7*40000
7.30000
7.10000
7.10000
7.10000
7.10000
7,30000
7.10000
7,10000
7,400001
7,30000
7,40000
7,10000
7,10000
7,40000
7.20000
7.10000
7,30000
7.10000
7,40000
7,40000
7.10000
7.40000
7.30000
7.10000
7,10000
7.20000
7,30001
7.10000
7.40000
7,10000
7.10000
7,10000
7,30000
7,10000
7.00000
7,20000
7,10000
7,10000
7,30000
7,40000
7,10000
r, 20000
7,40000
T. 30000
7,20000
1,80000
131 I II 71 1110
7,10000
95-
-------
132 • It 1% 1)10
7,80000
Ntxttm
riNIIHED
riNIIMED
t
t
121
124
128
13«
t
127
121
139
110
111
112
111
t
114
111
t
111
1)1
*
1)1
119
140
141
142
141
144
141
141
t
147
141
149
no
IS!
182
IS)
114
til
111
117
111
119
110
111
112
17 71 710
17 71 1810
17 71 2)10
11 71 710
11 71 1110
11 71 2110
19 78 710
19 71 1110
19 79 2110
20 78 710
20 78 1110
20 71 2110
21 71 710
21 71 1810
21 11 l)l«
22 11 110
22 IB 1110
22 11 3)10
2) 11 710
2) 71 1110
2) 71 2)10
34 71 710
24 78 1810
24 71 3)10
38 78 710
31 78 1810
38 78 3)10
31 78 110
31 18 1110
21 18 2)10
27 78 710
27 78 1110
27 71 1)10
21 71 710
21 71 1110
21 71 3)10
39 11 110
10 IB 1110
10 18 3)10
00 0
1,90000
1,)0000
7.30000
7.10000
7.30000
7.JOOOO
7. 10000
7.JOOOO
7,10000
7,10000
7,40000
1,10000
1,40000
1,10000
1.40000
1.90000
1,90000
1,40000
7,30000
,30000
.30000
.90000
.10000
.40000
7,10000
1,30000
7.10090
1,40000
1,10000
1,30000
1.10000
7.10000
7,40000
7,10000
7,10000
7,10000
7,30000
1. 10000
7,10000
,100000*11
EXECUTION NAI TERMINATED
IIRKPT PUNCHI
MRKtT
96
-------
GRAPHICS DEMONSTRRTION
BLUE PLPINS OOCUMENTPTION
PRRRMETER V5 TIME
\D
8.00
7.90
7.80
7.70
7.60
7.50
7.110
7.30 -
7.30 -
7.10
7.00 •
6.90-
6.80 •
6.70
6.60 -
6.SO -
6.40 -
6.30 -
e.ao -
6.10 -
6.00
-------
G. EBfifiB MESSAGES
All of the preceding programs have numerous error checks
included in the cede. When these checks discover errors,
either in the data or in the commands, various messages will
be printed to let the user know erroneous information has
been detected. In batch moae, these checks tall intc two
categories, warnings and fatal errors. The warning message
will inform the user an invalid piece of data was detected,
for example - invalid tiae specified, but will allow t&e
program to continue execution. A fatal error will terminate
execution of a program abnormally. This type ot error is
caused by an invalid piece of aata which is essential tor
the program to continue execution, for exaaple a 0
specified for the numoer of data units in program DAXASTGb£
will cause a fatal error. In demand mode the error checks
ara cnly warnings. If an error is detected in batch mode
the user is notified of an invalid entry and prompted tc re-
enter the data. These messages are all self-explanatory.
98
-------
TECHNICAL REPORT DATA
(Please read Instructions on the reverse before completing)
. REPORT NO.
EPA-600/2-78-036
3. RECIPIENT'S ACCESSION NO.
. TITLE AND SUBTITLE
Users Manual: Data Storage and Retrieval System for
Pilot Wastewater Treatment Research
5. REPORT DATE
March 1978 (Issuing Datel
6. PERFORMING ORGANIZATION CODE
. AUTHOR
------- |