a first embodiment of a membrane bioreactor apparatus 10 for the treatment of wastewater to produce a low phosphorous effluent is illustrated in fig1 . the apparatus 10 consists of a multistage bioreactor having in hydraulic series an anaerobic zone 12 and an aerobic zone 14 divided by a weir 16 . those skilled in the art will appreciate that separate vessels connected by conduits could be employed as an alternative to the two zones separated by the weir 16 . a membrane filter 18 is operatively associated with the downstream aerobic zone 14 . in a preferred embodiment as illustrated in fig1 , the membrane filter 18 is immersed in the aerobic zone 14 . alternatively , the membrane filter could be in a downstream zone . the aerobic zone 14 is preferably provided with an aerator 20 in the form of a diffuser attached to air supply 21 situated below the membrane filter 18 which both provides air to the aerobic zone 14 and helps purge the membrane filter 18 of adhering solids . a recycle conduit 22 is provided with an inlet in the aerobic zone 14 and an outlet near an inlet 24 to the anaerobic zone 12 for recycling return activated sludge . a mixer 25 is preferably provided to maintain the mixed liquor suspended solids in suspension . a pump 26 may be provided for promoting the return activated sludge recirculation . a chemical supply 26 is provided in communication with the aerobic zone 14 for providing a chemical suitable for precipitating phosphates in the aerobic zone 14 . suitable chemicals for phosphate precipitation include soluble salts such as ferrous / ferric chloride or aluminum sulfate . in use , wastewater is provided through the inlet 24 to the anaerobic zone 12 . in the anaerobic zone 12 , phosphorous - accumulating organisms release phosphorous into the wastewater as they accumulate fatty acids used for cell growth . in the aerobic zone 14 , the phosphorous - accumulating organisms metabolize the accumulated organic matter and accumulate the released phosphorous into cells as part of the growth process . in this manner , phosphorous is removed from the effluent filtered through the membrane filter 18 . in order to achieve low concentrations of phosphorous ( e . g ., less than 0 . 25 mg / l ), the apparatus 14 provides for addition of soluble salts to the aerobic zone for forming insoluble phosphate metal salts from any residual phosphorous . these salts are added from the supply 26 as needed to achieve the low concentrations of phosphorous effluent results . precipitated phosphorous and activated sludge are separated from the effluent by the membrane filter 18 . return activated sludge ( which may include some insoluble phosphate metal salts and soluble phosphorous precipitating salts ) is recycled through conduit 22 to the anaerobic zone 12 . a quantity of waste activated sludge , including insoluble phosphate salts , is removed from the aerobic tank through conduit 28 . use of the anaerobic zone 12 in combination with the aerobic zone 14 ensures that adequate phosphorous will be available in the aerobic zone 14 for the digestion of bod , cod and other nutrients from the wastewater 24 . while the phosphorous precipitating salts lower the phosphorous content in the aerobic zone 14 , the anaerobic process in zone 12 acts as a phosphorous buffer by continuing to release phosphorous into the aerobic zone 14 . the anaerobic zone 12 also functions as a buffer against insoluble salts which are recycled as part of the return activated sludge through conduit 22 to the anaerobic zone 12 . fig2 is a second embodiment of a membrane bioreactor apparatus 30 producing a low phosphorous effluent . like elements of fig2 will have the same reference numbers used above in describing fig1 . the primary difference between the apparatus 30 of fig2 and the apparatus 10 of fig1 is the inclusion of an upstream anoxic zone 32 between the anaerobic zone 12 and the downstream aerobic zone 14 . the anoxic zone 32 functions as a de - nitrification zone wherein nitrate / nitrite nitrogen in the effluent is converted to elemental nitrogen . there is substantially no dissolved oxygen present in the anoxic zone 32 . the conversion of the no x to elemental nitrogen occurs because the micro organisms in the anoxic zone 32 seek oxygen through the reduction of no x compounds to nitrogen gas . the nitrogen gas is then able to escape the liquid phase to the atmosphere . a nitrogen rich recycle conduit (“ nrcy ”) 34 recycles return activated sludge from the downstream aerobic zone 14 to near the inlet of the anoxic zone 32 . an anoxic recycle conduit 36 recycles de - nitrified mixed liquor from near the outlet of the anoxic zone 32 to near the inlet of the anaerobic zone 12 . alternatively , as shown by a phantom line , a conduit 38 may be provided to recycle mixed liquor suspended solids directly from the aerobic zone 14 to near the inlet of the anaerobic zone 12 . the embodiment illustrated in fig2 performs the same phosphorous removal and phosphorous buffering functions as the embodiment in fig1 , but includes the upstream anoxic zone 32 for the promotion of denitrification . fig3 is a third embodiment of a membrane bioreactor apparatus 40 for treating wastewater to produce a low phosphorous effluent . identical reference numbers will be used for identical elements in the third embodiment 40 as used in the embodiments illustrated in fig1 and 2 . the third embodiment 40 includes an upstream aerobic zone 42 and a downstream anoxic zone 44 between the upstream anoxic zone 32 and the downstream aerobic zone 40 of the apparatus 30 illustrated in fig2 . the upstream aerobic zone 42 and downstream anoxic zone 44 are provided for enhanced nutrient removal . the third embodiment 40 includes a conduit 46 for recycling return activated sludge from the downstream aerobic zone 14 to near the inlet of the upstream aerobic zone 44 . a nrcy conduit 48 recycles nrcy from near the outlet of the upstream anaerobic zone 42 to near then inlet of the upstream anoxic zone 32 . finally , an arcy conduit 50 recycles activated sludge from near the outlet of the upstream anoxic zone 32 to near then inlet of the anaerobic zone 12 . fig4 illustrates a fourth embodiment of a membrane bioreactor apparatus 56 for treating wastewater to produce a low phosphorous effluent . this embodiment is similar to the third embodiment 40 illustrated in fig3 and again identical reference are used for identical elements . the principal difference between the third embodiment 40 and the fourth embodiment 56 is provision of a de - aeration zone 58 upstream of the anaerobic zone 12 and a ras recycle conduit 60 recycling return activated sludge from the aerobic zone 14 to the de - aeration zone 58 . alternatively , the anaerobic zone 12 could be made large and the ras recycle conduit 60 could flow directly to the anaerobic zone 12 . a pilot testing program was conducted to test the nutrient removal capability of the third embodiment of the membrane bioreactor (“ mbr ”) and method for treating wastewater described with reference to fig3 above . the pilot testing program included a number of objectives . the overall objective of the program was to determine whether the mbr could achieve the effluent limitation goals shown in table 1 . the wastewater used for the pilot testing program consisted of municipal sewage from a community . the wastewater sources were mostly domestic in nature ( i . e ., few industrial inputs ). table 2 summarizes the typical characteristics of the raw wastewater source and for the effluent from the primary treatment facility that was used as the input to the membrane bioreactor pilot . with regard to phosphorus removal , the pilot testing equipment was operated in the configuration shown in fig3 of the application for 112 days . to maximize nitrogen removal , the system was operated with methanol addition ( a supplemental carbon source ) during the entire period . the methanol dose averaged about 52 mg / l during the testing period . alum was not added during days 1 - 51 to determine the base amount of phosphorus that could be removed by biological activity alone . alum was added during days 52 - 112 to maximize the amount of phosphorus removal within the reactor and to verify that the process could achieve an effluent concentration of 0 . 1 mg / l for total phosphorus ( tp ). the alum dose varied between 23 and 73 mg / l , and the average alum dose was 43 mg / l . table 3 summarizes the results from the pilot testing program for the periods described above . included on table 3 are the average , maximum , and minimum values for effluent total nitrogen , total phosphorus , and chemical oxygen demand ( cod ), another important indicator of treatment efficacy , for the membrane bioreactor portion of the pilot . cod was measured in place of biochemical oxygen demand ( bod ), which was removed to near the detection limit . to simplify the presentation , the pilot data is shown for the entire operating period and includes variations in chemical doses , recycle flow rates , etc . ( not shown ) that result in subsequent treatment variations . in terms of phosphorus removal , the data clearly shows that low levels of effluent phosphorus can be achieved . overall , the pilot equipment was able to meet all of the goals listed in table 1 . post - treatment of the mbr effluent with activated carbon was needed to meet the effluent cod requirement of 10 mg / l . without alum addition , the effluent tp averaged 2 . 76 mg / l with a minimum value of 1 . 88 mg / l . these values are lower than conventional plants ( typically about 4 mg / l ) without biological or chemical phosphorus removal capabilities . with alum addition , the effluent tp averaged 0 . 24 mg / l with a minimum value of 0 . 02 mg / l . the operating period included several days during which effluent tp was less than the 0 . 1 mg / l treatment goal listed on table 1 . the treatment goals for bod , tss , cod , tn , tp , turbidity and coliform were achieved during the several days of extremely low tp ( less than 0 . 1 mg / l ).