Systems and methods for enhanced facultative biosolids stabilization

10294134 ยท 2019-05-21

    Inventors

    Cpc classification

    International classification

    Abstract

    A control system and method for digestion of waste activated sludge (WAS) includes treating the WAS first at anaerobic conditions for a fixed period of time and then at aerobic conditions fora fixed period of time prior to either dewatering or optional anoxic conditions followed by dewatering, supplying air to initiate aerobic conditions when a predetermined set point for maximum ammonium nitrogen has been reached within the fixed anaerobic time, and initiating dewatering or optional anoxic conditions followed by dewatering when a predetermined set point for minimum ammonium nitrogen and optional standards for vector and pathogen reduction are met within the fixed aerobic time, the method and system including monitoring either consumption of soluble alkalinity or orthophosphate reduction or both for maximum orthophosphate reduction within aerobic time.

    Claims

    1. A method for digestion of waste activated sludge (WAS) to provide stabilized biosolids comprising the steps of initiating anaerobic conditions in the sludge, initiating aerobic conditions in the sludge in response to either a predetermined maximum ammonia concentration or a predetermined maximum anaerobic time, and dewatering the sludge to provide stabilized biosolids in response to a predetermined minimum ammonia concentration and under predefined minimal aerobic conditions to substantially limit increasing the concentration of reactive phosphorous species in solution.

    2. The method of claim 1 wherein the predetermined maximum and minimum ammonia concentrations are monitored as ammonium and the reactive phosphorous species in solution is monitored as orthophosphate or total phosphate.

    3. The method of claim 1 further comprising the step of monitoring the reduction of vector attraction and pathogens during aerobic conditions and initiating dewatering in response to both a predetermined reduction in vector attraction and pathogens and a predetermined minimum ammonia concentration.

    4. The method of claim 1 further comprising the step of dewatering the sludge under minimal aerobic conditions to substantially limit increasing the concentration of reactive phosphorous species in solution comprising the steps of providing minimal air flow or surface aeration to the WAS during dewatering, monitoring the concentration of orthophosphate or total phosphate during dewatering, and decreasing the air flow or surface aeration in the event of increase in the concentration of orthophosphate or total phosphate.

    5. The method of claim 1 further comprising the steps of monitoring the concentration of reactive phosphorous species in solution under aerobic conditions and dewatering in response to a predetermined minimum ammonia concentration in the event a predetermined maximum aerobic time has not been exceeded and a predetermined minimum concentration has been reached of reactive phosphorous species in solution.

    6. The method of claim 5 further comprising the step of monitoring the concentration of soluble alkalinity under aerobic conditions and determining the concentration of reactive phosphorous species in solution in response to a predetermined end point for soluble alkalinity.

    7. The method of claim 5 wherein in the event a predetermined minimum ammonia concentration is met, a maximum aerobic time is met, and a predetermined minimum concentration has not been reached for reactive phosphorous species in solution, then an operator add sources of soluble alkalinity under anaerobic conditions.

    8. The method of claim 1 further comprising the step of providing controlled air under anaerobic conditions to destroy methane-producing bacteria and without disturbing anaerobic conditions.

    9. The method of claim 1 further comprising the steps of initiating anoxic conditions prior to dewatering, the anoxic conditions being initiated in response to a predetermined minimum ammonia concentration, and dewatering in response to one of a predetermined minimum nitrate nitrogen concentration or a maximum anoxic time.

    10. The method of claim 9 wherein anoxic conditions are initiated by adding carbonaceous biological oxygen demand to the digester in response to the nitrate nitrogen concentration in the digester at the end of the aerobic conditions.

    11. The method of claim 1 where the steps take from two to 48 days.

    12. The method of claim 1 where the steps of initiating anaerobic conditions followed by initiating aerobic conditions are repeated multiple times, in the event that a predetermined maximum aerobic time is met and one or more predetermined setpoints for the minimum ammonia concentration and/or a predetermined reduction in vector attraction reduction and pathogens is not met.

    13. A method for digestion of waste activated sludge (WAS) to provide stabilized biosolids comprising the steps of: a. providing facultative microorganisms in the sludge; b. initiating anaerobic conditions in the sludge; c. initiating aerobic conditions in the sludge in response to either a predetermined maximum ammonium concentration or a predetermined maximum anaerobic time; d. monitoring the reduction of vector attraction and pathogens during aerobic conditions; e. repeating steps 11(b), 11(c), and 11(d) multiple times, if in step 14(c) a predetermined maximum aerobic time is exceeded, and criteria for reduction of vector attraction and pathogens are not met, and/or the concentration of ammonium is above a predetermined minimum; f. initiating anoxic conditions in the sludge in response to both a predetermined minimum ammonium concentration and a predetermined reduction in vector attraction and pathogens and adding carbonaceous biological oxygen demand depending on the nitrate nitrogen concentration in the sludge at the end of the aerobic conditions; and g. dewatering the sludge in response to one of a predetermined minimum nitrate nitrogen concentration or a maximum anoxic time and under conditions to substantially limit increase in the concentration of orthophosphate.

    14. The method of claim 13 further comprising the step of monitoring the orthophosphate concentration.

    15. The method of claim 13 further comprising the step of monitoring the soluble alkalinity.

    16. A method for digestion of waste activated sludge in a digester to provide stabilized biosolids, the method comprising the steps of: a. providing sludge to a digester; b. providing facultative microorganisms to the sludge; c. monitoring the treatment time, monitoring the breakdown of organic cellular compounds, monitoring criteria for reduction of vector attraction and pathogens, monitoring the concentration of ammonium in the sludge, and the concentration of one or more of orthophosphate, total phosphorous, and soluble calcium alkalinity in the sludge; d. treating the sludge in the digester at anaerobic conditions; e. initiating aerobic conditions by supplying oxygen to the sludge when the concentration of ammonium is at or above a predetermined maximum at or within a predetermined maximum anaerobic time; f. repeating, steps 14(d) to 14(e) multiple times, if in step 14(e) a predetermined maximum aerobic time is exceeded, and criteria for reduction of vector attraction and pathogens are not met, and/or the concentration of ammonium is above a predetermined minimum. g. dewatering of the sludge at minimally aerobic conditions when the concentration of ammonium is at or below a predetermined minimum within a predetermined maximum aerobic time, provided however that either the concentration of orthophosphate is at or below a predetermined minimum or the soluble calcium alkalinity is at or below a predetermined end point concentration and the concentration of orthophosphate is either unknown or is at or below a predetermined minimum; h. decreasing the oxygen to sludge if the concentration of orthophosphate increases during dewatering; and i. providing stabilized biosolids.

    17. The method of claim 16 wherein the concentration of ammonium is at or below a predetermined minimum setpoint within a predetermined maximum aerobic time, and the concentration of orthophosphate remains above a predetermined minimum setpoint at the predetermined maximum aerobic time, the method further comprising the steps of dewatering the sludge at minimally aerobic conditions and providing a high phosphorous warning.

    18. The method of claim 17 further comprising the step of adding soluble calcium alkalinity to the anaerobic sludge in response to the high phosphorous warning.

    19. The method of claim 17 further comprising the steps of monitoring power demand and power usage of aeration and mechanical mixing equipment for the digester and determining the energy costs of practice of the method based on power demand and power usage.

    20. The method of claim 16 further comprising the steps of: a. empirically determining the ratio of ammonium. production to total organic carbon b. determining the final concentration of ammonium produced in the anaerobic cycle; and c. determining the reduction in total organic carbon based on the ratio of ammonium production to total organic carbon determined in accordance with step 18(a) and the final concentration of ammonium produced in the anaerobic cycle determined in accordance with step 18(b).

    21. The method of claim 16 wherein step 14(d) is from up to 2 to 40 days, step 14(e) is from up to 15 to 40 hours, and step 14(f) takes from up 1 to 5 days.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    (1) The foregoing and other advantages and features of the invention and the manner in which the same are accomplished are set forth in the following detailed description taken in conjunction with the accompanying drawings, which illustrate preferred and exemplary embodiments and in which:

    (2) FIG. 1, labelled Prior Art, illustrates a representative schematic of a wastewater treatment plant for biological nutrient removal;

    (3) FIG. 2 illustrates a schematic of a representative wastewater treatment plant of the invention similar to that of FIG. 1 and in which numbers of individual features that correspond and are not necessarily identical to those of FIG. 1 are indicated by the use of primes;

    (4) FIG. 3 illustrates an overall process flow diagram of waste activated sludge digestion in accordance with the invention;

    (5) FIG. 4 illustrates in a modified hub and spoke diagram the global relationships among the principal functions of the control system of the invention, with reference to FIGS. 2, 3, and 5 through 14;

    (6) FIG. 5 graphically illustrates the decrease of orthophosphate phosphorous PO.sub.4.sup.3P over time driven by and correlated with the decrease in calcium carbonate CaCO.sub.3 soluble alkalinity in the waste activated sludge in the digester;

    (7) FIG. 6 illustrates in a flow diagram the sequential anaerobic () and aerobic (O) process cycles from FIG. 3 along with application of the control system of FIG. 4 to the anaerobic cycle;

    (8) FIG. 7 illustrates in a flow diagram the application of the control system of FIG. 4 to the aerobic cycle of FIG. 3 wherein cycle time (T-O.sub.max) has not been exceeded and all of the other monitored parameters have been met for oxidation of ammonium nitrogen [NH.sub.4.sup.+N].sub.min, for Class B biosolids standards, and for reducing the concentration of orthophosphate phosphorous [PO.sub.4.sup.3P].sub.min and the process progresses to either the optional anoxic cycle (AN), FIG. 3, or the dewatering cycle (D), FIG. 3;

    (9) FIG. 8 illustrates in a flow diagram the sequential anoxic (AN) and dewatering (D) process cycles of FIG. 3 along with application of the control system of FIG. 4 to the anoxic cycle;

    (10) FIG. 9 illustrates in a flow diagram the application of the control system of FIG. 4 to the dewatering cycle of FIG. 3, including obtaining stabilized biosolids and a liquid sidestream for returning to the head works;

    (11) FIGS. 10 through 14 illustrate flow diagrams for the application of the control system of FIG. 4 to the aerobic cycle (O) of FIG. 3 for over a dozen scenarios of operation of a digester in accordance with the invention, namely:

    (12) FIG. 10 illustrates continuation of the aerobic cycle wherein aerobic cycle time (T-O.sub.max) has not been exceeded and any one of the monitored parameters have not been satisfied for ammonium nitrogen [NH.sub.4.sup.+N].sub.min or Class B biosolids standards, considered independently, and wherein the end point of CaCO.sub.3 soluble alkalinity has been reached so continuing the aerobic cycle will not further reduce the concentration of orthophosphate phosphorous [PO.sub.4.sup.3P].sub.min;

    (13) FIG. 11 illustrates termination of the aerobic cycle (O) and progression under alarm conditions to either the optional anoxic cycle (AN), FIG. 3, or the dewatering cycle (D), FIG. 3, wherein the set point has been exceeded for aerobic cycle time (T-O.sub.max), the set points have been met for oxidation of ammonium nitrogen [NH.sub.4.sup.+N].sub.min and for Class B biosolids standards, and the set point has not been reached for reducing the concentration of orthophosphate phosphorous [PO.sub.4.sup.3P].sub.min;

    (14) FIG. 12 illustrates termination of the aerobic cycle (O) and initiation of anaerobic conditions for a second time under alarm conditions, most commonly when the temperature of the waste activated sludge falls below about 8 C. (46 F.) and in the event the set point has been exceeded for aerobic cycle time (T-O.sub.max) and the set points still have not been met for either oxidation of ammonium nitrogen [NH.sub.4.sup.+N].sub.min or for Class B biosolids standards, considered independently;

    (15) FIG. 13 illustrates the termination of the aerobic cycle (O) and initiation of anaerobic conditions for a rare third or even a subsequent anaerobic cycle () under alarm conditions in the event the set point has been exceeded for aerobic cycle time (T-O.sub.max) and the set points still have not been met for either oxidation of ammonium nitrogen [NH.sub.4.sup.+N].sub.min or for Class B biosolids standards, considered independently;

    (16) FIG. 14 illustrates application of the control system of FIG. 4 to the aerobic cycle (O) of FIG. 3 wherein cycle time (T-O.sub.max) has not been exceeded, the end point for the reduction in concentration of calcium carbonate [CaCO.sub.3] soluble alkalinity may or may not have been met as the case may be, the set point is not monitored for orthophosphate phosphorous [PO.sub.4.sup.3P].sub.min, and the set points have been met for oxidation of ammonium nitrogen [NH.sub.4.sup.+N].sub.min and for Class B biosolids standards. Under these circumstances, then if the end point for soluble alkalinity, [CaCO3].sub.E.P., has been reached as illustrated by the solid line, then the aerobic cycle progresses to either the optional anoxic cycle (AN), FIG. 3, or the dewatering cycle (D), FIG. 3, as the case may be, because continuing the aerobic cycle would not further reduce orthophosphate concentration [PO.sub.4.sup.3P], whereas if the end point for soluble alkalinity, [CaCO3].sub.E.P., has not been reached as illustrated by the dashed line, then the aerobic cycle is continued; and

    (17) FIG. 15 corresponds to FIG. 14 and illustrates application of the control system of FIG. 4 to the aerobic cycle (O) of FIG. 3 wherein cycle time (T-O.sub.max) has been exceeded, the end point for the reduction in concentration of calcium carbonate [CaCO.sub.3] soluble alkalinity may or may not have been met, as the case may be, the set point is not monitored for orthophosphate phosphorous [PO.sub.4.sup.3P].sub.min, and the set points have been met for oxidation of ammonium nitrogen [NH.sub.4.sup.+N].sub.min and for Class B biosolids standards. Under these circumstances, since cycle time has expired, the aerobic cycle progresses to either the optional anoxic cycle (AN), FIG. 3, or the dewatering cycle (D), FIG. 3, as the case may be, regardless of whether the end point of soluble alkalinity has been met or not.

    (18) Corresponding reference characters indicate corresponding parts throughout the several views of the drawings. Related, but not identical apparatus or features and steps typically are indicated by the use of primes. In some views of the drawings, multiple steps or features or process control scenarios depending on differences in monitored conditions sometimes are indicated in a single drawing for convenience as the case may be. The reader is referred to the Detailed Description below for clarification.

    DETAILED DESCRIPTION

    (19) The invention can best be understood with reference to the specific embodiments that are illustrated in the accompanying drawings and in the variations described below. While the invention will be so described, it should be recognized that the invention is not intended to be limited to the embodiments illustrated in the drawings; rather, the embodiments provided in this disclosure are intended to satisfy applicable legal requirements. The invention includes all alternatives, modifications, and equivalents that may be included within the scope and spirit of the invention as defined by the appended claims.

    (20) Biological wastewater treatment, including bio-solids stabilization, is described generally and schematically in the context of FIG. 1, labeled Prior Art in the above background of the invention and should be referred to for context. For purposes of the detailed discussion, the aerobic digester 56 in FIG. 1 may be considered to be replaced in FIG. 2 with modified digester 56 of the invention and the control system 120 (FIG. 4) as described below. It should be recognized that digester 56 is not intended to be limited to the wastewater treatment process illustrated in FIG. 2 and is of broader application.

    (21) FIG. 2 illustrates generally at 20 and in highly schematic form an exemplary and representative plant for biological wastewater treatment similar to that of FIG. 1, but including a modified digester 56 operated and controlled in accordance with the invention. The single digester tank 56 of FIG. 1 was modified in accordance with the practice of the invention to an aerobic digester 56 (FIG. 2) having a control system 120 (FIG. 4) based on monitoring the nutrients ammonium NH.sub.4.sup.+, nitrate NO.sub.3.sup., orthophosphate PO.sub.4.sup.3, and soluble alkalinity, along with Class B bio-solids standards, and time T. Remaining portions of FIG. 2 are similar to those of FIG. 1 and to the general discussion of which the reader may be referred in the Background of the Invention. However, it should be recognized that the introduction of the modified aerobic digester 56 and the control system of the invention described below and with reference to FIGS. 3 through 15 fundamentally changes the operation of the plant and the characteristics of the waste water in the BNR reactor 26, the waste activated sludge (WAS) 54 leaving the clarifier 30, and especially digester side stream 60 and the stabilized bio-solids 59. Digester side stream 60 can be expected to be greatly reduced in the amount of ammonium NH.sub.4.sup.+, nitrate NO.sub.3.sup., orthophosphate PO.sub.4.sup.3, and carbonaceous biological oxygen demand (CBOD) returned to the BNR reactor 26. Stabilized bio-solids 59 can be expected to be loaded with precipitated calcium phosphate phosphorous and normally readily to meet United States Environmental Protection Agency (EPA) federal regulations for land surface applications as set forth in Volume 40 of the Code of Federal Regulations, at Section 503 (Class B bio-solids standards, normally for vector attraction reduction and pathogen reduction). No or very little chemical addition should typically be required to BNR reactor 26 or in the anaerobic cycle of the digester for phosphorous removal. Under certain conditions, discussed below, the amount of phosphorous returned to the BNR reactor may increase if orthophosphate is released into the side stream, and temporary or occasional insults by PO.sub.4.sup.3 can typically be tolerated without chemical addition, the BNR reactor 26 having some ability to absorb an occasional small increase in phosphorous in the absence of an adverse impact on performance and on phosphorous concentrations in the effluent 44.

    (22) FIG. 3 illustrates generally at 100 a flow diagram for the steps of operation of a modified aerobic digester 56 (FIG. 2) of the invention. Digester 56 is operated in batch flow mode under facultative conditions, which are usually at an ambient temperature of from about 5 to 40 C., through anaerobic, aerobic, optional anoxic, and minimally aerobic dewatering cycles 102, 104, 106, and 108 respectively. Waste activated sludge (WAS) 54 enters the digester 56 (FIG. 2), step 101 (FIG. 3). The WAS may alternatively be mixed with raw sludge pumped from a primary settling tank as well, which is not illustrated, and it should be recognized that in referring to WAS herein, mixtures of WAS and raw sludge from primary sedimentation are to be included and not excluded from the practice of the invention.

    (23) The WAS or the mixture of WAS and raw sludge from primary sedimentation is treated in an initial step 102 at anaerobic conditions. In the anaerobic cycle 102, microbes engage in respiration in the absence of oxygen (), break down the organic WAS cellular content by hydrolysis, and create ammonia, NH.sub.3, from the broken down mass, which ionizes in solution to ammonium, NH.sub.4.sup.+. Bursts or short increments of controlled air 62 can be provided in the anaerobic cycle without disturbing the anaerobic cycle or initiating aerobic conditions to destroy methane-producing bacteria that may be formed under anaerobic conditions, as is described in more detail below.

    (24) The control system 120 (FIG. 4) provides precisely controlled air 62 or another controlled source of oxygen to the digester to provide oxic conditions (O) to end the anaerobic cycle 102 and initiate the aerobic cycle 104. In the aerobic cycle 104, the concentration of ammonium is reduced by oxidative nitrification of the ammonium, first to nitrites, NO.sub.2.sup., and then to nitrates, NO.sub.3.sup.. In addition, orthophosphate reacts with soluble alkalinity, measured as CaCO.sub.3 to form precipitates of calcium phosphates that are adsorbed onto the biosolids and can be removed via sludge wasting upon dewatering.

    (25) In the practice of the invention, oxidation reduction potential (ORP) can be monitored in addition to ammonium, if desired, but the ammonium concentration and not ORP is used to control the length of the anaerobic and aerobic cycles precisely and efficiently, reducing power requirements for operating the digester, in which the aeration and mixing devices are otherwise left on longer than necessary, even with ORP monitoring. ORP control does not effectively analyze when the desired minimum orthophosphate concentration is met or when the soluble alkalinity buffer is depleted to its end point. Orthophosphate reduction and depletion of alkalinity buffer is determined by separately monitoring their concentration in the WAS in the digester, apart from ammonium or ORP.

    (26) Unless an optional anoxic cycle 106 has been added to the system, then once the aerobic cycle is ended, the system progresses to dewatering, step 108, denoted as (D). Dewatering is accomplished at minimally aerobic conditions and the air 62 or other source of oxygen to the digester can be reduced even further to keep phosphorous bound to the biosolids as a precipitate if orthophosphate release is detected during dewatering. The cycle should not take more than five (5) days and adjustments to increase the dewatering rate may need to be made if it appears the cycle may last longer. Dewatering produces dewatered stabilized biosolids 59 and a liquid fraction side stream 60, FIGS. 2 and 3.

    (27) FIG. 3 also illustrates optional anoxic cycle 106, which is initiated upon completion of the aerobic cycle by adding CBOD 112 to the sludge depending on the nitrate nitrogen concentration [NO.sub.3.sup.N] at the beginning of the anoxic cycle or the end of the aerobic cycle and turning off the air 62 to allow dissolved oxygen to be depleted and anoxic or mixed anoxic conditions to prevail in the digester. It should be recognized that a determination or not 110 to initiate an anoxic cycle 106 is typically made before the process is even run, depending on stringent requirements for nitrogen in the effluent or other problems meeting nitrogen limits. Once the anoxic cycle 106 is completed, then the process proceeds to the next step of dewatering 108 and production of biosolids 59 and a side stream 60 as described above in connection with dewatering after the aerobic cycle.

    (28) Turning now to the control system of the invention, FIG. 4 illustrates generally at 120 the principal functions of the control system. The control system functions report to and are controlled by a central interface server 122. Central server 122 includes an operator interface 124 for manual inputting of set points and including manual control of the system functions; an on-demand data storage and retrieval system 126 for data obtained by the central server from the various control system monitoring functions; a cycle time monitor and control system 128 to separately track and control through the central server 122 the anaerobic, aerobic, dewatering and optional anoxic cycle times in response to set points for maximum cycle time; a controller 129 for precisely controlling mixing and the supply of oxygen to the microorganisms in the digester; and, the heart of the system, a nutrient monitoring and control system 130 to separately track and control a plurality of nutrient monitoring functions and working with the central server to precisely control air to the digester.

    (29) It should be recognized that monitoring Class B biosolids standards 132 (Class B standards or Class B) is at present obtained by the operator from a laboratory analysis of vector reduction 133 and pathogens 134. The operator can input the Class B results into the central server for control functions responsive to Class B. Nutrients 130 optionally are continuously monitored throughout or only in the cycle of interest in which a particular nutrient exercises a control function. Alternatively, the nutrients may be monitored manually and occasionally as needed or continuously or through some combination of these methods. The concentration of ammonium nitrogen [NH.sub.4.sup.+N] at 136 is monitored for maximum concentration in the anaerobic cycle and to determine the degree of reduction in organic carbonaceous materials. The concentration of ammonium nitrogen [NH.sub.4.sup.+N] at 136 is also monitored for minimum concentration in the aerobic cycle. The concentration of orthophosphate phosphorous, [PO.sub.4.sup.3P] at 137 is monitored for minimum concentration during the aerobic cycle and for re-release in the dewatering cycle. Soluble alkalinity 138, here illustrated as the concentration of soluble calcium carbonate, is not in itself a nutrient, but is included here in connection with nutrient monitors 130 because it is similarly monitored and is monitored for end point concentration, meaning the end of availability of soluble alkalinity to drive significant further reduction in the nutrient [PO.sub.4.sup.3P]. Considering yet additional nutrients, if the optional anoxic cycle is initiated, then reduction of nitrate nitrogen, NO.sub.3.sup., is monitored against a minimum for initiating dewatering.

    (30) It is important to note that what is useful to monitor is the reactive species of phosphorous or alkalinity in WAS, which is the species that can be impacted by the practice of the invention, which uses the reactivity of the phosphorous and alkalinity to drive precipitation of the reactive phosphorous into a solid form, which precipitate is adsorbed onto the biosolids and withdrawn from the plant in dewatering. The digester side stream returned to the influent typically contains an insignificant amount of reactive phosphorous species.

    (31) The reactive phosphorous species is normally orthophosphate, which can be determined by taking a filtered sample from the digester. It is also possible to use total phosphorous in the liquid fraction, which can be determined by filtering a sample of the digester biosolids and then acidifying the filtered sample to drive the equilibrium to the orthophosphate ion species. Total phosphorous is not as practical as determination of reactive species concentration because the majority of the phosphate ion species is present as orthophosphate anyway. It is important to recognize that in the context of the invention, reference to phosphorous, total phosphorous, and orthophosphate are all intended to refer to the reactive liquid-phase species subject to the control system of the invention, and does not include phosphorous in the solid phase. It is the reactive species in the digester side stream that is reduced in concentration in the digester and the solid phase species that is increased; otherwise the total amount of phosphorous essentially remains the same as in the WAS entering the digester.

    (32) Similarly, it is the reactive alkalinity, normally, although not exclusively, from ions in solution in the liquid phase of calcium carbonate, CaCO.sub.3, namely Ca.sup.2+ and CO.sub.3.sup.2, which we have called for convenience soluble alkalinity and the concentration of soluble CaCO.sub.3 alkalinity, [CaCO.sub.3], that is reactive with the reactive phosphorous species PO.sub.4.sup.3. Soluble alkalinity is most easily and efficiently determined in accordance with the invention inline in the WAS in the aerobic phase in the digester. As for phosphorous, it is important to recognize that in the context of the invention, reference to alkalinity, total alkalinity, and soluble alkalinity are all intended to refer to the reactive liquid-phase species subject to the control system of the invention, and does not include alkalinity in the solid phase. It is the reactive species in the digester that is reduced in concentration in the digester by the precipitation of phosphorous and the solid phase species of the precipitate that is increased.

    (33) It is important to note that either an orthophosphate analyzer or a soluble calcium alkalinity analyzer, or a combination of the two, can be used to monitor orthophosphate reduction in the WAS in the aerobic phase. The invention relies on the availability of calcium carbonate to drive bio-solids uptake of phosphate during the aerobic cycle. The uptake of phosphate is driven by soluble calcium alkalinity because organic acids and bicarbonates are stripped out of the WAS as carbon dioxide gas once the anaerobic cycle is completed and aeration is initiated. Orthophosphate reduction stops when the soluble calcium alkalinity drops to about 20 ppm or less. In some treatment plants, conditions may occur in which the level of soluble calcium alkalinity is insufficient to provide significant soluble phosphorous precipitation. Insufficient levels of soluble calcium alkalinity can occur when the plant influent receives a low-calcium load, which can have a negative impact on the ability of the process to uptake soluble phosphorous into the WAS for disposal, potentially allowing high soluble phosphorous concentrations in side stream 60 eventually to build up in the BNR reactor 26. Plants so impacted may not achieve soluble phosphorous levels below about 20 mg/l in the digester side stream. If low soluble phosphorous side stream levels are desired, the plant could add a lime feed system to the digester to add hydrated lime during the anaerobic cycle to the WAS to increase the calcium content of the WAS and drive increased soluble phosphorous precipitation. In the practice of the invention, we have determined that a useful ratio of soluble calcium carbonate to orthophosphate ratio is typicallyabout 3:1, which is to say at least three times more soluble alkalinity than soluble phosphorous, normally determined in mg/l.

    (34) Lime has been determined to be a useful chemical addition to the digester in the circumstances above described. The control system determines the appropriate lime feed rate based on prior monitored concentrations of soluble orthophosphate in the side stream 60. Other alkalinity additions may be used instead or in addition, including, for example, magnesium hydroxide or sodium bicarbonate, although not necessarily with equivalent results. Magnesium hydroxide and sodium bicarbonate do not drive soluble phosphorous precipitation directly, but instead react with nitrifying acids produced during the aeration process. By reacting with the nitrifying acids, these other forms of alkalinity preserve more of the available soluble calcium alkalinity to react with the orthophosphate rather than being consumed by the acids.

    (35) The central server controls the mechanical equipment 129 for initiating and maintaining the aerobic cycle 104, the minimally aerobic dewatering cycle 108, and for methane-bacteria destroying bursts during the anaerobic cycle 102, including mixers and blowers or aerators, or both, typically in an on/off fashion. If desired, the energy costs 152 of aerating the sludge can be monitored through power demand 148 and power usage 150 for the blowers, aerators, and mixers that are monitored and an energy cost 152 calculated. The monitored energy costs for use of the system of the invention can be compared to the energy cost for aerobic treatment in prior processes to determine one aspect of the value of the system of the invention.

    (36) Monitors 148, 150 determine from the mechanical equipment the amount of energy demanded 148 and the energy used 150, respectively, and process energy costs 152 are calculated from this data for the aerobic cycle, which costs are provided to the central server 122 and can be used to determine system efficiency and cost savings as compared to operating the blowers, aerators, and mixers in the absence of the control system of the invention.

    (37) Turning now to FIG. 5 and consideration of the reduction of orthophosphate phosphorous concentration, [PO.sub.4.sup.3P], in the waste activated sludge during the aerobic cycle, which is one of the principle advantages of the invention, FIG. 5 illustrates generally at 155 the near linear relationship between consumption of soluble alkalinity and reduction of orthophosphate. Curve 160 is a plot of [PO.sub.4.sup.3P] against aeration time and shows its reduction from a maximum of about 72 mg/L to about 7.5 mg/L over a twenty hour period. The presence of soluble alkalinity drives orthophosphate precipitation and adsorptive uptake onto the biosolids as is illustrated in curve 162. Curve 162 is a plot of soluble alkalinity determined as [soluble CaCO.sub.3] against aeration time and shows its reduction from a maximum of about 475 mg/L to about 80 mg/L over the same 20-hour period as for [PO.sub.4.sup.3P]. CaCO.sub.3 concentrations are consumed during the aerobic cycle 104 (FIG. 3) by nitrification, which competes with calcium precipitation. Thus, the end point in the reduction of the concentration of orthophosphate, determined as a concentration of soluble alkalinity [soluble CaCO.sub.3]about 20 ppm, provides a useful parameter 138 (FIG. 4) for monitoring by the control system to determine whether to end the aerobic cycle or not if the aerobic cycle time, T-O.sub.max, has not been exceeded and [NH.sub.4.sup.+N].sub.min and optionally Class B biosolids standards have been met. Additional control can be provided by either manually or automatically determining [PO.sub.4.sup.3P], when the soluble alkalinity end point is reached. The operator is allowed thereby to determine when the end point for orthophosphate precipitation is reached whether and how much [PO.sub.4.sup.3P] remains in the liquid fraction. The operator can then make an informed decision whether to add more soluble alkalinity to a subsequent anaerobic cycle.

    (38) Chemical costs and costs savings are based on the amount of chemical addition required to reduce orthophosphate 137 in the digester side streams. The chemical cost savings function (not illustrated) analyses the current side stream content of orthophosphate and compares that value to previously obtained determinations of the amount of chemicals required for high orthophosphate returns in the side stream. For example, in a particular plant it may have been empirically determined prior to implementation of the system that 1.0 mg of phosphorus requires the addition of 6.0 mg of aluminum sulfate. The required phosphorous to aluminum sulfate relationship is typically determined in what is called a jar test for every site, individually. Of course, it should be recognized that other chemicals may be used for phosphorous precipitation instead.

    (39) Turning now to a detailed discussion of the application of the control system of FIG. 4 to the method steps of FIG. 3, FIG. 6 illustrates generally and schematically at 300 the application of the control system to the anaerobic cycle 102, which takes place under conditions without oxygen as represented by . In the anaerobic cycle, the control system monitors the duration of the cycle against a maximum set point for anaerobic time, T-.sub.max, illustrated at 175. The set point is generally empirically determined as the anticipated time to reach a maximum desired production of ammonia, monitored as [NH.sub.4.sup.+N].sub.max as illustrated at 178, coupled with government regulations regarding minimum treatment time for reducing organic carbonaceous compounds, and is based on the WAS feed rate and the digester volume. For some plants, T-.sub.max can be as much as forty (40) days, although in the practice of the invention, sufficient TOC reduction has occurred to meet Class B biosolids standards in the aerobic cycle in as little as six (6) days. If Class B biosolids do not have to be met, then the anaerobic cycle time can be met in as little as two (2) days.

    (40) Anaerobic cycle 102 is controlled in response to the maximum permitted concentration of ammonium nitrogen 178 that is generated during the anaerobic cycle, determined as a set point, [NH.sub.4.sup.+N].sub.max. Anaerobic cycle 102 is also independently controlled in response to the maximum permitted cycle time, T-.sub.max, illustrated at 175. See system control functions 128 and 136 for Time and [NH.sub.4.sup.+N], respectively, in FIG. 4. As illustrated in FIG. 6 et seq. if the set point for [NH.sub.4.sup.+N].sub.max is met within the maximum permitted cycle time T-.sub.max, which is the monitoring condition at junction 180, then controlled air 62 is supplied to the waste activated sludge in the digester to initiate an aerobic cycle 104. If the set point for [NH.sub.4.sup.+N].sub.max has not been met, but T-.sub.max has not yet been exceeded for the anaerobic cycle, which is the monitoring condition illustrated at the control junction 182, then the anaerobic cycle is continued. The anaerobic cycle is continued until either the set point for [NH.sub.4.sup.+N].sub.max has been met within the maximum permitted cycle time, which is the monitoring condition at junction 180, or the maximum cycle time is exceeded before the ammonium nitrogen set point has been reached, which is the monitoring condition at junction 184, in either of which cases air 62 is supplied to the waste activated sludge in the digester to initiate an aerobic cycle. It should be recognized that when the maximum cycle time is exceeded, then the aerobic cycle is initiated regardless of whether the maximum permitted amount of ammonium nitrogen has been generated. As illustrated by the monitoring condition at junction 184, in the event T-.sub.max is exceeded and the set point [NH.sub.4.sup.+N].sub.max still is not met, then an alarm 188 informs the operator 124 of low ammonium production and inadequate biosolids hydrolysis.

    (41) Ammonia production in the anaerobic cycle is proportional to the reduction in total organic carbonaceous compounds (TOC) in the WAS. Determining the ammonium nitrogen concentration continuously throughout the anaerobic cycle allows calculation of the reduction in TOC that occurs in the WAS in the anaerobic cycle. The ratio of the amount of ammonia produced during the anaerobic cycle, measured as [NH.sub.4.sup.+N], to TOC is dependent on influent waste water and WAS conditions and is site specific for every waste water treatment plant. Normally, the ratio should need to be determined only about once or twice each year, but variable conditions in the digester sludge can require more frequent determinations. For example, WAS that has been through the BNR reactor and clarified, termed secondary sludge, usually provides consistent characteristics and is suitable for calculating an accurate reduction in TOC. However, if primary sludge is piped to the digester, which is taken from settling of the plant influent to remove floating objects and oils and greases and has not yet been treated in the BNR reactor (not illustrated in FIGS. 1 and 2), or a mixture of primary and secondary sludges enters the digester, then the sludge characteristics can vary so much that the calculation of the ratio of ammonia production to TOC is inconsistent or inaccurate. The ratio also varies with the seasons as sludge temperature changes, particularly in colder conditions.

    (42) Thus, once a determination for this ratio is reached, say 1.0:0.7 is typical for a particular plant, then the monitored ammonia production in the anaerobic cycle 102 can be multiplied by the factor for reduction in TOC, 0.7 in the exemplified ratio, to indicate TOC reduction. For a monitored value of [NH.sub.4.sup.+N] of, say 50 mg/l, then TOC has been reduced by approximately 35%. Thirty-five percent TOC reduction provides a relatively precise indication to the plant operators that Class B or other applicable biosolids standards are likely to be met in laboratory tests. Typically, at least a 30% reduction in TOC is required to meet Class B bio-solids standards.

    (43) In the anaerobic cycle, organic compounds are broken down and are hydrolyzed, creating an environment favorable to the bacteria that form methane. Accumulations of methane are undesirable because of its potential for a hazardous explosion and the practice of the invention is advantageous in its ability to eliminate a considerable portion of methane production that can otherwise occur in a conventional operation. To further limit methane production, the practice of the invention can be enhanced to take advantage of the sensitivity to air of the methane-producing organisms. An enhanced method for limiting methane production is to interrupt the anaerobic cycle by providing controlled air 62 to disrupt the methane-producing bacteria, but not so much as to significantly disturb anaerobic conditions. In the practice of the invention, methane-producing bacteria can be significantly reduced by adding up to 4 (four) aeration bursts per day to the anaerobic cycle of from about 2 (two) to 15 (fifteen) minutes each. The addition of small aeration bursts during the anaerobic cycle destroys a significant portion of the methane-forming organisms and also generally reduces odors significantly, if odors are of concern, and in the absence of significant disruption of the anaerobic cycle.

    (44) Turning now to the application of the control system to the aerobic cycle, FIG. 7 illustrates generally at 310 the application of the control system to an aerobic cycle 104 in which set points for all three monitored parameters of minimum ammonium nitrogen concentration [NH.sub.4.sup.+N].sub.min 190, optional Class B bio-solids standards 192, and minimum soluble phosphorous [PO.sub.4.sup.3P].sub.min 194 are met within the maximum allowable aerobic cycle time, T-O.sub.max 198. Generally, T-O.sub.max is limited to 40 hours to avoid increasing the phosphate concentration in the liquid phase. It should be understood that the set point [NH.sub.4.sup.+N].sub.min at 190 (FIG. 7) is for the minimum amount of ammonium nitrogen desired in the digester side stream 60, FIG. 2, not to be confused with the maximum ammonium nitrogen production desired in the anaerobic cycle, [NH.sub.4.sup.+N].sub.max at 178. Similarly, [PO.sub.4.sup.3P].sub.min refers to the set points 194 for the reduction of soluble phosphorous. In that context, the set point for [PO.sub.4.sup.3P].sub.min is for the maximum amount of soluble phosphorous desired in the digester side stream 60, FIG. 2, for return to the head works 23. Set point 196 refers to consumption of soluble alkalinity to the end point for reduction in [PO.sub.4.sup.3P].

    (45) In contrast, depletion of soluble alkalinity to the end point indicates that no more soluble phosphorous can be precipitated. In FIG. 7, we illustrate monitoring of the end point, but since the set points for primary controls 190 for [NH.sub.4.sup.+N].sub.min and 192 for optional Class B bio-solids standards, and for secondary control 194 for [PO.sub.4.sup.3P].sub.min, have each been reached within the aerobic cycle, it is immaterial whether the end point of soluble alkalinity has been reached or not. Terminating the aerobic cycle is warranted. In this regard, it can be noted that if [PO.sub.4.sup.3P].sub.min has been met within the cycle time, it is highly unlikely that the end point of soluble alkalinity would have been reached.

    (46) Meeting the set points within cycle time is illustrated in FIG. 7 by arrows proceeding from the monitors 190, 192, 194, and 198 to the monitoring condition at control junction 200 for all four parameters that signals the digester to begin the optional anoxic cycle 106 or go directly to the dewatering cycle 108, depending on the plant configuration. The control of aeration in the aerobic cycle, which involves the interaction of from three to five parameters, is further illustrated below for over a dozen scenarios in connection with FIGS. 10 through 15. It should be recognized that multiple scenarios are depicted in some of the drawings and the reader should rely on the detailed description when considering the drawings to separate the scenarios. Conditions that favor dewatering or an anoxic cycle followed by dewatering are illustrated in FIGS. 11, 14, and 15, in addition to FIG. 7. Conditions that require continuing the aerobic cycle or initiating anaerobic conditions and starting over are illustrated in FIGS. 10, 12, and 13.

    (47) Continuing to follow the outline of process steps set forth in FIG. 3, FIG. 8 illustrates generally at 320 the application of the control system of the invention to the optional anoxic cycle 106. Air is not provided to the digester to initiate the anoxic cycle. Instead, the value for [NO.sub.3.sup.N] obtained at the beginning of the anoxic cycle or the end of the aerobic cycle determines the amount of carbonaceous biological oxygen demand 112 (CBOD) that is to be used by the facultative microorganisms for reductive denitrification of nitrates, NO.sub.3.sup.. The conditions initially at least are actually mixed aerobic and anoxic until all the dissolved oxygen is consumed. In anoxic conditions, only chemically bound oxygen is available for respiration, and no dissolved oxygen as there is under aerobic conditions. Anoxic reductive denitrification of nitrate nitrogen produced in the oxidative aerobic cycle produces nitrogen dioxide, NO.sub.2.sup., nitric oxide NO, nitrous oxide N.sub.2O, and eventually, N.sub.2, which is harmless nitrogen gas.

    (48) In the anoxic cycle, the control system monitors the duration of the cycle against a maximum set point for anoxic time, T-AN.sub.max, illustrated at 210. The set point is generally empirically determined based on the anticipated time to reach a desired reduction in the concentration of nitrate nitrogen [NO.sub.3.sup.N], monitored as [NO.sub.3.sup.N].sub.min as illustrated at 212, coupled with government regulations regarding stringent nitrogen requirements or taking into account particular plant operational and performance nuances. For some plants, T-AN.sub.max is typically about twelve (12) hours.

    (49) Anoxic cycle 106 is controlled in response to the minimum concentration of nitrate nitrogen 212 that is generated during the anoxic cycle, determined as a set point, [NO.sub.3.sup. N].sub.min. Anoxic cycle 106 is also independently controlled in response to the maximum permitted cycle time, T-AN.sub.max, illustrated at 210, and mixing in the absence of oxygen. See system control functions 128 and 139 for Time and [NO.sub.3.sup.N], respectively, in FIG. 4. As illustrated in FIG. 8, if the set point for [NO.sub.3.sup.N].sub.min is met within the maximum permitted cycle time T-AN.sub.max, which is the monitoring condition illustrated at control junction 214, then minimal air can be introduced to initiate the dewatering cycle 108. If the set point for [NO.sub.3.sup.N].sub.min has not been met, but T-AN.sub.max has not yet been exceeded for the anoxic cycle, which is the monitoring condition illustrated at control junction 216, then the anoxic cycle is continued. The anoxic cycle is continued until either the set point for [NO.sub.3.sup.N].sub.min has been met within the maximum permitted cycle time, junction 214, or the maximum cycle time is exceeded before the set point for [NO.sub.3.sup.N].sub.min can be reached, junction 218. In the latter case, when anoxic cycle time is exceeded and the set point for reduction of the concentration of nitrate nitrogen is not yet met, then an alarm 220 notifies the operator through the server that high nitrate concentrations remain. The operator on a case-by-case basis determines whether to continue the anoxic cycle or to initiate dewatering by introducing minimal air as illustrated at 222. It should be recognized that if the anoxic cycle is continued, no further BOD is typically added to the sludge in the anoxic cycle because of the likelihood of undesirable high CBOD's in the digester side stream being returned to the influent.

    (50) FIG. 9 illustrates generally at 330 the application of the control system of the invention to the final cycle, the mechanical dewatering cycle 108. The dewatering cycle 108 is initiated at minimal aerobic conditions either at the end of the optional anoxic cycle 106 as discussed immediately above or the aerobic cycle 104. At least the ammonium nitrogen concentration will be at or below its minimum set point and the Class B standards, if required, will be met. Desirably, the nitrate minimum set point and the minimum orthophosphate set points will be met or exceeded as discussed in connection with cycles 106 and 104, respectively. Flocculent 63 is typically added to the sludge before dewatering to assist the sludge to form flocs that can be more easily separated from the liquid fraction to form the biosolids.

    (51) Minimal aerobic conditions typically can be achieved with a diffused air flow rate that does not promote oxidative nitrification and further alkalinity reduction. A typical example of minimal aerobic conditions is approximately 4 SCFM (standard cubic feet per minute) per 1,000 ft.sup.3. Digesters with surface aerators normally incorporate separate mixing functions and are capable of reducing the surface aeration intervals, using minimal air, in the absence of inducing aerobic conditions that would release soluble phosphorous and promote nitrification if excess air is continued in the absence of sufficient soluble alkalinity buffer. It is important that as little air 62 as possible is used both to minimize cost, and more importantly, to preclude nitrification and orthophosphate from being released into the liquid fraction as soluble phosphorus during dewatering. Mixing should be provided at least when the air is turned off in the intervals between aerations to keep the bio-solids in suspension during dewatering.

    (52) The liquid fraction 60 recovered from dewatering is returned to the head works influent 22 (FIG. 2) and should still be low in nitrogen, phosphorous, and CBOD to avoid large chemical additions at the BNR reactor 26 for phosphorous removal and operational problems due to high nitrogen loading. Mechanical dewatering should not take more than five (5) days to avoid further nitrification and phosphate release. Orthophosphate release is monitored at 230 (see FIG. 3 at 137). Orthophosphate release due to over-aeration is caused by background nitrification processes that produce acids that react with the biosolids soluble alkalinity. Once all the soluble alkalinity is consumed, then the nitrifying acids react with the insoluble alkaline particles, primarily the calcium portion of the calcium phosphates, to release the phosphate portion as orthophosphate. It is useful to monitor soluble alkalinity in connection with the aerobic cycle 104 in part so that the remaining alkalinity is known when dewatering is initiated.

    (53) If monitored parameter 230 indicates phosphorous release, then the air 62 is reduced in run time until phosphorous release is no longer detected and minimal air is resumed. An alarm 232 is provided to the operator through the server and the operator can reduce the air 62 as illustrated at 234 to a point below the minimal air setting with which the cycle was initiated. Alternatively, the server can of course reduce the run time directly.

    (54) The dewatering cycle is also independently monitored with respect to maximum cycle time, T-D.sub.max, illustrated at 236. If the cycle time is not in danger of being exceeded, the dewatering rate is maintained, 238. If however, the cycle time could exceed a maximum cycle time of about five (5) days, then an alarm 240 is provided and the operator notified to increase the dewatering rate 242 to avoid increasing the phosphate concentration in the side stream.

    (55) Dewatering produces in addition to the liquid fraction 60 that is returned to the plant influent 22 (FIG. 2) a dewatered waste activated sludge, stabilized biosolids 59, that are collected for disposal. It should be recognized that upon dewatering the digester is never completely emptied of stabilized biosolids. Approximately 20 to 40%, and typically 30% of the digester stabilized biosolids, is retained in the digester to seed the next batch of WAS from the clarifier. Class B biosolids are suitable for surface applications and can normally be applied as a nutritive fertilizer having a relatively high nitrogen and phosphorous content. The process of the invention is not generally believed to be suitable for achieving Class A standards under the EPA regulations.

    (56) Decanting is not normally necessary and, depending on when performed, may impede the benefits of the invention from being realized. Thus, decanting is not typically practiced in connection with the invention. In decanting, the liquid phase on top of the biosolids, called the supernatant, is removed from the digester, usually during the initial sludge settling phase and provided to the plant head works as stream 61 to supplement the digester side stream liquid fraction 60 obtained from dewatering. Decanting the WAS to thicken it concentrates the WAS, which can negatively impact the rate of reduction of organic compounds in the WAS as compared to a thinner sludge. If thickening is desired, then normally the WAS is thickened by decanting after the aeration cycle is completed and Class B bio-solid standards, if applicable, have been met, but prior to dewatering. Alternatively, and optionally, an anoxic denitrification cycle can be added after the aerobic cycle, if desired. In this event, decanting, if it is practiced at all, is normally not initiated until the anoxic cycle is fully complete.

    (57) If decanting occurs immediately before dewatering, it should have no negative impact on organic bio-solids reduction in the anaerobic cycle, ammonium nitrogen reduction and soluble phosphorous precipitation in the aerobic cycle, or nitrate nitrogen reduction in the denitrification cycle. However, decanting may be disadvantageous in an anoxic denitrification cycle because if denitrification is incomplete, then the side stream nitrate concentration may increase. Decanting may be disadvantageous if accomplished during the aerobic cycle because oxygen transfer in air diffusers or in surface aerators is normally more effective in thinner sludge concentrations. Decanting may be disadvantageous if it is accomplished during the anaerobic cycle because the supernatant will normally increase the ammonium, phosphorous, and TOC concentrations of the side stream.

    (58) Turning now to a discussion of specific control scenarios, FIGS. 10 through 15 each illustrate multiple aerobic digester cycles for waste activated sludge in accordance with the invention, in addition to that described in connection with FIG. 7. In each scenario, starting with whether aerobic cycle time, T-O.sub.max has been exceeded or not, we examine the principal control functions for ammonium nitrogen and optional Class B biosolids standards, considered independently, and the impact, if any, that orthophosphate concentration and soluble alkalinity may have on control.

    (59) FIGS. 10 through 15 illustrate various aspects of the aerobic cycle 104 (FIG. 3) in addition to that of FIG. 7, depending initially on whether the set point for maximum time, T-O.sub.max, has or has not been exceeded. FIG. 10 illustrates generally at 340 a scenario where the maximum time T-O.sub.max at 198 has not been exceeded, and either of the set points for ammonium nitrogen 190 or Class B biosolids standards 192 have not been met, considered independently. It should be recognized that since Class B biosolids standards are optional and implemented only as required or desired, then in the absence of exercising the option, one could ignore the Class B set point by treating it as always met if it were built into the system. In either event, since one of the primary control standards is not met, either for ammonium nitrogen 190 or Class B biosolids standards 192, and time has not been exceeded, then the aerobic cycle is continued as illustrated by the monitoring conditions at independent control junctions 224 and 226, respectively, regardless of soluble alkalinity 196 and orthophosphate 194 concentrations. However, if the end point for soluble alkalinity 196 is met, then it is desirable, though not necessary, to determine the concentration of orthophosphate 194. If the set point for minimum orthophosphate concentration has not yet been met and soluble alkalinity is depleted, then it is desirable to provide an alarm 250 so that the operator or automated system can determine whether addition of an agent promoting soluble alkalinity is warranted as illustrated at 252, including, for example, lime or other agents, as illustrated at 254.

    (60) FIG. 11 illustrates generally at 350 a scenario for the aerobic cycle where the maximum time T-O.sub.max at 198 has been exceeded, and the set points for ammonium nitrogen 190 or Class B biosolids standards 192 have been met, considered independently. It should be recognized that if either of the set points for Class B biosolids standards, which are optional and implemented only as required or desired, or for ammonium nitrogen are not met, then dewatering does not yet occur, which scenario is demonstrated in FIGS. 12 and 13. In FIG. 11, since time has expired and both ammonium nitrogen and Class B biosolids standards are met, then the system proceeds via the monitoring condition at control junction 275 to either dewatering (FIG. 9) or the interim optional anoxic cycle and dewatering as described in connection with FIGS. 8 and 9. In this scenario, since time is exceeded, dewatering occurs regardless of the orthophosphate concentration or the depletion of soluble alkalinity. If orthophosphate concentration is monitored, 194, either continuously or as a result of depletion of soluble alkalinity, and is determined not to have met the minimum set point, then it is desirable to provide an alarm 250 to inform the operator that that side streams high in orthophosphate are being returned so that the operator or automated system can determine whether addition of an agent promoting soluble alkalinity is warranted as illustrated at 252, including, for example, lime, as illustrated at 254.

    (61) Typically, the minimally aerobic dewatering cycle 108 is initiated after one set of an anaerobic cycle, a subsequent aerobic cycle, and optionally an anoxic cycle, all at ambient temperatures. However, in the winter when the weather is colder, it is possible that one or more primary monitored parameters, [NH.sub.4.sup.+N].sub.min, Class B bio-solids standards, or T-O.sub.max will not be satisfied after the initial aerobic cycle 104 is completed. Factors in addition to low temperatures that can potentially reduce oxic nitrification of the WAS include toxic loading of the digester with metals or a low pH event that kills a significant portion of nitrifies. Under these circumstances, the control system generates a warning to the operator that nitrification is reduced.

    (62) As illustrated in FIG. 12, if at the end of the maximum time allowed for the aerobic cycle 104 the standards are not yet satisfied at the maximum cycle time for reduction of ammonium nitrogen or, optionally, to meet EPA Class B bio-solids standards for vector attraction reduction and pathogen reduction, then the air 62 or other oxygen source is turned off and the anaerobic cycle 102 is reinitiated a second time instead of proceeding to either the optional anoxic step 106 or the dewatering step 108.

    (63) FIG. 12 illustrates generally at 360 an aerobic scenario where the maximum time T-O.sub.max at 198 has been exceeded, and the set points for ammonium nitrogen 190 or Class B biosolids standards 192 have not been met, considered independently. It should be recognized that since if either of the set points for Class B biosolids standards, which are optional and implemented only as required or desired, or for ammonium nitrogen are not met, then dewatering does not yet occur. Since time has expired and one or both of the ammonium nitrogen and Class B biosolids standards have not been met within the maximum permitted cycle time, then the anaerobic cycle 102 is initiated a second time as illustrated by monitoring conditions at control junctions 276 and 278, respectively, by turning off the air 62 and using air only in short bursts as necessary to limit methane production, regardless of soluble alkalinity being consumed or not and regardless of orthophosphate concentration. Alarms 250, 260, and 262 independently communicate to the operator that high orthophosphate concentrations remain after the aerobic cycle is completed, that minimum ammonium nitrogen reduction has not been met, and that Class B standards have not been met, respectively.

    (64) If the temperature of the WAS falls below about 8 C., then it is possible that the set point for minimum ammonium nitrogen will not be met even after the maximum cycle time allowed for the second or other subsequent aerobic step 104 following anaerobic step 102. If at this point, the standards for ammonium nitrogen reduction or, optionally, for Class B biosolids standards still have not been satisfied, then the operator may choose on a case-by-case basis whether to initiate a third anaerobic cycle or to continue the second aerobic cycle 104. The reductive denitrification of nitrates occurs automatically during the second anaerobic cycle and during the third and subsequent anaerobic cycles if any of these occur beyond the first anaerobic cycle. A third anaerobic cycle 102 and even continuation of the aerobic cycle 104 should be a rare occurrence, although it should also be recognized that the digester cycles can be repeated in accordance with the invention as needed. Aerobic cycle times normally never exceed forty (40) hours, which is 2 days, and more typically are less than about thirty (30) hours.

    (65) FIG. 13 illustrates generally at 370 a scenario where the maximum time T-O.sub.max at 198 has been exceeded, and the set points for ammonium nitrogen 190 or Class B biosolids standards 192 have not been met, considered independently, for a second time. It should be recognized that since if either of the set points for Class B biosolids standards, which are optional and implemented only as required or desired, or for ammonium nitrogen are not met, then dewatering does not yet occur. Since time has expired and one or both of the ammonium nitrogen and Class B biosolids standards have not been met within the maximum permitted cycle time, then the operator may determine on a case-by-case basis as indicated by the independent monitoring conditions at the control junctions 280 and 282, respectively, whether to continue the aerobic cycle 104 or to initiate a third or subsequent anaerobic cycle 102 by turning off the air 62 and using air only in short bursts as necessary to limit methane production, regardless of soluble alkalinity being consumed or not and regardless of orthophosphate concentration. Alarms 250, 260, and 262 independently communicate to the operator that high orthophosphate concentrations remain, the set point for minimum ammonium nitrogen has not met, and Class B standards have not been met, respectively.

    (66) FIGS. 14 and 15 illustrate generally at 380 and 390, respectively, different aspects of a scenario in which orthophosphate concentration is not monitored and only soluble alkalinity is monitored. The soluble phosphorous precipitation endpoint is reached once the soluble alkalinity concentration falls to 20 ppm or less. This type of installation can determine the reduction endpoint for orthophosphate, but not the remaining soluble phosphorous concentration in the digester side stream 60.

    (67) As illustrated in FIG. 14, if time T-O.sub.max 198 is not exceeded, then the system proceeds to dewatering if Class B 192 and minimum ammonium nitrogen 190 are met, even if the end point of soluble alkalinity 196 has been met, which is illustrated by the monitoring condition at control junction 284. The system proceeds because further aerobic treatment will not be able to reduce orthophosphate even if time remains in the cycle. However, as illustrated by the dashed line, if the end point for soluble alkalinity is not met and soluble alkalinity is not depleted, then the aerobic cycle is continued and control function 284 would be overridden until cycle time expired or the end point of soluble alkalinity was met (overriding is not illustrated). Had either one of Class B or ammonium nitrogen not been satisfied, then the aerobic cycle would be continued regardless of whether soluble alkalinity is depleted.

    (68) In FIG. 15, time is exceeded, and so the system proceeds to dewatering since Class B 192 and minimum ammonium nitrogen 190 are each independently satisfied, in the absence of knowledge of the concentration of orthophosphorous. Even though we are monitoring soluble alkalinity, we proceed even if the end point is not yet met because time is exceeded. Had either one of Class B or ammonium nitrogen not been satisfied, then the scenarios of FIG. 12 or 13 would prevail.