|
Location: Ministry Home > Publication > Forms, Manuals and Guidelines > r308ug.pdf > HTML version |
This is a HTML version of the original PDF document. The HTML version is being provided for reading purposes only and is not the official version of the document.
The following explanation is meant to serve in lieu of a revised user's manual for the new version of the Regulation 308 dispersion routines written for the IBM PC and compatibles. It is meant to serve as a list of corrections to the user's manual for Version 1.01.
DISTRIBUTION PACKAGE
(See page 2.3 of the Version 1.01 User's Manual)
The enhanced versions of the subprogram in the package are larger, and occupy five diskettes including the equipment related routines. Our usual mailing packages can hold only up to four diskettes without risking damage to the mailer contents. Also, many recipients are interested mainly in the routines directly relating to Regulation 308.
We are therefore distributing the most commonly used dispersion routines as a separate package occupying 1 high density (1.44 MB) diskette. Any parties interested in obtaining Version 2.00 of the equipment related routines, or the less commonly used dispersion routines (i.e. Scorer and Barrett, Area Sources) should contact us and make a specific request for them.
It may be noted that the Scorer and Barrett calculation is readily executed on a hand held calculator; the only advantage to using the PC program is the provision of a neatly printed report of the calculation inputs and results. In the case of the Area Sources program, the algorithm used is simply one of several which could be used to address such situations.
The following is a list of which programs appear on which diskette. The batch files used for the menu system, and the installation batch files, are also present on the appropriate diskettes.
Diskette Contents: SDBMGR, PDBMGR, MAXGLC, CAP
ISOPLETH, CONPRT, CONTOUR and REQSH
GCPLOT, INTPL and NEWMAX
INSTALLATION PROCEDURES(See pages 2.2, 2.3 in the Version 1.01 User's Manual
For diskette-based systems, take your working copies and follow these steps:
1. Place Diskette #1 in drive A:
2. Type A: and press <Return>
3. Type RUN308\INSTF and press <Return>
4. Follow the directions that appear on the monitor
For those with hard disk based systems, if you are upgrading from Version 1.01, we recommend the following installation procedure:
1. Back up all case studies performed with old version of REG308
2. Remove all program and data files from RUN308
3. Go to Hard disk install procedure
The directions that will appear will also direct the user on how to start the installation process for the new Version 2.00 programs on the hard disk.
If one does not remove the Version 1.01 programs and subdirectory first, the installation batch file (INSTH.BAT) will overwrite Version 1.01 programs with Version 2.00 files in this subdirectory (C:\RUN308) of your hard disk drive, and the new menu system will not work for the equipment-oriented programs (which will remain in the subdirectory).
We recommend that you remove the old files before using INSTH, as most users do not require the equipment-oriented routines and they will simply occupy space on your system. If you do wish to have the equipment-oriented routines, you should request Version 2.00 from us. This will gain you a menu system to access the files, and the enhancements incorporated into all Version 2.00 routines.
The batch files INSTH.BAT and INSTF.BAT have also been updated to provide better guidance to users and a more "friendly" interaction during the installation process.
For new users wishing to install Version 2.00 on their hard disk system, the following steps should be followed:
1. Place the floppy Diskette in drive A:
2. Type A: and press <Return>
3. Type RUN308\INSTH and press <Return>
4. Follow the directions that appear on the monitor
MENU SYSTEM
(See page 4.1 and Figure 4.1 in the Version 1.01 User's Manual)
Problems have been reported using the Version 1.01 menu system on diskette-based PCs. The batch files used in the previous release were developed under DOS 3.0, and as it turns out the techniques used were not downward compatible (i.e. do not work for DOS 2.0 or 2.1). They have been revised to work under any DOS revision 2.0 or later.
As part of this revision, programs will now read and write to the subdirectory \RUN308 on drive A: only, unless one specifies a complete path name when prompted for the file name. This restriction stems from the limitations of the early versions of DOS.
Also, due to the reorganization of the distribution package, the exit to DOS is now obtained by typing 11 and pressing <Return>. See the attached Figure 1 for the format of the screen under the new system.
OUTPUT OPTIONS AND FILE-RELATED PROMPTS
This discussion relates to all programs. The matter of output options supplements information on page 3.1 of the User's Manual for Version 1.01 (Section 3.2 - Titles). The discussion of file-related prompts is included to address these matters for the first time.
Some users, particularly those whose systems were tied into a local area network, were unable to use Version 1.01 because they did not have a dedicated printer attached to their workstation.
Under Version 2.00, the first prompt for each program is:
Log File (DOS format) [PRN] >_
Press return if you are connected to a printer and desire a hard copy report. You may also specify a file name, in which case an ASCII format text file containing all items normally printed on paper will be generated.
Remember that your reply to any request for a file name may be a complete path name, for example, "B:\REPORTS\TESTFILE.DOC". A simple file name, such as TESTFILE.DOC, will cause your file to be found in the subdirectory \RUN308 of the program disk in drive A: (or C:, if your system resides on a hard disk). The utilities for directory searches from the menu system assume file storage in drive B:, in the root directory B:\.
A simple way to print such a report file would be to take it to a system equipped with a printer, or make appropriate arrangements through your LAN software, and then (depending on the current subdirectory you are "in" as far as DOS is concerned):
COPY B:\REPORTS\TESTFILE.DOC PRN:
- or -
COPY TESTFILE.DOC PRN:
Remember that you may also send your results directly to the screen by specifying CON: at the "log file" prompt.
Several users have noted that the prompts involving file storage and retrieval are not very "friendly". This is an acknowledged limitation in the package, but one we are not likely to address in the near future. The cooperation between DOS and Microsoft FORTRAN is not great (surprising, given that they come from the same company). Use of the Regulation 308 routines presumes a working knowledge of PC or MS DOS for file handling.
RE-RUNNING PROGRAMS
This discussion relates to an enhancement which is not referred to in the user’s manual for version 1.01.
It was noted by same users that it would be preferable to be able to loop back to the beginning of the program and edit selected variables, rather than editing a file and then rerunning the program from the menu system.
Under Version 2.00, upon termination of the programs MAXGLC, CAP, REQSH, ISOPLETH and CONPRT, a prompt of the following form will appear:
Do you want to run another case? [no] >_
It is now possible to loop back to the beginning of these programs with entered parameters preserved, but only if those parameters were not entered as part of a data file. Only relevant parameters entered by hand are kept, and the loop is directly back to the log file prompt.
MAXIMUM GROUND LEVEL CONCENTRATIONS
(See Chapter 11 of the User's Manual for Version 1.01)
Using Version 1.01, it is not possible to evaluate scenarios where virtual sources only are present, or where their influence is a significant contributor to the maximum ground level concentration, unless a property line is defined. When complex property lines have been specified, maxima were occasionally found inside the defined property. In addition, when multiple virtual sources were defined the program occasionally failed to locate the global maximum.
In Version 2.00 of the program MAXGLC (Menu option 3), the property line requirement remains, and limited improvements have been made to the ability to find the global maximum. The problem involving determination of maxima within property boundaries has been resolved.
Included in your package is another program, NEWMAX. It may be found on Diskette, in the subdirectory EXPERMNT. This is a program based on MAGGLC, which tries to take better account of virtual source influences by searching the area of each source's maximum for the global maximum. It thus takes longer to execute than does MAXGLC; one may evaluate the length of time needed for a NEWMAX run by running MAXGLC and then multiplying by the number of sources under evaluation.
Due to the drastic increase in run time incurred in this approach, it is left to the user's judgement as to whether it is appropriate to substitute NEWMAX. NEWMAX is not listed in the menu system; one may either run it "manually" using the sequence:
A:
CD \EXPERMNT
NEWMAX
(first ensuring that the floppy diskette is in drive A:), or one may erase MAXGLC.EXE from your working copy, rename NEWMAX.EXE MAXGLC.EXE, and copy this new MAXGLC.EXE to your working copy. It will then function as your menu option 3.
It is not necessary to use NEWMAX if your set of sources is dominated (in numbers and contribution to the maximum ground level concentration) by tall stacks ("point sources"). As well, the use of NEWMAX without a defined property line is of little value, as the maximum will then be found in the Centre of the strongest virtual source. NEWMAX is the only reasonable choice, however, if your situation involves several virtual source contributions.
It is feasible to run NEWMAX routinely if your system consists of an IBM compatible using both a fast
microprocessor (80286 or 80386) and a math coprocessing chip (B0287 or 80387). Systems using 8088
chips without a coprocessor are generally very slow even running MAXGLC; if your PC or PC/XT system
does not have an 8087 chip and your situation requires the use of NEWMAX for accurate results, we
strongly advise the installation of the 8087 chip. Otherwise, unreasonably long execution times may
be expected (i.e. several hours to several days, depending on the number of sources involved) even
when dealing with relatively simple scenarios. In general, systems based on the 8088 or 8086, even
with an 8087 chip installed and/or running at accelerated clock speeds ("turbo" systems)
are not well suited to the use of NEWMAX, especially with large numbers of stacks and/or complex property
boundaries.
.
ONTARIO MINISTRY OF THE ENVIRONMENT
REGULATION 308 DISPERSION PROGRAMS
for
MS/DOS Microcomputer
USER'S MANUAL
Version 1.02: August 1986
Electronic Word Perfect Version: January 1999
TABLE OF CONTENTS
Chapter Contents Program Page
1 Introduction . . . . . . . . . . . . . . . . . . . 1.1
2 Installation . . . . . . . . . . . . . . . . . . . 2.1
3 General Topics . . . . . . . . . . . . . . . . . 3.1
4 Starting and Stopping Programs . . . . REG-308 . . 4.1
5 Heat and Material Balance . . . . . . HMBAL . . 5.1
6 Scorer Barrett . . . . . . . . . . . . SCRBAR . . 6.1
7 Area Sources . . . . . . . . . . . . . AREASRC . 7.1
8 Cyclone Performance Simulation . . . . CYCLONE . 8.1
9 Source Database Manager. . . . . . . . SDBMGR . 9.1
10 Point of Impingement Data Base Manager PDBMGR . . 10.1
11 Maximum Ground Level Concentration . . MAXGLC . . 11.1
12 Concentration at Points. . . . . . . . CAP . . . 12.1
13 Required Stack Height. . . . . . . . . REQSH . . 13.1
14 Isopleths. . . . . . . . . . . . . . . ISOPLETH . 14.1
15 Contour Printout . . . . . . . . . . . CONPRT . . 15.1
16 General Concentration Plot . . . . . . GCPLOT . . 16.1
17 Contour Plot . . . . . . . . . . . . . CONTOUR . 17.1
18 Heats of Combustion . . . . . . . . . HOC . . 18.1
19 Interpolation . . . . . . . . . . . . INTEL . 19.1
NOTE: Highlighted chapters are not included in this electronic version of the User’s Guide (Jan 1999 Version) Hard copies of the User’s Guide including these additional chapters are available upon request.
- i.1 -
1.0 INTRODUCTION
The REG-308 dispersion programs package is designed to allow users to quickly and easily carry out the computations required to evaluate the conformance of proposed sources of emission to the Ontario Ministry of the Environment’s Regulation 308. The package also includes a number of programs that perform related air quality functions.
This manual covers only the installation and use of the programs, and assumes that all users are familiar with the Regulation and with the concepts and terminology of air quality source assessment. A copy of the Ministry's Regulation 308 would be a useful adjunct to the use of this package.
First time users should read Chapter 2, Installation, before attempting to use these programs.
Chapter 3 covers topics and conventions that are common to most of the programs, and should be reviewed
before actual runs are attempted.
Chapter 4, Using the Programs describes the main menu starting and stopping procedures for the
programs.
Subsequent chapters deal with each program in detail, describing the dialogue required and showing a sample run.
A separate REFERENCE MANUAL provides details of the algorithms and internal structure of the programs.
- 1.1 -
2.0 INSTALLATION
2.1 SYSTEM REQUIREMENTS
This package requires the following minimum hardware and software configuration in order to function.
- IBM PC/XT/AT microcomputer or equivalent
- 256 kbytes RAM
- colour or monochrome display and adaptor
- 1 DSHD (1.44 Mbyte) floppy disk drive
- 80 column printer (assigned as PRN:)
- HP7475A plotter or equivalent (Eg: ROLAND DXY-880),
(Required for plotting programs only)
- DOS 2.0 or later
Recommended:
- hard disk drive
- 8087 (80287 for AT) floating point co-processor
NOTE: The programs in this package will run in the DOS prompt window of
Windows 3.11/95/98/NT.
2.2 SYSTEM CONFIGURATION
The following modifications will be required to the configuration of the system.
2.2.1 Installing the ANSI.SYS Driver
This driver must be loaded during system reboot in order to allow the various screen control functions within the programs to operate properly. The method of loading depends on the version of DOS that you are running. For Version 3.0 and higher, the following line must be included in the CONFIG.SYS file.
DEVICE=ANSI.SYS
This line may need to be modified if the ANSI.SYS file is not in the boot-up disk s root directory. See the CONFIGURING Chapter in your DOS reference manual for more details.
2.2.2 SETTING THE PATH
before invoking the REG-308 programs, the sub-directory in which they are stored must be added to
the system s PATH. It is most convenient to do this whenever the system is rebooted by adding the
following directory name to any existing PATH command line in the system’s AUTOEXEC.BAT file. If no
PATH command exists in the file, a new line must be created. See the COMMANDS Chapter in your DOS
Reference Manual for more information about the PATH command.
PATH A:\BUN308 For floppy systems
PATH C:\RUN308 For hard disk systems.
- 2.1 -
. 2.2.3 CONFIGURE THE PLOTTER
If the plotter is connected to the computer with a parallel interface, this step may be skipped. Usually, however, the plotter is connected using a serial interface. The communications characteristics of this serial port must be set up before the programs are started. This can be most easily done by inserting a MODE command into the AUTOEXEC.BAT file.
Example:
Let us assume that a plotter has been configured as follows:
Port : COM1 - Asynchronous Communication
Baud rate : 9600
Parity : None
Data bits : 8
Stop bits : 1
The MODE command for such a configuration would be:
MODE COM1:9600,N,8,1,P
NOTE: The programs were developed for use with Hewlett-Packard HP-GL and compatible plotters. If a compatible plotter is used, ensure that its switches are set to respond to the HP-GL command set.
2.3 MAKING A WORKING SET OF DISKETTES
As supplied, the REG-308 Program Disks contain files that allow use of the package from either a floppy or hard disk. This set of disks should be copied to a working set before proceeding any further. To do this, use the DISKCOPY command. See your DOS manual for details on how to make a copy of the distribution disks on your particular system. On a dual floppy system, the command required would be:
DISKCOPY A: B: (if you have 2 diskette drive, otherwise use
DISKCOPY A: A:)
Place the original distribution diskette in drive A, and a blank diskette in drive B. When the copy is complete, repeat the process until all diskettes have been backed up. Label the working set and store the originals in a safe place.
2.4 INSTALLATION - FLOPPY BASED SYSTEM
Installation for use on a floppy disk system involves the copying of a set of batch command files from a subordinate directory to the main (\RUN308) directory on each diskette.
WARNING: This procedure erases some files on each diskette, making subsequent installation to a hard
disk impossible. DO NOT perform this procedure on your original diskettes: use only your working copy.
The following steps are required.
- 2.2 -
2.4.1 Insert the Installation Disk in the A: drive.
2.4.2 Type in A:\RUN308\INSTF
2.4.3 Insert subsequent diskettes as requested until all
diskettes have been processed.
2.5 INSTALLATION - HARD DISK SYSTEM
This procedure assumes that you hard disk is drive C. It creates a directory named RUN308 in the C: drive's root directory.
The following steps are required.
2.5.1 Insert the Installation DISK in the A: drive
2.5.3 Type in A:\RUN308\INSTH
2.5.4 Until all files have been copied to the hard disk.
2.6 DISKETTE LISTINGS
For users with floppy based systems, it may be convenient to rearrange the programs so that programs used most frequently all reside on the same diskette. Although some effort has been made to group similar programs, you may find it convenient to rearrange them. Due to the large size of the executable files, you must ensure that you have enough room on each diskette.
The following lists the programs supplied on eack diskette. Each diskette also contains all of the files required for the menu.
PROGRAM DISK
SBDMGR
INTPL
PDBMGR
MAXGLC
CAP
ISOPLETH
GCPLOT
CONTOUR
CONPRT
EQUIPMENT DISK
(NOT INCLUDED IN THE REGULAR PACKAGE, MUST BE REQUESTED SEPERATELY IF NEEDED)
SCRBAR
HMBAL
HOC
CYCLONE
AREASRC
- 2.3 -
3.0 GENERAL TOPICS
3.1 PROMPTS
Users will generally be required to answer a number of questions after starting a program. These prompts
are made as plain as possible, consistent with the limited space available on the display screen.
The prompt will always include a description of the field being requested. Where required, the
units of the expected response are shown in parentheses. A default value, if any, is displayed
enclosed in square brackets. In order to select the default value, the user need enter only <return>.
3.2. TITLES
Following Each program will print a title banner on the screen and on the printer indicating the program name and version. this, the program will request information from the user to head the output of the program. All of the entries are optional, if they are not needed, simply hit <return> when the request is made. The following items are requested:
3.2.1. Date: Type in the date in any convenient format
3.2.2. Application no: Type in the application number. Note that letters and numbers can be combined.
3.2.3. Reviewer’s Name: Type in your name
3.2.4. Titles/Notes/Remarks: Type in anything you want. As many lines as necessary may be used. The program will continue this prompt (shortened to [ ]> after the first line has been entered) until a single <return> is entered.
3.3. EMISSION RATES
To cover the wide spectrum of possible emission rates, provision is made for the user to enter the
units of the emission rate.
The standard request is:
3.3.1 Emission rate (,units)[ ] >
The possible responses are:
Hit <return> for an emission rate of zero. In most programs this is a signal that a list of emission rates is complete and will result in the program proceeding to the next phase of operations.
Type in a number. The program assumes the emission rate is in grams per second.
- 3.1 -
Type in a number, followed by a comma, followed by the unit prefix. Prefixes recognized by the routine are
Prefix Units Factor
n nanograms 10-9
u micrograms 10-6
m milligrams 1O-3
k kilograms 103
Only the first character of the prefix is required. If the program does not understand your input, a warning message will be displayed and you will be requested to re-enter the value.
NOTE: The use of zero emission rates is not allowed. To test the effect of removing a source, either remove it using the editing function of program SDBMGR, or set the emission rate to some very Small value (for example, divide the existing emission rate by 106).
3.4. THE COORDINATE SYSTEM
All distances in the system are expressed in metres. Co-ordinate systems may be either UTM, or any locally produced map system provided that all co-ordinates are consistent.
Two other terms used in the dispersion program depend on the choice of co-ordinate system.
First, the orientation of a virtual source is defined with respect to the co-ordinate system if the virtual source is to combined with other sources. The orientation is defined with respect to the x-axis. If the length and width of the virtual source differ, the orientation angle is measured by drawing a line parallel to the length of the source until it intersects the x-axis. This angle (positive or negative) is the orientation. All angles are measured with respect to the X-axis in the mathematical sense. (Counter-clockwise is increasing, clockwise decreasing)
Secondly, the wind direction is defined by the selected co-ordinate system. The wind direction is defined as the angle between the wind vector and the x-axis, with the vector pointing in the direction the wind is blowing toward. Note that winds are measured in the mathematical sense (clockwise decreasing), not as compass winds.
3.5. SOURCE DATA INPUT TO DISPERSION PROGRAMS
There are two ways in which source data can be entered for use in
dispersion programs:
- 3.2 -
. 3.5.1 File input
This procedure is used if the source data has been stored on a disk file using program SDBMGR. This method is convenient when the number of emission points is large, or several programs must be run using the same data. File input is convenient when dealing with large industries which may file many applications over periods of time. You can maintain an up-to-date data base containing all the necessary data without the need to search old paper files for emission data. File input is also convenient to use when a source emits more than one contaminant. For example, you can create a file using sulphur dioxide emission rates, make a copy of the file using the DOS copy command, then use program SDBMGR to modify the emission rates for another pollutant.
3.5.2 Keyboard Input -Input from keyboard is used primarily for minor applications. If you use keyboard input, only the physical parameters of the source are required, there is no facility for including the extra descriptive data which is provided by using SDBMGR.
3.6 POINT OF IMPINGEMENT INPUT TO DISPERSION PROGRAMS
As in the case of source data there are two methods to input point of impingement data to dispersion programs that require the Information.
3.6.1 File input -
In this method points are read in from a file created by program PDBMGR. This procedure is most useful
if UTM coordinates are used, because the same set of points can be used to assess any application
for new sources in the area. For example, all the significant points of impingement in a city or
town can be kept in a single file. Any application from sources in that town can be assessed against
the points in the file. Program PDBMGR can be used to keep the file up-to-date.
3.6.2 Keyboard Input -
As in the case of source data, keyboard input of points of impingement is used primarily for minor
applications when there is little chance of having to key in the data several times, or making
multiple use of the points (e.g. for different applications).
3.7 MAXIMIZING THE CONCENTRATION
According to regulation 308, the meteorological inputs to the dispersion calculation (stability, wind speed and direction) must be varied until the maximum concentration is found. For large, multi-stack sources, it is not always practical to test all combinations as the execution time of the program would be excessive.
The REG-308 package makes the following assumptions:
- 3.3 -
3.7.1 SINGLE SOURCE ASSUMPTIONS
The maximum concentration at a point due to emissions from a single source occurs as follows.
a) The wind direction is such that the plume centreline intersects the point of impingement. Therefore the direction can be calculated using simple geometry.
b) The wind speed is varied until the maximum is found. This value is termed the critical wind speed. The wind is varied from 2.235 m/s to 18.235 m/s in steps of 0.235 m/s.
c) The stability is varied until the maximum is found.
3.7.2 MULTI-SOURCE: DOMINANT STACK TEST OPTION
Consider a source consisting of a number of point sources and/or virtual sources and a point of impingement. For each of these emission points we can calculate the values of wind direction, critical wind speed and stability that maximize the concentration at the point of impingement. Using these values we calculate the concentration due to each source at the point individually. The source with the highest concentration is termed the dominant stack, that is, the stack whose emissions dominate the concentration at the point.
When using the Dominant Stack option, the programs assume that the maximum concentration due to all sources added together occur under the conditions of wind speed and direction which maximize the concentration of the dominant stack at the point of impingement.
3.7.3 MULTI-SOURCE: ALL STACK TEST OPTION
In this procedure for estimating the maximum concentration from a number of sources, the programs first determine the conditions that result in the maximum concentration at the point of impingement for each of the sources individually. Then we calculate the additive concentration due to all sources by substituting in turn the conditions that maximize the concentrations of the individual sources.
In general the ‘All Stack test option’ is more time consuming. If we have N stacks, the Pasquil-Gifford dispersion equation Just be solved 2N times for the dominant stack option, and N*N ( N2 ) times for the All stack Test option. In the case of 10 stacks, the all stack option will take 5 times as long to execute as the dominant stack option.
3.8 GRAPHICS OUTPUT
The output of graphics programs (e.g. CONTOUR, GCPLOT) may be sent to a file rather than directly to a plotter. This feature has a number of advantages:
- 3.4 -
3.8.1 Graphics programs can be run on systems without a plotter. The diskette containing the file
can then be transferred to a machine with a connected plotter for output. In this way several computers
can share one plotter.
3.8.2 Since some of the programs may require a long execution time, this feature makes it possible to carry out calculations and output separately. This will free a plotter equipped machine for other uses.
3.8.3 By saving the graphics display on a disc file, multiple copies can be made without re-computing the data.
The sizes of the output files will vary and can become quite large. It is recommended that, on floppy only systems, an empty diskette be used to contain the output.
The plot file may be output to the plotter using the COPY command.
Example: COPY TEST.PLT COM1:
- 3.5 -
4.0 STARTING AND STOPPING PROGRAMS
4.1 CALLING THE MENU
All functions of the REG-308 package can be accessed via a main menu. When started through this menu, all programs will return back to the main menu when complete.
Prior to starting the REG-308 package, you should move into the directory that you will be accessing and ensure that your default drive (DOS Prompt x> ) is set correctly. All REG-308 programs will try to read and write data files in your current(working) directory on the default drive.
To obtain the menu, type in the following:
REG308
NOTE: You must have set the PATH to include directory RUN308. See Chapter 2 for more details.
The main menu will then appear as shown on the following page.
To run a program or a utility function, type in the appropriate number.
To exit the REG308 programs, enter 1. This will return you to DOS.
To end a program or session prior to normal completion, use Ctrl-C. DOS will then prompt:
OK to terminate batch job (Y/N)?
Type in the appropriate response. To restore the DOS prompt to its default value, start the REG-308 again and select response 1. This will return you to DOS and restore the prompt.
- 4.1 -
.
Fig. 4.1: Main Menu
REG308 PROGRAMS VERSION 2.00
PROGRAMS
1 Source Database Manager 2 Source Database Manager
3 Maximum Ground Level Concentration 4 Concentrations At Point
5 Required Stack Height 6 Isopleths
7 Contour Printout 8 Contour Plot
9 General Concentration Plot 10 Interpolation
UTILITIES
11 Return to DOS 12 Reg 308 File Directory
13 Program Directory 14 Complete Directory
Enter the number corresponding to your choice, then press the return key.
your choice?
- 4.2 -
. 9.0 PROGRAM: SDBMGR - SOURCE DATABASE MANAGER
9.1 FUNCTION
This program allows a user to store data concerning sources on a disc file. The data can subsequently be edited, updated or printed as required. Using a file can save considerable time when several cases must be run, or source modifications proposed. Furthermore, the errors associated with the repetative typing of data can be reduced.
The user should be familiar with the use of PC-DOS filenames, including pathnames, etc.
9.2 DATASETS AND FILES
A dataset is a collection of information on one or more sources. A file is simply a dataset that has been written to disc. The source datasets used for this version of the Reg 308 programs consist of the following data:
9.2.1 HEADERS
Each dataset is prefaced by ten lines of header information. This space is available for any information,
such as the applicants name, address, the contaminant being tested, etc., that may be required to
document the dataset.
9.2.2 PROPERTY LINE
Regulation 308 applies to points of impingement outside the property line of the source. Many sources, particularly the "virtual sources" have maximum ground level concentrations near the source. It is quite probable that standards could be exceeded within the property, but not outside.
The property line is defined as a sequence of points, that is, x and y coordinates. Up to 30 points
are allowed. In order that the list specify a "closed" area, the program sets the last point
in the list equal to the first point.
9.2.3 EMISSION POINTS
Two types of emission point are currently recognized, point sources such as stacks and virtual sources. These are the common terms for the two types of sources covered in reg 308 which use the Gaussian dispersion equation. For each emission point, the physical parameters (height, emission rate, coordinates, etc) and a one line description of the source are stored.
A maximum of 100 sources may be included in a dataset.
- 9.1 -
9.3 RUNNING THE PROGRAM
Select the program (SDBMGR) from the REG-308 menu. Ensure that the printer is ON and ON-LINE.
There are a number of features of SDBMGR simply the use of the program. For example, it is frustrating to type in large amounts of data and then lose it because of an error. SDBMGR keeps track of whether or not the data in memory has been saved on a disc file. If you type in a command that would result in the data being lost, SDBMGR will attempt to remind you.
When you enter a command, the first thing SDBMGR does is check whether or not there is a dataset in memory. If there isn’t (such as the first time you start, or after a reset), the program will request the name of a source file. The data read from the file will stay in memory until you end the program or use the RS (reset) command.
Source data is kept in files with the 3 character extension .STK. You should avoid use of files with this extension unless they have been created by SDBMGR. Note the extension is supplied by the program and need not be specified by you.
9.4 SDBMGR COMMANDS
The SDBMGR commands consist of the following list. A command is selected by inputting its two character mnemonic.
RS - reset - prepares the program for a new dataset
IN - input - input a source dataset
ED - edit - edit a source dataset
LI - list - list a source dataset
SDBMGR editing commands are used to modify a dataset
AS - add source - adds a new source to an existing dataset
DS - delete source - deletes a source from a dataset
MS - modify source - modify source parameters
EN - edit header - edit the header records
AP - add point - add a point to the property line
DP - delete point - delete a point from the property line
MP - modify point - modify a point on the property line
You can mix commands, for example you can enter any of the edit commands without specifying ED first, or you can list a source when "Edit Command?" is requested.
9.4.1 Output Files
Each time you input a new dataset or edit an existing dataset, provision must be made to save the
data in a disc file. The file names must follow the DOS convention, and are created with an
- 9.2 -
extension.STK.
If you are editing an existing dataset, you will have already told the program the filename of your data. When specifying where the edited data is to be stored' the default filename is the one you entered. It is not necessary to re-enter the name if the original data is be over-written by the edited data.
When inputting a new dataset, there is no default filename.
The procedure for specifying an output file is as follows: If a filename has been previously entered, it is displayed as follows:
Default file: Filename.STK
The program then requests:
9.4.2 Output File name (DOS format) [default file] -
Type in the name of the file. If you make an error, the program will display a warning and ask you
to repeat your input. Hit <return> to write your data to the default file. The program then
searches to see if the fide exists. If it does exist, the program requests:
9.4.3 File exists - OK to overwrite [yes] -
Type in no to go back and use a different filename. Otherwise hit <return>. If you are editing,
this gives you a second chance to retain your original data.
9.4.5. Input files -
If you enter any command except the INPUT or RESET command, the first thing SDBMGR does is to check
whether there is a valid dataset in memory. If there is, the command is executed. If not, the program
requests:
9.4.6 Input file name (DOS format) [.STK] -
Type in a valid filename. It is not necessary to add the extension .STK since the program will do
this automatically.
If an error condition exists, it will be displayed at this time.
If no errors occur, the program will display:
xx Sources read from file filename.STK,
where xx is the number of sources read from the file filename is the name you entered.
The sections below illustrate the use of the various commands by first creating a dataset, then using
the commands to carry out various operations on that dataset.
- 9.3 -
9.5 SAMPLE DATASET CREATION DIALOGUE
IN - Input Source Data
This command is used to input all the information for a new dataset. The first part of the data consists of ten lines of information which may contain anything you want.
The program first displays a message asking you to either enter some data or hit <return>. The program will then prompt
9.5.1 x> - where x is a digit from 0 to 9. Type in some data or hit <return>.
The next section of the program is used to input the property line. The program will first request:
9.5.2 Do you want to define the property line?
Type in "yes" ("y" will do) if a property line is to be input
Hit <return> if no property line is to be defined. If no line is to be defined skip to section 9.5.4. below.
If you have decided to input the property line, the program will next request the coordinates of each
successive point in turn:
9.5.3 Coordinates of point i (m,m)- Note that i is the number of point being entered. Type in the coordinates of each point or hit <return> twice to exit this phase of the program. Alternatively, if the co-ordinates of the last point entered are equal to those of the first point, the program assumes you have made a circuit of the property line and will exit.
First note that a minimum of three points are required to define an area. If you try to exit before three points have been entered an error message will be displayed and the program will go back to step 9.5.2 above.
Also note the program will add another point at the end of the list equal to the first point entered.
The maximum number of points you can enter is 29. If you exceed this number the program goes to the next phase below.
Next, source data is entered.
- 9.4 -
9.5.4 Entering Data for source i
Type of source? (l=point source, 2=virtual source
Type in a 1 or 2 depending on source type. Hit <return> to end this phase of the program.
If you type in a number other than one or two, an error message is displayed and the request repeated.
9.5.5 Depending the source type, you will be presented with one of the following sets of prompts. Type the values as required, note that hitting <return> is equivalent to typing in a zero.
Point Source Prompts Virtual Source Prompts
Stack Height (m) Virtual Source Height (m)
Emission rate,(units) Emission rate,(units)
Exit Velocity (m/s) Source width (m)
Stack diameter (m) Source length (m)
Stack gas temperature (C) Source orientation (de")
X coordinate (m) X coordinate (m)
Y coordinate (m) Y coordinate (m)
9.5.6 Description -
Type in the description of source to a maximum of 78 characters.
Characters beyond 78 will be lost. Hit <return> if no description is required.
The program will now loop back to section 9.5.4. to request the next source. The maximum allowable
number of sources is 100.
When you have signified that you have finished entering all the data, the program will request an
output filename. See section 9.4.1. for details.
9.5.7 Output file name (DOS format) -Type in the name of the file to contain the dataset.
All source files have an extension .STK. The program will supply the extension so it is not necessary to enter it.
If you have violated the DOS rules for filenames an error message will be displayed and the request repeated.
If the name of the file you have selected already exists, the program will request:
9.5.8 File exists - OK to over-write? [yes] -
Type in NO or no to go back to step 9.5.7. to select a new filename.
Otherwise hit <return>, and the existing file will be over-written.
9.5.9 The following page shows the input of a source containing a stack and a virtual source.
- 9.5 -
9.6 LI - List Command
This command is used to obtain a listing of the contents of a dataset. The listing may be to the printer or the screen. The program first requests:
9.6.1 Type in O for output to screen, 1 for printer -
Type in the appropriate value or hit <return> to cancel the listing.
If you have selected output to the screen, the output will fill the screen and the program will pause
(so you can read the screen) and will then display the message:
9.6.2 Please press <return> to continue. -
Hit the return key to continue the listing.
9.6.3 The following pages show the listing of the source demo entered as an example of the input command.
The first page shows the inputs made to the program, the second is the actual listing to the printer.
9.7 ED - Edit Command
This command puts the program in edit mode. The next prompt will be Edit Command. The program expects one of the edit commands as its next input. If a dataset is not in memory, the filename will be requested at this time. See section 9.4.6. on how to enter the input filename.
9.8 RS - Reset Command
The reset command is useful if you wish to look at several files one after the other, without loading
the program from disc every time. This is most useful for diskette based systems, where the program
and data may be stored on different diskettes.
If the dataset in memory is different from one on disc (you edited the dataset without saving it,
for example) the program will request:
9.8.1 Are you sure? (Dataset in memory has not been saved) [Yes] -
Hit <return> to follow through with the reset, otherwise type in no, and the data in memory will be saved.
9.9 AS - Add Source edit command
This command is used to add a new source to an existing dataset. The prompts are identical to those used to input a source. (see sections 9.5.4.-9.5.6. for details)
9.10 MS - Modify Source edit command
This command is used to alter the data associated with an existing source in the dataset. The program first requests:
- 9.6 -
9.10.1 Number of source to be modified -
Type in the number of the sauces to be edited (1...100). If the number you enter is less than 1 or
greater the number of sources, the program will warn you with the message:
Number out of range.
Next the program displays the message:
The values will be displayed one at a time
To edit type in the new value
To retain the existing value hit return
The program will then display the physical parameters of each source, with the existing values enclosed in brackets. When the item to edited appears, type in the new value, otherwise hit <return> to retain the existing values.
Finally the current description is output and the program prompts:
9.10.2 ?> - type in the new descriptive line or
hit <return> to keep the current description.
9.11 DS - Delete Source edit command
This command is used to remove a source from a dataset. The program will ask for the number of the source in the dataset. If the number is less than one or greater than the number of sources an error message will be displayed. If the source being deleted is the last one, a warning message is displayed.
9.12 EN - Edit Header command
This command is used to replace lines in the header. The program first displays the message:
When the line you want to changes appears on the screen
Type in the new line
Otherwise hit return to skip to the next line
Each header line will be displayed in turn followed by
9.12.1 ?> - type in new data, or hit <return> to retain the existing line.
9.13 AP - Add Point edit command
This command is used to add a point (or points) to the property line definition. This program will first display the existing property line and then request:
- 9.7 -
.9.13.1 Which of the existing points is the new point(s) to follow
Type in the number of the point. Note: If there is no existing property line, enter a O. Next the program requests:
9.13.2 Coordinates of point x (m,m) -
Here x is dependent on your entry in 9.13.1. Type in the appropriate values. The program will repeat the display of the property line with the new point added and then repeat the request incrementing the value of x. Hit <return> twice to end the input, or add more points as required.
9.14 DP - Delete point edit command
This command is used to delete one of existing points from the property line. This program will first display the existing property line and request:
9.14.1 Number of point to be deleted -
Type in the appropriate number, or hit <return> to cancel the delete. If a point is deleted, the modified property line will be displayed.
9.15 MP - Modify point command
This command is used to modify one of the existing points on the
property line. The program will first display the existing property line and then request:
9.15.1 Number of point to be modified? -
Type in the value or hit <return> to cancel the request. The program will then request:
9.15.2 Old values = x,y Type in new values -
Here x,y are the coordinates of the point you have selected to modify. Type in the values or hit <return> to
cancel the request. If you do modify the point, the new property line will be displayed.
- 9.8 -
Fig. 9.1 Sample Run - Data Entry
SOURCE DATE BASE MANAGER
VERSION 1.00
Command C ] > in
First enter Up to ten lines of descriptive information
or hit return in response to the prompts
0 [ ] > This is an example input used to illustrate usage of the program
1 [ ] > The source consists of a point source (stack) and a virtual source
2 [ ] > The emitted material is sulphur dioxide
3 [ ] >
4 [ ] >
5 [ ] >
6 [ ] >
7 [ ] >
8 [ ] >
9 [ ] >
Do you want to define the property line? [no] >yes
Coordinates of point 1 (m,m)? [end] >150 50
Coordinates of point 2 (m,m)? [end] >-150 50
Coordinates of point 3 (m,m)? [end] >-150 -50
Coordinates of point 4 (m,m)? [end] >-150 -50
Coordinates of point 5 (m,m)? [end]
Entering data for source 1
Type of source? (l=point source, Virtual source [ ] >1
Stack height (m) C ] > 45
Emission rate (,units)) [gm/s] >1.2
Exit velocity (m/s) [ ] >20
Stack diameter (m) [ ] >1
Stack gas temperature (C) [ ] >265
X coordinate (m) [ ] >-100
Y coordinate (m) [ ] >0
Description[ ] >Boiler Stack:
Entering data for source 2
Type of source? (l=point source, 2=virtual source C ] >2
Virtual source height (m) [ ] >12
Emission rate (,units) [gm/s] >.5
Source width (m) [ ] >10
Source length (m) [ ] >40
Source orientation (deg) [ ] >0
X coordinate (m) [ ] >0
y coordinate (m) C ] >0
Description [ ] > Roof Monitor emissions (space heating)
Entering data for source
Type of source? (l=point source, 2=virtual source [ ]>2
Output file name (DOS format) C ] >demo
Command [ ] >
C>
NOTE: Normal text are program prompts while bold texts are user’s responses.
Fig. 9.2 Sample Run - Data Retrieval
sdbmgr
SOURCE DATA BASE MANAGERVERSION 1.00
Command [ ] >li
Input file name t DOS format) [.STK ] > demo
2 Sources read from file demo.STK
Type in o for output to screen, 1 for printer [ ]> 1
. Fig. 9.3: Sample Source Listing
Data in file: demo.STK
This is an example input used tp illustrate usage of the program
The source consists of a point source (stack) and a virtual source
THe emitted material is sulphur dioxide
Property line co-ordinates
#1=( 150. 50.) #2=(-150. 50.) #3=( -150. -50.)
#4=(150. -50.) # 5=( 150. 50.)
Point Sources
Number Height Emission Exit Diameter Temp x y
Rate Velocity
m gm/s m/s m C m m
1 45.0 1.20 20.0 1.0 265.0 -100.0 0.
Boiler Stack
Virtual Sources
Number Height Emission Width Length Angle X Y
Rate
m gm/s m m deg m m
2 12.0 .50 10.0 40. 0·0 0. 0.
Roof Monitor emissions (space heating)
. 10.0 Program: PDBMGR - Point of Impingement Data Base Manager
10.1 FUNCTION
This program allows a user to store data concerning points of impingement on a disk file. The data can subsequently be edited, updated or printed as required. Using a file can save considerable time when several cases must be run, or when modifications to an existing set of sources is proposed. Furthermore, the errors associated with the repetitive typing of data are reduced.
The user should be familiar with the use of PC-DOS filenames, including pathnames, etc.
10.2 DATASETS AND FILES
A dataset is collection of information about a set of points of impingement. A file is a dataset that has been written to disk. The point data sets used for this version of the Reg 308 programs consist of the following data:
10.2.1 HEADERS
Each dataset is prefaced by ten lines of header information. This space is available for any descriptive information, such as the name of the area or town containing the points of impingement, the date entered, a relevant application, etc. that is required to document the dataset.
10.2.2 POINT OF IMPINGEMENT
Two types of point of impingement are recognized. The first type is termed closed in the sense that the building is sealed with the exception of fresh air intakes located at some distance above grade. Typical examples are modern office buildings.
The second type is termed open, where ambient air may be brought into the building at any point. Typical examples are high rise apartment buildings with windows and balconies.
Up to 100 points of impingement may be stored per dataset.
10.3 RUNNING THE PROGRAM
Select the program (PDBMGR) from the REG-308 menu. Ensure that the printer is ON and ON-LINE.
There are a number of features of PDBMGR that simplify the use of the program. PDBMGR keeps track of whether or not the data in memory has been saved on a disk file. If one types in a command that would result in the data being lost, PDBMGR will attempt to remind you.
- 10.1 -
When you enter a command, the first thing PDBMGR does is check whether or not there is a dataset in
memory. If there isn’t (such as the first time you start, or after a reset), the program will request
the name of a point file. The data read from the file will stay in memory until you end the program
or use the RS (reset) command.
Point data is kept in files with the 3 character extension .PTI . Users should avoid use of files with this extension unless they have been created by PDBMGR. Note the extension is supplied by the program and need not be specified by you.
10.4. PDBMGR COMMANDS
The PDBMGR command set consists of the following. A command is selected by entering its 2 character mnemonic.
RS - reset - prepare the program for a new dataset
IN - input - input a point dataset
ED - edit - edit a point dataset
LI - list - list a point dataset
PDBMGR editing commands are used to modify the dataset
AP - add point - adds a new point to an existing dataset
DP - delete point - deletes a point from a dataset
MP - modify point - modify point parameters
EN - edit header - edit the header records
You can mix commands, for example you can enter any of the edit commands without specifying ED first, or you can list the points when "Edit Command?" is requested.
10.4.1 Output files
Each time you input a new dataset or edit an existing dataset, provision must be made to save the data on a disk file. The file names must follow the DOS convention, and are created with the extension .PTI.
If you are editing an existing dataset, you will have already told the program the filename of your data. When specifying where the edited data is to be stored, the default filename is the one you entered. It is not necessary to re-enter the name if the original data is be over-written by the edited data.
When inputting a new dataset, there is no default filename.
The procedure for specifying an output file is as follows: If a filename has been previously entered, it is displayed as follows:
Default file: filename.PTI
The program then requests:
- 10.2 -
10.4.2 Output File name (DOS format) [default file] -
Type in the name of the file. If you make an error, the program will display a warning and ask you
to repeat your input. Hit <return> to write your data to the default file. The program then
searches to see if the file exists. If it does exist, the program requests:
10.4.3 File exists - OK to overwrite [yes] -
Type in no to go back and use a different filename. Otherwise hit <return>. This gives the user
a second chance to prevent accidentally overwriting an existing data file.
10.4.5 Input files. If you enter any command except the INPUT or RESET command, the first thing PDBMGR does is to check whether there is a valid dataset in memory. If there is, the command is executed. If not, the program requests:
10.4.6 Input file name (DOS format) [.PTI] -
Type in a valid filename. It is not necessary to add the extension .PTI since the program will do
this automatically.
If an error condition exists, it will be displayed at this time.
If no errors occur, the program will display:
xx Points read from file filename.PTI,
10.5 SAMPLE DATASET CREATION DIALOGUE
The sections below illustrate the use of the various commands by first creating a dataset and then using the commands to carry out various operations on that dataset.
IN - Input Point Data
This command is used to input all the information for a new dataset. The first part of the data consists of ten lines of information which may contain anything you want.
The program first displays a message asking you to either enter some data or hit <return>. The program will then prompt
10.5.1. x> - where x is a digit from 0 to 9. Type in some data or hit <return>.
When all the header data has been entered, the program enters the point input phase and displays:
10.5.2 Entering Data for point i -
10.5.3 X coordinate (m) - Type in the x coordinate of the point (See notes in section 3.3. on coordinate
systems).
Hit <return> to exit the input phase of the program.
- 10.3 -
10.5.4 Y coordinate (m)- Type in the y coordinate of the point.
10.5.5 Height (m) - Type in the height above grade of the structure, or the height of the air intake.
Note: If a closed building has air intakes at different levels, these can be entered as separate
points having the
same x and y coordinates.
If the height you have entered is greater than zero the program requests:
10.5.6 Is building open? [no]- Type in yes (y will do) if the building is open, otherwise hit <return>.
10.5.7 Description - Type in the description of source to a maximum of 40 characters. Characters beyond 40 will be lost. Hit <return> if no description is required.
The program will now loop back to section 10.5.3. to request the next point. The maximum allowable number of points is 100.
When you have signified you have finished entering all the data, the program will request an output filename. See section 10.4.1. for details.
10.5.7 Output file name (DOS format) -
Type in the name of the file to contain data.
All source files have an extension .PTI. The program will supply the extension so it is not necessary to add it.
If you have violated the DOS rules for filenames an error message will be displayed and the request repeated.
If the name of the file you have selected already exists, the program will request:
10.5.8 File exists - OK to over-write? [yes] -
Type in NO to go back to step 10.5.7. to select a new filename. Otherwise hit <return>, and
the existing file will be over-written.
10.5.9 The following page shows the input of a set of points in the vicinity of the source called DEMO used as a example in Chapter 9.
10.6. LI - List Command
This command is used to obtain a listing of the contents of a dataset. The listing may be to the printer or the screen. The program first requests:
10.6.1 Type in O for output to screen, 1 for printer -
Type in the appropriate value or hit <return> to cancel the listing. If you have selected output
to the screen, the output will fill the screen and the program will pause (so you can read the screen)
and will then display the message:
- 10.4 -.
10.6.2 Please press <return> to continue. -
Hit the return key to continue the listing.
10.6.3 The following pages show a listing of the point of impingement dataset DEMOPTS. The first page
shows the inputs made to the program, the second is the actual listing to the printer.
10.7 ED - Edit Command
This command puts the program in edit mode. The next prompt will be:
Edit Command ?
The program expects one of the edit commands as its next input. If a dataset is not in memory, the filename will be requested at this time. See section 10.4.6. on how to enter the input filename.
10.8 RS - Reset Command
The reset command is useful if you wish to look at several files one after the other, without loading the program from disk every time. This is most useful for diskette based systems, where the program and data may be stored on different diskettes.
If a dataset in memory has been edited and has not been saved the program will request:
10.8.1 Are you sure? (Dataset in memory has not been saved) [yes] -
Hit <return> to follow through with the reset, otherwise type in no, and the data in memory will be saved.
10.9 AP - Add Point Command
This command is used to add a new point of impingement to an existing dataset. The prompts are identical to those used to input a point of impingement. (see sections 10.5.2.-10.5.7. for details)
10.10 MP - Modify Point Command
This command is used to alter the data associated with an existing point of impingement in the dataset. The program first requests:
10.10.1 Number of point to be modified -
Type in the appropriate number. If the number you enter is less than 1 or greater the number of sources, the program will warn you with the message:
Number out of range.
- 10.5 -.
Next the program displays the message:
The values will be displayed one at a time
To edit, type in the new value
To retain the existing value hit <return>
The program will then display the physical parameters of each point, with the existing values enclosed in brackets. When the item to edited appears, type in the new value, otherwise hit <return> to retain the existing values.
Finally the current description is output and the program prompts:
10.10.2 ?> - Type in the new descriptive line or hit <return> to keep the current description.
10.11 DP - Delete Point Command
This command is used to remove a point from a dataset. The program will ask for the number of the point in the dataset. If the number is less than one or greater than the number of points an error message will be displayed. If the point being deleted is the last one, a warning message is displayed.
10.12 EN - Edit Header Command
This command is used to replace lines in the header. The program first displays the message:
When the line you want to changes appears on the screen
Type in the new line
Otherwise hit <return> to skip to the next line
Each header line will be displayed in turn followed by:
10.12.1 ?> - Type in new data, or hit <return> to retain the existing line.
- 10.6 - Fig. 10.1 Sample Run - Data Entry
sdbmgr
2J
POINT OF IMPINGEMENT DATE BASE MANAGER
VERSION 1.00
Command [ ] >in
First enter up to ten lines of descriptive information
or hit return in response to the prompts
0 [ ] >This set of points of impingement are in the vicinity of the
1 [ ] >source stormed in file demo.
2 [ ] >
3 [ ] >
4 [ ] >
5 [ ] >
6 [ ] >
7 [ ] >
8 [ ] >
9 [ ] >
Entering data for point 1
X coordinate (m) [ ] >1000
Y coordinate (m) [ ] >500
Height [ ] >3O
Is building open? [no] >yes
Description [ ] >10 Storey apartment building
Entering data for point 2
X coordinate (m) [ ] >l000
Y coordinate (m) [ ] >550
Height (m) [ ] >25
Is building open? [no] >no
Description C ] >high rise office building - air intakes on roof.
Entering data for point 3
X coordinate (m) [ ] >-500
Y coordinate (m) [ ] >-250
Height (m) [ ] >5
Is building open? [no] >yes
Description [ ] >Nearest residential property
Entering data for point 4
X coordinate (m) [ ] >
Ouput file name (DOS format) [ ] >demopts
Data saved in file: dernopts.PTI
Command [ ] >
- 10.7 -
Fig. 10.2: Sample Run - Data Retrieval
pdbmgr
2J
POINT OF IMPINGEMENT DATE BASE MANAGER
VERSION 1.00
Command [ ] >li
Input file name (DOS format) [.P.I. ] >demopts
3 Points read from file demopts.PTI
Type in 0 for- output to screen, 1 for printer [ ] >1
- 10.8 -.Fig. 10.3 Sample Points Listing
File name of data: demopts.PTI
This set of points of impingement are in
source stored in file demo.
Points of impingement
No x y z type Description
(m) (m) (m)
1 1000. 500. 30. open 10 Storey Apartment building
2 1000. 550. 25. closed High rise office building - air intakes
3 -500. -250. 5. open Nearest residential property
- 10.9 -.11.0 Program: MAXGLC - Maximum Ground Level Concentration
11.1 FUNCTION
This program computes the maximum ground level concentration for any combination of point sources and virtual sources. If the property line has been defined, the program computes the off-property maximum ground level concentration and the maximum concentration on the property line.
11.2 RUNNING THE PROGRAM
Select the program (MAXGLC) from the REG-308 menu. Ensure that the printer is ON and ON-LINE.
11.2.1 TITLE - Type in the usual details associated with the title (see chapter 3 for details)
11.2.2 Input file name DOS format) [.STK]
Type in the file name containing the data or hit <return> to input the data via keyboard. If you have selected a valid file, skip to section 11.2.4. below.
If you hit <return> to the request for a filename, the program assumes your input is from the keyboard. In this case the program requests source data by displaying:
11.2.3 Enter Data for Source Number: 1
Source type (l=point 2= virtual) [ ]
Type in the appropriate value or hit (return> to end the input.
Depending on the type of source you have specified, the program will then request the following items:
Point Source Prompts Virtual Source Prompts
Stack Height (m) Virtual Source Height(m)
Emission rate,(units) Emission rate,(units)
Exit Velocity (m/s) Source width (m)
Stack diameter (m) Source length (m)
Stack gas temperature (C) Source orientation (deg)
X coordinate (m) X coordinate (m)
Y coordinate (m) Y coordinate (m)
Type the values as required. Note that hitting <return> is equivalent to typing in a zero.
Note that in the evaluation of a single stack, the coordinates are assumed to be zero, so simply hit <return> when the coordinates are requested.
The program will repeat step 11.2.3. until you hit <return> when the source type is requested.
- 11.1 -
11.2.4 Solution Option (A for all stacks - D dominant stack) [D]
This request will be made if there is more than one stack to be evaluated.
11.3. PROGRAM DISPLAY
Depending on the number of stacks and the solution option selected the execution time of this program can vary considerably. The display is designed to indicate the progress of the program so you can estimate the rate of execution. The program works in three phases as follows
11.3.1. Individual maximum ground level concentrations
The program first computes the maximum single source ground level concentration of each source individually. These are printed on the output below the source listing. The source coordinates and distance to the single source maxima are used to define a search area where the program will next seek the maximum concentration due to all sources.
11.3.2 Search iterations
In phase two, the search area is overlaid with a "grid" and the concentration calculated at each point on the grid. The grid point having the highest concentration defines the Centre point of the mesh for the next iteration, with its nearest neighbouring points defining the boundary.
Each successive iteration covers a mesh whose dimensions are one-fifth those of the previous iteration. When the distance between adjacent grid points is less than some small value (l-metre)' the iteration stops and the maximum concentration is printed.
The program displays the iteration and the grid points it is currently evaluating. Points within the property line are designated by a series of dashes (-).
11.3.3 Maximum concentration along the property line
The next phase of the program displays the computation along the property line to find the maximum concentration along the line. Each line segment of property line is divided into ten sub-segments and the maximum concentration at each of the resulting points is displayed. The point with the highest concentration and its immediate neighbours defines a smaller segment which is in turn is divided by ten. When all property line segments have been tested to a resolution of one metre, the program is done and prints out all the results.
11.4 EXAMPLE
The following page shows the calculation of the maximum ground level concentration of source DEMO, set up in Chapter 9.
- 11.2 -
Fig. 11.1: Sample Run
Command [ ] >
MAXIMUM GROUND LEVEL CONCENTRATION
VERSION l.00
Data from file: demo.STK
Point Sources
Number Height Emission Exit Diameter Temp X Y
Rate Velocity
m gm/s m/s m C m m
1 45.00 1.20 20.0 1.0 265.0 -100.0 0.0
Virtual Sources
Number Height Emission Width Length Angle X Y
Rate
m gm/s m m deg m m
2 12.0 .50 10.0 40.0 0.0 0.0 0.0
Single Source Maximum Ground Level Concentrations
Source Stability Maximum Distance Wind Speed
Cons (ug/m3) (m) (m/sec)
1 C 9.0159 797. 2.235
D 7.9914 1747. 2.235
2 C 286.90 21. 5.000
D 454.69 21. 5.000
All Stacks Testes
Maximum off-property ground level concentration 147.57 ug/m3
Stability D
Wind direction 270.711 deg
Wind speed 5.000 m/s
Coordinates 1. -50. (m)
Maximum Concentration along the property line 148.11 ug/m3
Stability D
Wind direction 90.000 deg
Wind speed 5.000 m/s
Coordinates 0. 50. (m)
.
12.0 Program: CAP - Concentration at Points
12.1 FUNCTION
This program computes the maximum concentration from any combination of point sources and virtual sources at a set of points of impingement.
12.2 RUNNING THE PROGRAM
Select the program (CAP) from the REG-308 menu. Ensure that the printer is ON and ON-LINE.
12.2.1 Title -
Type in the usual details associated with the title (see chapter 3 for details)
12.2.2 Input file name (DOS format) [.STK]
Type in the file name containing the source data or hit <return> to input the data via keyboard. If you have selected a valid file, skip to section 12.2.4. below.
If you hit <return> to the request for a filename the program assumes your input is from the keyboard. In this case the program requests source data by displaying:
12.2.3. Enter Data for Source Number: 1
Source type (1=point 2= virtual) [ ]
Type in the appropriate value or hit <return> to end the input.
Depending on the type of source you have specified, the program will then request the following items:
Point Source Prompts Virtual Source Prompts
Stack Height (m) Virtual Source Height (m)
Emission rate,(units) Emission rate,(units)
Exit Velocity (m/s) Source width (m)
Stack diameter (m) Source length (m)
Stack gas temperature (C) Source orientation (del)
X coordinate (m) X coordinate (m)
Y coordinate (m) Y coordinate (m)
Type the values as required.
Note that hitting <return> is equivalent to typing in a zero.
Note that in the evaluation of a single stack, the coordinates are assumed to be zero, so simply hit <return) when the coordinates are requested.
The program will repeat step 12.2.3. until you hit <return> when the source type is requested.
- 12.1 -
12.2.4. Input file name (DOS format) [.PTI] -
Enter the name of the file containing the point of impingement data or hit <return> to enter the points from the keyboard. If you have requested data from a file, skip to section 12.2.6.
If you have elected to enter the point data from the keyboard then the program will request the following:
Enter Points List Header Data -
When all the header data has been entered, the program moves to the point input phase and displays:
12.2.5. Entering Data for point i -
where i is the number of the next point to be entered.
X coordinate (m)- Type in the x coordinate of the point
(See notes in section 3.3. on coordinate systems). Hit <return> to exit the input phase of the
program.
Y coordinate (m)- Type in the y coordinate of the point.
Height (m)- Type in the height above grade of the
structure, or the height of the air
intake. Note: If a closed building has
air intakes at different levels, these can
be entered as separate points having the
same x and y coordinates.
If the height you have entered is greater than zero the program requests:
Is building open? [no] - Type in yes (y will do) if the building is open, otherwise hit <return>.
Description - Type in the description of source to a
maximum of 40 characters. Characters beyond
40 will be lost. Hit <return> if no
description is required.
The program will now loop back to section 12.2.5. to request the next point. The maximum allowable number of points is 100.
12.2.6. Solution Option (A for all stacks - D dominant stack) [D]
This request will be made if there is more than one stack to be evaluated.
12.3. EXAMPLE
The following page shows the calculation of the maximum concentrations of source DEMO, set up in Chapter 9, at the points of impingement contained in file DEMOPTS, set up in Chapter 10.
- 12.2 -
Fig. 12.1 Sample Run
CONCENTRATION AT POINTS
VERSION 1.00
Source data from file:
demo.STK
Point Sources
Number Height Emission Exit Diameter Temp X Y
Rate Velocity
m gm/s m/s m C m m
1 45.13 1.20 20.0 1.0 265.0 -100.0 0.
virtual Sources
Number Height Emission Width Length Angle X Y
Rate
m gm/s m m deg m m
2 12.0 .50 13.0 40.0 .0 0. 0.
Point of impingement from file:
demopts.FTI
Points of impingement
No x y z type Description
(m) (m) (m)
1 l000. 500. 30. open 10 storey apartment building
2 l000. 550. 25. closed High rise office building - roof air intake
3 -500. -250. 5. open Nearest residential property
All Stacks Tested
Point of Impingement Stab Concentration Wind Conditions Height
(m) (m) (m) (ug/m3) Direction Speed (m)
1000. 500. 30. C 9.2438 24.4 2.235 .0
D 18.507 24.4 2.235 30.0
l000. 550. 25. C 8.8694 26.6 2.235 25.0
D 17.011 26.6 2.235 25.0
-500. -250. 5. C 10.733 -148.0 3.735 .0
D 22.601 -153.4 5.000 .0
- 12.3 -
To
view/print PDF documents, you must have Adobe Acrobat Reader. Adobe Acrobat Reader is free and can be downloaded from the Adobe web site.
Download Adobe Acrobat Reader.
![]()
This site is maintained by the Government of Ontario
Privacy |
Important Notices
© Queen's Printer for Ontario, 2007
Last modified: Friday April 11 2008