Introduction

During the last 10 years, the use of photosynthetic microalgae has retaken vigour in wastewater treatment research. This is shown by the exponential increase in the number of publications showcased in the literature (Li and Zhu 2021). This reached, in 2023, > 3000 in ScienceDirect and > 17,000 in Google Scholar. Elsevier Scopus database indicates that the main global interest falls in the depletion of carbon dioxide (CO2) and the production of biomass, lipids, and biofuels. Microalgal biomass, grown in wastewater, can have commercial uses, to generate products for the chemical, agricultural, or energy industry (Gong and Bassi 2016; Vassilev and Vassileva 2016; Sudhakar et al. 2019; Bhattacharya and Goswami 2020; Abdelfattah et al. 2023, Walls et al. 2019; González-Balderas et al. 2020a; González-Gálvez et al. 2021; González-Balderas et al. 2020b, c; Romero-Frasca et al. 2021; Montaño San Agustin et al. 2022; Vielma Hernández et al. 2022; Nava-Bravo et al. 2021). Within the chemical sector, recent applications include the production of bioplastics or biocomposites (González-Balderas et al. 2020b; López-Rocha et al. 2020; Cheah et al. 2023).

The potential of microalgae growth is well known, either under phototrophic, mixotrophic, or heterotrophic conditions. Most microalgae naturally grow under photoautotrophic conditions, as they require less energy. Using wastewater instead of the nutrient medium can significantly reduce microalgae cultivation costs, from 2.71 to 0.73 $/kg biomass (Kang et al. 2015), as it can completely replace the use of fresh water and fertilisers (Newby et al. 2016). Different types of wastewaters derived from the domestic, chemical, agricultural, and petrochemical industries have been reported to produce microalgal biomass (Gonçalves et al. 2017; Hernández-García et al. 2019; González-Gálvez et al. 2021; González-Balderas et al. 2020b; Valeriano González et al. 2020; González-Balderas et al. 2021; Romero-Frasca et al. 2021; Montaño San Agustin et al. 2022; Vielma Hernández et al. 2022; Nava-Bravo et al. 2021). Nutrient-rich effluents have also been used as a culture medium for microalgae, such as leachate, centrate, palm oil mill effluent, swine, and poultry wastewater, because of their high nitrogen and phosphorus content (Udaiyappan et al. 2017; Romero et al. 2018; Cheng et al. 2019; Hernández-García et al. 2019; Montaño San Agustin et al. 2022).

Photoautotrophic growth, in wastewater, at the laboratory scale has produced satisfactory results; however, the same microbial strains may not have a successful outcome at large-scale due to complex biological interactions between organisms and the environment. Recently, research has been steered towards understanding the limitations of pilot scale systems (here referred to as capacities > 0.4 m3). Scaling-up under outdoor conditions has so far highlighted the importance of microalgae polycultures, growing medium, and environmental conditions (Novoveská et al. 2016; Chew et al. 2018; 62. Schade and Meier 2019; González-Camejo et al. 2021).

Regarding microalgae polycultures, native species from wastewater are preferred as they are already acclimatised to local environmental conditions. The composition of microalgae-bacteria consortia constantly changes due to fluctuations in temperature, solar irradiation, nutrients, organic load, and pH, which are not homogeneous. Such conditions should be considered in studies using synthetic wastewater (Komolafe et al. 2014; Arango et al. 2016; Chist 2016; Zhang et al. 2016; Salama et al. 2017; Chew et al. 2018; Perera et al. 2019; SundarRajan et al. 2019); otherwise, results would not be comparable to real wastewater conditions.

Figure 1 shows the characteristics of HRAP and a pathway for scaling up. Production starts with cultivations lower than a litre; upscaling is then performed to have enough inoculum to initiate an open raceway system. A harvesting system is finally employed to separate water from the obtained biomass.

Fig. 1
figure 1

Scaling-up of microalgae cultivation and design/operation parameters affecting microalgae growth in HRAP. DO, dissolved oxygen; COD, chemical oxygen demand; pH, potential hydrogen; HRT, hydraulic retention time; NH4+, ammonia; NO3, nitrogen nitrates; PO43−, orthophosphates; T (°C), temperature (degrees Celsius); solar irradiation is Watts per square metre W m−2

According to the Elsevier Scopus database (2022), around 200 studies related to microalgae cultivation in ponds using wastewater have been published in scientific journals. Most of them were performed in Spain followed by New Zealand and the U.S.A. It should be noted that if search parameters are further specified using words such as “photobioreactor”, “outdoor”, or “large-scale”, the documents obtained are less than 82. Thus, only a few studies have been documented regarding outdoor, long-term, microalgae-focused, wastewater cultivation. Figure 2 shows the location of documented outdoor reactors for wastewater treatment by microalgae-bacteria systems related to solar irradiation. Also, companies that apply this technology for commercial applications are represented in Table 1.

Fig. 2
figure 2

Location of different reported large-scale outdoor reactors for wastewater treatment using microalgae-bacteria consortium. Modified irradiation map in kWh m−2 taken from the worldwide electronic publication Solargis.info 2020—solar resource maps of the world in https://solargis.com/maps-and-gis-data/download/world. The raceway located in Mexico belongs to our research group

Table 1 Pilot-scale (up to 0.4 m3) microalgal biomass production using different types of wastewaters

Preceding reviews discuss the potential of microalgae growth using wastewater, solely comparing biomass productivities under different types of wastewaters, cultivation systems, nutrient removals, and harvesting technologies (Gupta et al. 2019; Li et al. 2019; SundarRajan et al. 2019; Lu et al. 2020). Those reviews are not specifically directed towards looking into open outdoor reactors, long-term cultivation, and large-scale HRAP systems (> 0.4 m3). Published studies evaluating long-term cultivation of microalgae in large wastewater systems and under outdoor conditions report inconsistent environmental and operational factors (Chist 2016; Novoveská et al. 2016; Zhang et al. 2016). Therefore, it is often difficult to enable quantifiable comparisons. Recently, Nordio et al. (2023) highlighted temperature and irradiance as factors driving biomass productivity—N, P, and COD removals in two open-air pilot-scale HRAP reactors. They highlighted the need to analyse long-term nutrient recovery capacity and biomass productivity using models that include more parameters. This study conducts a profound systematic analysis of current global wastewater pilot-scale HRAP endeavours to identify key conditions needed for successful large-scale cultivations, detect key parameters, and highlight hotspots for process improvement. A meta-analysis was performed considering the following parameters: ammonia nitrogen (NH4+), nitrates (NO3), orthophosphates (PO43−), chemical oxygen demand (COD), pH, temperature (T°C), hydraulic retention time (HRT), solar radiation and biomass yield, to enable the discussion of environmental and process parameters that improve HRAP performance.

Meta-analysis methodology

A multivariate analysis was carried out with the data obtained from the reviewed articles that met the inclusion criteria. Evaluated articles (Table 2) were statistically analysed for screening key parameters correlated to biomass productivity. Correlation and multiple regression analyses were performed to detect correlations between nutrients, environmental and operational parameters, and biomass production (p < 0.05). All statistical tests were performed with PAST version 4.03, STATGRAPHICS Centurion XVI.I and Minitab 19. The databases used for the search were Elsevier Scopus, ScienceDirect, and Google Scholar where scientific papers were located to ensure access to reliable data. The keywords used were “microalgae wastewater outdoor”, “microalgae wastewater cultivation”, “microalgae wastewater pond”, “wastewater algae raceway”, “microalgae large-scale”, and “microalgae pilot scale”. The databases and the keywords used were only the beginning of the research work; as the work progressed, the spectrum of databases and keywords expanded. Thus, other databases such as PubMed, Web of Science, and other general databases were also consulted. The selected articles were analysed in-depth to determine which ones met the following inclusion criteria: (1) microalgae cultivation in wastewater; (2) cultivation at large-scale (> 0.4 m3); (3) outdoor cultivation and raceways; (4) long-term cultivation (> 2 months); (5) articles that contained data about nutrients (NH4+, NO3, PO43−, and COD) and microalgae biomass yield; (6) studies with specifications regarding operational and environmental parameters (pH, T °C, HRT, and solar radiation). After a detailed examination of each article, the relevant data, according to the inclusion criteria previously established, were extracted to carry out a meta-analysis. Obtaining information under a systematic framework allowed the standardisation of reported values.

Table 2 Parameters reported for long-term microalgae pilot-scale cultivation using wastewater

The meta-analysis helped identify key parameters that have the highest impact on biomass production and hotspots. As most of the selected studies reported different units related to solar radiation; to standardise the data, it was decided to obtain this information from NASA Power Data Access Viewer for every location. In the meta-analysis study, reactors operating at ambient conditions and natural solar radiation were considered. The different units were unified according to the international system of units and considering the dimensions of the high-rate algal ponds, respectively. Photosynthetically active radiation (PAR) is a term used to describe radiation in wavelengths useful for photosynthesis of plants. PAR is generally accepted to be wavelengths between 400 a 700 nm. Solar radiation is usually reported in units of μmol m−2 s−1 PAR, W m−2 Μmol m−2 s−1 is an SI unit, and the approximation 1 W m−2 ≈ 4.6 μmol m−2 s−1 (Sager and McFarlane 1997). The parameter “all sky insolation incident on a horizontal surface” was used because it represents the monthly average amount of total solar radiation on the earth’s surface.

Daily biomass areal and volumetric productivities, plus specific growth rates, were calculated using Eqs. 1, 2, and 3, respectively. Specific growth rates refer to the rate of increase of biomass of a cell population per unit of biomass concentration.

$$\text{Areal Biomass Productivity}=\frac{ \left(\mathrm{Ct}-\mathrm{Co}\right){V}_{r}}{\mathrm{HRT}(\mathrm{Area})}$$
(1)
$$\mathrm{Volumetric}\text{ Biomass Productivities}=\text{Areal Biomass Productivity} \left(\frac{\mathrm{Area}}{\mathrm{Vr}}\right)$$
(2)
$$\mathrm{Sg}=\frac{\mathrm{ln}\;Ct-\mathrm{ln}\;Co}{t}$$
(3)

Sg stands by specific growth rate; Ct and Co are the biomass or cell densities at time t, and 0, respectively; Vr is the raceway pond volume, HRT is the hydraulic residence time, and the area is the raceway pond area.

A limitation of this meta-analysis is that the number of papers reporting pilot-scale work is not currently vast for scalable microalgae wastewater treatment systems using HRAP. However, most papers tested several conditions which increased the data input in the meta-analysis. Also, studies by De Godos et al. (2009) were not considered as they can bias biomass interpretation. De Godos et al. (2009) reported influent organic concentrations 4 times that of the effluent organic concentrations, so it is highly plausible that not all effluent biomass was algal/bacterial based. Private sector pilot projects (Table 1) were excluded due to a lack of systematic data.

Results and discussion

Wastewater treatment using microalgae for nutrient removal has been studied for more than 50 years. The first studies reported by Caldwell (1946) and Oswald and Gotaas (1957) used microalgae for wastewater treatment in oxidation ponds, demonstrating that their large-scale cultivation could be used for wastewater treatment. The use of oxidation ponds became important to avoid wastewater discharges in freshwater bodies and coastal waters that can cause water eutrophication, leading to serious sanitary and ecological consequences. Since then, conventional wastewater treatment has moved away from microalgal proliferating oxidation ponds to bacterial systems. However, microalgal biomass produced from wastewater has the potential to reduce CO2 emissions, provide water treatment, and generate value-added products.

Table 2 shows 69 HRAP cultivation conditions gathered from 23 scientific articles retrieved from the literature that met the inclusion criteria for the analysis. To optimise yields and productivity in HRAP wastewater treatment, various factors merit consideration, including the careful selection of microalgae for inoculation and subsequent consortia formation. Adaptation to fluctuations in wastewater composition stands as a pivotal determinant. Outdoors, mixed microalgae-bacteria polycultures emerge as the foremost viable option for cultivation, typically characterised by the dominance of a particular microalgae genus. Geographical location, environmental conditions, and the physicochemical properties of the wastewater shape the selection or prevalence of microalgal taxa. Notably efficient genera for wastewater treatment include Chlorella, Scenedesmus, and Chlamydomonas (González-Camejo et al. 2021). The literature reviewed in Table 2 highlights Scenedesmus as the predominant taxon under outdoor conditions. A review by Dolganyuk et al. (2020), based on data from Nancucheo and Johnson’s data (2012), suggests the following: a temperature of 29 °C, a culture duration of 12 days, agitation at 90 rpm, and a pH of 7.1 as optimal culture conditions for Scenedesmus obliquus. However, there is a reported phenomenon wherein the initially dominant taxa can be supplanted by other genera or species as the process unfolds. This transition is particularly pronounced in consortia featuring a diverse array of microalgae. As such, the microalgal taxon was not a parameter included in the metadata analysis, but the information presented in this study provides a guide on the selection of species for outdoor pilot-scale wastewater treatment. The construction of a well-suited microalgae-bacteria consortium via meticulous species selection and establishing an appropriate microalgae-to-bacteria ratio becomes imperative for enhancing wastewater treatment performance. Remarkably, microalgae-bacteria cultures exhibit adaptability to a broad spectrum of environmental parameters, spanning pH, irradiance, temperature, and nutrient concentrations.

Table 2 also shows the change of parameters according to yearly variations. Morillas-España et al. (2021) present a study of reactors installed in Almeria, Spain, and report average and maximum solar radiation and temperature incidences for these seasons: 1200–2000 µmol m−2 s−1 and 26–34 °C. The highest nutrient concentrations (NH4+, PO43−), as well as removal efficiencies and biomass yields, occur during the summer. Overall, the spring to summer seasons provide the most favourable conditions for cultivation, whilst the summer and autumn environmental parameters may require compensation based on location.

The existing literature describes different types of wastewaters that can be treated by microalgae cultivation at the laboratory or pilot scale. Table 3 shows a summary of the type of effluent used in the pilot-scale studies included in this meta-analysis, either combined or individually. The most studied type of wastewater is primarily settled municipal wastewater, followed by anaerobic digestion and treated wastewater. Treated wastewater will have lower concentration of COD than settled wastewater. Of note is the use of anaerobic digestion effluent (digestate) containing high concentrations of nutrients, in particular, rich in ammonia, resulting in a high yield of microalgae biomass as shown in Table 2.

Table 3 Analysis of pilot-scale studies revised according to the type of wastewater utilised

Microalgal physiology and biomass productivity in outdoor cultivation

Microalgal physiology in outdoor cultivation is an aspect that directly influences biomass productivity. During the photosynthetic process, microalgae can consume not only CO2, but also macro- and micronutrients from wastewater, which can result in high growth rates and therefore biomass productivity (Santos et al. 2019). This has been estimated to be up to 50 times higher than that of grasslands (Chisti 2007). Biomass productivity, particularly in outdoor cultivation, is directly influenced by cell physiology, which is a function of various conditions such as the components of the culture medium (e.g. type of wastewater), pH, temperature, growth phase (culture time), and an efficient harvesting method or even stirring of the culture (Dolganyuk et al. 2020). However, light is an overwhelming factor that has a direct impact on the photosynthetic activity of microalgae (Rincon et al. 2019). Maximum growth occurs during the day, but up to 25% of the biomass produced can be lost during the night through respiration, depending on the light intensity during daytime cultivation and the day and night temperature (Chisti 2007). The absence of light reduces the rate of photosynthesis and thus the conversion of solar energy into chemical energy compounds such as adenosine triphosphate (ATP) and nicotinamide adenine dinucleotide phosphate (NADPH) to support cell growth (Baba and Shiraiwa 2013).

Moreover, excessive light can damage the chlorophyll in microalgal cells. In this sense, microalgae can be classified into photoautotrophic, heterotrophic, and mixotrophic cultures. These are based on how they use light as an energy source for growth. Photoautotrophic: use sunlight as an energy source and CO2 as a carbon source. Heterotrophic: can grow under phototrophic conditions and can also make use of organic carbon in the absence of light. Mixotrophic: cell growth is based on CO2 and organic carbon, so both the photosynthetic and organic substrate pathways must function simultaneously (Li et al. 2016; Rincon et al. 2019; Dolganyuk et al. 2020). Microalgae cultivation in large-scale systems, mainly outdoor, is usually photoautotrophic (Dolganyuk et al. 2020), where the stability of the cultures and hence biomass productivity will be highly dependent on environmental conditions.

Nutrient composition and removals

The use of wastewater for its abundant amount of nutrients for microalgae growth and simultaneously as tertiary wastewater treatment has been widely investigated due to the high removal efficiencies achieved (Li et al. 2019). The use of wastewater saves the cost of nutrient supplementation and enhances the assimilation of organic and inorganic pollutants during microalgal cell metabolism. Nitrogen and phosphorus are the most important nutrients for microalgal growth. Microalgae utilise inorganic and organic nitrogen in the form of nitrate (NO3), ammoniacal nitrogen (NH4+), and urea (CO(NH2)2). Ammoniacal nitrogen is the preferred source of nitrogen, whilst the form of free phosphorus assimilable by microalgae is orthophosphates (PO43−) (Komolafe et al. 2014). The box plot in Fig. 3a show the concentrations of nitrate (NO3), ammonia nitrogen (NH4+), and orthophosphate (PO43−) as main nutrients for the growth of microalgae in HRAP.

Fig. 3
figure 3

Box plots of the data collected and calculated from the literature in Table 2, for microalgal growth in wastewater in high-rate ponds. a Chemical oxygen demand and nutrient concentrations (mg L−1) and b removals (%). White lines denote the mean of values

Within the different types of wastewaters used, the highest microalgal biomass yields have been reported when using effluents with high organic loads such as leachate, centrate, and piggery wastewater. However, we can see that ammonia nitrogen loads used in most pilot scale studies are not excessively high, even nitrates, and phosphate concentrations are in the low range. Municipal wastewater effluent normally contains around 30 mg L−1 of ammonia nitrogen; from the data gathered here, wastewater concentrations of ammonia averaged 60 mg L−1, whilst nitrate and phosphate concentrations were ten times lower between 4 and 8 mg L−1. The variations in concentration with respect to the average ammonium values are attributed to the wastewater origin. Orthophosphates and nitrates are consistently present at low concentrations; the latter is considered a second source of nitrogen. Consequently, the removal percentages are relatively proportional to the requirements that microalgae have for each of them. This is related to the elementary composition of microalgae and the minimum requirements of basic nutrients for their growth. Based on the elementary composition of microalgae and from the conservation of mass, the minimal requirement for 1 g microalgal biomass (DW) production might be approximated as 1.83 g of CO2, 0.07 g N, and 0.008 g P (Beal et al. 2012; Romero et al. 2017). As such, to obtain a concentration of 1 g microalgae L−1 of wastewater requires a minimum of 70 mg L−1 of N and 8 mg L−1 P.

COD utilised is in the range of 150 to 450 mg L−1 which is a typical interval for municipal wastewater. Additionally, COD can be considered an indicator of the overall removal of contaminant matter in raceway-type wastewater lagoons. The variations with respect to the average % removal can be attributed to the complexity of the wastewater used. HRAP can effectively remove 90% of NH4+, 70% of COD, and 50% of PO43− from wastewater (Fig. 3b). The highest removals are obtained for ammonia, followed by COD, and finally phosphate.

Effect of wastewater, operational, and environmental factors on biomass yield productivity

Figure 4 shows environmental conditions mainly used in pilot scale studies. Whilst microalgae irradiation has a mean of 210 W m−2 or 962 μmol m−2 s−1 which is a normal average for most countries in the world (Fig. 2). Open systems report an average HRT between 5 and 10 days (with a mean of 7.7, Table 2), a similar range is also observed for closed systems. Temperature utilised lies between 12 and 24 °C with a mean of 18 °C and pH between 8 and 9, with a mean of 8.2. The range of temperatures used corresponds to countries with daily total irradiations between 6 and 9 kWh m−2. An alkaline pH is expected as microalgae growth produces hydroxyl ions (Eze et al. 2018). The biomass productivity of the algae culture decreases with an excessive increase in pH of the medium, which causes ammonia volatilisation and a decreased carbon uptake. According to Eze et al. (2018), under optimal pH conditions for microalgae cultivation (8.1), a carbon fixation efficiency of about 99% can be achieved. The supply of CO2 from an external source can be used to control pH (8–9) and to compensate for carbon limitations. Studies using primary wastewater and effluents from secondary treatments for microalgae-based treatment have reported average C, N, and P ratios of 100:19:3 and 100:34:7, respectively (Mohsenpour et al. 2021). The intrinsic link between pH and carbon dioxide concentration indicates that on-line monitoring of parameters such as pH is a good option to control an ensure an optimum HRAP performance.

Fig. 4
figure 4

Box plots of irradiation, pH, HRT, and temperature conditions for pilot scale studies depicted in Table 2. All of the 69 evaluated conditions were included for analysis. White lines denote the mean of values. Illumination used the value of 4.57 to convert Watts m−2 to μmol m−2 s−1 (PAR, photosynthetic irradiance radiation) and vice versa

Biomass yield productivities and calculated specific growth rates are depicted in Fig. 5. Volumetric productivity is approximately five times higher than the areal productivity, denoting how the extensive area needed for HRSP decreases areal productivity; reported ranges of microalgal biomass production coupled with wastewater treatment using HRAP vary widely from 5.7 to 40 g m−2 day−1 (Morales-Amaral et al. 2015; Robles et al. 2020; Sutherland et al. 2020a). The largest HRAP reported is a full-scale system using working volumes of 2900 m3 (Sutherland et al. 2020a). However, studies reporting > 0.4 m3 systems are scarce (Table 1). Most of the studies, at large-scale, have been performed at a pilot scale between 0.15 and 8 m3. The calculated specific growth rate has an average of ~ 0.54 day−1 which is half the value reported experimentally of ~ 1 day−1 in previous publications (Wang et al. 2010; Basu et al. 2015). This denotes a significant decrease in microalgae growth when comparing environmental systems to laboratory experiments. This should inform when modelling and scaling-up laboratory data for a larger system implementation. Studies performed on a laboratory scale cannot predict by themselves the performance and capacity of the different strains of microalgae under outdoor conditions where large fluctuations of solar irradiation, temperature, pH, and predation by other microorganisms would be present, and therefore, the species evaluation should be carried under such conditions. Wen et al. (2016) evaluated the scaling-up of Graesiella sp. first cultivated in 10 L reactors under artificial irradiation and subsequently scaled to 30 L reactors under natural conditions of solar irradiation. Changes in environmental conditions produced a decrease in lipid content (from 45 to 34%). García et al. (2017) cultivated Chlorella vulgaris in open photobioreactors using diluted swine wastewater. They compared outdoor and laboratory photobioreactors and observed that phosphorus and total organic carbon removal efficiencies were higher in laboratory conditions, whilst nitrogen removal was higher in outdoor photobioreactors; this removal was mainly attributed to NH4+ volatilisation, since the assimilation in the biomass was only 25 to 44% of the total nitrogen removed.

Fig. 5
figure 5

Biomass productivity and specific growth rates derived from pilot-scale raceway ponds using wastewater. All of the 69 evaluated conditions depicted in Table 2 were included for analysis. White lines denote the mean of values

Pilot-scale studies were mapped to visualise the correlation and prediction of the biomass yield with respect to growth conditions and wastewater concentrations (Fig. 6). Most studies reported multiple parameters per set-up, as such parameters tested are shown for the same authors. Microalgae exposure to environmental conditions has an impact on biomass production. It is observed that Morillas-España et al. (2021) and Posadas et al. (2015) recorded the highest productivities, as they used wastewater with low to medium–high ammonium concentrations and medium to highest irradiation. Both authors report similar daily volumetric productivities (120–169 g m−3 day−1); however, the highest daily areal production (50 g m−2 day−1 obtained by Posadas et al. (2015) stands out. This can be attributed to the small cultivation area used (raceway: 2.7 m2; 0.8 m3), where irradiation and mixing can be enhanced, compared to the one used by Morillas-España et al. (2021) (raceway: 80 m2; 11.8 m3).

Fig. 6
figure 6

A heatmap combining the performance parameters of each pilot-scale microalgal study. All of the 69 evaluated conditions depicted in Table 2 were included. The colour grey denotes that data is absent. Gradients are scaled as a percentage of each parameter’s high (100%, green) or low values (0%, red) to compare them equally

Figure 7 displays a correlogram among 14 variables analysed. With respect to operational and environmental factors on the performance of microalgae grown in wastewater, it was observed that only ammonia concentrations had a positive significant effect on biomass production, whilst nitrate had a negative effect. The correlogram helped initiate investigations towards determining the relationship between variables. It can be seen that volumetric and areal productivities are highly correlated due to their dependency. Also, temperature and illumination plus COD with nutrient concentrations show a high correlation due to their dependant effect.

Fig. 7
figure 7

Correlogram between nutrients, environmental/operational parameters, and microalgae biomass productivity. The red colours indicate a positive correlation whilst blue colours indicate a negative correlation. Label 1 is the illumination factor as PAR, and 14 is the specific growth rate. Variables that have the darkest colours have the highest Pearson correlation coefficients and vice versa

Parameter prediction on biomass yield productivity

Statistical investigations on combined effects on productivity implied the removal of 12 insignificant or dependant variables. It was found that illumination (as PAR) and ammonia concentration were significant, with no convoluted variables that explained 80% of the calculated biomass productivity, whilst the range of changes in HRT had a less significant effect. According to the Pearson correlation, NH4+ and PAR have the greatest impact on biomass production. Multiple regression analyses indicated that 79.94% of the variance (R2) in the analysed dependent variable, biomass volumetric productivity, can be explained by NH4+ and PAR (Fig. 9). The importance of illumination highlights the need to consider the climatic characteristics of the HRAP location. An ideal illumination improves microalgae biomass productivity when cultivated outdoor and at large-scale. Solar radiation directly affects the photosynthetic activity of algae (Arbib et al. 2013) and their growth rate. This directly impacts the regulation of cell proliferation, biocomponent accumulation, and metabolic changes in microalgae, as light quality plays an important role (Hong et al. 2023). Microbial growth rate increases with increasing light intensity, and to verify this relationship, several models have been proposed (Xu et al. 2019). Solar irradiation can also affect CO2 fixation since according to Toro-Huertas et al. (2019), about 30% of the total CO2 fixed by microalgae was carried out at low irradiation. Environmental conditions change over time and not only affect growth but also cause fluctuations in the abundance of species (Newby et al. 2016). Table 2 shows studies performed in different seasons using the same reactor to evaluate how environmental conditions such as solar radiation and temperature influence the biomass production. For example, De Godos et al. (2009) evaluated the performance of two 464 L HRAP under different climatic conditions from January to October, and they found that the optimum environmental conditions were from July to September, producing the highest biomass yield of 1.33 g L−1. During this period, the temperature and solar radiation were higher compared to the January–June period. Following the same line, Sutherland et al. (2020a) assessed the performance of three different-size HRAPs over three seasons and reported the highest biomass yield during the summer.

Figure 8 showcases the effect of PAR and NH4+ concentrations on biomass productivity. It can be seen that the highest irradiation and low to medium ammonia concentrations produced the highest volumetric productivities. The high productivities depicted at low ammonia concentrations in Fig. 8a are considered to be an artefact. Overall, reported conditions are well represented in the response surface plots, about 94% of reports analysed use low to medium–high ammonium concentrations (50–170 mg L−1) and low to medium–high illumination values (430–1300 Watts m−2), with an average volumetric productivity between 50 and 100 g m−3 day−1.

Fig. 8
figure 8

Effect of illumination and ammonia concentration in daily volumetric productivity. a Contour plot from obtained data obtained in Table 2. b Regression plot derived from the analysis of variables (R2 = 80%). Green data points represent individual information used for analyses. Illumination is expressed as Photosynthetic Irradiance Radiation (PAR) and ammonia concentration is in mg L−1. Illumination used the value of 4.57 to convert Watts m−2 to μmol m−2 s−1 and vice versa

Validation of prediction factors

Validation was conducted via the analysis of residual plots obtained from the correlation equation (Fig. 9); it can be seen that they follow a normal distribution. The normal probability plot shows the correlation of data according to the regression performed. Residual vs. fitted value shows that values are randomly distributed. The histogram shows a normal bell shape. Residual vs. observation order shows an aleatory order. According to the coefficients table displayed in Minitab, the value of the variance inflation factor (VIF) for significant variables was < 5 indicating no multicollinearity. To achieve this, it was necessary to perform several prior analyses to eliminate 12 insignificant or dependent correlated variables. As a result, it can be assumed that the regression model obtained using the two main variables fits the data well (NH4+ and PAR).

Fig. 9
figure 9

Residual plots from multiple regression analysis for daily productivity

HRAP vs. other microalgae cultivation systems

The two major microalgal cultivation systems for wastewater treatment are classified as open and closed (Chew et al. 2018; González-Camejo et al. 2021). There is also a third cultivation mode that uses both open and closed systems, known as hybrid systems (Cai et al. 2013; Razzak et al. 2017). Open systems are generally cultivated outdoors, whilst closed systems are usually cultivated indoors, although several studies report closed systems that are exposed to sunlight and ambient temperature (Molazadeh et al. 2019). At the pilot scale, open systems such as raceway reactors are presented as a viable technology for microalgae wastewater treatment, as they offer easy maintenance, higher operating volumes, and lower energy consumption, producing a similar microbial growth rate than closed systems, making them economically attractive (Morillas-España et al. 2021; Nordio et al. 2023). Our study aligns with literature that reports solar radiation and temperature to largely determine the success of pilot-scale open systems using high-capacity ponds. However, both variables are dependent on each other; therefore, only one can be used to predict productivity. It should be noted that open pond cultures are subject to inherent factors such as easy contamination, rapid water evaporation, and large surface occupancy. In addition, the stability of microalgal cultures and biomass yields may be affected by their susceptibility to contamination by competing organisms or predators such as rotifers (Kim et al. 2017; Jebali et al. 2018; Ma et al. 2018; Galès et al. 2019).

Contamination in hybrid systems can be significantly reduced compared to open systems. Hybrid systems create a two-staged growing cycle that can generate microalgal biomass in a rapid and controlled manner, which is then transferred to an open reactor. Hybrid systems include the plate reactors, tubular reactors, ring reactors, and airlift plate reactors. Here, photobioreactors are used to produce inoculum under controlled conditions, which are used for the cultivation of algae in open ponds, to reduce pollution problems and maintain species dominance (Cai et al. 2013). Recently, De Assis et al. (2020) proposed the use of biofilm reactors (BR) as an algal biomass production and harvesting unit, coupled with a HRAP, as a wastewater treatment unit. Under this approach, biomass production was achieved about 2.6 times higher than the conventional system without BR, and the harvesting efficiency of the hybrid system was 61%, compared to 22% obtained with the conventional system. The photobioreactor promoted an increase in density (~ 1,011 org m−2) and diversity of microalgae in the hybrid system and did not interfere with wastewater treatment. Economic analyses of the application of photobioreactors in hybrid systems are needed to enable their large-scale implementation.

Conclusions

A multivariate analysis can assist in identifying key growth parameters within a series of environmental and operational factors. Correlation and multiple regression analyses undertaken suggest that among all parameters reported that influence biomass production, the key parameters are NH4+ and illumination (PAR). The content of NH4+ can be manipulated and controlled in reactors by using wastewater with a moderate ammonium-nitrogen content. Using compounds such as swine, poultry wastewater or digestate of food waste increases final biomass concentrations but does not necessarily result in an increased productivity. The production of microalgal biomass at a large scale using wastewater has a great synergistic potential as HRAP can remove 90%, 70%, and 50% of the NH4, COD, and PO4 content, respectively. With respect to the systems used for cultivation, HRAP are still preferred despite their low productivity, mainly due to the low construction and operation costs. A strategy to implement for these open systems is to select an ideal location and cultivation season and create a hybrid growing system. Further research is needed on hybrid culture systems to dictate how a closed photobioreactor can improve high-rate algal pond performance on a larger scale. Scaling up algal cultures from laboratory to outdoor production is still a challenge because it not only depends on operational and environmental factors but also requires the maintenance of biological cultures for long periods. For example, microbial-specific growth rates halved in pilot scale studies versus lab experiments indicating a scaling-up hotspot. This could be overcome through the construction of an adequate microalgae-bacteria consortia, provision of maximum solar illumination, and possibly enabling CO2 supply. Maintaining a balance between limiting carbon and nutrient sources such as NH4 and CO2 of microalgae (C:N:P) is imperative. The on-line monitoring of pH is recommended so that potential problems can be early detected, improving culture stability and avoiding culture collapse.

Ultimately, cultivation of microalgae in wastewater remains an emerging field in which careful considerations should be cost-effectively implemented to sustain long-term cultivations and wastewater treatment. Future studies are recommended to systematically compare different pilot-scale reactor designs and their associated process economics.