Introduction

Twin-screw wet granulation (TSG) has been extensively studied recently [1,2,3,4,5,6,7]. Granule properties can be modified via TSG by changing the powder feed rate [6, 8], liquid-to-solid (L/S) ratio [9, 10], screw speed [8, 11] or screw configuration [3, 12]. Since process manufacturing is changing from traditional batch manufacturing to continuous manufacturing (CM), TSG enables the continuous production of granules. Smaller equipment footprint [2], less waste production [13], better control of product quality [14] and real-time release [13] are some of the advantages of CM. Further processing of the produced granules, e.g. tableting, requires an initial drying step.

There are several dryer types that can be implemented after TSG into a single CM line. A segmented fluidised bed dryer (FBD) is a common method for performing drying semi-continuously. Moreover, CM lines with 6 [15] or 10 [16] segmented drying chambers are well established by the GEA Group (ConsiGma) [17] and Glatt (ModCos) [18]. A horizontal FBD with a screw conveyer inside the drying chamber was introduced by the company Lödige Process Technology (GRANUCON®) [19]. Inspired by the food industry, where vibrating FBDs (VFBDs) are commonly used, this type is also implemented into a CM line by L.B. Bohle Maschinen und Verfahren (QbCon®) [20, 21]. A CM line from “powder to tablet” via wet granulation and intermediate drying requires an adequate control strategy to ensure product quality [22]. One critical quality attribute (CQA) that needs to be considered is granule moisture, called loss-on-drying (LOD) [22].

Process analytical technologies (PATs) allow real-time monitoring of CQAs such as LOD. Therefore, microwave resonance technology [23], NIRS [24] or Raman spectroscopy [25] is widely used. A disadvantage of these methods is the implementation and validation of an additional sensor [24]. Another approach based on thermodynamics is the calculation using the mass and energy balance (MEB) for real-time LOD control. For the implementation of MEB, a further sensor installation is not necessary as it is based on the already included standard sensors that continuously log process values such as relative humidity, temperature, pressure and air flow of the inlet and outlet air. Regarding dryers intended or implemented for the CM line, the derivation of a MEB was already investigated for the GPCG2 FBD with 10 segments including the usage of NIRS with good prediction of the LOD [24]. In addition, for the 6-segmented FBD of ConsiGma, a MEB was examined [26] compared to PAT by Raman as well as NIRS [25], which provided good correlations. Mathematical modelling enables the prediction of LOD and was previously introduced for drying via FBD [27] or VFBD [28] in the food industry. In the pharmaceutical field, a mathematical model was investigated for horizontal FBD combined with a screw conveyor using drying kinetics for the prediction of LOD [29]. In addition, for the FBD of ConsiGma, a process model was established as a soft sensor [30] as well as mechanistic modelling for the simulation of LOD at different granule size fractions [31]. A combination of a data-driven technique using a latent-variable model and a knowledge-driven mechanic model applied for a segmented FBD. Thereby, fault detection and cause detection were obtained [32]. For the VFBD grey box modelling [33], flowsheet simulation [34] and a one-dimensional plug flow model [35] were constructed.

The aim of the present work is the stepwise derivation of a MEB for the continuous VFBD of QbCon® 1 using logged process values of the sensors installed in the drying and granulation unit. This offers the first step toward the development of an orthogonal method, which might be used additional to another PAT method. The applicability of the set MEB to predict the LOD of two different formulations at different LOD ranges was investigated as well for gain insights into the energy flux during heating and drying.

Materials and Methods

Materials

Two formulations were applied for wet granulation and drying, which contained either 97% (w/w) mannitol (Pearlitol 200 SD, Roquette, Lestrem, France) or 80% (w/w) alpha-lactose monohydrate (Granulac® 200, MEGGLE GmbH & Co. KG, Wasserburg am Inn, Germany) and 17% (w/w) microcrystalline cellulose (MCC, VIVAPUR® 101, JRS PHARMA GmbH & Co. KG, Rosenberg, Germany). 3% (w/w) polyvinylpyrrolidone K 30 (Kollidon® 30, BASF SE, Ludwigshafen, Germany) was used as binder in both formulations. Demineralized water served as the granulation liquid.

Preparation of the Powder Mixtures

The mixtures were blended in 5 kg batches for 20 min at 25 rpm in a laboratory-scale blender (LM 40, L. B. Bohle Maschinen und Verfahren GmbH, Ennigerloh, Germany).

Twin-Screw Wet Granulation and Drying

Continuous wet granulation and drying are performed using QbCon® 1 (L.B. Bohle Maschinen und Verfahren GmbH, Ennigerloh, Germany) comprising a feeding unit, a twin-screw wet granulator and a continuous vibrated fluidised bed dryer. For granulation, a screw diameter (D) of 16 mm and a total screw length of 20.15 × D were set. The screw configuration contained long pitch conveying elements (LPCE), short pitch conveying elements (SPCE) and kneading elements (KE) with a stagger angle of 60°. The following screw configuration was used from inlet to the outlet: 4D LPCE–3.75D SPCE–1.2D (6) KE–5D SPCE–1.2D (6) KE–5D SPCE. A gravimetric feeder (DIW-PE-GZD-P 150.12 Gericke AG, Regensdorf, Switzerland) was used to feed the powder blend and the granulation liquid was fed via a micro-gear pump (MZR-7205, HNO-Mikrosysteme GmbH, Schwerin, Germany) with a nozzle diameter of 0.12 mm. The liquid port was set before the first kneading block. Solid feed rate (\(\dot{SFR}\)) of 1.2 kg/h, screw speed of 100 rpm, L/S ratio of 0.15 (mannitol formulation) or 0.20 (lactose-MCC formulation) and barrel temperature of 25 °C were kept constant for all experiments. After reaching a uniform torque fluctuation in the TSG process, the granules were supplied to the drying chamber. The dryer was preheated for each drying condition for 1 h. The process was run for 1 h under constant granulation and drying parameters. In total, 3 different drying conditions were selected from a previous publication [21] for each formulation to obtain different LOD ranges. Therefore, different parameter settings for the drying temperature (\({T}_{IN}\)), inlet air flow (\({AF}_{IN}\)) and vibration acceleration (\(Vib\)) were used. Mannitol and lactose-MCC granules were dried as listed in Table 1. Samples of dried granules were taken every 5 min and stored in glass containers sealed from air until the LOD was measured in triplicate. The inlet and exhaust air humidity, temperature, air flow and pressures were recorded internally by the sensors installed in the equipment. The ambient relative humidity (\({\varphi }_{ambient}\)) and temperature (\({T}_{ambient})\) were noticed every 30 min using wireless temperature and humidity sensor testo 175 H1 (Testo SE &Co. KGaA, Titisee-Neustadt, Germany). The \({\varphi }_{ambient}\) was converted further into absolute humidity \({(X}_{ambient}).\)

Table 1 Drying conditions using mannitol (M) and lactose-MCC (L) as the formulation

MEB was derived stepwise using an additional run for lactose-MCC with the previously described granulation parameters. For this, a heating phase of 80 min in an empty dryer was investigated and the granulation and drying were conducted over 150 min. The LOD was determined every 5 min with n = 1. Granules were dried at 321.15 K with an \({AF}_{IN}\) of 18 Nm3/h and 7.5 m/s2 as \(Vib\) (L1 according to Table 1).

Design of Experiment—Empty Dryer

In a previous study, the recorded temperatures inside the empty drying chamber were lower than the set \({T}_{IN}\). [21]. In addition, the outlet temperature (\({T}_{OUT}\)) was lower because of the heat conduction of the stainless steel drying chamber, which led to thermal energy loss [21]. The approach of investigating empty dryers using a design of experiment (DoE) was already introduced by Pauli et al. [24] and was implemented for the MEB of the VFBD. A central composite circumscribed DoE was conducted using \({T}_{IN}\) (313.25–353.05 K) and \({AF}_{IN}\) (10.1–19.9 Nm3/h) as factors. The DoE setup is listed in Table 2. The distance between the center and star points α according to Myers et al. is 1.414 to obtain a rotatable and orthogonal design [36]. Thus, a total of 11 experiments were performed involving a center point conducted three times in randomised order. The DoE was built and analysed using MODDE (V13.0, Sartorius Stedim Data Analytics AB, Malmö, Sweden).

Table 2 CCC-DoE setup with coded and uncoded factors in an empty drying chamber

The dryer was initially preheated at the beginning of each day for 30 min. Each run was performed for 2 h. For evaluation, only the mean of the last 10 min was used. To monitor the temperature and humidity along the drying chamber, 12 wireless temperature and humidity sensors (RHTemp 1000Ex, MadgeTech Inc., Warner, USA) were used. A detailed description of the position of the sensors inside the dryer can be found in a previous study [21]. Therefore, the temperature inside the drying chamber recorded at position 4 (\({T}_{SIEV}\)), which is close to the inlet of the hot air, was used as the response for this DoE. \({T}_{OUT}\) is measured directly at the outlet of the drying chamber and was also investigated as response. Figure 1 shows the locations of the investigated sensors used in the DoE.

Fig. 1
figure 1

Sensor location with investigated factors and response values in the DoE in the empty drying state

Calculation of Absolute Humidity

The measured relative humidity was converted into the absolute humidity mixing ratio X according to Eq. (1) [37].

$$X \left[\frac{g}{kg}\right]=\frac{{M}_{water}}{{M}_{air}}*\frac{{p}_{wv}}{\left(p-{p}_{wv}\right)}*1000$$
(1)

\({M}_{Water}\) and \({M}_{Air}\) are the molar weights of water and air, \({p}_{wv}\) describes the partial pressure of water vapour and \(p\) the pressure.

Determination of Water Content (LOD)

Every 5 min, a sample of the dried granules was taken, and the LOD was analysed offline using a moisture analyser (MA 100, Sartorius, Goettingen, Germany). A sample size of approximately 2 g of the dried granules was dried at 80 °C (lactose-MCC formulation) or 105 °C (mannitol formulation). The termination criterion, where the measurement stopped, was set at 0.1% of the mass differences within 150 s. Measurements were performed in triplicates. The LOD of the starting material of each powder composition was also measured in triplicates before granulation and drying of each drying process using a sample size of 4 g.

LOD Prediction Performance Using Root Mean Square Error

The prediction performance of the LOD using the mass balance was investigated using the root mean square error (RMSE), which was calculated according to Eq. (2) [38]. The RMSE describes the average difference between the predicted LOD (P) and the observed LOD (O). Therefore, N displays the number of measurement points using N = 12 for all experiments.

$$RMSE=\sqrt{\frac{1}{N}\sum_{i=1}^{N}{({P}_{i}-{O}_{i})}^{2}}$$
(2)

Propagation of Uncertainty

The Law of Propagation of Uncertainty is used to calculate the measurement uncertainty \({u}_{y}\) of a variable \(y\) subject to measurement uncertainties \({u}_{i}\) of different variables \({x}_{i}\) and where \(f\left({x}_{i}\right)\) is the functional relationship between \(y\) and \({x}_{i}\). The measurement uncertainty \({u}_{y}\) can be calculated according to Eq. (3) [39].

$${u}_{y}=\sqrt{\sum_{i}{\left(\frac{\partial f}{\partial {x}_{i}}\cdot {u}_{i}\right)}^{2}}$$
(3)

The uncertainty in \(y\) can be presented as the range of reliability according to Eq. (4) [39]. In the following work, \({u}_{y}\) is labelled as uncertainty.

$$y=f\left({x}_{i}\right)\pm {u}_{y}$$
(4)

Differential Scanning Calorimetry

Differential scanning calorimetry measurements were conducted using a 1 STARe system (Mettler-Toledo GmbH, Gießen, Germany). Samples pf 3–5 mg were weighed into sealed aluminium pans and heated from 0 to 260 °C (lactose-MCC formulation) or to 220 °C (mannitol formulation) at a rate of 10 °C/min.

Results and Discussion

Investigation of Empty Dryer

A previous study showed a difference between the set \({T}_{IN}\) and \({T}_{OUT}\) in empty state [21]. As the stainless-steel dryer and sieve bottom are heated, there is a loss in thermal energy due to heat conduction. This loss of thermal energy is not associated with the evaporation of water during drying. Therefore, a model for \({T}_{SIEV}\) was set up from the DoE in the empty state. Table 3 gives an overview of the observed responses used to build the following model. Correlating \({T}_{SIEV}\) against \({AF}_{IN}\) and \({T}_{OUT}\) enables the prediction of the conductive energy loss between \({T}_{SIEV}\) and \({T}_{OUT}\). According to Pauli et al. [24], the predicted \({T}_{SIEV}\) based on \({AF}_{IN}\) and \({T}_{OUT}\) equals the theoretical granule temperature (\({T}_{granules}\)) as predicted by the temperature of the air that leaves the sieve bottom. Thus, in empty state, the \({T}_{SIEV}\) ideally equals \({T}_{IN}\) as well as \({T}_{OUT}\). During drying of granules, the \({T}_{IN}\) is higher than \({T}_{OUT}\) and consequently \({T}_{SIEV}\) or \({T}_{granules}\). Hence, the observed response \({T}_{OUT}\) was applied as a factor for predicting \({T}_{SIEV}\) as this temperature is closer to \({T}_{granules}\) due to evaporation compared to \({T}_{IN}\). Figure 2 displays the evaluation of the set model for predicting \({T}_{granules}\) using a summary of fit. R2, which is a measure of fit, and Q2, which is the prediction ability, were close to 1.0 (> 0.98). The high value in reproducibility resulted in lower model validity. The observed versus predicted values using the model are also shown in Fig. 2. Equation (5) was used further in the MEB to predict the \({T}_{granules}\) at the conducted drying conditions.

Table 3 Observed responses of DoE in an empty dryer
Fig. 2
figure 2

Summary of fit and observed versus predicted plot for the model of \({\mathrm{T}}_{\mathrm{granules}}\)

$${T}_{granules}\left[\mathrm{K}\right]=-0.87*{AF}_{IN}+2.00*{T}_{OUT}-282.87$$
(5)

Derivation of Mass Balance

Placement of Sensors

The derivation of MEB is based on the sensors installed in QbCon® 1, which are displayed in Fig. 3. The temperature of the compressed air (\({T}_{compressed air}\)) and relative humidity (\({\varphi }_{IN}\)) is measured before the air is heated to the set \({T}_{IN}\). \({\varphi }_{IN}\) is converted into the absolute humidity of the inlet air (\({X}_{IN}).\) Before the hot air enters the drying chamber, the \({AF}_{IN}\), \({T}_{IN}\) and inlet pressure (\({p}_{IN}\)) are recorded. The ambient pressure (\({p}_{ambient}\)) is recorded by the equipment. Hot and dry air exits the drying chamber by passing through the product filter. At the outlet, the pressure (\({p}_{OUT}\)) and \({T}_{OUT}\) are measured. After passing the exhaust filter, the outlet temperature (\({T}_{OUT2}\)) and outlet relative humidity (\({\varphi }_{OUT}\)) are recorded and used for the calculation of the absolute humidity (\({X}_{OUT}\)). The outlet air flow (\({AF}_{OUT}\)) is obtained after exiting the exhaust fan. The black arrows represent the flow of air, whereas the dashed arrows show the material flow. During granulation, the \(\dot{SFR}\) and liquid feed rate (\(\dot{LFR}\)) are recorded and the barrel temperature at three positions. The third position (\({T}_{barrel3}\)) was used for the calculations of the energy balance as it is close to the outlet of the TSG and closely represents the temperature of the granules entering the drying chamber.

Fig. 3
figure 3

Sensor positions of the measured process parameters for the MEB

Derivation of Mass Balance—Empty Dryer

The mass balance calculation assumed that the amount of mass entering a system equals the amount of mass exiting a system. In the used VFBD, the mass balance was first calculated under empty conditions. Therefore, the water and dry air which enters the drying unit via the inlet air should equal the mass of water and dry air leaving the dryer through the outlet air. Table 4 lists the parameters used to demonstrate the mass balance in the empty state.

Table 4 Process parameters used to demonstrate the MEB of derivation at a certain time point in an empty dryer

\({AF}_{IN}\) and \({AF}_{OUT}\) are indicated as the norm volumetric flow (\({\dot{V}}_{norm}\)) for a norm pressure (\({p}_{norm}\)) of 101,325 Pa and norm temperature (\({T}_{norm}\)) of 273.15 K. Therefore, the norm conditions are calculated for the operating volume flow for inlet (\({\dot{V}}_{IN}\)) and outlet air flow (\({\dot{V}}_{OUT}\)) derived from the universal gas equation according to Eq. (6) [40]. Consequently, \({\dot{V}}_{IN}\) and \({\dot{V}}_{OUT}\) are calculated as follows:

$${\dot{V}}_{0}\left[\frac{{\mathrm{m}}^{3}}{\mathrm{h}}\right]=\frac{{p}_{norm}*{\dot{V}}_{norm}*T}{{T}_{norm}*p}$$
(6)
$${\dot{V}}_{IN}=\frac{101325\,\mathrm{Pa}*18.01 \frac{{\mathrm{m}}^{3}}{\mathrm{h}}*296.45\,\mathrm{K}}{273.15\,\mathrm{K}*102780\,\mathrm{Pa}}=19.27 \frac{{\mathrm{m}}^{3}}{\mathrm{h}}$$
$${\dot{V}}_{OUT}=\frac{101325\,\mathrm{Pa}*18.22 \frac{{\mathrm{m}}^{3}}{\mathrm{h}}*304.75\,\mathrm{K}}{273.15\,\mathrm{K}*101240\,\mathrm{Pa}}=20.34 \frac{{\mathrm{m}}^{3}}{\mathrm{h}}$$

To determine the mass flow of wet air (\({\dot{m}}_{wa}\)) through \({\dot{V}}_{0}\), the density of wet air (\({\rho }_{wa}\)) is calculated according to Eq. (7) with the specific gas constant of wet air (\({R}_{wa}\)) which is calculated using Eq. (8) [40]. Where \({R}_{da}\) is the specific gas constant of dry air, defined as \(287.0 \frac{\mathrm{J}}{\mathrm{kg}*\mathrm{K}}\), and \({R}_{w}\) of water vapour defined as \(461.5 \frac{\mathrm{J}}{\mathrm{kg}*\mathrm{K}}\). \(\varphi\) is the relative humidity and \({p}_{s}\) the saturation vapour pressure.

$${\rho }_{wa} \left[\frac{\mathrm{kg}}{{\mathrm{m}}^{3}}\right]=\frac{p}{{R}_{wa}*T}$$
(7)
$${R}_{wa} \left[\frac{\mathrm{J}}{\mathrm{kg}*\mathrm{K}}\right]=\frac{{R}_{da}}{1-\varphi *\frac{{p}_{s}}{p}*\left(1-\frac{{R}_{da}}{{R}_{w}}\right)}$$
(8)

Thus, the calculated densities are \(1.207 \frac{\mathrm{kg}}{{\mathrm{m}}^{3}}\) of inlet air (\({\rho }_{wa-IN})\) and \(1.157 \frac{\mathrm{kg}}{{\mathrm{m}}^{3}}\) of the outlet air (\({\rho }_{wa-OUT})\). \({\dot{m}}_{wa}\) of inlet (\({\dot{m}}_{wa-IN}\)) and outlet air (\({\dot{m}}_{wa-OUT}\)) is calculated using Eq. (9):

$${\dot{m}}_{wa} \left[\frac{\mathrm{kg}}{\mathrm{h}}\right]={\rho }_{wa}*{\dot{V}}_{0}$$
(9)
$${\dot{m}}_{wa-IN}=1.207 \frac{\mathrm{kg}}{{\mathrm{m}}^{3}}*19.27 \frac{{\mathrm{m}}^{3}}{\mathrm{h}}=23.26 \frac{\mathrm{kg}}{\mathrm{h}}$$
$${\dot{m}}_{wa-OUT}=1.157 \frac{\mathrm{kg}}{{\mathrm{m}}^{3}}*20.34 \frac{{\mathrm{m}}^{3}}{\mathrm{h}}=23.53 \frac{\mathrm{kg}}{\mathrm{h}}$$

By using \({\dot{m}}_{wa}\) and X, the mass flow of dry air (\({\dot{m}}_{da}\)) and water through the air (\({\dot{m}}_{w}\)) is calculated using Eqs. (10) and (11):

$${\dot{m}}_{da} \left[\frac{\mathrm{kg}}{\mathrm{h}}\right]=\frac{{\dot{m}}_{wa}}{(1+X)}$$
(10)
$${\dot{m}}_{w} \left[\frac{\mathrm{kg}}{\mathrm{h}}\right]={\dot{m}}_{da}*X$$
(11)
$${\dot{m}}_{da-IN}=\frac{23.26 \frac{\mathrm{kg}}{\mathrm{h}}}{1+0.944*{10}^{-3} \frac{\mathrm{kg}}{\mathrm{kg}}}=23.24 \frac{\mathrm{kg}}{\mathrm{h}}$$
$${\dot{m}}_{w-IN}=23.24\frac{\mathrm{kg}}{\mathrm{h}}*0.944*{10}^{-3}\frac{\mathrm{kg}}{\mathrm{kg}}=0.0219 \frac{\mathrm{kg}}{\mathrm{h}}$$
$${\dot{m}}_{da-OUT}=\frac{23.53 \frac{\mathrm{kg}}{\mathrm{h}}}{1+0.696*{10}^{-3} \frac{\mathrm{kg}}{\mathrm{kg}}}=23.51 \frac{\mathrm{kg}}{\mathrm{h}}$$
$${\dot{m}}_{w-OUT}=23.51\frac{\mathrm{kg}}{\mathrm{h}}*0.696*{10}^{-3}\frac{\mathrm{kg}}{\mathrm{kg}}=0.0164 \frac{\mathrm{kg}}{\mathrm{h}}$$

There is a deviation between the incoming and outgoing \({\dot{m}}_{da}\) and \({\dot{m}}_{w}\). \(0.0055 \frac{\mathrm{kg}}{\mathrm{h}}\) more water enters the drying chamber through the air but not exiting. At the same time, \(0.27 \frac{\mathrm{kg}}{\mathrm{h}}\) more dry air leaves the system. Vacuum is applied in the drying chamber at the outlet of the TSG and thus ambient air can enter the drying chamber by attraction. In addition, through the rubber seals around the drying chamber, ambient air could have entered, which has a higher relative humidity. Therefore, the assumption was made that the difference between the supply and exhaust dry air is equal to the \({\dot{m}}_{da}\) from the environment (\({\dot{m}}_{da-ambient-IN}\)). Thus, the \({\dot{m}}_{da-ambient-IN}\) is determined by converting Eq. (12) and the water entering the drying chamber through the environment (\({\dot{m}}_{w-ambient-IN}\)) is calculated using Eq. (11).

$${\dot{m}}_{da-IN}+{\dot{m}}_{da-ambient-IN}={\dot{m}}_{da-OUT}$$
(12)
$${\dot{m}}_{da-ambient-IN}=23.51 \frac{\mathrm{kg}}{\mathrm{h}}-23.24 \frac{\mathrm{kg}}{\mathrm{h}}=0.27 \frac{\mathrm{kg}}{\mathrm{h}}$$
$${\dot{m}}_{w-ambient-IN}=0.27\frac{\mathrm{kg}}{\mathrm{h}}*7.67*{10}^{-3}\frac{\mathrm{kg}}{\mathrm{kg}}=0.0021 \frac{\mathrm{kg}}{\mathrm{h}}$$

Despite this, the mass balance of inlet and outlet water is not in balance and due to the ambient air an even higher amount of water entering but not leaving the system. The same phenomenon was observed by Mortier et al. [26] for the investigated datasets using the six segmented FBD of the ConsiGma from GEA. The authors had no explanation for the difference in the empty state. Thus, each sensor has an uncertainty that is considered in the calculations as described in the “Propagation of Uncertainty” section. The existing difference in water in the empty state is defined in the following study as \({\dot{m}}_{w-corr.}\) according to Eq. (13).

$${\dot{m}}_{w-corr.}=\left({\dot{m}}_{w-IN}+{\dot{m}}_{W-ambient-IN}\right)-{\dot{m}}_{w-OUT}$$
(13)

For the shown example, the \({\dot{m}}_{w-corr.}\) corresponds to \(0.0076 \frac{\mathrm{kg}}{\mathrm{h}}\) and needs to be added to the amount of water leaving through the outlet air (\({\dot{m}}_{w-OUT})\) while drying the granules for the prediction of the LOD. To determine \({\dot{m}}_{w-corr.}\), a heating phase before starting the granulation and drying process is required. In contrast to Mortier et al. [26], no correlation was found between the difference in \({\dot{m}}_{w}\) and inlet air temperature. The authors used a linear regression with all taken data points and added the “offset” in their publication to the mass balance. With this correlation, they had a good agreement between the measured LOD and the predicted LOD. Figure 4 displays the \({\dot{m}}_{w-corr.}\) over the time including the sensor uncertainty. Therefore, the heating phase starting from zero is included. Considering the sensor uncertainty, the calculated value covers a large range. As pressurised air is used as inlet air, which cannot be controlled, some fluctuations are possible.

Fig. 4
figure 4

Heating phase in empty dryer at 48 °C–18 Nm3/h–7.5 m/s2 over 80 min, n = 1 with 4800 measuring points, \({\dot{m}}_{w-corr} \pm\) uncertainty

Derivation of Mass Balance—Drying of Granules

The mass balance while processing in an empty state considered only entering and exiting air. With granulation and drying, more factors are involved in the balance. Figure 5 shows an overview of the factors involved in the setup of a MEB for drying after TSG using a VFBD. The blue arrows show the flow path of air, whereas the black arrows show the transportation path of the granules. Water enters the drying system via the granules, inlet air and ambient air and leaves via the outlet air, with dried granules and gets lost due to fines that remain trapped in the product filter. The loss of granules (\({\dot{m}}_{solid-loss-OUT}\)) and hence the loss of water in the granules (\({\dot{m}}_{w-granules-loss-OUT}\)) were neglected in the further calculations. While drying, energy enters the system via heated air (\({\dot{Q}}_{air-IN}\)), ambient air (\({\dot{Q}}_{ambient-air-IN}\)) and granules (\({\dot{Q}}_{granules-IN}\)) and exits the dryer through the outlet air (\({\dot{Q}}_{air-OUT}\)), conduction of the dryer (\({\dot{Q}}_{conduction-OUT}\)) and energy applied for evaporation (\({\dot{Q}}_{evaporation-OUT}\)) of water from the wet granules. The energy flux during drying is presented in orange.

Fig. 5
figure 5

Overview of factors involved in the MEB during drying via VFBD

The stepwise derivation of the mass balance for the dryer in the empty state is demonstrated in the “Derivation of Mass Balance—Empty Dryer” section. The derivation of the mass balance during the drying of granules is shown using an exemplary timepoint from the same drying process as in the demonstration of the empty dryer only after the heating phase, where now granules of lactose-MCC formulation were dried. The process parameters used for the calculations are listed in Table 5.

Table 5 Process parameters used for the demonstrating the MEB derivation at a certain time point during drying and granulation of the lactose-MCC formulation

Based on Fig. 5, the following mass balance for water while drying and neglecting the loss of granules through the filter can be set up as shown in Eq. (14). In addition to air, the water entering the system through the granules (\({\dot{m}}_{w-granules-IN}\)) and water leaving the system through the dried granules (\({\dot{m}}_{w-granules-OUT}\)) is involved in the balance. After rearranging Eq. (14) according to \({\dot{m}}_{w-granules-OUT}\), the LOD can be calculated.

$${\dot{m}}_{w-IN}+{\dot{m}}_{w-ambient-IN}+{\dot{m}}_{w-granules-IN}={\dot{m}}_{w-OUT}+{\dot{m}}_{w-corr.}+{\dot{m}}_{w-granules-OUT}$$
(14)

First, the mass flow of the solid into the dryer (\({\dot{m}}_{solid-IN}\)) is calculated by excluding the water content of the starting material (\({LOD}_{0})\) using Eq. (15):

$${\dot{m}}_{solid-IN} \left[\frac{\mathrm{kg}}{\mathrm{h}}\right]=\dot{SFR}*\left(1-\frac{{LOD}_{0}}{100}\right)$$
(15)
$${\dot{m}}_{solid-IN}=1.196\frac{\mathrm{kg}}{\mathrm{h}}*\left(1-\frac{0.93\%}{100}\right)=1.185 \frac{\mathrm{kg}}{\mathrm{h}}$$

Next, the theoretical liquid mass flow entering as \({\dot{m}}_{w-granules-IN}\) is calculated using the \(\dot{LFR}\) and \({LOD}_{0}\) according to Eq. (16):

$${\dot{m}}_{w-granules-IN} \left[\frac{\mathrm{kg}}{\mathrm{h}}\right]=\dot{LFR}*\left(\frac{{LOD}_{0}}{100}*\dot{SFR}\right)$$
(16)
$${\dot{m}}_{w-granules-IN}=0.24 \frac{\mathrm{kg}}{\mathrm{h}}*\left(\frac{0.93\%}{100}*1.196 \frac{\mathrm{kg}}{\mathrm{h}}\right)=0.251 \frac{\mathrm{kg}}{\mathrm{h}}$$

The incoming and outgoing mass of water were calculated as described in the empty state using Eqs. (4) to (10). Based on this, the calculated mass flows are as follows: \({\dot{m}}_{w-IN}= 0.0229\frac{\mathrm{kg}}{\mathrm{h}}\); \({\dot{m}}_{w-ambient-IN}= 0.0073\frac{\mathrm{kg}}{\mathrm{h}}\); \({\dot{m}}_{w-OUT}= 0.228\frac{\mathrm{kg}}{\mathrm{h}}\). The \({\dot{m}}_{W-corr.}\) is used from the heating phase of the dryer and corresponds to \(0.0076 \frac{\mathrm{kg}}{\mathrm{h}}\). Equation (14) was converted to \({\dot{m}}_{w-granules-OUT}\) and is described in Eq. (17) as follows:

$${\dot{m}}_{w-granules-OUT} \left[\frac{\mathrm{kg}}{\mathrm{h}}\right]={\dot{m}}_{w-IN}+{\dot{m}}_{w-ambient-IN}+{\dot{m}}_{w-granules-IN}-{\dot{m}}_{w-OUT}-{\dot{m}}_{w-corr.}$$
(17)
$${\dot{m}}_{w-granules-OUT}=0.0229 \frac{\mathrm{kg}}{\mathrm{h}}+0.0073 \frac{\mathrm{kg}}{\mathrm{h}}+0.251 \frac{\mathrm{kg}}{\mathrm{h}}-0.228 \frac{\mathrm{kg}}{\mathrm{h}}-0.0076 \frac{\mathrm{kg}}{\mathrm{h}}=0.0462 \frac{\mathrm{kg}}{\mathrm{h}}$$

Consequently, the difference between the \({\dot{m}}_{w-granules-IN}\) and the \({\dot{m}}_{w-granules-OUT}\) corresponds to the mass flow rate of evaporating water (\({\dot{m}}_{w-evap-OUT}\)) while drying described in Eq. (18):

$${\dot{m}}_{w-evap-OUT}\left[\frac{\mathrm{kg}}{\mathrm{h}}\right]={\dot{m}}_{w-granules-IN}-{\dot{m}}_{w-granules-OUT}$$
(18)
$${\dot{m}}_{w-evap-OUT}=0.251 \frac{\mathrm{kg}}{\mathrm{h}}-0.0462 \frac{\mathrm{kg}}{\mathrm{h}}=0.205 \frac{\mathrm{kg}}{\mathrm{h}}$$

With the assumption that no granules are lost while drying, the inlet mass flow rate of the powder \({\dot{m}}_{solid-IN}\) equals the outlet mass of the dried granules (\({\dot{m}}_{solid-OUT}\)). Equation (19) describes the calculation of the LOD.

$$LOD \left[\%\right]=\frac{{\dot{m}}_{w-granules-OUT}}{{\dot{m}}_{solid-OUT}+{\dot{m}}_{w-granules-OUT}}*100$$
(19)
$$LOD =\frac{0.0462 \frac{\mathrm{kg}}{\mathrm{h}}}{1.185 \frac{\mathrm{kg}}{\mathrm{h}}+0.0462 \frac{\mathrm{kg}}{\mathrm{h}}}*100=3.75\%$$

In comparison, the measured LOD at 130 min was 3.73%, which is close to the predicted LOD for this example of 3.75%. The demonstration does not include the uncertainty of the sensors used for the prediction. Figure 6 displays the predicted and measured LOD over time, including the model uncertainty. Thereby, the prediction with uncertainty covered a range of 3–4% for the LOD over the process of 150 min. The high fluctuations reached a steady state after 90 min of processing. Thus, a higher precision of the prediction is reached at the same time when \({T}_{OUT2}\) also achieves equilibrium. While production, longer processing times are obtained, and thereby, higher precision of the predicted LOD is obtained. Nevertheless, the prediction via mass balance showed good agreement with the measured LOD. The measured LOD increased in certain time periods, which is also covered by the predicted LOD values. An RMSE of 0.54% was obtained.

Fig. 6
figure 6

Predicted LOD with n = 1 with 9000 measuring points, predicted \(\pm\) uncertainty and measured LOD with n = 1 over 150 min

Prediction of LOD by Mass Balance

The application of the mass balance for prediction is displayed for the two formulations (mannitol and lactose-MCC). Each formulation was processed under three different drying conditions to cover different ranges of LOD. Figure 7 displays the prediction vs. measured LOD while drying mannitol and Fig. 8 shows the lactose-MCC with the related heating phase. The water difference through incoming and outgoing air \({\dot{m}}_{w-corr.}\) was determined for each run using the heating phase and is displayed in Figs. 7a and 8a. Thereby, the \({\dot{m}}_{w-corr.}\) showed different values and fluctuations as the experiments were not conducted on the same day except for the granulation and drying for the first and third drying process (\(M1\) and \(M3).\) The \({\dot{m}}_{w-corr.}\) showed a similar value compared to the drying conditions at M2. The conditions of the compressed supply air cannot be controlled, which might be a reason for the different obtained \({\dot{m}}_{w-corr.}\) values at different drying parameters and thus days. Applying higher \({T}_{IN}\) or \({AF}_{IN}\) resulted decrease in LOD. Decreasing Vib might lead to lower LOD depending on \({AF}_{IN}\) as the residence time of the granules is affected. The measured LOD over time lies within the predicted values (Fig. 7b). The predicted LOD showed high fluctuations, which can be attributed to the variation in absolute humidity during drying. The \({X}_{OUT}\) is measured at the outlet. The granules enter the drying chamber in a wet state at low temperature, and along the dryer, they are dried, and water is evaporated. The sensor itself covered all different drying stages at one position, which might explain the fluctuations in the absolute humidity of the outlet air. By changing the drying parameters from left to right (Fig. 7b), the obtained LOD decreased and the predicted LOD fluctuations decreased. The RMSE showed a smaller value and thus corresponded better at lower LOD or higher drying efficiency. While drying the mannitol granules at \(M1\), the predicted LOD exhibited the highest fluctuations. It might be that the drying capacity was not high enough to remove water from the granules compared with the higher drying temperature. Thus, resulting in an uneven evaporation of the water.

Fig. 7
figure 7

\({\dot{\mathrm{m}}}_{\mathrm{w}-\mathrm{corr}.}\) while heating phase in empty dryer over 30 min (a), n = 1 with 1800 measuring points, \({\dot{\mathrm{m}}}_{\mathrm{w}-\mathrm{corr}} \pm\) uncertainty and LOD prediction (b) during drying of mannitol granules with n = 1 with 3600 measuring points, predicted \(\pm\) uncertainty and measured LOD with n = 3, mean \(\pm\) standard deviation

Fig. 8
figure 8

\({\dot{\mathrm{m}}}_{\mathrm{w}-\mathrm{corr}.}\) while heating phase in empty dryer over 30 min (a), n = 1 with 1800 measuring points, \({\dot{\mathrm{m}}}_{\mathrm{w}-\mathrm{corr}} \pm\) uncertainty and LOD prediction (b) during drying of lactose-MCC granules with n = 1 with 3600 measuring points, predicted \(\pm\) uncertainty and measured LOD with n = 3, mean \(\pm\) standard deviation

Comparing Figs. 7b and 8b, drying of lactose-MCC showed a lower fluctuation of the predicted LOD values. This indicates that the fluctuation of the absolute humidity is less, and uniform drying is obtained. Drying of lactose-MCC at \(L3\) showed the highest variation in the prediction of the LOD over time. In addition, the obtained \({\dot{m}}_{w-corr.}\) with uncertainty is the highest (Fig. 8a). At higher \({T}_{IN}\) and \({AF}_{IN}\), the uncertainty of the sensor is higher. Drying at \(L1\) showed good agreement between the prediction and the measured LOD. After 45 min, a higher LOD was measured by using the mass balance. An increased LOD was also observed in the measurement. Finally, the predicted results for the two formulations using the established mass balance exhibit a good correspondence between the prediction and measured LOD.

Derivation of Energy Balance

Derivation of Energy Balance—Empty Dryer

The surfaces of the VFBD consisting of stainless steel were heated via convection, resulting in additional heat loss in addition to the evaporation of water while drying. Therefore, the energy entering and leaving the system was determined. In the heating phase, the energy balance considers the ambient air, inlet air and outlet air. This estimates the heat loss due to convection and thus the heating of the dryer surfaces. The specific enthalpy of humid air or energy flux (\(\dot{Q}\)) is calculated according to Eq. (20) with the specific enthalpy of dry air (\({h}_{da}\)) and water vapour (\({h}_{wv}\)) [40].

$$\dot{Q} \left[\frac{\mathrm{kJ}}{\mathrm{h}}\right]={\dot{m}}_{da}*{h}_{da}+{\dot{m}}_{w}*{h}_{wv}$$
(20)

The calculation of \({h}_{da}\) is determined using the simplified Eq. (21) using the specific heat capacity of air (\({c}_{a}\)) with the value of \(1.006 \frac{\mathrm{kJ}}{\mathrm{kg}*\mathrm{K}}\). \(T\) is the temperature of the air and \({T}_{tr}\) is the triple point of water at \(273.16\,\mathrm{K}\) [40].

$${h}_{da}\left[\frac{\mathrm{kJ}}{\mathrm{kg}}\right]={c}_{a}*(T-{T}_{tr})$$
(21)

The calculation of \({h}_{wv}\) is done according to Eq. (22) where \(\Delta {h}_{wv}\) is the specific evaporation enthalpy of water at \({T}_{tr}\) applied with the value of \(\Delta {h}_{wv}=2500.9 \frac{\mathrm{kJ}}{\mathrm{kg}}\) and \({c}_{wv}\) is the specific heat capacity of water vapour with \(1.888 \frac{\mathrm{kJ}}{\mathrm{kg}*\mathrm{K}}\) [40].

$${h}_{wv}\left[\frac{\mathrm{kJ}}{\mathrm{kg}}\right]={\Delta {h}_{wv}+c}_{wv}*(T-{T}_{tr})$$
(22)

According to Eqs. (20)–(22), the specific enthalpy respectively \(\dot{Q}\) of the inlet, ambient and outlet air are calculated for the empty dryer as follows:

$${\dot{Q}}_{air-IN} =23.24\frac{\mathrm{kg}}{\mathrm{h}}*1.006\frac{\mathrm{kJ}}{\mathrm{kg}*\mathrm{K}}*\left(321.15-273.16\right)+\left(0.0219\frac{\mathrm{kg}}{\mathrm{h}}*\left(2500.9\frac{\mathrm{kJ}}{\mathrm{kg}}+1.888\frac{\mathrm{kJ}}{\mathrm{kg}*\mathrm{K}}*\left(321.15-273.16\right)\right)\right)=1178.7\frac{\mathrm{kJ}}{\mathrm{h}}=327.4\,\mathrm{W}$$
$${\dot{Q}}_{ambient-air-IN} =0.27\frac{\mathrm{kg}}{\mathrm{h}}*1.006\frac{\mathrm{kJ}}{\mathrm{kg}*\mathrm{K}}*\left(297.15-273.16\right)+\left(0.0021\frac{\mathrm{kg}}{\mathrm{h}}*\left(2500.9\frac{\mathrm{kJ}}{\mathrm{kg}}+1.888\frac{\mathrm{kJ}}{\mathrm{kg}*\mathrm{K}}*\left(297.15-273.16\right)\right)\right)=14.0 \frac{\mathrm{kJ}}{\mathrm{h}}=3.9\,\mathrm{W}$$
$${\dot{Q}}_{air-OUT} =23.51\frac{\mathrm{kg}}{\mathrm{h}}*1.006\frac{\mathrm{kJ}}{\mathrm{kg}*\mathrm{K}}*\left(308.15-273.16\right)+\left(0.0164\frac{\mathrm{kg}}{\mathrm{h}}*\left(2500.9\frac{\mathrm{kJ}}{\mathrm{kg}}+1.888\frac{\mathrm{kJ}}{\mathrm{kg}*\mathrm{K}}*\left(308.15-273.16\right)\right)\right)=869.7 \frac{\mathrm{kJ}}{\mathrm{h}}=241.6\,\mathrm{W}$$

For the heating phase, the energy balance can be calculated according to Eq. (23). The difference between the incoming and outgoing energy flux corresponds to the heat loss (\({\dot{Q}}_{loss}\)) which is in empty dryer due to convection from the air to the dryer surface. The percentage \({\dot{Q}}_{loss}\) is determined according to Eq. (24) resulting 27.1% heat loss during the heating phase due to the heating of the stainless-steel parts of the drying chamber.

$${\dot{Q}}_{air-IN}+{\dot{Q}}_{ambient-air-IN}={\dot{Q}}_{air-OUT}+{\dot{Q}}_{loss}$$
(23)
$${\dot{Q}}_{loss}=\left({\dot{Q}}_{air-IN}+{\dot{Q}}_{ambient-air-IN}\right)-{\dot{Q}}_{air-OUT}=\left(327.4\,W+3.9\,\mathrm{W}\right)-241.6\,\mathrm{W}=89.7\,\mathrm{W}$$
$${\dot{Q}}_{loss}\left[\%\right]=\frac{{\dot{Q}}_{loss}}{{\dot{Q}}_{air-IN}+{\dot{Q}}_{ambient-air-IN}}*100$$
(24)
$${\dot{Q}}_{loss}\left[\%\right]=\frac{89.7\,\mathrm{W}}{327.4\,\mathrm{W}+3.9\,\mathrm{W}}*100=27.1\%$$

Derivation of Energy Balance—Drying of Granules

In addition to the air, granules entering and leaving the drying system at a certain temperature are included to set the energy balance in Eq. (23) resulting in Eq. (25). The wet and dried granules consist of a specific enthalpy, which is calculated using Eq. (26). The specific heat capacity of each formulation was determined using differential scanning calorimetry and resulted for lactose-MCC in \({c}_{lactose-MCC}=1.841 \frac{\mathrm{kJ}}{\mathrm{kg}*\mathrm{K}}\) and for mannitol in \({c}_{mannitol}=1.758 \frac{\mathrm{kJ}}{\mathrm{kg}*\mathrm{K}}\). \({c}_{w}\) is the specific heat capacity of water with a value of \(4.22 \frac{\mathrm{kJ}}{\mathrm{kg}*\mathrm{K}}\).

$${\dot{Q}}_{air-IN}+{\dot{Q}}_{ambient-air-IN}+{\dot{Q}}_{granules-IN}={\dot{Q}}_{air-OUT}+{\dot{Q}}_{granules-OUT}+{\dot{Q}}_{loss}$$
(25)
$${\dot{Q}}_{granules}={\dot{m}}_{solid}*{c}_{formulation}*\left(T-{T}_{tr}\right)+{\dot{m}}_{w-granules}*{c}_{w}*\left(T-{T}_{tr}\right)$$
(26)

For the entering granules, the \({T}_{barrel3}\) is used as the temperature, and for the leaving granules the temperature \({T}_{granules}\) is predicted according to Eq. (5). Thus, the energy flux of the granules is determined as follows:

$${T}_{granules}=-0.87*18.01 \frac{\mathrm{Nm}}{\mathrm{h}}+2.00*298.45\,\mathrm{K}-282.87=298.36\,\mathrm{K}$$
$${\dot{Q}}_{granules-IN}=1.185\frac{\mathrm{kg}}{\mathrm{h}}*1.841\frac{\mathrm{kJ}}{\mathrm{kg}*\mathrm{K}}*\left(298.85\,\mathrm{K}-273.16\,\mathrm{K}\right)+0.251\frac{\mathrm{kg}}{\mathrm{h}}*4.22\frac{\mathrm{kJ}}{\mathrm{kg}*\mathrm{K}}*\left(298.85\,\mathrm{K}-273.16\,\mathrm{K}\right)=83.26 \frac{\mathrm{kJ}}{\mathrm{h}}=23.1\,\mathrm{W}$$
$${\dot{Q}}_{granules-OUT}=1.185\frac{\mathrm{kg}}{\mathrm{h}}*1.841\frac{\mathrm{kJ}}{\mathrm{kg}*\mathrm{K}}*\left(298.36\,\mathrm{K}-273.16\,\mathrm{K}\right)+0.0462\frac{\mathrm{kg}}{\mathrm{h}}*4.22\frac{\mathrm{kJ}}{\mathrm{kg}*\mathrm{K}}*\left(298.36\,\mathrm{K}-273.16\,\mathrm{K}\right)=59.89 \frac{\mathrm{kJ}}{\mathrm{h}}=16.6\,\mathrm{W}$$

The energy flux of the air while drying is calculated as for the heating phase and resulted in the example in \({\dot{Q}}_{air-IN} =328.1\,\mathrm{W}\), \({\dot{Q}}_{ambient-air-IN} =12.3\,\mathrm{W}\) and \({\dot{Q}}_{air-OUT} = 332.3\,\mathrm{W}\). Thus, the \({\dot{Q}}_{loss}\) is determined by converting Eq. (25):

$${\dot{Q}}_{loss}=328.1\,\mathrm{W}+12.3\,\mathrm{W}+23.1\,\mathrm{W}-332.3\,\mathrm{W}-16.6\,\mathrm{W}=14.6\,\mathrm{W}$$
$${\dot{Q}}_{loss}=\frac{14.6\,\mathrm{W}}{(328.1\,\mathrm{W}+12.3\,\mathrm{W}+23.1\,\mathrm{W})}*100=4.02\%$$

\({\dot{Q}}_{IN}\), \({\dot{Q}}_{OUT}\) and \({\dot{Q}}_{loss}\) are calculated over time for the heating phase and drying of the granules displayed in Fig. 9. \({\dot{Q}}_{IN}\) and \({\dot{Q}}_{OUT}\) represent the sum of the entering, respectively, leaving \(\dot{Q}\). Figure 9b shows the energy balance over a longer drying time for the same experiment used for the stepwise deviation of the MEB. The heating phase includes the complete heating of the system (Fig. 9b). During the heating phase, the \({T}_{OUT}\) increases and thus the \({\dot{Q}}_{OUT}\). The lower the temperature difference between \({T}_{IN}\) and \({T}_{OUT}\), the lower \({\dot{Q}}_{loss}\) as \({\dot{Q}}_{OUT}\) becomes higher. During this phase, the entire device is heated, including the sieve plate and dryer walls (Fig. 9b). For experiments shown in Fig. 9a and c, the system was already heated as previous runs were conducted before indicating constant values for \({\dot{Q}}_{IN}\), \({\dot{Q}}_{OUT}\), \({T}_{OUT}\) and \({\dot{Q}}_{loss}\). As soon as wet granules enter the drying chamber, \({T}_{OUT}\) is decreasing as water evaporates and the granules are dried. In addition, the pipes were heated up and it takes time till the \({T}_{OUT}\) is reaching an equilibrium. At the beginning of drying, \({\dot{Q}}_{loss}\) is low because the granules are also dried by the heated surfaces via conduction. As the surfaces are cooled down over time, the \({\dot{Q}}_{OUT}\) is decreasing as the temperature of the exhaust air reduces and thus the \({\dot{Q}}_{loss}\) is increasing. Nevertheless, the \({\dot{Q}}_{loss}\) is lower during drying compared to the heating phase. \({\dot{Q}}_{OUT}\) especially the \({\dot{Q}}_{air-OUT}\) is higher during drying because it also consists of the evaporated water and thus more energy.

Fig. 9
figure 9

\(\dot{\mathrm{Q}}\) of incoming and leaving energy, \({\dot{\mathrm{Q}}}_{\mathrm{loss}}\) and \({\mathrm{T}}_{\mathrm{OUT}}\) during the heating phase and drying at M1 (a), L1 condition with longer time (b) and L3 (c), n = 1, value \(\pm\) uncertainty

The energy flux rates \(\dot{Q}\) for the different drying conditions are summarised for the drying of mannitol granules in Table 6 and lactose-MCC granules in Table 7. For the shown drying processes, the \({\dot{Q}}_{loss}\) is around 30% due to conduction through the dryer walls and the sieve plate. The heating phase for mannitol granules (Table 6) showed a slightly lower \({\dot{Q}}_{loss}\) by drying at higher air flow, indicating that the walls were not equally heated. The higher the evaporated amount of water, the higher the \({\dot{Q}}_{loss}\) while drying the granules. During the drying of mannitol granules at \(M1\) drying conditions, a negative \({\dot{Q}}_{loss}\) was observed. The change of \({\dot{Q}}_{IN}\) and \({\dot{Q}}_{OUT}\) is shown in Fig. 9a, where it is observed that \({T}_{OUT}\) is not reaching an equilibrium through 1 h of drying. \({\dot{Q}}_{IN}\) is therefore lower compared to \({\dot{Q}}_{OUT}\) resulting in a negative \({\dot{Q}}_{loss}\). A higher \({AF}_{IN}\) was used for drying in Fig. 9b compared to Fig. 9a, which might be the reason for the difference. Higher \({AF}_{IN}\) improved the heat distribution and resulted in an earlier onset of temperature equilibrium. \({\dot{Q}}_{loss}\) is less during drying of granules compared to the heating because the walls of the dryer are cooled down due to evaporation cooling. Increasing \({T}_{IN}\) or \({AF}_{IN}\), the \({\dot{Q}}_{IN}\) which is entering the system also increases. \({\dot{Q}}_{IN}\) is also dependent on the absolute humidity of the pressured air, which is not controlled. In a previous publication [21], the second drying stage was reached earlier with a lower LOD and the obtained \({T}_{OUT}\) is also higher, as shown in Tables 6 and 7.

Table 6 \(\dot{Q}\) of incoming and leaving energy in [W], \({\dot{Q}}_{loss}\) [%] and \({T}_{OUT}\) [K] during the heating phase and drying of mannitol granules under different drying conditions, n = 1 with 300 measuring points (heating phase) and 600 measuring points (drying of granules), mean \(\pm\) uncertainty
Table 7 \(\dot{Q}\) of incoming and leaving energy in [W], \({\dot{Q}}_{loss}\) [%] and \({T}_{OUT}\) [K] during the heating phase and drying of lactose-MCC granules under different drying conditions, n = 1 with 300 measuring points (heating phase) and 600 measuring points (drying of granules), mean \(\pm\) uncertainty

Based on the literature, the \({\dot{Q}}_{loss}\) is only defined by the difference in \({\dot{Q}}_{IN}\) and \({\dot{Q}}_{OUT}.\) Mortier et al. [26] defined the total required energy during drying as the sum of energy needed for evaporation of water from the wet granules as well as for heating the wet granules, the energy loss through the dryer walls and due to passing the filter. This consideration took more parameters into account. Unfortunately, no \({\dot{Q}}_{loss}\) or required energy was displayed, which might be used for comparison.

Conclusion

The derived MEB can predict the LOD based on the logged data of QbCon® 1 without additional sensors. This approach is another option for predicting the LOD besides the established ones via grey box modelling by Elkhashap et al. [33, 41] or mechanistic modelling implemented by Wikström et al. [35] for the production scale VFBD of QbCon® 25. In the empty state, the measured amount of water leaving the system is lower than the amount of water entering through the air. No explanation for this observation was found. However, this was already observed for the segmented dryer of ConsiGma [26]. The included sensor uncertainty increased at higher \({T}_{IN}\), especially in the empty state. The precision of the sensors is limited. Therefore, the difference of water entering and leaving the system in the empty state needs to be considered in the mass balance of drying of granules. Hence, data from the heating phase in the empty state are required for predicting LOD. With this assumption, a good correlation was observed for the drying of the two different formulations. Various drying conditions were investigated to cover different LOD values, which were predictable in all cases. Thus, the mass balance might be useful as a soft sensor so-called trivial observer to predict LOD in-line based on the logged process parameters of the machine. Advantages of the mass balance approach are the use of already installed sensors without additional acquisition of sensors, e.g. NIRS, to implement a PAT method. Additionally, mass balance offers the possibility of being used as an orthogonal method to monitor the LOD independent of a PAT method to lower the risk of failure during the adaption of process parameters if one method detects an out-of-range LOD. It must be considered that the mass balance alone cannot be used to adjust the process parameter to obtain a desired LOD, which is a disadvantage of this approach. The implemented energy balance showed that the heat loss in empty state based on convection is around 30% because of the heating of stainless-steel walls. While drying granules, the heat loss is lower by up to 10% depending on the applied drying conditions. When the wet granules enter the drying chamber, the heat loss is lower as the heated wall contributes to the required evaporation of water. The derived energy balance might be used to determine whether the system can expend the energy required to dry to a desired LOD. Compared to the established energy balances in the literature for several drying systems [24, 26, 42], this study provides values for the heat loss during the heating phase and drying of granules, thus provides a good insight into the energy flux.