Andersson, J.A., Gillis, J., Horn, G., Rawlings, J.B., and Diehl, M. (2019). CasADi: a software framework for non- linear optimization and optimal control. Mathematical Programming Computation, 11(1). doi:10.1007/s12532- 018-0139-4. Broadhead, T.O., Patterson, W.I., and Dealy, J.M. (1996). Closed loop viscosity control of reactive extrusion with an in-line rheometer. Polymer Engineering and Science, 36(23), 2840–2851. doi:10.1002/pen.10685. Choulak, S., Couenne, F., Le Gorrec, Y., Jallut, C., Cassagnau, P., and Michel, A. (2004). Generic dynamic model for simulation and control of reactive extrusion. Industrial and Engineering Chemistry Research, 43(23), 7373–7382. doi:10.1021/ie0342964. Dubois, P., Ropson, N., J´ erôme, R., and Teyssi´ e, P. (1996). Kinetics of ring-opening polymerization of ?-caprolactone initiated with functional aluminum alkoxides. Macromolecules, 29(6), 1965–1975. doi: 10.1021/ma951738h. Eitzlmayr, A., Khinast, J., Hörl, G., Koscher, G., Reynolds, G., Huang, Z., Booth, J., and Shering, P. (2013). Experimental characterization and modeling of twin-screw extruder elements for pharmaceutical hot melt extrusion. AIChE Journal, 59(11), 4440–4450. doi: 10.1002/aic.14184. Eitzlmayr, A., Koscher, G., Reynolds, G., Huang, Z., Booth, J., Shering, P., and Khinast, J. (2014). Mechanis- tic modeling of modular co-rotating twin-screw extrud- ers. International Journal of Pharmaceutics, 474(1-2), 157–176. doi:10.1016/j.ijpharm.2014.08.005. Gimenez, J., Boudris, M., Cassagnau, P., and Michel, A. (2000). Control of bulk ?-caprolactone polymerization in a twin screw extruder. Polymer Reaction Engineering, 8(2), 135–157. doi:10.1080/10543414.2000.10744545. Grimard, J., Dewasme, L., and Vande Wouwer, A. (2016). Nonlinear model predictive control of a twin-screw extruder. SINTES 20, SACCS 16, SIMSIS 20 - Proceedings, 46(1), 204–209. doi: 10.1109/ICSTCC.2016.7790666. Kohlgrüber, K. (2008). Co-Rotating Twin-Screw Extruder Fundamentals, Technology, and Applications. Carl Hanser Verlag GmbH & Co. KG, Munich. Lucia, S., Tatulea-Codrean, A., Schoppmeyer, C., and Engell, S. (2017). Rapid development of modular and sustainable nonlinear model predictive control solu- tions. Control Engineering Practice, 60, 51–62. doi: 10.1016/j.conengprac.2016.12.009. Puaux, J., Bozga, G., and Ainser, A. (2000). Residence time distribution in a corotating twin-screw extruder. Chemical Engineering Science, 55(9), 1641–1651. doi: 10.1016/S0009-2509(99)00430-3. Tenge, S. and Mewes, D. (2000). Experimental investiga- tion of the energy balance for the metering zone of a twin screw extruder. Polymer Engineering and Science, 40(2), 277–289. doi:10.1002/pen.11161. Wächter, A. and Biegler, L.T. (2006). On the implemen- tation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Mathematical Programming, 106(1), 25–57. doi:10.1007/s10107-004- 0559-y.