Development, implementation, and validation of a generic nutrient recovery model (NRM) library. (January 2018)