I am estimating the mass balance for the organic waste of different feedstocks using the anaerobic digester and the struvite precipitation reactor. How can I use the math algorithms to estimate the flow of the influent and effluent of the organic waste?