The enhancement of domestic wastewater upgrading treatment and the utilization of resources have emerged as crucial trends in urban water environmental management.In order to further enhance the efficiency of wastewater treatment and reduce energy consumption,a tube algal-biofilm-ultrafiltration membrane wastewater treatment system has been designed.The performance of this system was studied under different hydraulic retention time(HRT)and various light exposure conditions.The results indicate that the optimal HRT for the algal-biofilm was 5 days,with average removal rates of 91.69%for COD,97.37%for TP,81.06%for TN,and 92.62%for NH4+-N,respectively.The best pollutant removal performance was achieved when the system was exposed to a combination of natural sunlight and artificial supplementation.Under this light condition,the average effluent concentrations for COD,TP,TN,and NH4+-N were 20.39 mg/L,0.12 mg/L,3.53 mg/L,and 1.17 mg/L,respectively.Moreover,after passing through the ultrafiltration membrane,almost all suspended algae were effectively removed,and the effluent optical density(OD680)was stabilized at 0.01.This system offers valuable insights for the practical application of microalgae-based water treatment technologies.