Introduction

The water scarcity problem in Egypt is widely increasing due to the increasing population, increasing standard of living, urban, and industrial activities. This led to an increase in the gap between water demand and available water resources. Therefore, the need for non-conventional water resources appeared1. Conventional water resources such as the Nile River, Groundwater, and Rain precipitation while unconventional water resources as using treated municipal and agricultural drainage water, desalination, and groundwater in the delta region. Conventional water resources such as the Nile River, deep groundwater, and rain precipitation could afford about 62.65 BCM/year; 55.5 BCM by the Nile River, 6.1 BCM by groundwater, and 1.05 BCM by the rain precipitation. While the annual demand for water is about 79.5 BCM. The non-conventional resources such as using treated municipal wastewater, treated agricultural drainage water, and desalination could afford about 12.7 BCM; 9.7 BCM by using treated agricultural drainage water, 2.9 BCM by using treated municipal wastewater, and 0.1 BCM by desalination2. It’s obvious that the annual amount of agricultural drainage water is huge which will require a high cost of buildings, operation, and maintenance of WWTP for the treatment of such a huge amount with the conventional methods, as a result, means must be explored for the treatment of agricultural drainage water with low cost and high efficiency to get the benefit of using this treated wastewater3.

The strategy of agricultural drainage water reuse is considered one of the most important uonventional water resources and it can contribute to overcoming the shortage of water problem in Egypt, saving fresh water, and improving the Physicochemical properties of soil. It’s an economical and effective method that could produce high-quality water instead of more expensive methods such as municipal wastewater treatment or seawater desalination2.

A strong open drainage system was constructed in Egypt along the Nile to transfer excess water to the Mediterranean Sea and lakes4. It has been used since 1970 in Lower Egypt5. Agriculture drains were originally made to collect irrigation drainage but due to increasing population, and seepage of sewerage facilities, these drains now carry different types of polluted water because untreated industrial wastewater is discharged into them similarly to untreated domestic wastewater, also, the absence of sanitation systems in rural areas drives the farmers to discharge their wastewater into agricultural drains6. As a result, these drains became fully loaded with different types of pollutants from agricultural, industrial, and domestic wastewater. This lead to several adverse impacts such as depletion of dissolved oxygen level in drains, which may affect the aquatic life in drains, also, self-purification ability will decrease. As a result, the direct reuse of water from agricultural drains becomes very risky and requires treatment for the drains’ water to improve its quality for reuse purposes or to conform to regulatory disposal requirements7,8.

Several scenarios in agricultural water treatment can be used according to treatment procedure and location. The current study will focus on the treatment inside the stream body itself, in this method the whole volume of the drain is treated inside the stream body to enhance the level of water quality to simulate and accelerate the self-purification effect9. In-situ treatment has many advantages compared to other techniques, such as low costs, less adverse impacts on the environment, and no secondary production of pollutants10. Several methods of In-situ treatment could be applied inside the stream. All of them depend on the biodegradation process for the removal of pollutants. These methods are classified according to treatment procedure to Hydraulically Method, Mechanical Method, and Biological Method. This research will focus on the biological method as follows.

Biological method

In this method, biodegradable materials can be used to complete the degradation process in cooperation with bacteria. These materials may be agricultural wastes, plastic media11 or maybe through the bioremediation process which uses living organisms in completing the biological action and degradation of organic matter, heavy metals, and toxics such as (aquatic weeds, floating plants, algae, fungi, yeasts, and bacteria) with minimum construction, operation, and maintenance cost12.

Using microalgae in wastewater treatment shows promising results. Because they can deal with various types of pollutants in wastewater. This owes to their metabolic flexibility and their ability to do photoautotrophic, mixotrophic, or heterotrophic metabolism13. The role of microalgae in wastewater treatment is the direct uptake of pollutants through adsorption or ion exchange or transformation of pollutants, and providing oxygen to the bacteria to help bacteria in the aerobic degradation of the pollutants in water which decreases the cost of artificial aeration compared to the other wastewater treatment techniques14. This gave it many advantages over other ordinary physiochemical techniques such as (reverse osmosis, electro-dialysis, membrane separation, activated carbon adsorption, and chemical oxidation or reduction, etc.). These advantages are low operational cost, removal of bacteria and heavy metals, consumption of CO2 from the atmosphere, production of homogenous biomass, and production of high-value products and biomolecules15 removal of organic compounds, oxygenating effluent before releasing it into a water body, eliminating the requirement for sludge handling, and using biomass as fertilizer after removing N, P which is considered an environment-friendly process16,17.

Microalgae treatment methodology inside stream body

Microalgae can absorb and enrich heavy metals, plant nutrients, organic and inorganic pollutants, pesticides, and radioactive substances in their unicellular bodies. In particular, improving water quality has benefited from this capacity to reduce Nitrogen, Phosphorus, and Heavy metals (HM), and it offers a more straightforward, practical, and affordable alternative to conventional environmental cleanup techniques18. Physical, biological, and biochemical techniques used to minimize pollutants including inorganic and organic pollutants are described as follows:

Bioadsorption

Bioadsorption is the process of compounds being adsorbed passively onto the cell wall or extracellular polysaccharides (EPS) excreted by microalgae. There are two types of EPS: one is attached to the cell wall, and the other is free and secreted into the growth medium, both of which can be utilized to adsorb pollutants in wastewater. The effectiveness of bio-adsorption is influenced by the characteristics of the pollutants, including their structure, functional groups, hydrophobicity, and the type of microalgae used. The negatively charged functional groups, such as carboxyl, hydroxyl, and phosphoryl, present in microalgae and EPS, attract positively charged groups. Bio-adsorption involves various mechanisms, such as ion exchange, complex reactions with the surface, micro-precipitation, adsorption reactions, and chelation19.

Bioaccumulation

Bioaccumulation is described by the bio-concentration factor (BCF) which represents the ratio of a specific contaminant's concentration within an organism to its concentration in the surrounding environment. Various factors influence the BCF levels, including the availability of chemicals, metabolism, bioconcentration process, physical barriers, ionization of ionizable molecules, dissolved organic matter, BCF testing techniques, and the surrounding environment20.

Intracellular degradation

During bio-uptake, the contaminant penetrates the cell through the cell wall and binds to intracellular proteins and other substances. Unlike adsorption, bio-uptake of pollutants into the cell occurs over hours to days and is only observed in living microalgal cells. The three primary mechanisms by which emerging contaminants are absorbed across the cell membrane by microalgae are passive diffusion, passive-facilitated diffusion, and energy-dependent/active uptake17.

Varied microalgae strains have different characteristics, which would also affect how well they can remediate wastewater. Therefore, the wastewater properties, the effluent treatment level, the cost and energy need for biomass harvesting, and the application of the harvested biomass would be the most important factors to take into account when picking a strain or mix-consortia for wastewater treatment21.

In 2015, Nurfarahana et al. made an experiment using chlorella species in the bioremediation of aquaculture wastewater. The experiment showed good results in the removal of nutrients. They reported a correlation between the growth kinetics of Chlorella sp. and the nutrients N-NH4+ and P-PO4- contained in aquaculture wastewater; indicating that the optimal inoculation of Chlorella was 30% (v/v), by which the removal of N-NH4 + and P-PO4 was 98.5 and 92.2 4%, respectively22.

In 2018, One Water Company created the algae wheel system, which is a modern algal-fixed film technology. The biofilm ecosystem linked to the algae wheels consists of a mix of algae and bacteria, and the synergistic action of both types of microorganisms improves the whole system's treatment efficiency. Microalgae use sunlight to take in the CO2 that bacteria emit. Photosynthesis produces polysaccharides, which serve as both a bacterial feed supply and a solid settler. In turn, the bacteria may use photosynthetically generated oxygen, producing a self-regulating and ecological WWT system that is stable13.

A project in Latin America evaluates the ability of two strains of microalgae (Chlorella and Scenedesmus sp.) and one cyanobacteria to remove excess pesticides and other nutrients present in runoff water from rice production. Different concentrations of wastewater were evaluated. According to the results, the two strains significantly reduced the concentration of NO3 and PO4 (95 and 85%, respectively). Also, Chlorella sp. obtained the highest removal efficiency of the pesticide (Chlorpyrifos), followed by Scenedesmus sp. (100%, and 75% respectively)15.

In 2020, a study was carried out in Manzala Lake using a pilot-scale wetland consisting of four parallel basins exposed to natural climatic conditions. The first basin was cultivated with reeds, while three different microalgae species (chlorella, spirulina, and Azolla) were cultivated in the three other basins. They experimented with the removal of different contaminants such as BOD, COD, TN, TP, TC, FC, and heavy metals. Results showed that BOD and COD best removal was reached by chlorella with 88 and 84% removal efficiencies respectively. Spirulina was found to be the most efficient in extracting heavy metals such as aluminum, iron, and manganese by 89, 97, and 86% respectively23.

The primary objective of this study was to identify an economically viable approach for the insitu treatment of agricultural drainage water using microalgae. The study aimed to determine the optimal thickness of the microalgae layer required for effectively treating agricultural drainage water from the Bahr El-Baqar drain, also the study aimed to develop a treatment approach that is both economically viable and easy to implement, operate, and maintain, while ensuring optimal treatment efficiency.

Materials and methods

The experimental work was done in a pilot that was operated under the natural conditions of temperature, sunlight, and humidity according to the study period. The pilot was built from several parts including the main parallel five channels that simulate the drain. These channels were of dimensions 40 cm in width, 70 cm in depth, and length of 10 m. They were fed and drained by two crossing channels one at the beginning and the second at the end of the five channels each with 70 cm depth and 1 m width and have a feeding pipe of diameter 4-inch from a submersible pump of 10 l/s and head 10 m erected inside the drain, and a disposal pipe of diameter 6-inch at its ends to return water to the drain. The flow of water from the drain to the pilot was 10 l/s, with 0.035 m/s velocity inside the channels of the pilot, and 14 s hydraulic retention time inside the microalgae layer. The applied biomass as a treatment procedure was placed in each channel 50 cm from its beginning with a length of 50 cm that was fixed by stainless steel plates (that are fixed by U-shaped handles at the walls of the channels, and extend from the top of the channel’s wall to 15 cm below the microalgae layer), and different average thicknesses of (5, 10, 15, and 20 mm) for the biomass layer; microalgae of thicknesses (2–7.5 mm) was used to give an average thickness of 5 mm, etc., Plan and sectional elevation, and side view for the pilot plant unit are shown in Fig. 1.

Figure 1
figure 1

Pilot unit detailed drawing.

The operation procedures for the practical work are discussed as follows.

  • After pilot construction and preparation, the submersible pump was operated to deliver raw wastewater from the drain to the pilot.

  • The outlet valve was closed till the pilot was filled with water and then opened for continuous flow.

  • Before starting the treatment run one preparation week was made to ensure the biomass stability with the flow, and the continuity of operation.

  • After one-week preparation, the main run was made for 6 weeks in its operation as follows:

    • Several microalgae layer thicknesses between 5 and 20 mm on average were used during the operation period, all with a length of 50 cm, one in each channel, leaving channel no. 1 without a microalgae layer as a buffer.

    • Samples were taken from the inlet crossing channel, after 0.5 m from the microalgae layer, from the middle of the five longitudinal channels, and at the disposing crossing channel, The samples were taken from each location three times per day at 9.00 am, 1.00 pm, and 6.00 pm to simulate the variation during the day then the average of the three readings was taken to represent the value of the measured parameter in the day. This was done for 6 weeks, for six working days per week during the study period.

    • The measured parameters were BOD, COD, and TSS.

      • BOD is usually expressed as the amount of oxygen used by the aerobic bacteria to oxidize the biodegradable organic matter at temperature 20 C° for 5 days under aerobic conditions. It was measured by BOD measuring instrument according to the standard method for examination of water and wastewater24. Measuring BOD helps to assess organic pollution; High BOD levels indicate the presence of large amounts of organic matter, such as agricultural residues, fertilizers, and animal wastes in the wastewater so this would help in quantifying the organic pollution load, Determine treatment requirements, and monitor the effectiveness of treatment processes in removing these pollutants, and ensure compliance with environmental regulations. In the context of the treatment efficiency; High BOD levels indicate a higher concentration of organic pollutants, which can deplete oxygen levels in water bodies when discharged untreated. This oxygen depletion can harm aquatic life, inhibit the oxidation of organic matter by aerobic bacteria which slow the self-purification process and disrupt the ecological balance.

      • COD is the amount of oxygen used to oxidize all organic compounds present in wastewater chemically whether they are biodegradable or non-biodegradable using a strong oxidizing agent for three hours under temperature 200C°. It was measured according to the standard method for examination of water and wastewater25, Measuring COD helps to Comprehensive organic characterization: Unlike BOD, COD includes both biodegradable and non-biodegradable organic compounds. This measurement provides a more comprehensive assessment of the organic matters load, including substances that may be non-biodegradable by bacteria. It helps in understanding the overall treatment requirements, Treatment process evaluation, and ensure compliance with environmental regulations. In the context of the treatment efficiency; High COD levels in discharged wastewater can lead to oxygen depletion in water bodies, harming aquatic life and disrupting ecosystems. It causes poor water quality, including odors and discoloration. It can also contribute to harmful algal blooms and pose risks to human health if the wastewater is used for irrigation or drinking water sources downstream.

      • TSS refers to waterborne particles that exceed 2 microns in size. The majority of total suspended solids comprise of inorganic materials; however, algae and bacteria may also be considered. They were measured according to the standard method for examination of water and wastewater using filter paper, a Filtration apparatus, and a Suction flask to filter the sample through it. Filter paper was first dried and weighed using a sensitive analytical balance, then the water sample was filtered using a filter paper suction flask and filtration apparatus, the filter paper was dried in the drying oven under temperature 103 to 105°C for one hour, left to cool in a glass desiccator until they reach room temperature then weighed using the analytical digital balance and the difference between the weight of the empty filter paper and its weight after drying represents the TSS26. Measuring TSS helps to Indicate solids content including sediment, organic matter, and particulate pollutants. Evaluation of treatment efficiency in removing solid particles. In the context of the treatment efficiency Monitoring TSS levels before and after treatment, would help in determining the efficiency of sedimentation, filtration process, Protection of downstream ecosystems: High TSS levels can negatively impact aquatic ecosystems by reducing light penetration, increasing turbidity, and affecting the integrity of habitats. So measuring and controlling TSS helps prevent these adverse effects and protect downstream environments.

Consent to participate

All authors consent to participate in the research project.

Results and discussion

The average results of the daily measurements for the mentioned parameters and the discussion of the results are presented as follows.

BOD concentration daily results

The average values of BOD daily measurements and the removal ratios of BOD compared with channel 1 are illustrated in Table 1 and Fig. 2.

Table 1 Average BOD results and removal ratios.
Figure 2
figure 2

Average BOD Concentrations along the Five Channels.

According to the short length of the pilot’s channel which is 10 m, the concentration of BOD in the buffer channel remained almost constant along the channel length27. This is due to the low concentration of dissolved oxygen (DO) inside the channel which limits bacterial activity with organic matter. It needs a very long distance to make the bacterial action take place as self-purification because of the increase of DO with water velocity and air friction28.

After the microalgae layer, the removal ratio was affected by the layer thickness varied between (15 to 29%) with an optimum value at the layer of thickness 10 mm, and this agreed with the study that proved the success of microalgae in the removal of 51% of BOD from wastewater29, and in another study by ratio 93%13 (but here we are discussing the effect of thickness of microalgae layer on the removal efficiency of microalgae), also the BOD removal continued inside the channel due to the availability of enough DO for oxidation needs. However, the removal rate decreased over time. After the microalgae layer, high DO was left which makes the degradation action highly work between bacteria and organics30. Then, at the middle of the channel and the end of it, the water velocity can’t recover the consumed DO which leads to the degradation weakness28. After the decrease of DO concentration to be the same as the influent, the bacterial degradation will return to be very slow as happened in the buffer channel.

According to thickness, the removal of BOD increased as the thickness of the Microalgae layer increased. It was between ranges (23–39%) in channel 2 compared with raw water and increased within ranges (29–45%) in channel 3 along the different measurement distances. But it decreased within ranges (25–41%) in channel 4 and decreased more in channel 5 as it was within ranges (15–29%).

From the previous results, the effect of microalgae layer thickness on BOD removal showed a bell-shaped curve with an average thickness of 10 mm on the optimum value as shown in Fig. 3 this is because the photosynthetic activity of the microalgae works up to a total layer thickness of 10 mm, beyond this thickness the lower part doesn’t work with photosynthesis but consumes oxygen as normal plant activity31.

Figure 3
figure 3

BOD Removal Ratios According to Thickness.

COD concentration daily results

The average values of COD daily measurements and the removal percentages of COD in each channel compared with channel 1 are illustrated in Table 2 and Fig. 4.

Table 2 Average COD Results and Removal Ratios.
Figure 4
figure 4

Average COD Concentrations along the Five Channels.

COD concentration almost remained constant in the buffer channel which can be attributed to the insufficient availability of DO necessary to initiate oxidation processes. This shortage of DO concentration can be attributed to the relatively short length of the pilot channel, measuring 10 m27, which hindered the establishment of optimal conditions for self-purification. Self-purification primarily relies on the enhancement of DO concentrations in water, increased by water velocity, and frictional interactions with atmospheric air28. These factors contribute to an increased DO level, promoting oxidation reactions essential for the successful removal of COD. However, due to the limited length of the channel, the desired conditions for effective self-purification and subsequent COD removal were not adequately established.

After the microalgae layer, the removal ratio was noticeable and affected by the layer thickness, it varied between (22.1 to 46.9%) with an optimum value at the layer of thickness 10 mm and this agreed with the study that proved the success of microalgae in the removal of 91% of COD from wastewater29 and in another study by 95%32. Also, the COD removal continued inside the channel after the microalgae layer due to the availability of enough DO for oxidation of organic and inorganic matters that increased the removal ratios of COD but with declining rates. This is because near the microalgae layer the produced oxygen by microalgae is high which increases the DO concentration in water, this helped in the oxidation of both organic substances (by bacteria) and inorganic substances. But as the distance increased from the microalgae layer the concentration of DO decrease which decreased the oxidation rate until it became very slow (linear) as the buffer channel where the DO concentration is as influent30.

According to thickness, COD removal efficiency was different in the four channels according to the thickness of the microalgae layer. In channel 2, the removal efficiencies were within the range of (39–46%) but it increased in channel 3 to the range of (46.9–51.3%), while it decreased as the thickness of microalgae increased, It decreased in channel 4 to (44.4–49.6%) and in channel 5 to (22.1–25.3%) in the different sampling locations along the length of the channels.

From the previous results, the effect of microalgae layer thickness on COD removal took the bell shape with an average thickness of 10 mm on the optimum value as shown in Fig. 5 as it was the best thickness that achieved the best sunlight feed to the microalgae layer which produced the highest DO that is the main factor in the oxidation process. But as the thickness increased as in channels 4 and 5 the lower part didn’t receive the sunlight that prevented its photosynthetic activity, while if the layer thickness is less, the removal efficiency also decreased due to the incomplete microalgae layer31.

Figure 5
figure 5

COD Removal Ratios According to Thickness.

TSS concentration daily results

The average values of TSS daily measurements, and the removal percentages of TSS in each channel compared with channel 1 are illustrated in Table 3 and Fig. 6.

Table 3 Average TSS Results and Removal Ratios.
Figure 6
figure 6

Average TSS Concentrations along the Five Channels.

TSS removal efficiency depends on the oxidation reaction that resulted in settlable substances, as the rate of oxidation action increase this will result in more settleable substance that settles under the effect of gravity in a hindered settling way that sweeps and block small, suspended solids and force them to settle down, also TSS removal efficiency can be attributed to the capacity of the microalgae layer to attract the suspended particles in the water and adhere them to its surface. This is possible because the microalgae layer possesses a strong ability to absorb and retain these solids, leading to effective removal33.

TSS removal in the buffer channel almost remained constant as no oxidation process happened due to the insufficiency of DO concentration so no settleable matters were formed and due to the short distance of the pilot’s channel the time for precipitating the existing suspended solids was too short. Furthermore, the absence of an adhering microalgae layer that could adsorb TSS on its surface also contributed to this phenomenon27,28,29,30,31,32,33.

After the microalgae layer, the removal ratios were high, they were affected by the layer thickness and varied between (31.4–56.1%) with an optimum value at the layer of thickness 10 mm. TSS removal continued inside the channel away from the microalgae layer but with declining rates because the remaining DO concentration continued to decrease and that was obvious in decreasing the rate of BOD and COD removal along the length of the channels resulted in the precipitation of less produced settleable matter.

According to the thickness, the removal efficiency of TSS increased in channel 2 within ranges (35–45.9%) and it increased in channel 3 to ranges (56.1–63.5%), But the T.S.S removal efficiency decreased in channel 4 to ranges (45.9–54.4%) and in channel 5 to (31.4–37.3%).

From the previous results, it was observed that the thickness of the microalgae layer had a significant impact on TSS removal, following a bell-shaped curve with the optimum value being around 10 mm, as shown in Fig. 7. In channel 3, where the microalgae layer had an average thickness of 10 mm, there was an increased bacterial degradation activity for organic matter and oxidation of inorganic matter. This resulted in the production of more settleable materials that could settle under the effect of gravity, leading to a higher efficiency of TSS removal. However, when the microalgae layer thickness exceeded this optimum value, a different phenomenon occurred. The lower part of the microalgae layer began to resemble a typical plant and lacked the necessary access to sunlight required for the photosynthesis process. As a consequence, the oxidation reaction decreased, resulting in a reduced production of settleable materials. Consequently, the removal efficiency of TSS also decreased. Furthermore, it should be noted that the lower part of the microalgae layer itself acted as a dead zone, contributing to an increase in TSS within the wastewater. While if the microalgae layer is less, the TSS removal efficiency also decreased due to the uncomplete microalgae layer.

Figure 7
figure 7

TSS Removal Ratios According to Thickness.

Conclusion

The primary objective of this scientific research was to determine the optimal thickness of a microalgae layer for in-situ treatment of agricultural drainage water. To achieve this, a pilot study was conducted using five channels, with four channels equipped with microalgae layers of varying thicknesses (ranging from 5 to 20 mm) and length 50 cm, while one channel served as a buffer to simulate natural drainage conditions.

The results of the experiment, as discussed in the findings, clearly demonstrate the effectiveness of microalgae as a treatment technique for agricultural drainage wastewater, exhibiting promising initial removal efficiencies. However, it was observed that the removal efficiency depended on the thickness of the microalgae layer. Initially, there was an increase in the removal of the targeted parameters (BOD, COD, and TSS) as the thickness increased from 5 to 10 mm. Nevertheless, it is important to note that this trend did not persist, as the removal efficiency started to decline beyond a thickness of 10 mm, reaching its lowest point at a thickness of 20 mm.

Remarkably, the channel featuring a microalgae layer with an average thickness of 10 mm exhibited the highest removal efficiency for BOD, COD, and TSS, with removal ratios of 29%, 46.9%, and 56.1%, respectively.

In conclusion, this study underscores the potential of microalgae as a viable treatment technique for agricultural drainage wastewater, with an emphasis on the critical role played by the thickness of the microalgae layer. By identifying the optimal thickness of 10 mm, the research provides valuable insights for the effective removal of BOD, COD, and TSS, thereby contributing to the advancement of sustainable agricultural wastewater treatment practices.