Modeling a seeded continuous crystallizer for the production of active pharmaceutical ingredients