Technically speaking, the simulation task involves mathematical modelling with distributed parameter systems, implementation of model equations on a Matlab/Simulink environment, and numerical solving by means of Simulink integration capabilities. The process flow configuration is represented by a Simulink file, and unit operations are modelled making use of C MEX S-functions. The latter take parts of code from the pulp mill benchmark model of Castro & Doyle (2004), a simulation model of a generic kraft pulp mill open-sourced for the academic community.