Introduction

Swine wastewater is generally considered as one of the most polluting wastewaters as it usually contains high concentrations of nitrogen, phosphorus, and COD (Feng et al. 2020). If not handled properly, the high concentrations of nitrogen and phosphorous in the wastewater can result in water eutrophication, groundwater contamination and air pollution by ammonia volatilization (Cai et al. 2013a; Fridrich et al. 2014). Thus it is necessary to treat swine wastewater effectively so as to avoid environment pollution. At present, aerobic activated sludge-based treatment process and membrane filtration are mostly used for wastewater treatment (Alshabib and Onaizi 2019; Siddiqui et al. 2021; Zhang et al. 2021). However, these approaches have several drawbacks such as instability, long process time and excessive sludge discharge. They are also likely to cause the secondary pollution (Villegas et al. 2016; Bhatnagar and Anastopoulos 2017). Instead, microalgal-based biological treatment of wastewater has attracted extensive attention (Li et al. 2019a).

Microalgal-based wastewater treatment has been used to treat different kinds of wastewater, such as swine wastewater, municipal wastewater, aquaculture wastewater, etc. (Lee et al. 2015; Iasimone et al. 2018; Moungmoon et al. 2020; Nagarajan et al. 2020). It boasts high removal efficiency of nitrogen, phosphorus and other pollutants from wastewater thanks to the fast growth of microalgal cells and strong adaptability to the wastewater (Whitton et al. 2015; Prandini et al. 2016; Qu et al. 2021). Wang et al. (2015) found that the highest removal efficiency of COD and NH4+-N for 20-fold diluted wastewater treated by Chlorella vulgaris was 72.6% and 91.3%, respectively. Zhou et al. (2012) also found that the removal efficiencies of TP, NH4+-N, TN and COD from concentrated municipal wastewater by Auxenochlorella protothecoides were 98.48%, 100%, 90.60%, and 79.10%, respectively.

It is well-recognized that the resource recycling of nutrients is more economical and sustainable than simply removing them from the wastewater (Adams et al. 2013; Cai et al. 2013a). Nutrients in wastewater can be considered as a special form of available resource (Abinandan and Shanthakumar 2015; Shi et al. 2021; Yan et al. 2021) by transforming them to biomass and corresponding natural active products, such as lutein, astaxanthin and docosahexaenoic acid (Yin et al. 2018; Chen et al. 2019; Pan et al. 2021). The red microalga Porphyridium purpureum produces polysaccharides, phycoerythrin and unsaturated fatty acids (Li et al. 2020). The polysaccharide produced by P. purpureum has functions of preventing cardiovascular diseases, lowering blood lipid and treating diseases of liver, gallbladder, and pancreas. Thus, it has potential to be applied to the health care and animal feed industries (Arad and Levy-Ontman 2010; Jiao et al. 2011; Kavitha et al. 2016). In addition, phycoerythrin is used as a biomolecular marker in fluorescence immunoassay, flow cytometry, fluorescence microscopy and diagnostics (Spolaore et al. 2006; Milledge 2011). Therefore, P. purpureum also has a good prospect of being applied to such industries as medicine, cosmetics and biotechnology (Coward et al. 2016; Su et al. 2016). Presently, research about P. purpureum mainly focuses on the optimization of culture conditions to promote growth and bio-active substance accumulation (Gaignard et al. 2019; Wang et al. 2021a). Numerous studies have demonstrated that culture mode, nutrient concentration, light intensity, temperature and salinity significantly affect the production of phycoerythrin and polysaccharide (Guihéneuf and Stengel 2015; Soanen et al. 2016; Sanchez-Saavedra et al. 2018; Su et al. 2016; Jiao et al. 2018). For example, Jiao et al. (2018) found that the polysaccharide productivity of P. purpureum cultivated in mixotrophic mode was higher than that obtained in photoautotrophic mode. Soanen et al. (2016) observed that 25℃ was the most suitable temperature for the growth of P. purpureum, and 28℃ was conducive to the production of polysaccharides. Nuutila et al. (1997) reported that there was no significant difference in the growth of P. purpureum grown in the range of 35–46 g L−1 NaCl concentration. However, the highest yield of polysaccharides was achieved at NaCl concentration of 41.8 g L−1. In addition, sufficient nitrogen sources in the medium can greatly boost the accumulation of phycoerythrin in P. purpureum; while nitrogen deficiency was beneficial to the accumulation of polysaccharides (Guihéneuf and Stengel 2015). However, to date, there is little research about the feasibility of using P. purpureum to produce high-value products by resource recycling from wastewater. Fortunately, the recent study of Arashiro et al. (2020) demonstrated that P. purpureum could both efficiently treat food-industry wastewater and produce phycobiliproteins. Nevertheless, still more effort should be made in the field of resource recovery from wastewater by microalgae to produce high-value products, which is sustainable and environment-friendly.

In the present study, P. purpureum was cultivated in swine wastewater of different dilution concentrations. The algal growth, nutrients removal, and production of polysaccharide and phycoerythrin were investigated. The study intended to explore the feasibility of resource recovery from the widespread swine wastewater by using P. purpureum cultivation to convert nutrients in the wastewater into biomass and biologically active substances. In the end, the challenges of the application of microalgal products generated by re-utilization of wastewater are discussed.

Materials and methods

Microalgae strain

Porphyridium purpureum was obtained from State Key Laboratory of Bioreactor Engineering, East China University of Science and Technology. Algal cells were pre-cultivated with ASW medium in transparent conical flasks (Li et al. 2019c) at 80 μmol photons m−2 s−1, and 25℃.

Compositions and pretreatment of swine wastewater

Swine wastewater (SW) was obtained from the pig farm of Ningbo Mingsheng Agricultural Technology Development Co., Ltd located at Fenghua District, Ningbo, Zhejiang Province, China. Large particles in the wastewater were filtered with sieve filter papers.

Experimental design

To evaluate the microalgae growth and nutrients removal, P. purpureum was cultivated in diluted swine wastewater. The swine wastewater with four different dilutions (10%, 20%, 60% and 100%, SW:water, v/v) (Table 1). Artificial seawater salt was added into each diluted wastewater to maintain consistent salinity. The prepared wastewater medium was sterilized at 121℃ for 20 min.

Table 1 Initial nutrient contents of swine wastewater with different dilution rates

Microalgae for inoculation were collected by centrifugation at 7500xg for 5 min when cells were cultivated at logarithmic growth phase. The harvested cells were washed wit sterilized deionized water, centrifuged and selected again, and finally inoculated into a lab-scale column photobioreactor with 1 L working volume. The total volume of photobioreactor was 1.2 L with a length of 40 cm and a diameter of 6.2 cm. The initial microalgal biomass concentration was 670 mg L−1. Microalgal cells were cultivated at 25 °C with the initial pH of 7.2. The photobioreactor was provided with the light intensity of 80 μmol photons m−2 s−1 and air with 2.5% CO2 continuously aerated at a flow rate of 1.0 vvm. Culture samples were collected from the photobioreactor to measure the microalgal cell concentration, nutrient concentration, polysaccharide and phycoerythrin content.

Dry cell weight and chlorophyll fluorescence

Microalgal biomass concentration was determined by the dry cell weight method (Marjakangas et al. 2015). Specifically, 10 mL culture was sampled and then centrifuged at 4000 rpm for 10 min and the pellet was washed once with sterilized deionized water. The microalgae were transferred to a preweighed dish and dried at 110℃ until constant weight. Specific growth rate (μ) was calculated by the following equation:

$$\upmu =\frac{Ln\left({DW}_{t2}\right)-Ln\left({DW}_{t1}\right)}{{t}_{2}-{t}_{1}}$$
(1)

where, DWt2 (g L−1) and DWt1 (g L−1) refer to the dry cell weight at culture time t2 (h) and t1 (h), respectively.

Chlorophyll fluorescence was determined using a PAM fluorometer AquaPen-C AP-C 100 (Markou et al. 2016). After 30 min of dark adaptation the values of Fv/Fm were obtained by PAM fluorometer.

Determination of water quality indicators

A 100 mL culture sample was collected and centrifuged at 9000 xg for 10 min. The supernatant was used to determine the water quality. The concentrations of total phosphorus (TP) and COD were measured with a Water Quality Tester (Lianhua company, Shanghai, China). It should be noted that P. purpureum cells are able to produce exopolysaccharides that will lead to the increase of COD in the wastewater. In order to determine the variation concentration of COD introduced by the origin wastewater only and exclude the one induced by exopolysaccharides, the value of COD caused by exopolysaccharides was subtracted from the total COD measured in the wastewater. NH4+-N content was determined by Nessler reagent spectrophotometry. Total nitrogen (TN) was determined by alkaline potassium persulfate digestion-UV spectrophotometry (Purcell and King 1996).

Determination of exopolysaccharide

For exopolysaccharides content determination, 10 mL of microalgal culture was collected and harvested by centrifugation at 4000 rpm for 10 min. Three times the volume of anhydrous ethanol was added to the supernatant, which then precipitated overnight at 4℃. The supernatant was collected by centrifugation at 9000 rpm for 10 min to measure polysaccharide content. The content of polysaccharides was measured by the phenol–sulfuric acid method (DuBois et al. 1956).

Measurement of phycoerythrin

To measure phycoerythrin, 5 mL of microalgal culture was centrifuged at 7500 rpm for 5 min and the pellet was washed twice with deionized water. An equal volume of 0.1 M PBS buffer with pH of 7 was added to the pellet and then frozen at -80℃ for 30 min and thawed at room temperature for 1 h. The freeze and thaw procedure was repeated three times. Next, the cell suspension was centrifuged at 10,000 rpm for 10 min to obtain the supernatant. The absorbance of the supernatant extract was measured at 455 nm, 564 nm and 592 nm. The content of B-phycoerythrin (B-PE) was estimated according to the following formula (Sampath-Wiley and Neefus 2007).

$${C}_{PE}=\left[\left({OD}_{564}-{OD}_{592}\right)-\left({OD}_{455}-{OD}_{592}\right)\bullet 0.2\right]\bullet 0.12$$
(2)

where CPE is the concentration of B-phycoerythrin, and OD values refers to the absorbance at different wavelengths.

Statistical analysis

All cultivation experiments were repeated separately for three times, and the mean value with standard deviation (± SD) was calculated. SPSS 26.0 was used for data analysis (ANOVA). Statistical significance of mean differences was considered to be attained with p < 0.05.

Results

Growth of P. purpureum cultivated in diluted swine wastewater

Porphyridium purpureum grew rapidly in 10%, 20%, and 60% swine wastewater (Fig. 1). Specifically, biomass concentration increased markedly initially, then reached a stable level and almost kept constant. However, P. purpureum grew extremely slowly in 100% swine wastewater. The concentrations of COD, NH4+-N, TN and TP in the undiluted swine wastewater were up to 850 ± 12 mg L−1,54.66 ± 2.52 mg L−1, 90 ± 3 mg L−1 and 20 ± 0.3 mg L−1, respectively (Table 1). Such high concentrations of nutrients may create adverse environment conditions for algal growth. Porphyridium purpureum in the 60% swine wastewater showed the best growth with the highest biomass concentration and average growth rate among all the experimental groups (p < 0.05; Table 2). The maximum biomass concentration in the 60% swine water group reached 9.44 g L−1, which was 1.36, 1.23 and 2.67 times higher than that of 10%, 20% and 100% swine wastewater.

Fig. 1
figure 1

Changes of dry cell weights and Fv/Fm values of P. purpureum during culture process

Table 2 The results of P. purpureum growth in the different dilutions of wastewater

The chlorophyll fluorescence parameter was measured to evaluate the activity of photosynthetic system of microalgal cells. The results showed that Fv/Fm of all experimental groups significantly decreased with culture time (Fig. 1b) reflecting that the photosynthesis performance of microalgae slowed down.

Nutrients removal by P. purpureum from diluted swine wastewater

As shown in Fig. 2, the COD concentration of all experimental groups gradually decreased over time. For example, the initial COD concentration of 10% swine water decreased from 85 ± 4 mg L−1 to an extremely low level of 1.52 ± 0.38 mg L−1. As to the undiluted swine water, the COD concentration decreased slowly from the initial 850 ± 12 mg L−1 to 197.56 ± 5.37 mg L−1 in the end. The COD removal of 10%, 20%, 60% and 100% swine wastewater was 98.21 ± 0.04%, 97.11 ± 0.05%, 94.85 ± 0.08% and 76.75 ± 0.04%, respectively. The removal of COD in the diluted wastewater was significantly higher than that in the undiluted wastewater (p < 0.05; Table 3). In addition, it was observed that the removal of COD declined with the increase of COD concentration. Undoubtedly, high initial COD significantly inhibited the microalgal growth, resulting in less organic substance absorbed and utilized by cells, and the high concentration of COD remained in the wastewater. However, it is important to note that the variation of COD showed here only represented the change trend of COD existing in the raw swine water, and it did not contain the one caused by exopolysaccharides secreted from the algal cells. Porphyridium purpureum produces abundant exopolysaccharides during the culture process, thus leading to substantial increase of COD concentration. In fact, due to the accumulation of exopolysaccharides, the total COD concentration of the culture increased over the time of culture (Fig. 1A Supplementary information).

Fig. 2
figure 2

Changes of nutrient of wastewater during microalgae culture process (a) COD, (b) TN, (c) TP, and (d) NH4+-N. The data represent the average ± standard deviation (n = 3). Different letters indicate statistically significant differences (p < 0.05, ANOVA)

Table 3 Nutrient removal efficacies of P. purpureum cultured in the different wastewater dilutions

In addition, the concentrations of TN and TP decreased rapidly along with the culture time (Fig. 2), showing that these nutrients can be used efficiently by P. purpureum. After 28 days of cultivation, the TN concentrations in 10%, 20%, 60% and 100% swine wastewater dropped from the initial 9 ± 0.67, 18 ± 0.61, 54 ± 0.82 and 90 ± 1.32 mg L−1 to 1.04 ± 0.26, 1.62 ± 0.29, 3.98 ± 0.33 and 14.92 ± 0.39 mg L−1, respectively. The resultant removal efficiencies of TN were 88.44 ± 0.07%, 91.02 ± 0.11%, 92.62 ± 0.09% and 83.42 ± 0.12%, respectively. The TN removal of diluted wastewater groups was significantly higher than that of the undiluted wastewater group (p < 0.05; Table 3). Furthermore, the concentrations of TP in 10%, 20%, 60% and 100% swine wastewater reduced to 0.21 ± 0.01, 0.21 ± 0.02, 0.47 ± 0.05 and 3.01 ± 0.09 mg L−1 after microalgae cultivation, and the TP removal of each swine wastewater was 89.51 ± 0.04%, 94.75 ± 0.02%, 96.08 ± 0.02% and 84.95 ± 0.02%. The removal of TP in diluted wastewater was significantly higher than that in undiluted wastewater (p < 0.05; Table 3). Furthermore, the removal efficiency of NH4+-N of all experimental groups was high. The NH4+-N in the 10%, 20%, and 60% wastewater could be completely removed by the 28th day. For the undiluted 100% swine wastewater, the removal of NH4+-N reached 86.81 ± 0.06%. Among all, the dilution of 60% was the optimal operation condition for swine wastewater treatment by P. purpureum with high removal of nutrients from wastewater. In terms of the correlation between algal growth and nutrient removal efficiency, the high growth rate of the alga corresponded to the high removal efficiency of nutrients (Wang et al. 2016; Chen et al. 2020b). Moreover, although the nutrients removal efficiency of the undiluted wastewater was the lowest, the residual contents of COD, NH4+-N and TP in the undiluted wastewater were only 197.56 ± 5.37, 7.21 ± 0.2 and 3.01 ± 0.08 mg L−1, respectively, and all of them were lower than the discharge threshold value of 400, 80, and 8 mg L−1, and met the discharge requirements for livestock and poultry pollutants in China (Table 4). In addition, it is worth noting that the salt added in the wastewater should be separated by membrane systems before the discharge. The fresh water species of P. purpureum could be deployed in swine wastewater treatment to avoid the salt addition problem (Oh et al. 2009).

Table 4 Physiochemical properties of permissible discharge and reuse standards and residual nutrient concentrations of effluent after treatment

Production of phycoerythrin and polysaccharide by P. purpureum

The phycoerythrin concentration of each experimental group increased rapidly to the maximum value, then decreased gradually and stayed stable (Fig. 3a). It was observed that phycoerythrin production in the undiluted wastewater was clearly the lowest, which was probably caused by the poor microalgal growth and low biomass concentration. However, the undiluted swine wastewater group had the highest phycoerythrin content among all the experimental groups (p < 0.05; Fig. 3b). The highest phycoerythrin concentration of 54.45 ± 4.76 mg L−1 was achieved on the 16th day in the 60% swine wastewater group. In addition, the concentrations of polysaccharides in 10%, 20% and 60% swine wastewater increased rapidly at first, and then stayed at stable levels. However, the polysaccharide concentration in the undiluted swine wastewater did not increase greatly due to the low biomass concentration. The maximum polysaccharide concentration of 2.16 ± 0.08 g L−1 was observed in the 10% swine wastewater group, which is mainly attributed to the high content of polysaccharide within the microalgal cell (p < 0.05; Fig. 4b).

Fig. 3
figure 3

Changes of phycoerythrin concentration and content of P. purpureum. The data represent the average ± standard deviation (n = 3). Different letters indicate statistically significant differences (p < 0.05, ANOVA)

Fig. 4
figure 4

Changes of polysaccharide concentration and content of P. purpureum. The data represent the average ± standard deviation (n = 3). Different letters indicate statistically significant differences (p < 0.05, ANOVA)

Discussion

In this study the growth of P. purpureum cultivated in swine wastewater of different dilution rates was evaluated. The alga grew rapidly in the diluted swine wastewater, but extremely slowly in the undiluted one, indicating that growth was highly depended on the concentration and dilution rate of swine wastewater. Consistent with our results, other studies also have shown that the dilution remarkably affected microalgal growth in wastewaters (Vargas-Estrada et al. 2021; Wang et al. 2021b). Wen et al. (2017) and Yeh et al. (2010) found that microalgae could hardly grow in the undiluted livestock wastewater owing to the high concentrations of ammonium and turbidity of the wastewater. Microalgal growth would be inhibited at a certain level of ammonium and the degree of inhibition degree varies with species (Cai et al. 2013b; He et al. 2013; Liu et al. 2020). The inhibitory ammonium concentration for the growth of Cyanophyceae Bacillariophyceae, Dinophyceae, and Raphidophyceae has been reported to be 6616 μmol L−1, 725 μmol L−1, 324 μmol L−1, and 635 μmol L−1, respectively (Collos and Harrison 2014). Moreover, it was reported that 100 μmol L−1 ammonium concentration was toxic for 200 species or clones of marine microalgae (Keller et al. 1987). In the undiluted swine wastewater, ammonia nitrogen concentration was 54.66 mg L−1 and the corresponding ammonium concentration was 3904 μmol L−1. Such high concentration may be the primary reason for the poor growth of microalgae.

It was well-recognized that the decrease of Fv/Fm is mostly associated with stressful conditions such as high light and low temperature (Prates et al. 2018). It was observed that Fv/Fm gradually decreased along with the time of culture. Thus, it can be speculated that the stressful condition was slowly formed and the culture environment became adverse to the growth of algal cells. In the present study, the reason for the decrease in Fv/Fm value is considered to be complex and possibly attributed to the comprehensive impact of accumulation of extracellular polysaccharide, deficiency of nutrients, and degradation of phycoerythrin. During the culture process, microalgal cells generated the extracellular polysaccharide (Fig. 4a), which could change the osmotic pressure of the culture. The more extracellular polysaccharide accumulated at the middle and late stages, the higher osmotic pressure would be, which was physiologically harmful to the microalgal cells. It has been reported that the increase of osmotic pressure affected the conductivity and causd the decrease of Fv/Fm values (Abinandan and Shanthakumar 2015). Besides, nutrient depletion can also lead to stressful condition, which would also exert negative impact on the physiological activity of microalgal cells. Tan et al. (2019) found that Fv/Fm of microalgal cells declined in N-starved or P-starved cultures. However, the change of Fv/Fm was also possibly associated with the phycoerythrin of microalgal cells. It has been reported that Fv/Fm decreased when the phycoerythrin content of microalgal cells decreased (Pancha et al. 2014; Li et al. 2020). Therefore, it is difficult to determine the reasons why Fv/Fm decreases during the culture process.

To date, the predominant microalgae species for treating swine wastewater are Chlorella spp., Arthrospira (Spirulina) spp. and Scenedesmus spp. (Park et al. 2010; Ayre et al. 2017; Lu et al. 2020). For example, Chen et al. (2020a) employed Chlorella sorokiniana to purify swine wastewater and found the removal efficiency of COD, TN and TP was 90.1%, 97.0% and 92.8%, respectively. Lu et al. (2020) cultivated Arthrospira (Spirulina) platensis in diluted swine wastewater and observed TN and TP removal efficiencies of 85.86% and 78.69%, respectively. Furthermore, marine microalgae recently also have been tested to treat municipal wastewater, food wastewater, wastewater and other wastewater (Li et al. 2019b; Lavrinovičs et al. 2020). Daneshvar et al. (2018) cultivated Tetraselmis suecica in dairy wastewater and found removal efficiencies of TN and TP was 86.21% and 89.83%, respectively. Katayama et al. (2020) used aquaculture wastewater to culture Amphora coffeiformis for the production of arachidonic acid (EPA) and eicosapentenoic acid (AA), and found that EPA and AA accounted for 18.5% and 8.1% of total fatty acids. It was reported that the removal efficiency of COD, NH4+-N, TN and TP were in the range of 75.29–92.17%, 76.90–99.90%, 78.79–92.51% and 84.55–100% for swine wastewater by microalgae treatment (Wang et al. 2015, 2016; Xu et al. 2015; Chen et al. 2021; Lee et al. 2021). Depending on the dilution level, the removal efficiency of COD, NH4+-N, TN and TP in the swine wastewater were in the range of 76.75–98.21%, 86.81–100% 83.42–92.62% and 84.95–96.08%. The nutrient removal efficiency is comparable to or even higher than those previously reported, indicating that P. purpureum was an alternative microalgae species for efficient treatment of swine wastewater.

In addition, the dilution level of swine wastewater also strongly affected the production of polysaccharides and phycoerythrin. Microalgae grown in 10% swine wastewater with the lowest concentration of TN had the lowest phycoerythrin content. While the highest phycoerythrin content and concentration were achieved in the 100% swine wastewater with a very high concentration of TN. Furthermore, it was observed that the removal of TN had a positive correlation with the increase of phycoerythrin. The fast accumulation of phycoerythrin and rapid consumption of nitrogen both occurred in the early stage of the culture process. However, the phycoerythrin content slowly decreased in the late stage. The decline of phycoerythrin may provide nitrogen source for algal cells, maintaining cell division and growth under the nitrogen-depletion condition (Pancha et al. 2014; Li et al. 2020). Consistent with our results, other studies also have found that nitrogen starvation significantly inhibited the synthesis of phycoerythrin, while sufficiency of nitrogen could substantially enhance the phycoerythrin content (Guihéneuf and Stengel 2015). It is recognized that nitrogen is an important component of nitrogenous compounds such as key enzymes, photosynthetic pigments and genetic materials of microalgae (Pancha et al. 2014; Li et al. 2016). Thus, sufficient nitrogen would promote the growth of microalgae and accumulation of a large amounts of proteins, whereas nitrogen limitation was beneficial to the biosynthesis of polysaccharides.

It is worth noting that although the sampling during the experiment reduced the volume of culture, it would have little impact on the microalgae growth, nutrient removal and bio-active substances accumulation as the light intensity, aeration rate and temperature were almost kept the same for each experiment group. Furthermore, compared with the PBR with full level of culture, the light regime almost would not change when the culture level was low by sampling because the LED lights were installed on the side of photobioreactors rather than above them.

In recent years there have been a few studies about the production of polysaccharides and phycoerythrin by P. purpureum (Table 5). Li et al. (2019c) reported that the contents of biomass, phycoerythrin and polysaccharide were 5.54 g L−1, 193 mg L−1 and 0.342 g L−1, respectively, under 25℃ and 350 μmol photons m−2 s−1. Velea et al. (2011) observed that the biomass and polysaccharide concentration remarkedly increased to 15.2 and 4.5 g L−1 by increasing the NaHCO3 content in ASW medium and the light intensity. Although the swine wastewater was used in the study, the concentrations of polysaccharides and phycoerythrin were still comparable to or even higher than those previously reported (Table 5), indicating that P. purpureum has great potential in the production of phycoerythrin and polysaccharide by using wastewater.

Table 5 Production of high value products in P. purpureum under different culture conditions

The use of microalgae to re-utilize nutrients in wastewater and produce byproducts is considered to be an important way to support the biological cycle economy (Noguchi et al. 2021; Ahmed et al. 2022). However, the application of high value-added products produced in wastewater must consider bio-safety because the harmful substances in wastewater may be transferred to biological products, which will pose high potential risks (Nagarajan et al. 2019; Sharma and Arivalagan 2021). In the current study, the phycoerythrin and polysaccharide produced by microalgae cultured in the swine wastewater cannot be directly applied to human consumption. However, bioactive substance produced from microalgae grown in wastewater can be possibly used in the fields of feed and aquaculture (Madeira et al. 2017). It is expected that the potential pollutants in biological products can be reduced or even basically eliminated in the future. Hence, the application scope of high-value products sourced from microalgae cultivated in wastewater can be expanded to more industries.

Conclusion

This study explored the potential of P. purpureum cultured in swine wastewater of different proportions to realize nutrient removal and produce biomass and high-value products. The results confirmed that the COD removal efficiency could reach up to 98.21% by P. purpureum cultured in 10% swine wastewater. The highest removal of TN and TP was 92.62% and 96.08%, respectively, in 60% swine wastewater with corresponding biomass concentration of 9.44 g L−1. Overall, the results demonstrated that P. purpureum can effectively treat the swine wastewater with the production of phycoerythrin and polysaccharide, encouraging further investigation in the feasibility of this process to explore the synergistic mechanism which is related to nutrients removal and natural bioactive substance accumulation.