home *** CD-ROM | disk | FTP | other *** search
/ Play and Learn 2 / 19941.ZIP / 19941 / EDUCICAL / REACTIV / REACT.PAM < prev    next >
Encoding:
Text File  |  1994-02-04  |  9.2 KB  |  247 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18. *t5s1h10w0mt4h18w3             BIOENVIRONMENTAL
  19.  
  20.                     ENGINEERING
  21.  
  22.                         BRANCH
  23.  
  24.  
  25.  
  26.  
  27.           Software Documentation*r
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.                                     *w3 Environmental Health
  37.                                  and Occupational Safety*r
  38.                                   4301 Jones Bridge Road
  39.                                  Bethesda, MD 20814-4799
  40.                                         (202) 295-3323
  41. *f
  42.                       *w3 HAZARDOUS CHEMICAL REACTIVITY*r
  43. *t5h10s1w0m
  44. Last Update: 18 August 1989         
  45. Programmer:  David F. Wertz, MSgt, USAF
  46.  
  47. *t4h12w3 Background*r
  48.  
  49.         It is often necessary to determine the compatibility of chemical
  50. substances which may be present in a wastestream.  Mixing of in-
  51. compatible chemicals can cause fire, explosion, toxic or flammable
  52. gas generation, etc.  A method for quickly determining compatibility
  53. of chemicals is necessary to avoid such dangerous chemical reactions.
  54.  
  55.     Such a method was developed by the U.S. Environmental
  56. Protection Agency, and published as *i1 A Method for Determining the
  57. Compatibility of Hazardous Wastes*r  in April 1980 (EPA-600/2-
  58. 80-076).  However, the list of chemicals and the accompanying chart
  59. are cumbersome and time-consuming to use.
  60.  
  61.     The original list and chart were incorporated into a computer
  62. program which allows the compatibility of two chemicals to be
  63. quickly determined.  The program's database contains nearly 1300
  64. chemicals, many with one or more synonyms.  Additionally, the
  65. program serves as a reference, presenting the chemicals, together
  66. with their synonyms and reactivity group numbers, in a tabular
  67. format which is fully searchable.
  68.  
  69.     It is important to note that this program is intended for use
  70. in waste management only.  Chemicals are evaluated on their hazard
  71. potential in the waste stream, and not on their potential for
  72. causing harm in the occupational environment.  Such information
  73. should be obtained from recognized industrial hygiene reference
  74. material.
  75.  
  76. *t4h12w3 About the program*r
  77.  
  78.     The program code was written in the BASIC language, and
  79. compiled using Turbo BASIC.  The program is called REACT.EXE.  It
  80. calls two data files: REACT.DAT, which contains the chemical names,
  81. synonyms, and reactivity group numbers for the chemicals; and
  82. RECODE.DAT, which contains the reactivity codes for the reactivity
  83. groups listed on the EPA chart.  A number of screen files are also
  84. called by the program.
  85.  
  86.     You must insure that all of the files are in the same sub-
  87. directory before running the program.
  88.  
  89. *f    
  90. *t4h12w3 Running the program*r
  91.  
  92.         The program is run by changing to the appropriate subdirectory,
  93. typing REACT at the prompt, and pressing the RETURN key.
  94.  
  95.         The title screen will appear, and remain on the screen while the
  96. data is loaded into memory.  When the data has been loaded, the
  97. program menu will appear, and you have the following choices:
  98.  
  99.             *w3 Find Potential Hazardous Reactions
  100.  
  101.             Reactivity Group Number (RGN) Search
  102.  
  103.             End This Program and Return to DOS*r
  104.  
  105.         At this point, press the number on the screen which corresponds
  106. to your choice.
  107.  
  108. *t4h12w3 Find Potential Hazardous Reactions*r
  109.  
  110.     Upon selecting option 1, the screen will display brief
  111. instructions for the program.  You are asked to press a key to
  112. continue.
  113.  
  114.     When the screen clears, you are asked for the name of a
  115. chemical.  Type in the name, followed by RETURN.  If the name you
  116. enter is not found, the program checks synonyms.  If the chemical
  117. is still not found, a message to this effect is displayed, and you
  118. have the choice of pressing RETURN to reenter the name, F1 for help
  119. or ESC to quit (see below).  If you press F1, the program provides
  120. a list of the nearest matches it can find to the name you entered. 
  121. You are then prompted to reenter the chemical name.  If you do not
  122. wish to reenter the name at this point, press RETURN alone to quit
  123. (see below).
  124.  
  125.     When the chemical is found, the chemical name, synonyms, and
  126. reactivity groups for that chemical are displayed.
  127.  
  128.     At this point, you may either press RETURN alone to see a list
  129. of reactivity groups which are incompatible with the chemical
  130. entered above; or you may enter the name of a second chemical, in
  131. order to see the potential hazards of mixing the two chemicals in the
  132. wastestream.
  133.  
  134.         If you pressed RETURN, a list of incompatible reactivity 
  135. groups is displayed.  Depending on the chemical, this may comprise
  136. one or several screens of information.  The prompts at the bottom
  137. of the screen will inform you as to how to proceed in each case. 
  138. Note that incompatibile groups are listed for each reactivity group
  139. that the listed chemical belongs to.
  140. *f
  141.     If you chose to enter a second chemical, the program will
  142. proceed as when the first chemical was entered.  When the second
  143. chemical has been found and the information has been displayed, you
  144. are asked to press a key to continue.
  145.  
  146.     The screen clears, and the compatibility information is
  147. presented.  Chemicals listed in the database may be assigned to
  148. more than one reactivity group, so the program cross-checks all the
  149. reactivity groups for both chemicals to determine if any reaction
  150. is possible.
  151.  
  152.     *w3 Possible outcomes for a comparison:*r
  153.  
  154.         If the two chemicals each belong to only one reactivity
  155. group, and if the group is the same for both, the result is "None
  156. (both chemicals are in the same group)".  It is assumed that, in
  157. the absence of other reactivity groups, two chemicals belonging to
  158. the same group (i.e., ketones) may be safely mixed.  The exception
  159. to this is any chemical assigned to the group "water reactive
  160. substances" (see below).
  161.  
  162.                 Water Reactive Substances - If one (or both) of the chemi-
  163. cals belongs to this reactivity group, the message "EXTREMELY
  164. REACTIVE - DO NOT MIX!" is displayed.  Any chemical assigned to
  165. this group should not be mixed with water or any other chemical,
  166. even those belonging to the same group.  All other potential
  167. reactions are assumed to be secondary, and are ignored.
  168.  
  169.                 If neither of the above apply, the reactivity group combina-
  170. tions are displayed, followed by the possible reactions.  If all of
  171. the group combinations result in "None listed", it may be assumed
  172. that the chemicals may be safely mixed.  As always, such a decision
  173. must be based on sound professional judgement, and not solely on the
  174. results of this program (or any other single reference source).
  175.             
  176.         The other types of possible reactions may include one or
  177. more of the following (each is self-explanatory):
  178.  
  179.             *w3 Heat Generation
  180.             Fire
  181.             Innocuous and Non-flammable Gas Generation
  182.             Toxic Gas Generation
  183.             Flammable Gas Generation
  184.             Explosion
  185.             Violent Polymerization
  186.             Solubilization of Toxic Substances
  187.             May be Hazardous, but Unknown*r
  188. *f
  189.         If any of the group combinations result in ANY of the
  190. above messages, it must be assumed that the chemicals are incom-
  191. patible, and should not be mixed in the wastestream.
  192.  
  193.     When the results have been displayed, or if you have pressed
  194. ESC from the "Chemical not found..." message, or if you have
  195. pressed RETURN alone at the prompt for a chemical name, you will
  196. see the prompt "Again? (Y/N)" at the bottom of the screen.  If you
  197. press "Y" at this prompt, you are returned to the input screen and
  198. prompted to enter a chemical name.  If you press "N", the program
  199. returns you to the menu.
  200.  
  201. *f
  202. *t4h12w3 Reactivity Group Number (RGN) Search*r
  203.  
  204.     If you select this option, the screen will clear and the first
  205. page of the data table will appear.  The table lists the chemical
  206. name and synonyms (if any) and the reactivity group number(s).
  207. Each chemical has at least one RGN and may have up to four.  All
  208. RGN's are listed on the screen.
  209.  
  210.     To use the table, the following keys have been provided, and
  211. are listed at the bottom of the screen at all times:
  212.  
  213.         PgUp,PgDn - these keys move through the data table five
  214. chemicals at a time, either forward (PgDn) or backward (PgUp).
  215.  
  216.  
  217.         Home,End - these keys go to the beginning (Home) or end
  218. (End) of the data table.
  219.  
  220.         Up and Down Arrows - these keys move through the data
  221. table one chemical at a time either forward (Down arrow) or backward
  222. (Up arrow).
  223.  
  224.         F1 - displays a window at the center of the screen which
  225. prompts you to enter the name of the chemical you are searching
  226. for.  The program will search the database for the name as entered;
  227. if not found, it will search for the first occurance of a portion
  228. of the name.  If still not found, a message to this effect is dis-
  229. played and you are prompted to press a key to continue. You may
  230. then enter another chemical to search for, or press RETURN alone
  231. to exit.
  232.  
  233.         F2 - displays the Reactivity Group Numbers and their
  234. corresponding group names, in numerical order.  This information
  235. is contained in three pages, which are accessible by pressing the
  236. PgUp or PgDn keys.   To return to the data table (at the point
  237. where you left it), press F10.
  238.  
  239.         F10 - exits the data table, and returns you to the menu.
  240.  
  241. *t4h12w3 Exiting the program*r
  242.  
  243.     From the menu, pressing number 3 will terminate the program
  244. and return you to the operating system.
  245.  
  246.     
  247.