The rate equations of PM 2 are also based on the original PPM, 17 but a few modifications were made to represent the heterotrophic growth of microalgae and to improve the fidelity of the model (Table ). First, to make the uptake of new nitrogen decrease when the nitrogen content inside the microalgae (QN) reaches its maximum (QN,max), a new term of ((QN,max-QN)/(QN,max-QN,min)) 0.01 was added (P2-5) (the same rule applies to phosphorus uptake; P6). In addition, nitrate uptake was assumed to be slowed in the presence of ammonium by the term of KN/(KN+SNH) (P3-5). For growth-related processes, the effect of temperature was newly included with the Arrhenius equation (P7, P10-11, P15, P18-19, P23, P26-27). For the heterotrophic processes, the maximum relative photosynthetic productivity (fI) was replaced by a Monod expression based on substrate availability (SA/(KA+SA); SG/(KG+SG)). In terms of biopolymer storage, carbohydrate and lipid accumulation were adjusted to proceed more sequentially, with carbohydrate accumulation preferred until the ratio of stored carbohydrates to cells (fCH) approaches its maximum (f CH max ; P9, P17, P25). process, secondary effluent from sequencing batch reactors is first mixed with the microalgae biomass in a mix tank and sent to photobioreactors (PBRs), where the microalgae are exposed to light (Figure ). Ultrafiltration in a membrane tank then produces clean permeate and concentrates the microalgae biomass, which is either recycled through a return tank or harvested via centrifugation. From this EcoRecover plant, two different types of data were collected: (1) bench-scale batch experiment data and (2) long-term, full-scale, continuous online monitoring data.