Development of control strategies for the operation of a struvite crystallization process