원시데이터 수집 시스템
선정목록으로

Dynamic flowsheet model development and digital design of continuous pharmaceutical manufacturing with dissolution modeling of the final product

관련 산업용 섬유 · (17) 스펀본드 부직포

기본 정보

저자
  1. Brigitta Nagy — Davidson School of Chemical Engineering, Purdue University, West Lafayette, IN 47907, USA|||Department of Organic Chemistry and Technology, Budapest University of Technology and Economics, H-1111 Budapest, Hungary
  2. Botond Szilágyi — Faculty of Chemical Technology and Biotechnology, Budapest University of Technology and Economics, H-1111 Budapest, Hungary
  3. András Domokos — Department of Organic Chemistry and Technology, Budapest University of Technology and Economics, H-1111 Budapest, Hungary
  4. Blanka Vészi — Department of Organic Chemistry and Technology, Budapest University of Technology and Economics, H-1111 Budapest, Hungary
  5. Kornélia Tacsi — Department of Organic Chemistry and Technology, Budapest University of Technology and Economics, H-1111 Budapest, Hungary
  6. Zsolt Rapi — Department of Organic Chemistry and Technology, Budapest University of Technology and Economics, H-1111 Budapest, Hungary
  7. Hajnalka Pataki — Department of Organic Chemistry and Technology, Budapest University of Technology and Economics, H-1111 Budapest, Hungary
  8. György Marosi — Department of Organic Chemistry and Technology, Budapest University of Technology and Economics, H-1111 Budapest, Hungary
  9. Zoltán K. Nagy — Davidson School of Chemical Engineering, Purdue University, West Lafayette, IN 47907, USA|||Department of Organic Chemistry and Technology, Budapest University of Technology and Economics, H-1111 Budapest, Hungary
  10. Zsombor Kristóf Nagy — Davidson School of Chemical Engineering, Purdue University, West Lafayette, IN 47907, USA|||Department of Organic Chemistry and Technology, Budapest University of Technology and Economics, H-1111 Budapest, Hungary
  11. Zsombor Kristóf Nagy — Davidson School of Chemical Engineering, Purdue University, West Lafayette, IN 47907, USA|||Department of Organic Chemistry and Technology, Budapest University of Technology and Economics, H-1111 Budapest, Hungary
  12. Zsombor Kristóf Nagy — Davidson School of Chemical Engineering, Purdue University, West Lafayette, IN 47907, USA|||Department of Organic Chemistry and Technology, Budapest University of Technology and Economics, H-1111 Budapest, Hungary
DOI
10.1016/j.cej.2021.129947
저널
Chemical Engineering Journal
발행년도
2021
발행기관
Elsevier BV
피인용수
35
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.cej.2021.129947
토픽
Injection Molding Process and Properties
OpenAlex ID
W3158560074

평가 내용

관련도
관련
사업분야
산업용 섬유 · (17) 스펀본드 부직포
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 스펀본드 부직포' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

The integration of continuous unit operations imposes a challenge on the pharmaceutical companies aspiring to achieve plant-wide continuous manufacturing due to the additional complexity of the dynamic interactions, process control and quality assurance. To overcome this challenge, flowsheet modeling emerged as a viable tool to gain deeper process knowledge. In this work, the dynamic model of the integrated continuous manufacturing of acetylsalicylic acid (ASA) was formed based on real continuous unit operations. Furthermore, the surrogate model of the in vitro dissolution test of ASA capsules was integrated into the flowsheet model the first time to analyze the integrated manufacturing in light of the dissolution specifications of an immediate-release formulation. Systematic optimization studies were performed on the integrated process and on the continuous unit operations step-by-step, which clearly revealed the impact of the plant-wide dynamic modeling, as the integrated approach resulted in the threefold increase in the overall productivity and the parallel decrease in the required reactant excess. Sensitivity analyses of the operating conditions and the kinetic parameters were also performed. The crystallization temperature emerged as one of the most critical parameters, which variation could even result in the failure of the dissolution specification. Moreover, by calculating the time-varying sensitivity indices, the dynamics of the error propagation could be studied. These results could facilitate the integration of existing continuous units, the development of the control strategy, and encourage the implementation of dissolution surrogate models into process flowsheet simulations.

본문 116,261자

본문 펼치기
[Chemical Engineering Journal 419 (2021) 129947](https://doi.org/10.1016/j.cej.2021.129947) Contents lists available at ScienceDirect # Chemical Engineering Journal [journal homepage: www.elsevier.com/locate/cej](https://www.elsevier.com/locate/cej) ## Dynamic flowsheet model development and digital design of continuous pharmaceutical manufacturing with dissolution modeling of the final product Brigitta Nagy <sup>a,b</sup>, Botond Szil´agyi <sup>c,</sup> <sup>*</sup>, Andras Domokos´ <sup>a</sup>, Blanka V´eszi <sup>a</sup>, Korn´elia Tacsi <sup>a</sup>, Zsolt Rapi <sup>a</sup>, Hajnalka Pataki <sup>a</sup>, Gyorgy Marosi¨ <sup>a</sup>, Zoltan K. Nagy´ <sup>b,*</sup>, Zsombor Kristof Nagy´ <sup>a</sup> a _Department of Organic Chemistry and Technology, Budapest University of Technology and Economics, H-1111 Budapest, Hungary_ b _Davidson School of Chemical Engineering, Purdue University, West Lafayette, IN 47907, USA_ c _Faculty of Chemical Technology and Biotechnology, Budapest University of Technology and Economics, H-1111 Budapest, Hungary_ A R T I C L E I N F O _Keywords:_ Dynamic flowsheet modeling Integrated continuous manufacturing Dissolution modeling Sensitivity analysis Optimization 1. Introduction A B S T R A C T The integration of continuous unit operations imposes a challenge on the pharmaceutical companies aspiring to achieve plant-wide continuous manufacturing due to the additional complexity of the dynamic interactions, process control and quality assurance. To overcome this challenge, flowsheet modeling emerged as a viable tool to gain deeper process knowledge. In this work, the dynamic model of the integrated continuous manufacturing of acetylsalicylic acid (ASA) was formed based on real continuous unit operations. Furthermore, the surrogate model of the _in vitro_ dissolution test of ASA capsules was integrated into the flowsheet model the first time to analyze the integrated manufacturing in light of the dissolution specifications of an immediate-release formu­ lation. Systematic optimization studies were performed on the integrated process and on the continuous unit operations step-by-step, which clearly revealed the impact of the plant-wide dynamic modeling, as the integrated approach resulted in the threefold increase in the overall productivity and the parallel decrease in the required reactant excess. Sensitivity analyses of the operating conditions and the kinetic parameters were also performed. The crystallization temperature emerged as one of the most critical parameters, which variation could even result in the failure of the dissolution specification. Moreover, by calculating the time-varying sensitivity indices, the dynamics of the error propagation could be studied. These results could facilitate the integration of existing continuous units, the development of the control strategy, and encourage the implementation of dissolution surrogate models into process flowsheet simulations. In the last decade, the pharmaceutical industry has started to un­ dergo a vast transformation, which aims the implementation of flexible and efficient manufacturing as opposed to the traditional, conservative approach of fixed process conditions. This is promoted by several ad­ vances in parallel. From the technology point of view, innovations in continuous manufacturing equipment are rapidly emerging, providing options for consistent and economical production [1], and the regula­ tory agencies support the concept by providing guidelines [2] and ini­ tiatives, such the Quality-by-Design (QbD) [3] and Process Analytical Technology (PAT) [4]. These principles focus on the knowledge- and risk-based operation of the manufacturing process by the thorough mapping of the underlying critical material attributes (CMAs) and pro­ cess parameters (CPPs) and their effect on the target product profile. The most important tools for this are real-time, in-line measurements as well as various statistical and mechanistic modeling methodologies [5,6]. Due to the additional complexity of continuous manufacturing lines, the importance of the systematic model-based design of the product and processes has increased. Mechanistic dynamic flowsheet models have been identified as excellent tools for representing the process knowledge and dynamically analyze the input–output relationship [7]. Together with widely used analysis tools, _e.g.,_ sensitivity analysis [8], this con­ tributes to the identification of the excessive variation and risk of error propagation, the optimization of the process, and the development of - Corresponding authors: Davidson School of Chemical Engineering, Purdue University, West Lafayette, IN 47907, USA (Z.K. Nagy); Department of Organic Chemistry and Technology, Budapest University of Technology and Economics, H-1111 Budapest, Hungary (B. Szilagyi) _E-mail addresses:_ [szilagyi.botond@vbk.bme.hu (B. Szil´agyi), zknagy@purdue.edu (Z.K. Nagy).](mailto:szilagyi.botond@vbk.bme.hu) [https://doi.org/10.1016/j.cej.2021.129947](https://doi.org/10.1016/j.cej.2021.129947) Received 10 December 2020; Received in revised form 16 March 2021; Accepted 17 April 2021 Available online 24 April 2021 1385-8947/© 2021 The Author(s). [Published by Elsevier B.V. This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/) _B. Nagy et al. Chemical Engineering Journal 419 (2021) 129947_ List of notations _Ai_ Pre-exponential factor of the _i_ <sup>th</sup> reaction _AS_ Antisolvent- solvent volume ratio _B_ Nucleation rate [# m <sup>-3</sup> s <sup>−</sup> <sup>1</sup> ] _b_ Nucleation rate exponent [-] _c_ Concentration in solution [M] (in synthesis); [kgm <sup>−</sup> <sup>3</sup> ] (in crystallization) _cd_ Mass fraction of API in the dissolution medium [-] _c_ <sup>*</sup> _c_ Equilibrium solubility in the crystallization [kgm <sup>−</sup> <sup>3</sup> ] _c_ <sup>*</sup> _c_ Equilibrium solubility in the crystallization [kgm <sup>−</sup> <sup>3</sup> ] _c_ <sup>*</sup> _d_ Equilibrium solubility in the dissolution medium [g ASA/ g _c_ <sup>*</sup> _d_ Equilibrium solubility in the dissolution medium [g ASA/ g solution] _ci_ Impurity concentration [M] (in the synthesis); [kgm <sup>−</sup> <sup>3</sup> ] (in crystallization) _cin_ Inlet concentration of solution [kgm <sup>−</sup> <sup>3</sup> ] _cnorm_ Normalized concentration in solution [M] (in synthesis); [kgm <sup>−</sup> <sup>3</sup> ] (in crystallization) _cs_ Solid concentration [kgm <sup>−</sup> <sup>3</sup> ] _D_ Dissolution rate [ms <sup>−</sup> <sup>1</sup> ] _DR_ Dissolved ratio [%] _d_ Dissolution rate exponent [-] _E_ ( _t_ ) Residence time distribution _EE_ Elementary effect _Ea,g_ Growth activation energy [Jmol <sup>−</sup> <sup>1</sup> ] _Ea,i_ Activation energy of the _i_ <sup>th</sup> reaction [Jmol <sup>−</sup> <sup>1</sup> ] _F_ Flow rate [m <sup>3</sup> s <sup>−</sup> <sup>1</sup> ] _G_ Growth rate [ms <sup>−</sup> <sup>1</sup> ] _KL_ Langmuir constant [kgm <sup>−</sup> <sup>3</sup> ] _kb_ Nucleation rate coefficient [# m <sup>−</sup> <sup>3</sup> s <sup>−</sup> <sup>1</sup> ] _kd_ Dissolution rate coefficient [m s <sup>−</sup> <sup>1</sup> ] _kg_ Growth rate coefficient [ms <sup>−</sup> <sup>1</sup> ] _ki_ Reaction rate constant of the _i_ <sup>th</sup> reaction [Jmol <sup>−</sup> <sup>1</sup> ] _kv_ Volume shape factor [-] _L_ Linear size of crystals [m] _Ln_ Nuclei size [m] _mc_ Sample mass in the dissolution test [kg] _N_ Reactor number [#] _n_ Population density [# m <sup>−</sup> <sup>4</sup> ] _nin_ Initial population density [#m <sup>−</sup> <sup>43</sup> ] _nMSE_ Normalized mean square error [M <sup>2</sup> ] _nMSEnorm_ Normalized mean square error calculated for normalized concentrations [M <sup>2</sup> ] _O_ ( _D_ ) Objective function _P_ Purity [%] _pi_ Coefficients of size-dependent dissolution [-] _R_ Universal gas constant, 8.314 JK <sup>-1</sup> mol <sup>−</sup> <sup>1</sup> _ri_ Rate law equation of the the _i_ <sup>th</sup> reaction _T_ Temperature [ <sup>◦</sup> C] _t_ Time [s] _V_ Volume [m <sup>3</sup> ] _v_ Antisolvent volume fraction in feed [-] _vc_ Crystal volume fraction in the dissolution medium [-] _X_ Conversion [%] _Greek Letters_ _α_ Effectiveness factor [-] _δ_ Dirac-delta function _μ_ 2 2nd moment of the CSD [m <sup>2</sup> m <sup>−</sup> <sup>3</sup> ] _μ_ 3 3rd moment of the CSD [m <sup>3</sup> m <sup>−</sup> <sup>3</sup> ] _μM_ Mean of elementary effects _ρc_ Crystal density [kgm <sup>−</sup> <sup>3</sup> ] _ρd_ Density of the dissolution medium [kgm <sup>−</sup> <sup>3</sup> ] _σ_ Relative supersaturation [-] _σ_ <sup>2</sup> Standard deviation of the reactor residence time distribution [s] _σ_ <sup>2</sup> _M_ Standard deviation of elementary effects _τ_ Mean residence time [s] _Subscripts_ _a_ Acetylation _c_ Crystallization _d_ Dissolution _j_ Sample point _m_ Measured data _q_ Quenching _X_ Component in the reaction mixture 0 Initial state mechanistic understanding of the synthesis, crystallization and filtration unit operations, and to use the modeling framework to identify the CPPs that impact the conversion in their integrated system. From the perspective of the downstream process modeling of solid products, mainly the continuous feeding, blending and tablet compres­ sion steps are integrated [18–20], but there are also examples for incorporating dry [21] and wet granulation [22] steps. Wang _et al._ [20] utilized the developed flowsheet model for the optimization of the process to minimize the total cost of the manufacturing. In most of the studies [18–20,22] sensitivity analysis was performed using the unit operation parameters ( _e.g.,_ residence times, flow rates) and final prop­ erties of the product, _e.g.,_ tablet hardness and weight, API concentration as examined response variables. However, only a few modeling studies incorporated both the upstream and downstream manufacturing steps. Sen _et al._ [23,24] used such a model for analyzing the mixing properties in connection with the crystallization, filtration and drying processes, while in another study [25] the simulations were used to improve the overall productivity and quality of the manufacturing. Moreover, no control strategies [7,9]. Furthermore, when continuous communication is enabled between the model and the real process, a digital twin is created, which can be further used _e.g.,_ for model-predictive control [10]. The concept of flowsheet modeling of continuous manufacturing has been already utilized by several authors for both the upstream (active pharmaceutical ingredient (API) manufacturing) and downstream (final product manufacturing) process steps, and software packages are also available to facilitate their development, such as gPROMS by Process Systems Enterprise [11]. As for the upstream part, a dynamic flowsheet model of ibuprofen synthesis and crystallization was developed and the uncertainty of the process was systematically studied [12]. Diab _et al._ studied the flowsheet model of the synthesis and crystallization of rufinamide [13] and nevirapine [14] in the view of techno-economic considerations, such as minimizing the production costs. Most recently, Icten _et al._ published a three-part series of papers [15–17] dealing with the development of a virtual plant for continuous manufacturing of carfilzomib intermediate, intending to gain a _B. Nagy et al. Chemical Engineering Journal 419 (2021) 129947_ studies were found where the final quality of the formulation was assessed from the point of dissolution properties, although the _in vitro_ dissolution is one of the most important and routinely analyzed quality attributes of solid pharmaceutical products [26]. Hence, the mathe­ matical description could significantly contribute to the product and process development and release testing. This could be achieved either by first principles-based or black-box modeling approaches [27]. This paper presents the dynamic, integrated flowsheet model development for the continuous manufacturing of acetylsalicylic acid (ASA), involving a two-step flow synthesis and crystallization. The model was built to simulate the real continuous processes developed formerly by the authors of this paper [28,29]. In these former works, the unit operations were studied separately to analyze the effect of the different process parameters. As for the synthesis, the reaction mixture composition, processing temperature and residence times were opti­ mized experimentally for maximal conversion and purity and minimal processing time [28], but the main priority was to obtain a reaction mixture which is directly connectable with electrospinning. The pro­ cessing of this flow reaction mixture in continuous combined cooling and antisolvent crystallization process was also developed, where the effect of the crystallization temperature, the solvent system composition and residence time was studied on the crystal size distribution (CSD), yield and purity [29]. However, the integration of the synthesis and crystallization steps has not been achieved, yet. Therefore, to facilitate the integration of the existing unit operations, this work aimed the development of a dynamic flowsheet model to gain process under­ standing on the operation of the continuous, integrated process. This study is also the extension of a previous publication [30], where the dynamic model of the continuous crystallization was presented, but it dealt mainly with the integrated simulation of the continuous crystal­ lization and filtration, _e.g.,_ the effect on the CSD and solid concentration was analyzed on the continuous filtration. Consequently, together with the present work, the dynamic model of the fully continuous, integrated upstream process is achieved. The true potential of the integrated flowsheet model is demonstrated _via_ optimization studies and sensitivity analysis. Furthermore, the surrogate _in vitro_ dissolution model of cap­ sules containing the obtained ASA powder is developed and integrated into the flowsheet model. Such a model can be useful when the disso­ lution of the capsules is affected solely by the API characteristics. Moreover, it could contribute to a better understanding of the CSD as CMA and the corresponding optimization and risk analysis of the API manufacturing process during the early stage of the drug development even in the case of more complex formulations. To the best of the au­ thors’ knowledge, this is the first time when flowsheet modeling is uti­ lized for studying the dissolution properties of the final product of continuous pharmaceutical manufacturing. 2. Materials and methods _2.1._ _Experimental procedures_ The mathematical model of the integrated continuous synthesiscrystallization process and the _in vitro_ dissolution properties was developed based on real, laboratory-scale continuous processes and experimental data. The synthesis and crystallization procedures have been originally published in [28] and [29] and the experiments used for the parameter estimation and validation of the synthesis and crystalli­ zation steps came from these works. Although the experiments were originally conducted for the experimental development of the technol­ ogies and not for the purpose of the mathematical model fitting, they were found to be suitable for the parameter estimations as the viable ranges of the operating conditions were explored in different combina­ tions. The experiments were divided into calibration and validation sets. A quasi-random division was aimed: the ratio depended on the total number of the available experiments, and the validation experiments were selected randomly, but it was also accounted that the validation set should cover the whole range of the settings. _2.1.1._ _Synthesis_ The modeling of the continuous synthesis of ASA was based on the experimental work of Balogh _et al._ [28]. The two-step flow synthesis consisted of acetylation and a subsequent quenching step. For acetyla­ tion, a 1 mol L <sup>-1</sup> solution of salicylic acid (SA) was prepared in ethyl acetate (EtOAc), also containing phosphoric acid (H3PO4) as a catalyst in 0.1 mol equivalent relative to SA. SA was acetylated continuously with excess acetic anhydride (AA). In the subsequent quenching step ethanol (EtOH) was added to the reaction mixture of the first step, to remove the excess AA and the quenchable impurities. The reactions were carried out in 8.77 and 1.83 m long tube flow reactors for the acetylation and quenching step, respectively with an inner diameter of 0.787 mm. 4 bar was used to maintain constant fluid flow conditions. Acetylation experiments were conducted first in batch mode to analyze the effect of the AA excess ( _AAeq_, mole equivalent relative to SA) and the acetylation temperature ( _Ta_ ), then in continuous mode to adjust the temperature and the residence time ( _τa_ ), while _AAeq_ was fixed to 5, based on the outcomes of the batch experiments. At the quenching step, the EtOH ratio ( _EtOHeq_, mole equivalent relative to the initial SA), residence time ( _τq_ ), and quenching temperature ( _Tq_ ), were analyzed in continuous mode, whereas _AAeq_, _Ta_ and _τa_ were fixed to 5, 55 <sup>◦</sup> C and 180 min, respectively. The composition of the reaction mixture was measured by HPLC [28] every 10–20 min in the case of the batch acetylation and in the steady state of the continuous runs. Tables 1 and 2 summarize the acetylation and quenching experimental settings utilized in this study to estimate the kinetic parameters of the mathematical model. For further details on the experimental setup, the reader is referred to [28]. _2.1.2._ _Crystallization_ A combined cooling and antisolvent (CCAS) continuous crystalliza­ tion method has been developed to crystallize the ASA from the reaction mixture obtained in the flow synthesis [29]. The crystallization experi­ ments were performed in mixed-suspension, mixed-product-removal (MSMPR) continuous crystallizer operated at 235 mL constant volume and using heptane as antisolvent. Experiments were performed with 0.8 antisolvent volume fraction ( _v_ ) and varying flow rates ( _Fc_ ), temperatures ( _Tc_ ) and residence times ( _τc_ ) in the ranges of 5–20 mL min <sup>−</sup> <sup>1</sup>, 2–25 <sup>◦</sup> C and 10–50 min, respectively. Details on the crystallization experimental setup, procedure, the experiments for the kinetic parameter estimation and the parameter estimation can be found in our previous publications [29,30]. _2.1.3._ _In vitro dissolution testing_ To investigate the effect of the crystal size distribution (CSD) on the _in vitro_ dissolution of the final product ( _e.g.,_ capsule), samples for dissolution testing were prepared by sieving ASA powder using 63, 100, Table 1 Experimental setting used for the kinetic parameter estimation and validation of <u>the acetylation step.</u> Experiment <u>No.</u> _Ta_ [ <sup>◦</sup> C] AAeq[-] Experiment <u>No.</u> _Ta_ [ <sup>◦</sup> C] _τa_ [min] _Abatch 1_ 20 1.5 _Acont. 1_ 50 60 _Abatch 2_ 20 5 _Acont. 2_ 50 120 _Abatch 3_ 50 1.5 _Acont. 3_ 70 120 _Abatch 4_ 50 10 _Acont. 4_ 60 90 _Abatch 5_ 77 5 _Acont. 5_ 65 180 _Abatch 6_ 77 10 _Acont. 6_ 45 120 _Abatch Val 1_ 20 10 _Acont. 7_ 65 120 _Abatch Val 2_ 50 5 _Acont. 8_ 55 150 _Abatch Val 3_ 77 1.5 _Acont. 9_ 55 180 _Acont. Val 1_ 70 60 _Acont. Val 2_ 60 90 _<u>Acont. Val 3</u>_ <u>45</u> <u>180</u> _B. Nagy et al. Chemical Engineering Journal 419 (2021) 129947_ Table 2 <u>Experimental setting used for the kinetic parameter estimation and validation of the quenching step.</u> Experiment No. _Tq_ [ <sup>◦</sup> C] _τq_ [min] _EtOH_ eq[-] Experiment No. _Tq_ [ <sup>◦</sup> C] _τq_ [min] _EtOH_ eq[-] _Q 1_ 80 15 3 _Q 11_ 80 21 3 _Q 2_ 80 5 6 _Q 12_ 90 26 3 _Q 3_ 60 15 6 _Q 13_ 100 31 3 _Q 4_ 60 15 3 _Q Val 1_ 80 15 6 _Q 5_ 60 5 6 _Q Val 2_ 80 5 3 _Q 6_ 70 10 4.5 _Q Val 3_ 60 5 3 _Q 7_ 85 22 3 _Q Val 4_ 70 10 4.5 _Q 8_ 95 29.5 3 _Q Val 5_ 90 26 3 _Q 9_ 100 33 3 _Q Val 6_ 100 21 3 _<u>Q 10</u>_ <u>80</u> <u>31</u> <u>3</u> 150, 200, 300 and 500 μm sieve openings as well as by combining equal weights of sieve fractions (Table 3). Additionally, two continuously crystallized crystal products (MSMPR 1 and 2) were also used for vali­ dation. The CSD of each sample was collected by a Parsum IPP 70-s inline particle sizing probe (Malvern Panalytical Ltd., UK) in batch mode. The samples were dispersed into the instrument for estimating the cord length of the crystals, which were used to construct the numberbased CSDs in the 50–2000 μm size range with a logarithmic grid with 50 bins. Then dissolution tests of 100 mg powders were carried out in powder form as well as in some cases (see Table 3) filling them into capsules. The tests were performed in a Hanson SR8-Plus dissolution tester (Hanson Research, USA) using the paddle method (United States Pharmacopoeia II). In the case of the capsules, a spiral capsule sinker was used to prevent the floating of the capsules _._ 900 mL of 0.1 N HCl solution was used as dissolution medium, stirred at 100 rpm and kept at constant tempera­ ture of 37 ± 0.5 <sup>◦</sup> C, which ensured sink condition. An on-line coupled Agilent 8453 UV–VIS spectrophotometer (Hewlett-Packard, USA) was used to measure the concentration of dissolved ASA for 2 h by sampling every 2.5 min until 20 min, followed by sampling in every 10 min until 120 min. Due to the possible degradation of the dissolved ASA to SA during the dissolution process (in preliminary tests ~ 2% of the ASA degraded in 1 h), the SA and ASA needed to be quantified simultaneously. Although this would be possible by an HPLC method, a Partial Least Squares (PLS) calibration model was developed for the evaluation of the UV–VIS spectra based on HPLC data to avoid the lengthy and labor-intensive HPLC measurement. The degradation was observed in the UV–VIS spectra by the gradual shift of the 229 nm ASA band, the appearance of a weak and broad SA band in the 270–320 nm region, which overlapped with a weak signal of the ASA in the 260–280 nm region. Therefore, the PLS model was developed for the 278–320 nm region of the mean Table 3 Calibration and validation samples of the _in vitro_ dissolution studies. The sam­ <u>ples that were measured both in powder and capsule form are indicated in bold.</u> centered UV absorbance spectra with 2 latent variables. The calibra­ tion samples contained different amounts of ASA and SA in the 80–120 and 0–30 mg L <sup>-1</sup> concentration ranges, respectively, which composition was determined by an HPLC method [28]. The R <sup>2</sup> of the calibration and cross-validation was both 0.98, while a root mean square error of cali­ bration and cross-validation of 4.78 and 5.46 mg L <sup>-1</sup> was obtained, respectively. _2.2._ _Mathematical modeling and kinetic parameter identification_ The model-equations were solved in MATLAB R2020a (Math­ Works®, USA), the integrated flowsheet simulation was implemented in Simulink 10.1 (MathWorks®, USA). _2.2.1._ _Flow synthesis_ Based on the experimental observations [28], the reaction network of the acetylation step was constructed by accounting not only the conversion of SA to ASA (Eq. (1.a)) but also the formation of two im­ purities, namely acetylsalicylic ethanoic anhydride (Impurity A) and acetylsalicylic anhydride (Impurity B) [28] (Eqs. (1.b) -(1.d)). _SA_ + _AA_ → _k_ 1 _ASA_ + _HA_ (1.a) _ASA_ + _AA_ → _k_ 2 _A_ + _HA_ (1.b) _A_ + _ASAk_ 3⇌ _,k_ 3 _rB_ + _HA_ (1.c) _SA_ + 2 _AA_ → _k_ 4 _A_ + 2 _HA_ (1.d) where _HA_, _A_ and _B_ denote acetic acid, Impurity A and Impurity B, respectively. At the subsequent quenching step, it was observed, that besides the decomposition of AA using EtOH, possible reactions of Impurity A and ASA also have to be considered (Eqs. (2.a) -(2.c)): _A_ + _EtOH_ → _k_ 5 _ASA_ + _EtOAc_ (2.a) _AA_ + _EtOH_ → _k_ 6 _EtOAc_ + _HA_ (2.b) _ASA_ + _EtOHk_ 7⇌ _,k_ 7 _rSA_ + _EtOAc_ (2.c) In Eqs. (1)-(2) _ki_ corresponds to the reaction rate constant expressed as Calibration samples Validation samples Sample Sieve fraction [μm] Sample <u>name</u> <u>name</u> Sieve fraction [μm] Sample <u>name</u> Sieve fraction [μm] 63 63 - 100 63 þ 300 (63 - 100) þ(300 - 500) 100 100 - 150 63 þ 100 þ (63 - 100) þ(100 - 150) 150 þ(150 - 200) 150 150 - 200 63 + 200 + (63–100) +(200–300)+ 500 ( _>_ 500) 200 200 - 300 0 + 63 ( _<_ 63)+(63–100) 300 300 - 500 100 100 - 150 500 >500 150 150 - 200 100 þ 300 (100 - 150) 200 200 - 300 þ(300 - 500) where _Ai_ is the pre-exponential factor, _Ea,i_ [J mol <sup>−</sup> <sup>1</sup> ] is the activation energy, _T_ [ <sup>◦</sup> C] is the reaction temperature and _R_ is the gas constant (8.314 J K <sup>−</sup> <sup>1</sup> mol <sup>−</sup> <sup>1</sup> ) of the _i_ <sup>th</sup> reaction. The rate law equations were expressed as _ki_ = _Ai_ ⋅ _e_ <sup>−</sup> _Ea,i_ _RT_ (3) 150 þ 200 (150 - 200) þ(200 - 300) 200 200 - 300 300 300–500 200 þ 300 þ 500 (200 - 300) þ(300 - 500) þ(>500) MSMPR 1 ∏ _cX_ ( _t_ ) (4) <u>63 þ 500</u> <u>(63</u> - <u>100) þ(>500)</u> <u>MSMPR 2</u> _ri_ = _ki_ ⋅ _B. Nagy et al. Chemical Engineering Journal 419 (2021) 129947_ where _cX_ denotes the concentration of the reaction component taking part in the given reaction. The rate law equations for each reaction are detailed in the Appendix. The continuous flow synthesis can be described using an axial dispersion tubular reactor model, which consists of a set of partial dif­ ferential equations (PDEs) [31]: 0 _if_ _t <_ <sup>_<u>τ</u>_</sup> 2 _<u>τ</u>_ <sup>2</sup> 2 _t_ <sup>3</sup> <sup>_if_</sup> <sup>_t_</sup> <sup>≥</sup> 2 <sup>_<u>τ</u>_</sup> _E_ ( _t_ ) = ⎧ ⎪⎨ ⎪⎩ (12) _<u>∂cX</u>_ _<u>∂∂ctX</u>_ <sup>= −</sup> <sup>_vx_</sup> <sup>~~⋅~~</sup> <sup>_<u>∂</u>_</sup> _∂_ <sup>_<u>c</u>_</sup> _x_ <sup>_<u>X</u>_</sup> <sup>_<u>∂</u>_</sup> _∂_ <sup>_<u>c</u>_</sup> _x_ <sup>_<u>X</u>_</sup> <sup>+</sup> <sup>_Dm_</sup> <sup>~~⋅~~</sup> <sup>_<u>∂</u>_</sup> _∂_ <sup>2</sup> _x_ <sup>_<u>c</u>_</sup> <sup>2</sup> <sup>_<u>X</u>_</sup> (5) _∂_ <sup>2</sup> _x_ <sup>_<u>c</u>_</sup> <sup>2</sup> <sup>_<u>X</u>_</sup> <sup>+</sup> <sup>_r_</sup> where the mean residence time ( _τ_ ) and the standard deviation ( _σ_ <sup>2</sup> ) of the RTD is calculated as: _τ_ = ∫ <sup>∞</sup> _tE_ ( _t_ ) _dt_ (13) 0 where _x_ corresponds to the spatial coordinate along the flow reactor, _t_ is the time, _cX_ is the concentration of the reaction component _X_, _Dm_ is dispersion coefficient and _r_ represents a set of rate law equations. The initial conditions for the PDEs correspond to the initial concentrations along the length of the reactor. At the reactor inlet and outlet, the Danckwerts boundary conditions apply [31], where the inlet boundary conditions are _σ_ <sup>2</sup> = ∫ <sup>∞</sup> ( _t_ - _τ_ ) <sup>2</sup> _E_ ( _t_ ) _dt_ (14) 0 _vx_ ⋅[ _cX_ (0) − _cX_ 0 ] − _Dm_ ~~⋅~~ <sup>_<u>dcX</u>_</sup> _dx_ _x_ =0 = 0 (6) and the outlet boundary conditions are given as: _<u>dcX</u>_ _dx_ _x_ = _L_ = 0 (7) Although Eqs. (5)-(7) enables the concentration calculation through time and the spatial coordinate of the reactor, it requires the solution of PDEs, which cannot be directly implemented in the integrated, dynamic flowsheet simulation in Simulink. To overcome this problem, a tank-inseries (TIS) approximation of the axial dispersion model was used in this study, approximating the tubular flow reactor as a cascade of _N_ equalsized continuous stirred-tank reactors (CSTRs). In this case, assuming constant working volume, an ordinary differential equation (ODE) sys­ tem was formed for each CSTR to describe the changes in the concen­ trations of the reaction components for both the acetylation (Eq.8) and quenching (Eq.9) steps. (See the Appendix for the complete ODE systems.) _<u>a,X</u>_ = _r_ + <sup>_c_</sup> _<u>a</u>_ <sup>0</sup> _<u>,</u>_ _dt_ _τa_ (8) (9) _<u>dca,X</u>_ _<u>a</u>_ <sup>0</sup> _<u>,X</u>_ <sup>−</sup> <sup>_ca,X_</sup> The number of necessary reactors is then obtained as: _N_ = <sup>_<u>σ</u>_</sup> <sup>2</sup> (15) _τ_ <sup>2</sup> _N_ was calculated for the _τa_ and _τq_ values detailed in Tables 1 and 2. The calculations resulted in _N_ values between 3.920 and 3.933, with a slight rising trend as _τ_ increased. Therefore, 4 CSTRs were used in cascade for the simulation of both the acetylation and quenching steps in the continuous reactors. The compartmental model assumes that there is only convective transfer between the CSTRs of the cascade without diffusive transfer, which is a basic assumption of the traditional tank-inseries model, as detailed in [31]. The reaction kinetic parameters ( _Ai_ and _Ea,i_ ) were estimated using the batch and the continuous experimental data for the acetylation step in different combinations and the flow reactions for the quenching step (see Tables 1 and 2). The calculations were performed using the Covariance Matrix Adaptation Evolution Strategy (CMA-ES), an accel­ erated global optimization algorithm that improves the chance of finding the global optimum [32]. The objective functions were formed depending on whether the batch or the continuous experimental data was used for parameter estimation. In the case of the batch data, the normalized mean square errors (nMSE) were calculated between the calculated and measured concentrations for SA, ASA, Impurity A and Impurity B. Normalization of the error components was performed by the difference between the maximum and minimum of the concentration for each component, so that each error component had equal weight in the objective function, irrespective of its concentration range (Eq. (16)). _<u>dcq,X</u>_ = _r_ + _dt_ _c_ <sup>0</sup> _<u>q,X</u>_ <sup>−</sup> <sup>_cq,X_</sup> _τa_ In Eqs. (8)-(9), the subscripts _a_ and _q_ are referring to the acetylation and quenching step, respectively, _τ_ denotes the mean residence time [s] in the reactor, which is infinite during the modeling of the batch re­ actions and expressed as Eq. (10) for the continuous reactor. _τ_ = <sup>_<u>V</u>_</sup> (10) _F_ where _V_ is the reactor volume [m <sup>3</sup> ] and _F_ is the flow rate [m <sup>3</sup> s <sup>−</sup> <sup>1</sup> ]. For Eqs. (8)-(9), the initial conditions _ca,X_ (0) = _ca,X,_ 0 and _cq,X_ (0) = _cq,X,_ 0 apply, where the initial _ca,X,_ 0 concentration was calculated based on the concentration of the SA solution and the applied _AAeq_, while _cq,X,_ 0 was calculated from the outlet acetylation concentrations and _EtOHeq_ . The volume of the CSTRs in the cascade ( _Vi_ ) is calculated by dividing the total volume of the flow reactor by the reactor number _N_ (Eq. (11)). _Vi_ = <sup>_<u>V</u>_</sup> (11) _N_ The number of the necessary reactors was derived based on the reactor residence time distribution (RTD). The reactors were assumed to operate as laminar flow reactors (the Reynolds numbers ranged from 0.5 to 5 for the reactor settings summarized in Table 1-2), which residence time is expressed as Eq. (12) [31]. ∑ _K_ ( _cj,X_ - _cm,j,X_ ~~(~~ )2 ~~)~~ _cm,X_ _nMSEX_ = max <u>1</u> _<u>K</u>_ _<u>j</u>_ <u>=1</u> _X_ - _cm,j,X_ (16) - min( _cm,X_ ) where _cm,j_ and _cj_ are the measured and calculated concentrations in the _j_ <sup>th</sup> sample point, _K_ is to the total number of the sample points and _X_ denotes component SA, ASA, Impurity A and Impurity B. For the continuous experiments, only steady state concentrations were avail­ able, from which the nMSEs were further calculated by using normalized concentration values ( _cnorm,m,j_, _cnorm,j_ ), where the normalization was done to unit sum (Eq. (17)). This could be reasoned by the fact, that for the simulation of the continuous integrated processes, it is more important to capture the concentrations relative to each other caused by the varying operation parameters, rather than the absolute concentrations. In this way, information on the absolute concentration is eliminated, but including the _nMSEnorm,X_ terms into the objective function (Eq. (21)) guided the parameter estimation to retain the concentrations relative to the different settings. _cnorm,j,X_ - _cnorm,m,j,X_ ( ∑ _K_ ~~(~~ )2 _X_ - _cnorm,m,j,X_ (17) - min( _cnorm,m,X_ ) _nMSEnorm,X_ = max <u>1</u> _<u>K</u>_ _<u>j</u>_ <u>=1</u> _cnorm,m,X_ ~~)~~ _B. Nagy et al. Chemical Engineering Journal 419 (2021) 129947_ Table 4 <u>Constants and kinetic parameters of the crystallization model</u> _<u>.</u>_ <u>Variable</u> <u>Unit</u> <u>Value</u> _kv_ - _π/_ 6 _ρc_ kgm <sup>−</sup> <sup>3</sup> 1400 _Vc_ m <sup>3</sup> 2.35 × 10 <sup>-4</sup> _kb_ # m <sup>-3</sup> s <sup>−</sup> <sup>1</sup> 3.48 × 10 <sup>6</sup> Table 7 Estimated kinetic parameters and validation errors for the quenching and <u>dissolution models (95% confidence intervals are in parenthesis).</u> Quenching Dissolution _A_ 5 1.44 £ 10 <sup>5</sup> (1.15 × 10 <sup>5</sup> ; 1.82 _kd_ 1.98 £ 10 <sup>-7</sup> (3.14 × 10 <sup>-7</sup> ; 1.25 × <u>10</u> <sup>5</sup> <u>)</u> × 10 <sup>-7</sup> <u>)</u> _Ea_ _,_ 5 55,595 (fix) _d_ 0 (fix) _b_ – 0.928 _kg_ ms <sup>−</sup> <sup>1</sup> 8.51 × 10 <sup>11</sup> _A_ 6 0 (fix) _p_ 1 1 (fix) _Ea_ _,_ 6 0 (fix) _p_ 2 0 (fix) _A_ 7 1.49 £ 10 <sup>7</sup> (9.19 × 10 <sup>6</sup> ; 2.41 × 10 <sup>7</sup> ) _Error_ 68.73 _Ea_ _,_ _g_ Jmol <sup>−</sup> <sup>1</sup> 97,323 _Ea_ _,_ 7 84,153 (fix) Table 5 <u>Constants of the</u> _<u>in vitro</u>_ <u>dissolution model.</u> <u>Variable</u> <u>Unit</u> <u>Value</u> _mc_ mg 100 _Vd_ mL 900 _ρd_ kg m <sup>−</sup> <sup>3</sup> 1000 _td_ _,_ _max_ min 120 _A_ _,_ _r_ 7 8.22 £ 10 <sup>1</sup> (8.27 × 10 <sup>0</sup> ; 8.17 × 10 <sup>2</sup> ) _Ea_ _,_ _r_ 7 45,883 (fix) _Error_ 1.90 (1.57; 2.35) _Td_ ◦C 37 _c_ <sup>*</sup> _d_ [g ASA/g solution] 3.98 × 10 <sup>-3</sup> _c_ <sup>*</sup> where _<u>cj,X</u>_ _cnorm,j,X_ = ~~∑~~ _K_ _j_ =1 <sup>_cj,X_</sup> _<u>cm,j,X</u>_ _cnorm,m,j,X_ = ~~∑~~ _K_ _j_ =1 <sup>_cm,j,X_</sup> (18) (19) Denoting the vector of the considered decision variables by _D_, the objective functions of the parameter estimation ( _O_ ) from batch and continuous data took the form: _O_ ( _D_ ) _batch_ = _nMSESA_ + _nMSEASA_ + _nMSEA_ + _nMSEB_ (20) ( _nMSEnorm,SA_ _O_ ( _D_ ) _cont_ = _nMSESA_ + _nMSEASA_ + _nMSEA_ + _nMSEB_ + _w_ ⋅ (21) the objective function was obtained by summarizing _O_ ( _D_ ) _batch_ and _O_ ( _D_ ) _cont_ . The error of fit to the validation experiments was calculated the same way, with the exception that for the continuous samples _w_ = 0 were used for a better comparison of the batch and continuous results. In addition to the estimation of nominal parameters, the effects of parameter uncertainties were analyzed on the simulated outputs. This was performed by executing a sufficiently large number of simulations (1000) with kinetic parameter combinations, obtained by Monte-Carlo sampling from the confidence hyper ellipsoid defined by the covari­ ance matrix of the nominal parameters [33]. _2.2.2._ _Continuous crystallization_ The continuous crystallization of ASA from the reaction mixture was simulated using a one-dimensional population balance model (PBM), developed formerly by the authors of this paper [30]. It was assumed that the kinetics does not depend on the solvent composition. In the previous study [30], various model structures were tested, accounting secondary nucleation, size-independent growth and size-independent agglomeration and it was observed that neglecting agglomeration did not result in considerable performance degradation: the model with agglomeration resulted in 0.770 fitting error as opposed to the 0.772 error obtained without agglomeration, and no visible difference could be observed in the fit of the validation CSDs. For more details see [30]. Since the simulation of agglomeration has the highest computational burden amongst the considered mechanisms, a secondary nucleation and growth PBM was applied. In this way, the PB equation (PBE) took the form of Eq. (22), where the first term on the left-hand side defines + _nMSEnorm,ASA_ + _nMSEnorm,A_ + _nMSEnorm,B_ ) In Eq. (20)-(21), the decision variable _D_ comprises the _Ai_ and _Ea,i_ parameters of the acetylation and quenching reactions (see Table 6 and 7). In Eq. (21), the weight factor ( _w_ ) was set to 2 based on preliminary optimizations such as both the absolute concentration values as well as their relative changes through the experiments were satisfactory. When both the batch and continuous data were used for parameter estimation, Table 6 <u>Estimated kinetic parameters and validation errors for the acetylation with different model structures (95% confidence intervals are in parenthesis).</u> _<u>Model 1</u>_ _<u>Model 2</u>_ _<u>Model 3</u>_ _<u>Model 4</u>_ _Dataset_ batch Batch continuous batchþcontinuous _Reaction_ Eqs. (1.a, 1.b, 1.c) Eqs. (1.a, 1.c, 1.d) Eqs. (1.a, 1.c (irreversible), 1.d) Eqs. (1.a, 1.c, 1.d) _schemes_ Eqs. (1.a, 1.b, 1.c) Eqs. (1.a, 1.c, 1.d) Eqs. (1.a, 1.c (irreversible), 1.d) Eqs. (1.a, 1.c, 1.d) _A_ 1 6.06 £ 10 <sup>5</sup> (3.77 × 10 <sup>4</sup> ; 9.76 × 10 <sup>6</sup> ) 4.34 £ 10 <sup>2</sup> (6.46 × 10 <sup>1</sup> ; 2.91 × 10 <sup>3</sup> ) 8.93 £ 10 <sup>3</sup> (1.23 × 10 <sup>3</sup> ; 6.46 × 10 <sup>4</sup> ) 7.48 £ 10 <sup>2</sup> (3.28 × 10 <sup>2</sup> ; 1.71 × 10 <sup>3</sup> ) _Ea_ _,_ 1 56,313 (49383; 63244) 38,802 (34017; 43587) 48,138 (42684; 53592) 40,172 (38072; 42273) _A_ 2 1.93 (6.31 × 10 <sup>-2</sup> ; 5.59 × 10 <sup>1</sup> ) 0 (fix) 0 (fix) 0 (fix) _Ea_ _,_ 2 28,350 (19283; 37417) 0 (fix) 0 (fix) 0 (fix) _A_ 3 3.54 £ 10 <sup>16</sup> (6.06 × 10 <sup>14</sup> ; 2.07 × 2.83 £ 10 <sup>6</sup> (6.79 × 10 <sup>4</sup> ; 1.18 × 10 <sup>8</sup> ) 6.28 £ 10 <sup>6</sup> (3.94 × 10 <sup>-2</sup> ; 9.99 × 1.38 £ 10 <sup>8</sup> (3.60 × 10 <sup>-9</sup> ; 5.28 × 10 <sup>24</sup> ) 10 <sup>17</sup> ) 10 <sup>14</sup> ) _Ea_ _,_ 3 124,397 (112501; 136294) 62,468 (52756; 72180) 74,964 (20396; 129533) 70,497 (-33965; 174960) _Ar_ 3 3.17 £ 10 <sup>-14</sup> (6.74 × 10 <sup>3</sup> ; 1.49 × 10 <sup>-5</sup> ) 4.70 £ 10 <sup>-4</sup> (2.31 × 10 <sup>-2</sup> ; 9.58 × 10 <sup>-</sup> 4.70 £ 10 <sup>-4</sup> (2.31 × 10 <sup>-2</sup> ; 9.58 × 10 <sup>-</sup> 0 (fix) 1.59 £ 10 <sup>3</sup> (8.72 × 10 <sup>-2</sup> ; 2.89 × 10 <sup>-5</sup> ) 6) _Ea_ _,_ _r_ 3 0 (fix) 0 (fix) 0 (fix) 0 (fix) _A_ 4 0 (fix) 2.23 £ 10 <sup>4</sup> (2.34 × 10 <sup>3</sup> ; 2.12 × 10 <sup>5</sup> ) 2.53 £ 10 <sup>4</sup> (1.72 × 10 <sup>3</sup> ; 3.71 × 10 <sup>5</sup> ) 6.46 £ 10 <sup>4</sup> (5.02 × 10 <sup>3</sup> ; 8.32 × 10 <sup>5</sup> ) _Ea_ _,_ 4 0 (fix) 53,862 (48025; 59700) 56,114 (49473; 62755) 56,601 (49975; 63228) _Errorb_ 1.36 (0.63; 2.29) 0.79 (0.41; 1.70) 0.86 (0.17; 2.78) 1.02 (0.48; 2.15) _Errorc_ 95.0 (73.7; 113.1) 35.4 (19.3; 57.6) 46.8 (11.8; 97.6) 42.5 (23.2; 71.4) _B. Nagy et al. Chemical Engineering Journal 419 (2021) 129947_ the temporal evolution of the crystal’s population density function ( _n_ ( _L, t_ ), denoting the number of crystals in the _L_, _L_ + _dL_ crystal size domain at _t_ time) and the second term takes into account the effect of crystal growth. The right-hand side stands for the nucleation and the inand outflow of the continuous system, respectively. _<u>∂n</u>_ ( _<u>L, t</u>_ ) ( _<u>L, t</u>_ ) + _G_ <sup>_<u>∂n</u>_</sup> <sup>(</sup> <sup>_<u>L, t</u>_</sup> <sup>)</sup> _∂t_ _∂L_ <sup>(</sup> <sup>_<u>L, t</u>_</sup> <sup>)</sup> = _Bδ_ ( _L_ - _Ln_ ) + <sup>_<u>nin</u>_</sup> <sup><u>(</u></sup> <sup>_<u>L, t</u>_</sup> <sup><u>)</u></sup> _∂L_ _τc_ _τc_ - <sup>_<u>n</u>_</sup> <sup>(</sup> <sup>_<u>L, t</u>_</sup> <sup>)</sup> _τc_ _2.2.3._ _In vitro dissolution prediction_ The _in vitro_ dissolution of the obtained ASA crystals was described using a population balance model. It could be assumed, that in the USP apparatus the temporal evolution of the _n_ ( _L, t_ ) population density function ( _i.e.,_ the number-based CSD) is only affected by the dissolution of the particles. Therefore, the PBE takes the form of _<u>∂n</u>_ <u>(</u> _<u>L, t</u>_ <u>)</u> <u>(</u> _<u>L, t</u>_ <u>)</u> - _D_ <sup>_<u>∂n</u>_</sup> <sup><u>(</u></sup> <sup>_<u>L, t</u>_</sup> <sup><u>)</u></sup> _∂t_ _∂L_ <sup><u>(</u></sup> <sup>_<u>L, t</u>_</sup> <sup><u>)</u></sup> = 0 (32) _∂L_ (22) In Eqs. (22), _L_ denotes the crystal size [m], _t_ is the time [s], _G_ is the rate of crystal growth [m s <sup>−</sup> <sup>1</sup> ], _B_ is the rate of nucleation [#m <sup>−</sup> <sup>3</sup> s <sup>−</sup> <sup>1</sup> ], _nin_ ( _L, t_ ) is the number density function of crystals in the feeding stream [#m <sup>−</sup> <sup>4</sup> ], _τc_ is the mean residence time in the crystallizer [s], _Ln_ is the nuclei size [m] and _δ_ is the Dirac-delta function. _Ln_ has a very small, practically zero value, therefore it was neglected in the calculations. The initial condition (Eq. (23)) of the PBE gives the initial CSD _n_ 0( _L_ ) in the crystallizer, whereas the boundary condition states that the crystals have a finite size (Eq. (24)). _n_ ( _L,_ 0) = _n_ 0( _L_ ) (23) _n_ ( _L_ →∞ _, t_ ) = 0 (24) The secondary nucleation (Eq. (25)) is expressed as the function of the second moment of the distribution ( _μ_ 2 [m <sup>2</sup> m <sup>−</sup> <sup>3</sup> ], (Eq.(27)) and the relative supersaturation ( _σc_ ) [-] (Eq.(27)). _B_ ( _σc, μ_ 2) = _kbσ_ <sup>_b_</sup> _c_ <sup>_μ_</sup> 2 (25) where _D_ is the rate of the dissolution [m s <sup>−</sup> <sup>1</sup> ] and the same initial and boundary conditions (Eq. (23–24)) apply as for the crystallization PBM. The calculation of the initial population density [# m <sup>−</sup> <sup>4</sup> ] from the normalized (measured or simulated) CSD is summarized in the Appendix. The size-dependent dissolution rate is defined as _D_ ( _σd, L_ ) = _kdσ_ <sup>_d_</sup> _d_ <sup>(1 +</sup> <sup>_p_</sup> <sup>1</sup> <sup>_L_</sup> <sup>)</sup> <sup>_p_</sup> <sup>2</sup> (33) where _kd_ and _d_ denote the dissolution rate coefficient [m s <sup>−</sup> <sup>1</sup> ] and the dissolution rate exponent [-] and _p_ 1 and _p_ 2 are coefficients indicating the size-dependence of the dissolution. _σd_ is the relative supersaturation, expressed in the same manner as for the crystallization model (Eq. (27)). Based on literature data [35,36], the solubility of ASA ( _c_ <sup>*</sup> _d_ <sup>) in the 0.1 N</sup> <sup>_d_</sup> _d_ <sup>(1 +</sup> <sup>_p_</sup> <sup>1</sup> <sup>_L_</sup> <sup>)</sup> <sup>_p_</sup> <sup>2</sup> (33) _μ_ 2 = ∫ ∞ _L_ <sup>2</sup> _n_ ( _L, t_ ) _dL_ (26) 0 _σc_ = <sup>_<u>cc</u>_</sup> _c_ <sup><u>*</u></sup> Based on literature data [35,36], the solubility of ASA ( _c_ <sup>*</sup> _d_ <sup>) in the 0.1 N</sup> HCl dissolution medium was approximated as 4 mg mL <sup>−</sup> <sup>1</sup>, which was further converted to mass fractions. As the dissolution tests were con­ ducted by dissolving 100 mg ASA in the 900 mL dissolution medium ( _i._ _e.,_ the maximum concentration is 0.11 mg mL <sup>−</sup> <sup>1</sup> ), this means, that experimentally the sink condition criteria met ( _i.e.,_ dissolution media can dissolve at least 3 times the amount of drug that is the dosage form). Nevertheless, the supersaturation was accounted in Eq. (33) for the sake of better generalization of the model but is not expected to have a sig­ nificant effect in the studied case. As the dissolution tester maintains a constant dissolution temperature ( _Td_ ) of 37 <sup>◦</sup> C, the temperature dependence solubility is neglected. Along with the PBE, the mass balance for the solute concentration was formulated as Eq. (34), with the initial condition of _c_ (0) = 0 _._ _c_ <sup><u>*</u></sup> _c_ - 1 (27) _c_ In Eqs. (25)-(27), _kb_ and _b_ denote the nucleation rate coefficient [# m <sup>−</sup> <sup>3</sup> s <sup>−</sup> <sup>1</sup> ] and the nucleation rate exponent [-], respectively. _c_ <sup>*</sup> _c_ <sup>is the</sup> solubility [kg m <sup>−</sup> <sup>3</sup> ], which, in the case of a combined cooling-antisolvent crystallization, is dependent on the crystallization temperature ( _Tc_ [ <sup>◦</sup> C]) and the antisolvent volume fraction _v_ [-][30]: _c_ <sup>*</sup> ( _Tc, v_ ) = 54 _._ 51 − 118 _._ 1 _v_ + 69 _._ 55 _v_ <sup>2</sup> + 2 _._ 078 _Tc_ - 2 _._ 459 _vTc_ (28) The growth rate is described as a function of the relative supersat­ uration and a temperature-dependent rate factor ( _G_ 0( _σ, Tc_ )), as expressed in Eq. (29), where _kg_ denotes the growth rate coefficient [m s <sup>−</sup> <sup>1</sup> ], _Ea,g_ represents the activation energy of growth [J mol <sup>−</sup> <sup>1</sup> ]. _<u>dcd</u>_ _dt_ <sup>= 3</sup> <sup>_ρckv_</sup> ∫ ∞ _D_ ( _σd, L_ ) _L_ <sup>2</sup> _n_ ( _L, t_ ) _dL_ (34) 0 where _cd_ denotes the ASA concentration in the dissolution medium. From Eq. (34), the dissolution curve was obtained as _DR_ ( _t_ ) = <sup>_<u>cd</u>_</sup> <sup><u>(</u></sup> <sup>_<u>t</u>_</sup> <sup><u>)(</u></sup> <sup>_<u>mc</u>_</sup> <sup>+</sup> <sup>_<u>ρdVd</u>_</sup> <sup><u>)</u></sup> _mc_ ~~⋅~~ 100 (35) (− _<u>Ea,g</u>_ ) _G_ 0( _σc, Tc_ ) = _kgσc_ exp _RTc_ (29) Along with the PBE, the corresponding mass balances were solved for the solute concentration (Eq. (30)) and antisolvent volume fraction (Eq. (31)). + <sup>_<u>cin,c</u>_</sup> <sup>−</sup> <sup>_<u>cc</u>_</sup> _τc_ ∫ _Lmax_ _L_ <sup>2</sup> _n_ ( _L, t_ ) _dL_ 0 ) _<u>dcc</u>_ _dt_ <sup>=</sup> <sup>−</sup> <sup>_ρckv_</sup> ( _BLn_ <sup>3</sup> <sup>+ 3</sup> <sup>_G_</sup> <sup>0</sup> (30) (31) where _mc_, _Vd_ and _ρd_ correspond to the sample mass [kg], the volume of the dissolution medium [m <sup>3</sup> ] and the density of the dissolution me­ dium [kg m <sup>−</sup> <sup>3</sup> ]. The values of these parameters were chosen based on the experimental method (see Section 2.1.3) and summarized in Table 5. _DR_ [%] is the dissolved ratio, expressed as the percentage of the total sampled mass. Corresponding to the experiments, the dissolution was modeled for _td,max_ = 120 min and during the integrated simulation the time (T85) needed to reach the 85% _DR_ was also calculated. Similar to the crystallization model, a semi-discrete implementation of a high-resolution finite volume method (HR-FVM) was used for solving the PBE using the same computational grid. The parameter estimation was performed using the calibration powder samples sum­ marized in Table 3 and using the root mean square error (RMSE) be­ tween the measured and calculated concentration values as an objective function ( _O_ ( _kd, d, p_ 1 _, p_ 2) _d_ ). _<u>dv</u>_ _<u>dvdt</u>_ <sup>=</sup> <sup>_<u>vin</u>_</sup> _τ_ <sup>−</sup> _c_ <sup>_<u>v</u>_</sup> _τc_ where _ρc_ [kg m <sup>−</sup> <sup>3</sup> ] and _kv_ [-] represent the crystal density and volumetric shape factor, respectively. The mass balances have the _c_ (0) = _c_ 0 and _v_ (0) = _v_ 0 initial conditions, which give the initial solute con­ centration and solvent composition in the crystallizer. A semi-discrete implementation of a high-resolution finite volume method (HR-FVM) was applied to solve the growth part (convective flux) of the PBE [34], simulating the CSD in the range of 0–2000 μm on a uniform grid with 500 cells. The constants used for the simulations are summarized in Table 4. For further details about the crystallization model development, the reader is referred to [30]. where _DR,m,j_ and _Kd_ denote the measured dissolved ratio and the total number of the sampled time points, respectively. For the sake of simplicity in the integrated simulation, it was ( _DR,j_ - _DR,m,j_ _Kd_ (36) )2 _O_ ( _kd, d, p_ 1 _, p_ 2) _d_ = √ √√∑ _Kd_ √ √ _j_ =1 _B. Nagy et al. Chemical Engineering Journal 419 (2021) 129947_ assumed, that the dissolution of the ASA capsules is mainly affected by the varying ASA particle sizes, that is the presence of the capsule shell causes a constant retarding effect. This assumption was also supported by the measured dissolution curves (see Section 3.1). Therefore, the model for the dissolution of the capsules was modified only by consid­ ering a linear relationship between the powder dissolution rate ( _D_ ( _σd, L_ )), that is multiplying _D_ ( _σd, L_ ) with a constant retarding factor. Once _D_ ( _σd, L_ ) was determined based on the powder dataset, the retarding factor was also estimated based on the experimental capsule dissolution curves (by minimizing the difference between the measured and simulated curves). Further, more detailed studies will be conducted in the future when the relationship between the powder and capsule dissolution is more complex, _e.g.,_ when considerable lag time also need to be accounted in the model due to the presence of the capsule shell, or the effect of excipients also need to be accounted. _2.2.4._ _Integrated flowsheet model_ After developing the mathematical models of the unit operations as described in Section 2.2.1-2.2.3., the integrated process model was constructed as illustrated in Fig. 1. The properties of the reaction mixture were calculated by the synthesis model. The flow rate after quenching ( _Fq_ ) is used for calculating the necessary flow rate of the antisolvent to obtain the defined antisolvent-solvent volume fraction ( _v_ ). For simplicity, the antisolvent-solvent volume ratio ( _AS_ ) is used further as an operating parameter, from where _v_ is obtained as _<u>AS</u>_ _v_ = (37) _AS_ + 1 and consequently, the flow rate in the crystallizer is calculated: _Fc_ = 76 _Fq_ + 76 _Fq_ ⋅ _AS_ (38) As can be seen in Section 2.1, the synthesis and the crystallization experiments were conducted at a different scale, being the volume of the acetylation and quenching tube 4.19 and 0.89 mL, respectively, compared to the 235 mL MSMPR working volume. Therefore, _Fq_ was multiplied by 76, which was found in preliminary studies to fit the experimental crystallization flow rates. Experimentally, this could mean that the synthesis is performed by using 76 parallel tubes. The ASA concentration in the quenched reaction mixture was used to calculate the _c_ 0 inlet concentration in the crystallizer: _cin_ = <sup>_<u>cq,ASA</u>_</sup> (39) _AS_ + 1 (In the synthesis models, molar concentrations are calculated, whereas in the crystallization step these were converted into kg m <sup>−</sup> <sup>3</sup> .) For the integrated simulations, the crystallization model was amended to also take into account the possible effect of the impurities (consid­ ering the sum of _cq,A_ and _cq,B_ ) on the crystallization kinetics. It is important to note, that we have no experimental data about the impu­ rities influencing the crystallization, that is, this aspect of the study is purely for simulation purposes. However, the available literature sug­ gests, that for example, Impurity B (acetylsalicylic anhydride) may have an impact on the crystallization kinetics of ASA [37,38]. The crystal growth in the presence of the impurity was described using the model of Kubota and Mullin [39,40], where the impurities are assumed to be absorbed in kink sites with a pinning mechanism and with increasing surface coverage, this results in the linear decrease in the step velocity. By using the Langmuir adsorption isotherm, the step velocity can be related to the impurity concentration of the solution and with the assumption that the growth rate is proportional to the step velocity, the expression of the growth rate (Eq. (29)) is modified to [ _G_ ( _σ, T, ci_ ) = _G_ 0( _σ, T_ )⋅ _<u>αKLci</u>_ 1 − 1 + _KLci_ (40) ] where _KL_ [kg m <sup>−</sup> <sup>3</sup> ] denote the Langmuir constant and _α_ [-] is the effectiveness factor, that indicates how efficiently the impurity inhibits the crystal growth. When _α >_ 1, the growth rate decreases fast to reach 0 even at small _KLci_ values, at _α_ = 1 the growth rate approaches zero asymptotically, while for _α <_ 1 it approaches a non-zero value. Although different impurity species can exhibit different effectiveness, for simplicity, in this study Impurity A and B were treated together. Consequently, the impurity concentration _ci_ was expressed as: _ci_ = _cq,A_ + _cq,B_ (41) As there were no experimental data available to estimate _KL_ and _α_, different values were tested in sensitivity analysis to investigate their effect on the integrated model. The _in vitro_ dissolution prediction model was connected downstream the integrated production of ASA with the assumption that appropriate filtration and drying occur between the crystallization and dissolution testing. These steps were studied by the authors of this paper [28,30]. It is also assumed that the moisture content of the ASA powder can be neglected after filtration and drying, that is the mass flow rate of the ASA powder ( _m_ ˙ ) can be directly calculated from the crystallization model: _m_ ˙ = _Fc_ ⋅ _cs_ (42) where _cs_ denotes the solid concentration in the crystallization slurry. The dissolution model constantly performed the surrogate dissolution test with an _mc_ sample mass every time a predefined _mprod_ product mass is collected from the continuous line. The CSD of the sample is the average of the CSDs calculated by the crystallization during the Fig 1. Dynamic flowsheet model of continuous ASA production. _B. Nagy et al. Chemical Engineering Journal 419 (2021) 129947_ timeframe of the intermittent product collection. In this work, the value of _mprod_ was set to 1000 mg, which means the dissolution testing after 10 dosage units, however, it can be set to any arbitrary value _e.g.,_ to fit the sampling frequency requirements of the regulatory guidelines. _2.3._ _Simulation case studies on the developed flowsheet model_ _2.3.1._ _Optimization studies_ Optimization studies of the standalone synthesis, crystallization, as well of the integrated process were performed and compared. The optimization of the synthesis steps was conducted by calling the _fmincon_ optimization function of Matlab® with the default interior-point algo­ rithm. The integrated flowsheet model was optimized in the Simulink Design Optimization Toolbox, where the sequential quadratic pro­ gramming algorithm was used. For the synthesis, five process parameters were chosen to be opti­ mized: the temperature of the acetylation ( _Ta_ ) and quenching reactor ( _Tq_ ), the amount of AA ( _AAeq_ ) and EtOH ( _EtOHeq_ ) expressed as the mole equivalent of the initial SA and the residence time in the acetylation reactor ( _τa_ ), which, together with _AAeq_ and _EtOHeq_, determines the residence time in the quenching reactor, too. Additionally, the constraint of _EtOHeq_ ≥ _AAeq_ was used to ensure that the quenching reactor can result in the total decomposition of AA. The synthesis opti­ mization aimed to obtain the highest conversion ( _X_ ) at the end of the operation (as the objective function, - _X_ was minimized): methods vary (perturb) the input factors ( _~~x~~_ <u>1,…</u> _~~x~~_ _<u>i,</u>_ …, _~~x~~_ _<u>N</u>_ ) one-at-a-time (OAT) from the nominal value and quantify their effect on the _g_ scalar output by calculating the partial derivatives. As the analytical form of the input–output relationship is rarely known, this is approximated by the finite differences: ) _~~c~~_ _i_ (45) ( ) _~~x~~_ 1 _,_ ⋯ _,_ _~~x~~_ _i_ + Δ _i,_ ⋯ _,_ _~~x~~_ _N_ Δ _i_ - _g_ ( _~~x~~_ 1 _,_ ⋯ _,_ _~~x~~_ _i,_ ⋯ _,_ _~~x~~_ _N_ _EE_ <sup>_j_</sup> = _g_ where <u>(</u> _~~x~~_ 1 _,_ ⋯ _,_ _~~x~~_ _i_ +Δ _i,_ ⋯ _,_ _~~x~~_ _N_ ) denote the _i_ <sup>th</sup> perturbation and _ci_ is a scaling factor to facilitate the comparison of the input factors having different units. In the Morris method, this finite difference is called the elementary effect (EE). To make the method global, _i.e.,_ to consider the variation within the entire variability space of the input parameters, _r_ EEs are computed within the input space, and the mean ( _μM_ ) and stan­ dard deviation ( _σ_ <sup>2</sup> _M_ <sup>) of the EEs’ distribution function are used as sensi­</sup> tivity indices: _μM_ = <sup><u>1</u></sup> _r_ ∑ _r_ _j_ =1 _EE_ <sup>_j_</sup> (46) _EE_ <sup>_j_</sup> - _μM_ <u>1</u> _σ_ <sup>2</sup> _M_ <sup>=</sup> _r_ - 1 ∑ _r_ _j_ =1 ( )2 (47) To assess the sensitivity of the output to the inputs, _μM_ and _σ_ <sup>2</sup> _X_ [%] = <sup>_<u>cASA</u>_</sup> <sup>+</sup> <sup>_<u>cA</u>_</sup> <sup>+</sup> <sup>_<u>cB</u>_</sup> ~~⋅~~ 100 (43) To assess the sensitivity of the output to the inputs, _μM_ and _σ_ <sup>2</sup> _M_ <sup>are</sup> analyzed in parallel. A high _μM_ value indicates the high influence of the given input factor and a high _σ_ <sup>2</sup> _M_ <sup>means that the sensitivity changes</sup> _c_ <sup>0</sup> _a_ _a,SA_ Additionally, the purity ( _P_ ) of the obtained reaction mixture was also calculated as Eq. (44). _<u>cASA</u>_ _P_ [%] = _cASA_ + _cA_ + _cB_ + _cSA_ ~~⋅~~ 100 (44) given input factor and a high _σ_ <sup>2</sup> _M_ <sup>means that the sensitivity changes</sup> across the variability space, which can be either caused by a non-linear effect or because of the interaction with the other factors. In this work, the productivity, D[1,0], T85, the impurity and ASA concentration after quenching and the solid concentration of crystallization were used as _g_ outputs. Several strategies exist for the selection of the _~~x~~_ _<u>i</u>_ sampling points and Δ _i_ variations, which are discussed in detail elsewhere [8]. In this work, the radial design OAT sampling strategy [42] was used where the Δ _i_ variations were taken from the same _~~x~~_ _<u>i</u>_ points, selected based on a Latin Hypercube. As the calculation of one EE (Eq. (45)) requires ( _N_ + 1) model evaluations, a total of _r_ ( _N_ +1) simulations are required for performing the Morris analysis, which is computationally cheap compared to other, _e.g.,_ variance-based global sensitivity analyses. As a rule of thumb, the number of _r_ is usually advised to be around 10-100 _N_ to reach conver­ gence and obtain the indices with satisfactory confidence intervals for ranking. This was reached using 125 EEs in the analysis of the opera­ tional parameters (meaning a total of 1000 model evaluations), whereas the sensitivity of the kinetic parameters was studied using 40 EEs (480 total simulations). All the calculations related to the sensitivity analysis (sampling, calculation of Morris indices, confidence intervals, and the analysis of convergence) were performed using the SAFE toolbox [43,44]. 3. Results and discussion _3.1._ _Parameter estimation results_ The parameter estimations were performed using different combi­ nations of the possible kinetics ( _e.g.,_ accounting or neglecting the reversibility of a reaction) and reaction schemes ( _e.g.,_ considering the different possible reactions (Eq. 1.a-1.d) during acetylation) to find the best fit to the experimental results. In the case of the acetylation process, the models also used different experimental data. When the crystallization and the integrated continuous manufacturing line was studied, the crystallization operation parame­ ters of T _c_ and _AS_ were also included as decision variables. In this case, the overall productivity [g h <sup>−</sup> <sup>1</sup> ], the mean particle size (D[1,0], _i.e.,_ the arithmetic number mean of the CSD), and the dissolution properties (T85, _i.e.,_ the dissolution time necessary for the dissolution of the 85% of the API) were the objectives with equal weight. As _τa_, _AAeq_, _EtOHeq_ and _AS_ are optimized, and the crystallizer is assumed to be operated in a constant volume, the residence times in the quenching reactor ( _τq_ ) and the in the crystallizer ( _τc_ ) are also defined by these parameters, that is remained no freedom to independently vary _τc_ during the optimization. Nevertheless, one could vary the slurry level in the crystallizer to manipulate the mean residence time, but due to technical limitations (including the stirring effectiveness), this range is limited, therefore, in this work, it was decided to fix the crystallizer volume. Consequently, for comparability with the integrated process, even in the stepwise opti­ mization case, _τc_ was not handled as a decision variable. _2.3.2._ _Sensitivity analysis_ Two separate sensitivity analysis studies were conducted to analyze the effect of uncertainty of the operational parameters (the parameters used in the optimization studies) as well as the kinetic parameters on the CQAs. For the latter, 11 parameters were used: the _k_ 1, _k_ 3, _k_ 4, _k_ 5, _k_ 7 and _k_ 7 _r_ reaction rate constants, _kb_, _kg_, _KL_ and _α_ of the crystallization model and _kd_ for the dissolution process. For screening and ranking the importance of the parameters, the Morris method, also called the elementary effect test [8,41], was used, which is a multiple-start, global perturbation method. Perturbation _B. Nagy et al. Chemical Engineering Journal 419 (2021) 129947_ Table 6 summarizes the considered kinetic models for acetylation and the obtained errors for the batch ( _Errorb_ ) and continuous ( _Errorc_ ) validation samples. These errors were calculated the same way as _O_ ( _D_ ) _batch_ and _O_ ( _D_ ) _cont_ during the parameter estimation (see Eq. (20, 21)), with the exception that for the continuous validation data, _w_ = 0 was applied in Eq. (21), that is the nMSE values of the ASA, SA and impurity concentration predictions were summarized. Comparing _Model_ _1_ and _2_, it is apparent that both models utilize only the batch calibration data, however _Errorb_ and _Errorc_ were significantly lower than in _Model 2_ . This was caused by the difference in accounting the formation of Im­ purity A: while _Model 1_ assumed that the formed ASA takes part in subsequent acetylation (Eq. (1.b)), it was found that the simulations fit better the experimental data when Impurity A is assumed to be produced by the double acetylation of SA with the excess AA (Eq. (1.d)). There­ fore, in further investigations only the latter route was accounted. Utilizing the batch or continuous calibration data did not result in such considerable changes in the validation error values and the most substantial difference occurred in the confidence intervals. Fig. 2 illus­ trates the fit of prediction with _Model 2_ - _4_ to the experiment of _Abatch Val_ _2_ . The same conclusions could be drawn from the other two validation experiments. Although Fig. 2 suggests a relatively simple polynomial form as the dynamics, it needs to be accounted that for the model fitting, 10 parameters (see Table 6) needed to be simultaneously estimated, using the ordinary differential equation systems detailed in Section 2.2.1 and Appendix A.1, while relatively small experimental dataset was available for fitting. This is the reason for the wider confidence intervals (also seen in Figs. 3 and 4), and given these limitations, the model fit could be deemed to be satisfactory to estimate the dynamics of the process. It also needs to be noted, that the concentration of Impurity B is one order of magnitude smaller than that of the other parameters, therefore the seemingly big difference between the measured and pre­ dicted concentrations in Fig. 2. Although at _Model 3_, the parameter estimation was performed using only steady-state concentration data, it is apparent, that it could also describe the dynamics of the batch process with comparable accuracy as _Model 2_ . However, the wider confidence intervals indicate a higher uncertainty of the parameters, which could be explained by the smaller continuous dataset used for the estimations _i.e.,_ only steady-state concentrations were available. This also appeared in continuous validation results (Fig. 3). _Model 4_, where continuous and batch data were used combined, provided similar results to _Model 2_ for Fig 2. Predicted and measured concentration for Abatch Val 2 setting with a) Model 2, b) Model 3, c) Model 4. Fig 3. Predicted and measured concentrations for the continuous validation acetylation settings with Models 2 and 3. _B. Nagy et al. Chemical Engineering Journal 419 (2021) 129947_ Fig 4. Predicted and measured concentration for the quenching validation experiments. both the batch and continuous validation results, with slightly different confidence intervals, therefore _Model 4_ is not depicted in Fig. 3. The SA concentrations of the continuous validation experiments were over­ estimated with _Model 3_, while higher inaccuracies in the ASA content were observed with _Model 2._ However, the trends between the different experimental settings were followed better with _Model 3_, therefore, the kinetic parameters of _Model 3_ were used in the integrated flowsheet model. In Fig. 3, the effect of the decreasing temperature and the simultaneous increase of the residence time (see Table 1) can be fol­ lowed: from _Acont_ _Val 1_ to _3_ the ASA and SA concentrations were increased slightly, while the amount of the impurities decreased. The analysis of the effect of the operating conditions on the concentrations is detailed in Section 3.3. Several combinations of the kinetic parameters and reaction schemes were also tested for the quenching step of the synthesis, however, there were no substantial differences observed in the quality of the fit, therefore in Table 7, only the final parameters are summarized. The validation error was calculated the same way as explained in the case of acetylation. It is notable that _A_ 6 and _Ea,_ 6 are fixed to 0, which is explained by the fact that there was no available experimental data about the concentration of the EtOAc, HA and EtOH after quenching. However, in preliminary parameter estimation calculations the value of _k_ 6did not influence the concentration of the other components. There­ fore, with the assumption that the total decomposition of AA completes fast in the quenching reactor, this reaction was neglected. Furthermore, having only the limited dataset of continuous steady-state measure­ ments, the activation energies were fixed to values found adequate during the preliminary studies to decrease the uncertainty of the parameter estimation. Fig. 4 shows that the quenching model could predict the concentration variations caused by the different operations of the quenching reactor. The temperature and the residence time in the quenching reactor and the EtOH amount were varied simultaneously in the validation experiments (see Table 2). It is visible that in the case of _Q_ _Val 5_ - _6_, the SA concentration could be determined with higher uncer­ tainty, which is associated with the longer residence times. However, the variability of the calculated ASA concentration was lower than that of the experimental values, which indicates that effects associated with the changes in ASA concentration might be underestimated when the model is utilized in the flowsheet simulation. As the trends depicted in Fig. 4 show the simultaneous variation of the three operational parameters, the analysis of these effects is complicated, but it is further addressed in the sensitivity studies (Section 3.3). Although some of the kinetic parameters for the acetylation and quenching step could be estimated only with wide confidence intervals, which suggest that the parameters are correlated and the resulting un­ certainty space is relatively large, yet the nominal values of the pa­ rameters were found to provide a satisfactorily good agreement with the experimental results. This shows that by using the nominal parameters, the models can be used for further analysis of the operational parame­ ters’ effect. Also, based on these parameter estimation results, one could carry out a robust optimization, which directly involves the parameter uncertainties. To further address the question of the effect of the parameter uncertainty, the kinetic parameters were also studied by sensitivity analysis (see Section 3.3), to revealed which parameters are critical. In future work, the confidence interval of these parameters could be reduced by utilizing more experimental data for the parameter estimation. The parameter estimation of the dissolution model resulted in the substantial simplification of the dissolution rate expression (Eq. (33)) because it was found that the _p_ 1 and _p_ 2 take extremely uncertain values as well their value did not influence the accuracy of the prediction. This resulted in the simplification of the size-dependent term into sizeindependent dissolution expression. Although it is well known that the smaller particles dissolve faster, these effects are significant at nano­ scale, but the size dependency of the solubility vanishes over a few micrometers. In this study, the initial particles exposed to dissolution were generally well over this size range and the majority of the solids are already dissolved when the particles shrink to this size. Therefore, the simulated concentration curve remains valid in the solute concentration variation domain of interest and this explains the adequacy of the sizeindependent dissolution rate. Regarding _d_ and _kd_, since a low amount of solid was dissolved relative to the solvent volume and the experiments were performed under sink conditions, meaning that the change in the supersaturation is not relevant, it was impossible to decouple _d_ from _kd_ and therefore _d_ was fixed to 1. The final kinetic model (see Table 7) including only the dissolution rate coefficient was suitable for the sur­ rogate modeling of the dissolution curve of the validation samples (Fig. 5). As for the dissolution of the ASA filled into capsules, the experi­ mental capsule dissolution curves (green lines in Fig. 5) exhibit a slower release compared to the powder measurements, but no lag time was observed due to the dissolution of the capsule shell, as it started to dissolve within the first two minutes of the test. Therefore, the assumption of the constant retarding effect was found to be adequate for this case, and the multiplication of the dissolution rate ( _D_ ( _σd, L_ )) by the constant retarding factor of 0.5 was found to provide a reasonably good fit as seen in Fig. 5. This approach is admittedly a significant simplifi­ cation, which is not suitable for several capsule formulations _e.g.,_ due to the possible API-excipient interactions or a potential lag time caused by the slow dissolution of the capsule shell, in which cases further model development would be necessary. However, such a simplified method could contribute to a better understanding of the effect of the crystal size distribution as CMA and the corresponding optimization and risk anal­ ysis of the manufacturing process of the API during the early stage of the drug development. _B. Nagy et al. Chemical Engineering Journal 419 (2021) 129947_ Fig 5. Predicted and measured validation experiments for the validation dissolution samples. _3.2._ _Optimization of the integrated continuous line_ To investigate how the integrated flowsheet simulation can contribute to better understanding and operation of the continuous manufacturing line, several optimization problems were defined and solved. First, the standalone synthesis was considered, followed by the examination of the integrated synthesis and crystallization processes. The goal of this comparison is to compare the achievable product quality attributes if all operations are optimized individually subject to local objectives _vs._ the plant-wide optimization of the integrated process using the developed flowsheet model. In the former approach the operating parameters of the synthesis were optimized in three stages: in the first stage the optimal value of _AAeq_ was determined using batch acetylation, along with an optimal batch _Ta_ . In the next stage, the flow acetylation process parameters ( _τa_ and _Ta_ for the continuous reactor) were opti­ mized while _AAeq_ was fixed for the value found optimal in the batch acetylation. In the last step, the quenching parameters ( _Tq_ and _EtOHeq_ ) were optimized with the fixed acetylation process. Compared to this, in the second approach, all parameters could be simultaneously optimized. The optimization results are summarized in Table 8. While the 3-stage procedure is identical to the experimental opti­ mization procedure [28] and is a common practice to reduce the necessary number of experiments, the simulation results clearly showed the advantages of considering the reactor cascade in the optimizations. Table 8 shows that the integrated process optimization resulted in 10% higher conversion compared to the step-by-step procedure. Moreover, this was achieved along with the significant increase in the purity of the reaction mixture, too, which can further simplify the purification ( _e.g.,_ crystallization) steps. The most substantial difference in the operation parameters of the two approaches could be found in the applied AA and EtOH excess. It is apparent, that in the batch acetylation stage of the step-by-step approach, the optimal value of _AAeq_ was fixed to the upper boundary along with a relatively low temperature, as the excess AA promotes the conversion of SA in the acetylation step, which also resulted in high necessary _EtOHeq_ in the quenching step. However, as the integration optimization indicated, it was beneficial from the point of the global conversion to process an acetylated reaction mixture with lower conversion (87.4% as opposed to 93.5% of the step-by-step method) than aiming for maximal conversion at each stage. The lower amount of AA and EtOH could be compensated with higher tempera­ tures and longer residence time. At this stage of the work, the integrated results have not been directly experimentally validated, yet. However, as the models of all the unit operation are individually validated and the acetylation and the quenching model steps were directly integrated without further assumptions ( _i.e.,_ all the obtained component <u>[%]</u> concentrations after acetylation were used in the quenching model), it can be expected that the integrated calculation does not influence the validity of the results. Also, the comparison of the stepwise optimization simulations with the experiments (see [28]) showed good agreement, _e._ _g.,_ the experimental batch acetylation optimization suggested high _AAeq_ value, but it also promoted the formation of the impurities, whereas the increase of the temperature and residence time increased the purity in the flow acetylation. The integrated continuous synthesis- crystallization process was optimized to provide the highest productivity [g h <sup>−</sup> <sup>1</sup> ]. This was also done in different ways: first, the synthesis process was fixed to the “Stage 3” and “Integrated synthesis” conditions from Table 8 and the crystal­ lization process parameters (T _c_ and _AS_ ) were optimized, then the entire reaction-crystallization cascade was optimized in an integrated way. In the first case, the synthesis settings of both the previous step-by-step ( _Fixed synthesis 1_ in Table 9) and integrated approach ( _Fixed synthesis_ _2_ in Table 9) were tested to examine whether optimized crystallization Table 8 Optimization results of the synthesis step with the step-by-step and integrated approach. The allowed parameter ranges are given in parenthesis next to the <u>parameter names.</u> Stage 1- Batch <u>acetylation</u> Stage 2-Flow acetylation Stage 3- Flow <u>quenching</u> Integrated synthesis _AAeq_ [-] (1–10) 9.99 _9.99 (fix)_ _9.99 (fix)_ 1.22 _Ta(batch)_ [ <sup>◦</sup> C] (0–100) _Ta(cont.)_ [ <sup>◦</sup> C] (0–150) _τa_ [min] (60–300) Tq[ <sup>◦</sup> C] (0–150) _EtOHeq_ [-] (1–15) 28.01 - - - 80.22 _80.22 (fix)_ 150.00 - 82.65 _82.65 (fix)_ 100.14 - - 40.06 78.81 - - 10.00 1.22 99.8 93.5 93.5 87.4 64.9 52.6 52.6 87.1 - - 72.5 82.8 - - 60.4 87.6 Conversion after acetylation [%] Purity after acetylation [%] Purity after Final conversion [%] Final purity _B. Nagy et al. Chemical Engineering Journal 419 (2021) 129947_ Table 9 <u>Optimization results of the integrated process. The allowed parameter ranges are given in parenthesis next to the parameter names.</u> <u>Fixed synthesis 1</u> <u>Fixed synthesis 2</u> <u>Integrated synthesis þ</u> <u>crystallization</u> <u>Multi-objective optimization</u> _AAeq_ [-] (1–10) _9.99 (fix)_ _1.22 (fix)_ 1.00 1.00 _Ta(cont.)_ [ <sup>◦</sup> C] (0–150) _80.22 (fix)_ _150.00 (fix)_ 150.00 150.00 _τa_ [min] (60–300) _82.65 (fix)_ _100.14 (fix)_ 60.00 60.00 Tq[ <sup>◦</sup> C] (0–150) _40.06 (fix)_ _78.81 (fix)_ 76.69 57.57 _EtOHeq_ [-] (1–15) _10.00 (fix)_ _1.22 (fix)_ 1.00 5.21 T _c_ [ <sup>◦</sup> C] (0–50) 40.66 42.30 39.52 21.55 _AS_ [-] (1–8) 8 7.70 8 8 _Conversion after synthesis_ [%] 72.5 82.8 77.0 63.5 _Purity after synthesis_ [%] 60.4 87.6 80.2 79.4 _Overall productivity_ [gh <sup>¡1</sup> ] 12.6 24.6 40.6 30.5 _D[1,0]_ [μm] 86.4 91.9 84.8 41.6 _<u>T85</u>_ <u>[min]</u> <u>27.9</u> <u>29.7</u> <u>27.4</u> <u>14.0</u> could compensate for the different conversion in the reaction mixtures. As seen in Table 9, to obtain high productivity, high antisolvent-solvent volume ratios are suggested, while the relatively high crystallization temperatures could be associated with the high activation energy of the crystal growth [30]. It is noticeable, that the optimized crystallization settings for both _Fixed synthesis 1_ and _2_ resulted in similar values, yet the higher conversion rate in the synthesis provided a doubled productivity of the final ASA product. This suggests that even the optimization of the multi-step synthesis as a unit can result in a vast improvement in the overall performance of continuous manufacturing. Nevertheless, when the synthesis-crystallization process was studied in an integrated way, the productivity could be further increased to 40.6 g h <sup>−</sup> <sup>1</sup>, which was mainly associated with the decrease of the residence time. The calcu­ lated synthesis conversion value was between the settings of the two previously studied syntheses, which further emphasizes that the stand­ alone optimization of the synthesis, without the crystallization step, is not sufficient to reach maximum productivity at the end of the contin­ uous line. In summary, the integrated plant-wide optimization resulted in a 3.2fold overall productivity improvement compared to the optimization of individual units, which clearly demonstrates the benefit of the devel­ opment of flowsheet simulations. Furthermore, these results were reached with lower excess of AA and EtOH, that is not only the pro­ ductivity is increased, but the material costs and environmental foot­ prints are also reduced. The conclusions drawn from these optimizations could contribute to the experimental integration of the unit operation with fewer but more targeted experiments. Therefore, future studies will aim the experimental realization of the above results, which could also validate the integrated flowsheet model. As most of the pharmaceutical manufacturing processes are not solely aims to maximize the productivity, but also to achieve pre-defined properties of the final product, a multi-objective optimization was also performed using the integrated flowsheet model. In this case, besides the maximization of the productivity, the mean particle (D[1,0]) was also aimed to be maximized, as this significantly influences the downstream processability, such as the filtration [30] or blending. However, as the particle size also affects the dissolution properties, the additional constrain of the dissolution of the ASA capsules was also added. This was defined such as the T85, _i.e.,_ the dissolution time necessary for the dissolution of the 85% of the API, must be equal to or _<_ 15 min in 0.1 N HCl. This criterium ensures for high solubility, high permeability (BCS I) drugs, like ASA, that the bioavailability is not limited by the dissolution, therefore it can be regarded as an immediate-release formulation [45]. As the results in Table 9 shows, this was achieved by the reduction of T _c_ and T _q_ and the applied EtOH amount was also increased. While the additional objective and constraint reduced the productivity to 30.5 g h <sup>−</sup> <sup>1</sup>, this could be still regarded as relatively good productivity and represents a good trade-off for product quality. However, to fulfill the dissolution criteria, the particle size had to be significantly reduced compared to the previous results. The 41.6 μm D[1,0] value can be associated with good filterability [30], but flowability problems might occur which may need to be addressed. _3.3._ _Sensitivity analysis_ Sensitivity analyses were conducted at the operation point of the process at the settings obtained by the multi-objective optimization (last column in Table 9). The identification of the effects and risks associated with the involuntary changes in the process parameters and the uncer­ tainty in the kinetic parameters of the simulation was the objective. This way, the flowsheet modeling can help to understand the development and operation of the integrated continuous manufacturing lines better and it also contributes to the determination of PAT and control strategies. To study the sensitivity of the operational parameters, first, the input variability space had to be defined. This can be performed based on experimentally observed uncertainty and process characteristic. It was assumed that the uncertainty of the operating parameters occurs due to the random disturbances, which are handled as normally distributed random variables. The standard deviations (STDs) of the distributions were first defined as the 20% of the mean for each parameter, then in a second run it was refined such as the STDs of _AAeq_, _AS_, _EtOHeq_ and _τa_ were 10% of the mean values, but 5, 5 and 20% for _Ta_, _Tq_ and _Tc_, respectively. This was determined based on the experimental observa­ tions that _Ta_ and _Tq_ can be kept at the required value very well, but _Tc_ showed high uncertainty during the processes. The two runs did not show significant differences, therefore only the results of the second are presented here in detail. The simulated parameter space is illustrated in Fig. 6 with the color scale indicating the steady-state productivity values. The dynamic re­ sponses of the simulations can be seen in Fig. 7, which can help analyze the error propagation through the system. It is noticeable that the un­ certainty of the input space significantly affects the output variability considering either the productivity, the crystallization slurry properties, or the reaction mixture concentrations. With 95% confidence, the pro­ ductivity was found to be varying between 16.0 and 39.3 g h <sup>−</sup> <sup>1</sup>, how­ ever, some extreme parameter combinations exhibited strong detrimental effect resulting in productivity below 10 g h <sup>−</sup> <sup>1</sup> . The D[1,0] and T85 values were found to be varying between 26.6 and 64.4 and 10.4–20.0 min, respectively, the latter meaning, that the risk of failing the immediate-release specification is very high. The cumulative dis­ tribution functions (CDFs) of the parameters belonging to the immediate-release and the out-of-specification T85 values (Fig. 6) showed no difference for any of the parameters but the _Tc_, where two distinct CFDs were observed: the one belonging to the immediate-release capsules ranging from 0 to 23 <sup>◦</sup> C, while the out-of-specification setting starting at 23 <sup>◦</sup> C. This highlights that keeping _Tc_ under 23 <sup>◦</sup> C is vital for obtaining the required quality of the capsules, which must be addressed _B. Nagy et al. Chemical Engineering Journal 419 (2021) 129947_ Fig 6. The simulated input parameter space (1000 model evaluations) and the cumulative distribution functions of the simulations belonging to the immediaterelease and out-of-specification dissolutions. The color of the dots represents the productivity obtained with the given parameters. The readers are referred to the on-line version of this paper for the colored figure. when developing the control strategy. As for disturbance propagation, it is visible from Fig. 7, that the productivity and the mean particle size change immediately (within a few minutes) after the change of the parameter from the steady state of the nominal operational parameter. However, 8 min lag-time was observed at the change of the dissolution property, followed by a slower, gradual transition lasting about 30 min. The variation in the concen­ trations of the final reaction mixture was also studied, which also revealed an approximately 5 min lag-time with a long transition time, which could be associated with long residence time in the flow reactors. Fig 7. Output uncertainty along the simulation time. The solid and dashed black lines represent the mean and the 95% confidence interval of the 1000 model evaluations, respectively. _B. Nagy et al. Chemical Engineering Journal 419 (2021) 129947_ Fig 8. Time-varying Morris sensitivity indices. The dotted lines represent the 95% confidence interval of the indices. The Morris indices calculated for each simulation time point helped understand these observations better (Fig. 8). Starting with the mean particle size, the greatest _μM_ and _σ_ <sup>2</sup> _M_ <sup>values were obtained for</sup> <sup>_Tc_</sup> <sup>,</sup> particle size, the greatest _μM_ and _σ_ <sup>2</sup> _M_ <sup>values were obtained for</sup> <sup>_Tc_</sup> <sup>,</sup> whereas the indices of other parameters were insignificant. As the dissolution properties of the final capsules are calculated based on the CSD, it was expected, that for the T85, _Tc_ also emerged as the most influential parameter. However, in the first hour of the simulation, the relatively high _σ_ <sup>2</sup> _M_ <sup>of</sup> <sup>_τa_</sup> <sup>and</sup> <sup>_AS_</sup> <sup>indicate their non-linear effect or inter­</sup> relatively high _σ_ <sup>2</sup> _M_ <sup>of</sup> <sup>_τa_</sup> <sup>and</sup> <sup>_AS_</sup> <sup>indicate their non-linear effect or inter­</sup> action with other parameters, which can be the explanation of the slower transition to the new T85 value. Moving on to the concentrations of ASA and impurity in the reaction mixture, the three operating pa­ rameters of the acetylation step were identified as significant, among which _AAeq_ resulted in the highest _μM_ and _σ_ <sup>2</sup> _M_ <sup>. The dynamic represen­</sup> which _AAeq_ resulted in the highest _μM_ and _σ_ <sup>2</sup> _M_ <sup>. The dynamic represen­</sup> tation also allows noticing that during the transitional state, the nonlinear effect or interactions associated with _AAeq_ and _τa_ changes nonmonotonically, which might be caused by the multiple, concurrent re­ actions influencing the concentrations. The most complex outcome of the sensitivity analysis was discovered for the overall productivity. While _Tc_ appeared again as the most influential parameter, the _AS_ and _τa_ also exerted an immediate effect. It needs to be noted that the high impact of _Tc_ was not only resulted due to its defined higher uncertainty, but the same importance was observed when the STDs of all parameters were defined equal. _AAeq_ showed comparable results as _AS_, however, its effect evolves gradually in 120 min. These results further reinforce the observations of the optimization study, too, _i.e.,_ it is critical to control the whole integrated process as a system, to ensure consistent and satisfactory productivity. Another important conclusion of the sensi­ tivity analysis, that the parameters of the quenching unit ( _EtOHeq, Tq_ ) were not found significant for any of the analyzed objectives, which suggests that this might be the most robust unit and its control is less vital than that of the acetylation and crystallization. With the sensitivity analysis of the kinetic parameters, the question of the uncertainty of the developed model was addressed. Although the confidence intervals of the kinetic parameters indicate the parameter uncertainty, it was too wide to be further used in the sensitivity analysis, as it resulted in several computationally infeasible parameter combi­ nations. Therefore, the uncertainty of all parameters was defined as normal distributions, the mean being the estimated parameter (see Ta­ bles 4, 6 and 7) and using the 5% of the mean value as the STD. The results of the Morris screening are illustrated in Fig. 9 for the steady state of the productivity, mean particle size and dissolution property. The productivity was found to be influenced by _α_, _i.e.,_ the effectiveness factor of the impurities, as well as by _k_ 1 and _k_ 4, that is the reactions when SA is converted into ASA and Impurity A. The D[1,0] was found to be mainly affected by _α_, _kd_ and the crystallization kinetics ( _kb, kg_ ) had a significant effect on the dissolution of the ASA capsules. The results of the sensitivity analysis of the operating parameters and the kinetics parameters support each other as the importance of the crystallization is clearly revealed in both cases as well as the produc­ tivity is found to be influenced by both the acetylation and crystalliza­ tion steps, while the uncertainty in the quenching kinetics was found to be less important. The most noticeable is the great impact of _α_, which is a clear indication that whenever crystal growth rate inhibition by a re­ action byproduct appears, this needs to be treated with extra care. Interestingly, although the Kubota model is governed by both the _α_ and the Langmuir constant ( _KL_ ), the value of _KL_ was found to be insignificant in the Morris analysis. Therefore, to improve the reliability of the flowsheet model, further studies need to focus mainly on the estimation of _α_ . Fig 9. Morris sensitivity indices of the kinetic parameters in the steady state of the simulations. _B. Nagy et al. Chemical Engineering Journal 419 (2021) 129947_ 4. Conclusions In this work, the dynamic flowsheet model was developed for the integrated, continuous manufacturing of ASA based on the experimental data of continuous unit operations to facilitate the integration. Together with our previous work on the modeling of continuous filtration [30], the dynamic model of the fully integrated, continuous upstream manufacturing was achieved. The optimization of the integrated process resulted in a significant overall productivity increase compared to the step-by-step optimization of the unit operations, and at the same time, the excess of the reactants could be decreased, which highlights the impact of the flowsheet modeling on the economic and environmentalfriendly operation of the manufacturing. Furthermore, the surrogate model of the _in vitro_ dissolution test of ASA capsules was integrated into the flowsheet model the first time, which enabled the risk analysis of the failure of the dissolution specifi­ cations of an immediate-release formulation. The presented dissolution model is directly applicable for capsule formulations where the excipi­ ents, _e.g.,_ fillers or diluents do not influence the dissolution rate and hence the only critical factor is the CSD, but it might be also useful in the case of more complex formulations to analyze the effect of the CMAs individually and optimize the manufacturing accordingly. Future work will also address the modeling of further formulations ( _e.g.,_ tablets) and their integration into flowsheet models when multiple critical material attributes and process parameters need to be accounted. The calculation of the time-varying sensitivity indices helped understand the most influential operational parameters and the risks of error propagation. Appendix A.1 Reaction network The reaction rate equations were expressed as Although the presented dissolution model was developed for a fairly simple formulation ( _i.e.,_ capsules, where the CSD of the API determined the dissolution property), the presented work indicates its importance, and hence it could encourage further studies to incorporate the disso­ lution model of the final formulations ( _e.g.,_ tablets), using either mechanistic or black-box modeling approaches. This work also high­ lighted the high impact of crystal growth inhibition on the final product properties. Declaration of Competing Interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. Acknowledgment This work was performed in the frame of FIEK_16-1-2016-0007 project, with the support provided from the National Research, Devel­ opment and Innovation Fund of Hungary, financed under the FIEK_16 funding scheme. This work was also supported from grants KH-129584, FK-132133, PD-121143 by National Research, Development and Inno­ vation Office of Hungary and the ÚNKP-20-3 and ÚNKP-20-5 New Na­ tional Excellence Program of the Ministry for Innovation and Technology. Hajnalka Pataki is thankful for the Janos Bolyai Research ´ Scholarship of the Hungarian Academy of Sciences. _r_ 1 = _k_ 1⋅ _cSA_ ( _t_ )⋅ _cAA_ ( _t_ ) (A1.a) _r_ 2 = _k_ 2⋅ _cASA_ ( _t_ )⋅ _cAA_ ( _t_ ) (A1.b) _r_ 3 = _k_ 3⋅ _cA_ ( _t_ )⋅ _cASA_ ( _t_ ) (A1.c) _r_ 3 _r_ = _k_ 3 _r_ ⋅ _cB_ ( _t_ )⋅ _cHA_ ( _t_ ) (A1.d) _r_ 4 = _k_ 4⋅ _cSA_ ( _t_ )⋅ _c_ <sup>2</sup> _AA_ <sup>(</sup> <sup>_t_</sup> <sup>)</sup> (A1.e) _r_ 5 = _k_ 5⋅ _cA_ ( _t_ )⋅ _cEtOH_ ( _t_ ) (A1.f) _r_ 6 = _k_ 6⋅ _cAA_ ( _t_ )⋅ _cEtOH_ ( _t_ ) (A1.g) _r_ 7 = _k_ 7⋅ _cASA_ ( _t_ )⋅ _cEtOH_ ( _t_ ) (A1.h) _r_ 7 _r_ = _k_ 7 _r_ ⋅ _cSA_ ( _t_ )⋅ _cEtOAc_ ( _t_ ) (A1.i) where _cX_ denotes the concentration of the given reagent. With these, the ODE system of the acetylation step can be written as: _<u>a,SA</u>_ = - _r_ 1 − _r_ 4 + <sup>_c_</sup> _<u>a</u>_ <sup>0</sup> _dt_ _τa_ _<u>dca,SA</u>_ _<u>a</u>_ <sup>0</sup> _<u>,SA</u>_ <sup>−</sup> <sup>_ca,SA_</sup> _<u>a,AA</u>_ = - _r_ 1 − _r_ 2 − 2 _r_ 4 + <sup>_c_</sup> _<u>a</u>_ <sup>0</sup> _<u>,</u>_ _dt_ _τa_ _<u>dca,AA</u>_ _<u>a</u>_ <sup>0</sup> _<u>,AA</u>_ <sup>−</sup> <sup>_ca,AA_</sup> _<u>a,ASA</u>_ = _r_ 1 − _r_ 2 − _r_ 3 + _r_ 3 _r_ + <sup>_c_</sup> _<u>a</u>_ <sup>0</sup> _dt_ _τa_ (A2.a) (A2.b) (A2.c) (A2.d) (A2.e) _<u>dca,ASA</u>_ _<u>a</u>_ <sup>0</sup> _<u>,ASA</u>_ <sup>−</sup> <sup>_ca,ASA_</sup> _<u>a,A</u>_ = _r_ 2 − _r_ 3 + _r_ 3 _r_ + _r_ 4 + <sup>_c_</sup> _<u>a</u>_ <sup>0</sup> _dt_ _τa_ _<u>dca,A</u>_ _<u>a</u>_ <sup>0</sup> _<u>,A</u>_ <sup>−</sup> <sup>_ca,A_</sup> _<u>a,B</u>_ = _r_ 3 − _r_ 3 _r_ + <sup>_c_</sup> _<u>a</u>_ <sup>0</sup> _dt_ _τa_ _<u>dca,B</u>_ _<u>a</u>_ <sup>0</sup> _<u>,B</u>_ <sup>−</sup> <sup>_ca,B_</sup> _B. Nagy et al. Chemical Engineering Journal 419 (2021) 129947_ _<u>dca,HA</u>_ = _r_ 1 + _r_ 2 + _r_ 3 − _r_ 3 _r_ + 2 _r_ 4 + <sup>_c_</sup> _<u>a</u>_ <sup>0</sup> _dt_ _τa_ _<u>dca,HA</u>_ _<u>a</u>_ <sup>0</sup> _<u>,HA</u>_ <sup>−</sup> <sup>_ca,HA_</sup> The ODE system describing the quenching step: (A2.f) (A3.a) (A3.b) (A3.c) (A3.d) (A3.e) (A3.f) (A3.g) (A3.h) _<u>dcq,SA</u>_ = _r_ 7 − _r_ 7 _r_ + _dt_ _<u>dcq,SA</u>_ _c_ <sup>0</sup> _<u>q,SA</u>_ <sup>−</sup> <sup>_cq,SA_</sup> _τq_ _<u>dcq,AA</u>_ = - _r_ 6 + _dt_ _c_ <sup>0</sup> _<u>q,AA</u>_ <sup>−</sup> <sup>_cq,AA_</sup> _τq_ _<u>dcq,ASA</u>_ = _r_ 5 − _r_ 7 + _r_ 7 _r_ + _dt_ _c_ <sup>0</sup> _<u>q,ASA</u>_ <sup>−</sup> <sup>_cq,ASA_</sup> _τq_ _<u>dcq,A</u>_ = - _r_ 5 + _dt_ _c_ <sup>0</sup> _<u>q,A</u>_ <sup>−</sup> <sup>_cq,A_</sup> _τq_ _<u>dcq,B</u>_ = _dt_ _c_ <sup>0</sup> _<u>q,B</u>_ <sup>−</sup> <sup>_cq,B_</sup> _τq_ _<u>dcq,HA</u>_ = _r_ 6 + _dt_ _<u>dcq,HA</u>_ _c_ <sup>0</sup> _<u>q,HA</u>_ <sup>−</sup> <sup>_cq,HA_</sup> _τq_ _<u>dcq,EtOAc</u>_ = _r_ 5 + _r_ 6 + _r_ 7 − _r_ 7 _r_ + _dt_ _<u>dcq,EtOAc</u>_ _c_ <sup>0</sup> _<u>q,EtOAc</u>_ <sup>−</sup> <sup>_cq,EtOAc_</sup> _τq_ _<u>dcq,EtOH</u>_ = − _r_ 5 − _r_ 6 − _r_ 7 + _r_ 7 _r_ + _dt_ _c_ <sup>0</sup> _<u>q,EtOH</u>_ <sup>−</sup> <sup>_cq,EtOH_</sup> _τq_ A.2 Determination of initial CSD for the dissolution model The initial CSD ( _n_ 0( _L_ )) for the dissolution PBM was calculated from the normalized measured CSDs (see Section 2.1.3) or the CSDs simulated using the continuous crystallization model. _n_ 0( _L_ ) = _nm_ ( _L_ ) <sup>_<u>vc</u>_</sup> _μ_ 3 _kv_ (A4) where _nm_ ( _L_ ) is the normalized CSD of the sample to be dissolved (either the measured CSD of the samples detailed in Section 2.1.3 or the CSD obtained by the crystallization model), _μ_ 3 is the third moment of the distribution (Eq.(A5)). ∫ ∞ _μ_ 3 = _L_ <sup>3</sup> _nm_ ( _L_ ) _dL_ (A5) 0 _vc_ denotes the volume fraction of the sample in the dissolution medium at the initial moment, which was approximated as: _<u>mc</u>_ (A6) _vc_ = _<u>ρc</u>_ _<u>mρcc</u>_ <sup>+</sup> <sup>_Vd_</sup> where _mc_, _Vd_ and _ρd_ correspond to the sample mass [kg], the volume of the dissolution medium [m <sup>3</sup> ] and the density of the dissolution medium [kg m <sup>−</sup> <sup>3</sup> ]. The values of these parameters were set following the experimental method (see Section 2.1.3) and summarized in Table 5. References [9] [M. Dosta, J.D. Litster, S. Heinrich, Flowsheet simulation of solids processes: current](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0045) [1] [S.L. Lee, T.F. O’Connor, X. Yang, C.N. Cruz, S. Chatterjee, R.D. Madurawe, C.M.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0005) [V. Moore, L.X. Yu, J. Woodcock, Modernizing pharmaceutical manufacturing: from](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0005) [batch to continuous production, J. Pharm. Innov. 10 (2015) 191–199.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0005) [2] FDA, U.S. Department of Health and Human Services, Food and Drug [status and future trends, Adv. Powder Technol. 31 (2020) 947–953.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0045) [10] R.M.C. Portela, C. Varsakelis, A. Richelle, N. Giannelos, J. Pence, S. Dessoy, M. von Stosch, When is an in silico representation a digital twin? a biopharmaceutical industry approach to the digital twin concept, Springer Berlin Heidelberg, Berlin, Heidelberg, pp. 1-21. [11] Process Systems Enterprise, gPROMS, www.psenterprise.com/products/gproms, 1997-2020. [12] [F.C.C. Montes, K. Gernaey, G. Sin, Dynamic plantwide modeling, uncertainty, and](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0060) [sensitivity analysis of a pharmaceutical upstream synthesis: ibuprofen case study,](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0060) [Ind. Eng. Chem. Res. 57 (2018) 10026–10037.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0060) [13] [S. Diab, D.I. Gerogiorgis, Process modelling, simulation and technoeconomic](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0065) Administration, Center for Drug Evaluation and Research (CDER), Quality Considerations for Continuous Manufacturing Guidance for Industry (Draft Guidence), 2019. [3] The international conference on harmonization of technical requirements for registration of pharmaceuticals for human use (ICH), Quality Guideline Q8 Pharmaceutical Development, 2009. [4] FDA, U.S. Department of Health and Human Services, Food and Drug Administration. Guidance for Industry: PAT – A framework for innovative pharmaceutical development, manufacturing, and quality assurance. 2004, 2004. [5] [J. Rantanen, J. Khinast, The future of pharmaceutical manufacturing sciences,](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0025) [evaluation of crystallisation antisolvents for the continuous pharmaceutical](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0065) [manufacturing of rufinamide, Comput. Chem. Eng. 111 (2018) 102–114.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0065) [14] [S. Diab, D.T. McQuade, B.F. Gupton, D.I. Gerogiorgis, Process design and](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0070) [J. Pharm. Sci. 104 (2015) 3612–3638.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0025) [6] [J. Djuris, Z. Djuric, Modeling in the quality by design environment: Regulatory](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0030) [requirements and recommendations for design space and control strategy](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0030) [appointment, Int. J. Pharm. 533 (2017) 346–356.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0030) [7] [K.V. Gernaey, R. Gani, A model-based systems approach to pharmaceutical](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0035) [product-process design and analysis, Chem. Eng. Sci. 65 (2010) 5757–5769.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0035) [8] [A. Saltelli, M. Ratto, T. Andres, F. Campolongo, J. Cariboni, D. Gatelli, M. Saisana,](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0040) [optimization for the continuous manufacturing of nevirapine, an active](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0070) [pharmaceutical ingredient for HIV treatment, Org. Process Res. Dev. 23 (2019)](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0070) [320–333.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0070) [15] [E. Içten, A.J. Maloney, M.G. Beaver, D.E. Shen, X. Zhu, L.R. Graham, J.A. Robinson,](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0075) [S. Huggins, A. Allian, R. Hart, S.D. Walker, P. Rolandi, R.D. Braatz, A virtual plant](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0075) [for integrated continuous manufacturing of a carfilzomib drug substance](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0075) [intermediate, part 1: CDI-promoted amide bond formation, Org. Process Res. Dev.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0075) [(2020).](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0075) [16] [E. Içten, A.J. Maloney, M.G. Beaver, X. Zhu, D.E. Shen, J.A. Robinson, A.T. Parsons,](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0080) [S. Tarantola, Global sensitivity analysis: the primer, John Wiley & Sons, 2008.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0040) [A. Allian, S. Huggins, R. Hart, P. Rolandi, S.D. Walker, R.D. Braatz, A virtual plant](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0080) _B. Nagy et al. Chemical Engineering Journal 419 (2021) 129947_ [for integrated continuous manufacturing of a carfilzomib drug substance](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0080) [intermediate, part 2: enone synthesis via a barbier-type grignard process, Org.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0080) [Process Res. Dev. (2020).](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0080) [17] [A.J. Maloney, E. Içten, G. Capellades, M.G. Beaver, X. Zhu, L.R. Graham, D.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0085) [end-to-end production of solid drug dosage forms: coupling flow synthesis and](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0140) [formulation by electrospinning, Chem. Eng. J. 350 (2018) 290–299.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0140) [29] [K. Tacsi, H. Pataki, A. Domokos, B. Nagy, I. Csontos, I. Markovits, F. Farkas, Z.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0145) [B. Brown, D.J. Griffin, R. Sangodkar, A. Allian, S. Huggins, R. Hart, P. Rolandi, S.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0085) [D. Walker, R.D. Braatz, A virtual plant for integrated continuous manufacturing of](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0085) [a carfilzomib drug substance intermediate, part 3: manganese-catalyzed](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0085) [asymmetric epoxidation, crystallization, and filtration, Org. Process Res. Dev.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0085) [(2020).](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0085) [18] [A.J. Rogers, C. Inamdar, M.G. Ierapetritou, An integrated approach to simulation of](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0090) [pharmaceutical processes for solid drug manufacture, Ind. Eng. Chem. Res. 53](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0090) [(2014) 5128–5147.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0090) [19] [G. Tian, A. Koolivand, N.S. Arden, S. Lee, T.F. O’Connor, Quality risk assessment](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0095) [and mitigation of pharmaceutical continuous manufacturing using flowsheet](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0095) [modeling approach, Comput. Chem. Eng. 129 (2019), 106508.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0095) [20] [Z. Wang, M.S. Escotet-Espinoza, M. Ierapetritou, Process analysis and optimization](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0100) [K. Nagy, G. Marosi, Direct processing of a flow reaction mixture using continuous](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0145) [mixed suspension mixed product removal crystallizer, Cryst. Growth Des. 20](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0145) [(2020) 4433–4442.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0145) [30] [B. Nagy, B. Szilagyi, A. Domokos, K. Tacsi, H. Pataki, G. Marosi, Z.K. Nagy, Z. ´](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0150) [polynomial chaos expansions, J. Process Control 17 (2007) 229–240.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0165) [34] [R. Gunawan, I. Fusman, R.D. Braatz, High resolution algorithms for](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0170) [multidimensional population balance equations, AIChE J. 50 (2004) 2738–2749.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0170) [35] [M. Voelker, M. Hammer, Dissolution and pharmacokinetics of a novel micronized](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0175) [K. Nagy, Modeling of pharmaceutical filtration and continuous integrated](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0150) [crystallization-filtration processes, Chem. Eng. J. 127566 (2020).](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0150) [31] [H.S. Fogler, Essentials of chemical reaction engineering: essenti chemica reactio](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0155) [engi, Pearson Education, 2010.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0155) [32] [N. Hansen, A. Ostermeier, Completely derandomized self-adaptation in evolution](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0160) [strategies, Evol. Comput. 9 (2001) 159–195.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0160) [33] [Z.K. Nagy, R.D. Braatz, Distributional uncertainty analysis using power series and](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0165) [of continuous pharmaceutical manufacturing using flowsheet models, Comput.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0100) [Chem. Eng. 107 (2017) 77–91.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0100) [21] [F. Boukouvala, V. Niotis, R. Ramachandran, F.J. Muzzio, M.G. Ierapetritou, An](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0105) [integrated approach for dynamic flowsheet modeling and sensitivity analysis of a](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0105) [continuous tablet manufacturing process, Comput. Chem. Eng. 42 (2012) 30–47.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0105) [22] [N. Metta, M. Ghijs, E. Sch¨afer, A. Kumar, P. Cappuyns, I. Van Assche, R. Singh,](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0110) [R. Ramachandran, T. De Beer, M. Ierapetritou, I. Nopens, Dynamic flowsheet](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0110) [model development and sensitivity analysis of a continuous pharmaceutical tablet](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0110) [manufacturing process using the wet granulation route, Processes 7 (2019) 234.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0110) [23] [M. Sen, A. Chaudhury, R. Singh, J. John, R. Ramachandran, Multi-scale flowsheet](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0115) [simulation of an integrated continuous purification–downstream pharmaceutical](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0115) [manufacturing process, Int. J. Pharm. 445 (2013) 29–38.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0115) [24] [M. Sen, A. Rogers, R. Singh, A. Chaudhury, J. John, M.G. Ierapetritou,](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0120) [R. Ramachandran, Flowsheet optimization of an integrated continuous](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0120) [purification-processing pharmaceutical manufacturing operation, Chem. Eng. Sci.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0120) [102 (2013) 56–66.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0120) [25] [B. Benyahia, R. Lakerveld, P.I. Barton, A plant-wide dynamic model of a](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0125) [continuous pharmaceutical process, Ind. Eng. Chem. Res. 51 (2012) 15393–15412.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0125) [26] [J.B. Dressman, J. Kramer, Pharmaceutical dissolution testing, Taylor ¨](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0130) & Francis [Boca Raton, FL, 2005.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0130) [27] [N. Zaborenko, Z. Shi, C.C. Corredor, B.M. Smith-Goettler, L. Zhang, A. Hermans, C.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0135) [M. Neu, M.A. Alam, M.J. Cohen, X. Lu, L. Xiong, B.M. Zacour, First-principles and](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0135) [empirical approaches to predicting in vitro dissolution for pharmaceutical](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0135) [formulation and process development and for product release testing, The AAPS](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0135) [Journal 21 (2019) 32.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0135) [28] [A. Balogh, A. Domokos, B. Farkas, A. Farkas, Z. Rapi, D. Kiss, Z. Nyiri, Z. Eke,](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0140) [aspirin formulation, Inflammopharmacology 20 (2012) 225–231.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0175) [36] [J.B. Dressman, A. Nair, B. Abrahamsson, D.M. Barends, D. Groot, S. Kopp,](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0180) [P. Langguth, J.E. Polli, V.P. Shah, M. Zimmer, Biowaiver monograph for](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0180) [immediate-release solid oral dosage forms: acetylsalicylic acid, J. Pharm. Sci. 101](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0180) [(2012) 2653–2667.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0180) [37] [H. Bundgaard, Influence of an acetylsalicylic anhydride impurity on the rate of](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0185) [dissolution of acetylsalicylic acid, J. Pharm. Pharmacol. 26 (1974) 535–540.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0185) [38] [A.D. Bond, K.A. Solanko, S. Parsons, S. Redder, R. Boese, Single crystals of aspirin](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0190) [form II: crystallisation and stability, CrystEngComm 13 (2011) 399–401.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0190) [39] [N. Kubota, J.W. Mullin, A kinetic model for crystal growth from aqueous solution](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0195) [in the presence of impurity, J. Cryst. Growth 152 (1995) 203–208.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0195) [40] [N. Kubota, Effect of impurities on the growth kinetics of crystals, Cryst. Res.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0200) [Technol. 36 (2001) 749–769.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0200) [41] [M.D. Morris, Factorial sampling plans for preliminary computational experiments,](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0205) [Technometrics 33 (1991) 161–174.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0205) [42] F. Campolongo, A. Saltelli, J. Cariboni, From screening to quantitative sensitivity analysis. a unified approach, Computer Physics Communications 182 (2011) 978988. [43] [F. Pianosi, F. Sarrazin, T. Wagener, A matlab toolbox for global sensitivity analysis,](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0215) [Environ. Modell. Software 70 (2015) 80–85.](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0215) [44] F. Pianosi, F. Sarrazin, T. Wagener, http://bristol.ac.uk/cabot/resources/safe toolbox/ (Accessed: 2020. 07.02.). [45] US Food and Drug Administration. Guidance for Industry, Dissolution Testing of G. Szarka, R. Ork <sup>¨</sup> [´enyi, B. M´atravolgyi, F. Faigl, G. Marosi, Z.K. Nagy, Continuous ¨](http://refhub.elsevier.com/S1385-8947%0x2821%0x2901531-X/h0140) Immediate Release Solid Oral Dosage Forms, 1997.

섹션 본문

섹션 본문이 없습니다.

참고문헌 41건

  1. Global Sensitivity Analysis. The Primer 2007 10.1002/9780470725184
  2. Factorial Sampling Plans for Preliminary Computational Experiments Technometrics · Taylor & Francis · 1991 10.1080/00401706.1991.10484804
  3. A Matlab toolbox for Global Sensitivity Analysis Environmental Modelling & Software · Elsevier BV · 2015 10.1016/j.envsoft.2015.04.009
  4. The Future of Pharmaceutical Manufacturing Sciences Journal of Pharmaceutical Sciences · Elsevier BV · 2015 10.1002/jps.24594
  5. Distributional uncertainty analysis using power series and polynomial chaos expansions Journal of Process Control · Elsevier BV · 2007 10.1016/j.jprocont.2006.10.008
  6. Multi-scale flowsheet simulation of an integrated continuous purification–downstream pharmaceutical manufacturing process International Journal of Pharmaceutics · Elsevier BV · 2013 10.1016/j.ijpharm.2013.01.054
  7. Single crystals of aspirin form II: crystallisation and stability CrystEngComm · Royal Society of Chemistry · 2010 10.1039/c0ce00588f
  8. Dissolution and pharmacokinetics of a novel micronized aspirin formulation Inflammopharmacology · Springer Nature · 2011 10.1007/s10787-011-0099-z
  9. Flowsheet optimization of an integrated continuous purification-processing pharmaceutical manufacturing operation Chemical Engineering Science · Elsevier BV · 2013 10.1016/j.ces.2013.07.035
  10. Factorial Sampling Plans for Preliminary Computational Experiments Technometrics · Taylor & Francis · 1991 10.2307/1269043
  11. Effect of Impurities on the Growth Kinetics of Crystals Crystal Research and Technology · Wiley · 2001 10.1002/1521-4079(200110)36:8/10<749::aid-crat749>3.0.co;2-#
  12. Influence of an acetylsalicylic anhydride impurity on the rate of dissolution of acetylsalicylic acid Journal of Pharmacy and Pharmacology · Oxford University Press · 1974 10.1111/j.2042-7158.1974.tb09332.x
  13. A Plant-Wide Dynamic Model of a Continuous Pharmaceutical Process Industrial & Engineering Chemistry Research · American Chemical Society · 2012 10.1021/ie3006319
  14. A kinetic model for crystal growth from aqueous solution in the presence of impurity Journal of Crystal Growth · Elsevier BV · 1995 10.1016/0022-0248(95)00128-x
  15. From screening to quantitative sensitivity analysis. A unified approach Computer Physics Communications · Elsevier BV · 2011 10.1016/j.cpc.2010.12.039
  16. A model-based systems approach to pharmaceutical product-process design and analysis Chemical Engineering Science · Elsevier BV · 2010 10.1016/j.ces.2010.05.003
  17. Modernizing Pharmaceutical Manufacturing: from Batch to Continuous Production Journal of Pharmaceutical Innovation · Springer Science+Business Media · 2015 10.1007/s12247-015-9215-8
  18. High resolution algorithms for multidimensional population balance equations AIChE Journal · Wiley · 2004 10.1002/aic.10228
  19. Completely Derandomized Self-Adaptation in Evolution Strategies Evolutionary Computation · The MIT Press · 2001 10.1162/106365601750190398
  20. An integrated approach for dynamic flowsheet modeling and sensitivity analysis of a continuous tablet manufacturing process Computers & Chemical Engineering · Elsevier BV · 2012 10.1016/j.compchemeng.2012.02.015
  21. Biowaiver Monograph for Immediate-Release Solid Oral Dosage Forms: Acetylsalicylic Acid Journal of Pharmaceutical Sciences · Elsevier BV · 2012 10.1002/jps.23212
  22. An Integrated Approach to Simulation of Pharmaceutical Processes for Solid Drug Manufacture Industrial & Engineering Chemistry Research · American Chemical Society · 2013 10.1021/ie401344a
  23. Die International Conference on Harmonization of Technical Requirements for Registration of Pharmaceuticals for Human Use (ICH) Springer eBooks · Springer Nature · 2014 10.1007/978-3-642-35099-3_86
  24. Process analysis and optimization of continuous pharmaceutical manufacturing using flowsheet models Computers & Chemical Engineering · Elsevier BV · 2017 10.1016/j.compchemeng.2017.02.030
  25. Modeling in the quality by design environment: Regulatory requirements and recommendations for design space and control strategy appointment International Journal of Pharmaceutics · Elsevier BV · 2017 10.1016/j.ijpharm.2017.05.070
  26. Process modelling, simulation and technoeconomic evaluation of crystallisation antisolvents for the continuous pharmaceutical manufacturing of rufinamide Computers & Chemical Engineering · Elsevier BV · 2017 10.1016/j.compchemeng.2017.12.014
  27. Dynamic Plantwide Modeling, Uncertainty, and Sensitivity Analysis of a Pharmaceutical Upstream Synthesis: Ibuprofen Case Study Industrial & Engineering Chemistry Research · American Chemical Society · 2018 10.1021/acs.iecr.8b00465
  28. Continuous end-to-end production of solid drug dosage forms: Coupling flow synthesis and formulation by electrospinning Chemical Engineering Journal · Elsevier BV · 2018 10.1016/j.cej.2018.05.188
  29. Process Design and Optimization for the Continuous Manufacturing of Nevirapine, an Active Pharmaceutical Ingredient for HIV Treatment Organic Process Research & Development · American Chemical Society · 2019 10.1021/acs.oprd.8b00381
  30. First-Principles and Empirical Approaches to Predicting In Vitro Dissolution for Pharmaceutical Formulation and Process Development and for Product Release Testing The AAPS Journal · Springer Science+Business Media · 2019 10.1208/s12248-019-0297-y
  31. Dynamic Flowsheet Model Development and Sensitivity Analysis of a Continuous Pharmaceutical Tablet Manufacturing Process Using the Wet Granulation Route Processes · Multidisciplinary Digital Publishing Institute · 2019 10.3390/pr7040234
  32. Quality risk assessment and mitigation of pharmaceutical continuous manufacturing using flowsheet modeling approach Computers & Chemical Engineering · Elsevier BV · 2019 10.1016/j.compchemeng.2019.06.033
  33. Flowsheet simulation of solids processes: Current status and future trends Advanced Powder Technology · Elsevier BV · 2019 10.1016/j.apt.2019.12.015
  34. Direct Processing of a Flow Reaction Mixture Using Continuous Mixed Suspension Mixed Product Removal Crystallizer Crystal Growth & Design · American Chemical Society · 2020 10.1021/acs.cgd.0c00252
  35. A Virtual Plant for Integrated Continuous Manufacturing of a Carfilzomib Drug Substance Intermediate, Part 3: Manganese-Catalyzed Asymmetric Epoxidation, Crystallization, and Filtration Organic Process Research & Development · American Chemical Society · 2020 10.1021/acs.oprd.0c00189
  36. A Virtual Plant for Integrated Continuous Manufacturing of a Carfilzomib Drug Substance Intermediate, Part 1: CDI-Promoted Amide Bond Formation Organic Process Research & Development · American Chemical Society · 2020 10.1021/acs.oprd.0c00187
  37. A Virtual Plant for Integrated Continuous Manufacturing of a Carfilzomib Drug Substance Intermediate, Part 2: Enone Synthesis via a Barbier-Type Grignard Process Organic Process Research & Development · American Chemical Society · 2020 10.1021/acs.oprd.0c00188
  38. When Is an In Silico Representation a Digital Twin? A Biopharmaceutical Industry Approach to the Digital Twin Concept Advances in biochemical engineering, biotechnology · Springer Science+Business Media · 2020 10.1007/10_2020_138
  39. Modeling of pharmaceutical filtration and continuous integrated crystallization-filtration processes Chemical Engineering Journal · Elsevier BV · 2020 10.1016/j.cej.2020.127566
  40. Pharmaceutical Dissolution Testing CRC Press eBooks · Informa · 2005 10.1201/9780849359170
  41. Effect of Impurities on the Growth Kinetics of Crystals Crystal Research and Technology · Wiley · 2001 10.1002/1521-4079(200110)36:8/10<749::aid-crat749>3.0.co;2-