Introduction

The palm date tree is widely cultivated across various regions worldwide, and its fruit is highly consumed for its high nutritional content, including minerals, carbohydrates, fiber, and vitamins. It also possesses anticarcinogenic, antimutagenic, and antioxidant properties that may aid in treating diseases such as cancer, cardiovascular conditions, and stroke1,2. The growing interest in cultivating various palm date varieties is evident in FAO (2023) statistics, which report an annual global production of approximately 10 million tons.

Among the cultivated varieties, Barhi dates are highly valued for their crunchy texture, sweet taste, and bright yellow color at the Khalal (unripe full-colored) stage. This stage has a short marketing window, making it economically significant1. However, Barhi dates ripen rapidly, transitioning to the Rutab (mature soft brown) stage within approximately seven days postharvest, leading to quality deterioration due to natural biological processes under standard storage conditions3,4.

Maintaining the quality of Barhi dates at the Khalal stage is a major challenge in postharvest management5. Improper handling can result in significant losses, both in quality and economic value. To mitigate these losses and prolong shelf-life, researchers have explored various preservation methods, including drying6, freeze drying7, freezing8, different packaging materials9, and modified atmosphere packaging10. Therefore, understanding the moisture sorption behavior of Barhi date is crucial for optimizing its drying, packaging, and storage conditions to ensure the stability and extend the shelf-life of Barhi date fruit.

Owing to the influence of water content on the preservation and storage of Barhi date, it is essential to investigate the behavior of moisture sorption isotherms, which describe the correlation between the equilibrium moisture content (Xe) of food material and its corresponding relative humidity (RH) at a constant temperature, covering a range of RH values11. These isotherms offer valuable information about the degree of water binding within a material12. They are crucial for assessing a material’s ability to retain water under particular storage conditions (e.g., temperature and relative humidity).

Several techniques have been utilized for measuring moisture sorption isotherms of various food products, with the gravimetric technique being the most commonly used technique13,14,15,16. This method monitors mass alterations, which can be accomplished continuously or intermittently in either dynamic or static systems. Continuous approaches utilize electrobalances to track weight fluctuations, whereas discontinuous methods use salt solutions under either vacuum or atmospheric conditions to determine the equilibrium relative humidity (RH) of the food material17. Discontinuous systems, however, can face issues such as slow equilibration and the risk of microorganism growth at high RH. These challenges are addressed by the dynamic vapor sorption (DVS) technique. In contrast to saturated salt solutions, a mixture of dry nitrogen and saturated water vapor is utilized in the DVS system to reach the target RH. This approach enables quicker equilibration because of the small sample chamber and continuous nitrogen flow while preventing microorganism growth. As a result, it allows for the measurement of both adsorption and desorption isotherms using the same sample18.

The examination of moisture sorption isotherms provides valuable thermodynamic insights that are necessary for designing equipment for various preservation processes19. These properties, including enthalpy, entropy and Gibbs free energy, are crucial for understanding the molecular interactions and processes taking place within food materials20. Additionally, mathematical modeling is essential for defining sorption isotherms and their thermodynamic properties. Various mathematical equations have been developed to describe moisture sorption in food materials, including Peleg21, Oswin22, modified Oswin23, GAB12, Halsey24, modified Halsey25, BET26,27, modified Henderson28, modified Chung-Pfost29 and Adam and Shove30.

Few studies have been conducted on the moisture sorption of palm date fruit, including those by Mediani, et al.31,Moitte and Heikal32,Knani, et al.33,Ferradji and Matallah34. To the best of the authors’ knowledge, no published studies have investigated the moisture sorption of vacuum-dried Barhi dates (VDBD) and freeze-dried Barhi dates (FDBD) at various temperatures or explored their related thermodynamic properties. Hence, this study aimed to explore the adsorption and desorption isotherms of VDBD and FDBD across a broad range of water activity levels at various temperatures, determine the most appropriate model for fitting the sorption isotherms, and evaluate the thermodynamic characteristics related to moisture adsorption and desorption in VDBD and FDBD.

Materials and methods

Sample preparation

Fresh Barhi date fruits and freeze-dried Barhi dates (FDBD) were purchased from a local market in Riyadh, Saudi Arabia, for this study. To prepare vacuum-dried Barhi dates (VDBD), the fresh dates were washed, deseeded, and cut into two halves using a stainless-steel knife. Each fruit was cut, each approximately 2 cm × 2 cm × 1 cm in size to ensure consistent exposure to the experimental conditions. The samples were then dried to a predetermined moisture content via a vacuum oven (LABOCON, Model: LV-103, UK) at 70 °C and a vacuum pressure of 200 mm Hg until a constant weight was achieved. These drying conditions were selected primarily for research purposes, with the goal of achieving a balance between effective moisture removal and the preservation of thermo-sensitive nutrients and structural integrity of the Barhi dates. This temperature falls within the commonly recommended range for drying high-sugar fruits under vacuum conditions. The dried samples were vacuum sealed in polyethylene bags and stored at 5 °C until further analysis of their sorption isotherms. The schematic view of the experimental setup is illustrated in Figure (1).

Determination of moisture content and water activity

The initial moisture content of the samples (64.3 ± 1% wet basis, w.b.) was determined following AOAC35 guidelines. Approximately 5 g of date pulp were weighed and placed in a pre-weighed moisture dish, then dried in a laboratory hot air oven at 105 ± 1 °C for 24 h to a constant weight. The initial water activity (0.946 ± 0.003) was determined via a water activity meter (Aqua Lab, Model: Series 3, Decagon Devices Inc., USA). Each sample was analyzed in triplicate, and the mean value was calculated. As a result, VDBD exhibited a moisture content of 5.0 ± 0.2 g/100 g dry basis and aw of 0.108 ± 0.002. In comparison, FDBD had a slightly higher moisture content of 9.0 ± 0.3 g/100 g dry basis and an aw of 0.107 ± 0.003.

Sorption isotherm analysis via a dynamic vapor sorption (DVS) system

The moisture absorption and release properties of the Barhi dates were examined via a DVS system (Aquadyne DVS, Quantachrome Instruments, Florida, USA). This advanced instrument precisely regulates the relative humidity (RH) and temperature, allowing continuous tracking of sample weight variations. The system consists of several essential components, such as a humidifier, an electronic microbalance, a relative humidity sensor, electronic mass flow controllers, a temperature controller, and a microprocessor linked to a PC. The configuration of the instrument is shown in Fig. 2.

Following the methodology described by Fikry and Al-Awaadh11, predried VDBD and FDBD samples weighing 141.09 ± 0.6 mg were placed inside the analyzer. The experiment was conducted by varying the RH level from 5 to 90% in increments of 10%, ensuring that each step was maintained until equilibrium was achieved, which was defined as a mass fluctuation of less than 0.01% per minute (Fig. 3). Equilibrium conditions were typically reached within approximately 16 and10 hours for adsorption and desorption phases, respectively. The study was performed at three fixed temperatures (25, 35, and 45 °C) to evaluate how temperature influences moisture sorption. After the adsorption phase was complete, the RH was gradually decreased to investigate the desorption patterns and hysteresis effects. At each humidity level, the equilibrium moisture content (Xe), expressed as the mass of water per unit mass of dry solids, was determined to generate sorption isotherms.

Mathematical modeling of sorption isotherm data

Seven commonly utilized mathematical equations—Peleg, GAB, BET, Halsey, Oswin, Smith, and Adam and Shove—were applied to analyze the sorption data. Table 1 presents the selected models, which were utilized to assess the experimental adsorption and desorption behavior of VDBD and FDBD.

Table 1 Mathematical models applied to the actual sorption isotherm data of VDBD and FDBD.

Evaluation of the thermodynamic characteristics of sorption isotherms

Thermodynamic properties, including the isosteric heat of sorption, differential entropy and Gibbs free energy, serve as key indicators of the complex relationship between food materials and moisture. The heat of sorption reflects the strength of the attraction between the sorption sites and water vapor molecules36. Consequently, understanding the relationship between moisture content and water activity is crucial for characterizing this energy exchange.

The net isosteric heat of sorption (qst), also known as the differential enthalpy of sorption (ΔH), can be determined by analyzing moisture sorption data via Eq. (1). In this study, qst was calculated via the Clausius–Clapeyron equation, as formulated by Lehmad, et al.37 in Eq. (2). Additionally, the isosteric heat of sorption and differential entropy (ΔS) for both water adsorption and desorption at different moisture levels were calculated by applying Eq. (3) to the sorption data. By graphing ln(aw) versus 1/T at a constant moisture content, qst was computed from the slope, which is represented as − qst/R, whereas ΔS was obtained via the linear constant (ΔS/R). This procedure was repeated for various moisture contents to investigate the relationship between qst and moisture content. Notably, this method assumes that the isosteric heat of sorption is constant through varying temperatures and requires sorption data to be gathered at a minimum of three temperature levels38.

$${q_{st}}={Q_{st}} - ~\lambda$$
(1)
$$\left[ {\frac{{d\ln \left( {{a_w}} \right)}}{{d\left( {\frac{1}{T}} \right)}}} \right]= - \frac{{{q_{st}}}}{R}$$
(2)
$$\ln \left( {{a_w}} \right)= - \frac{{{q_{st}}}}{{RT}}+\frac{{\Delta S}}{R}$$
(3)

The latent heat of vaporization (λ) of pure water (J/mol) was calculated via Eq. (4), whereas Eq. (5) was used to compute the Gibbs free energy (∆G).

$$\lambda=R[6687-5.31*T]$$
(4)
$$\Delta G= - RT\ln \left( {{a_w}} \right)$$
(5)

where Qst represents the isosteric heat of sorption (J/mole). T corresponds to the absolute temperature (K), and R denotes the universal gas constant (8.314 J/mol.K). Additionally, ΔS refers to the differential entropy (J/mol.K), qst signifies the differential enthalpy or net isosteric sorption heat (J/mol), and ΔG denotes the Gibbs free energy (kJ/mol).

To describe the variation of thermodynamic properties with equilibrium moisture content (Xe), regression models were fitted to the calculated values of net isosteric heat of sorption (Qst), entropy change (ΔS), and Gibbs free energy (ΔG). Non-linear relationships such as cubic, exponential and power equations were applied as it was described previously by Fikry and Al-Awaadh11,Fikry, et al.14.

Data analysis

To estimate the accuracy of the mathematical models in fitting the actual data obtained from the sorption experiments (Eqs. 68), the following statistical metrics were used: the coefficient of determination (R²), sum of squared errors (SSE) and mean relative percent error (PE%), which was calculated using absolute values to avoid offsetting positive and negative deviations, as shown in Eq. 8. These metrics were calculated via IBM SPSS (v27) software. The model that best fit the data were selected on the basis of specific criteria, including an R² value of 0.90 or higher, the lowest SSE and a PE% under 10%, as outlined by Fikry, et al.39.

$${{\text{R}}^2}=1 - \frac{{\mathop \sum \nolimits_{{{\text{i}}=1}}^{{\text{N}}} {{\left( {{{\text{X}}_{{\text{exp}}}} - {{\text{X}}_{{\text{pred}}}}} \right)}^2}}}{{\mathop \sum \nolimits_{{{\text{i}}=1}}^{{\text{N}}} {{\left( {{{\text{X}}_{{\text{exp}}}} - \overline {{{{\text{X}}_{{\text{exp}}}}}} } \right)}^2}}}$$
(6)
$$SSE=1/N {\mathop \sum \nolimits_{{{\text{i}}=1}}^{{\text{N}}} {{\left( {{{\text{X}}_{{\text{exp}}}} - {{\text{X}}_{{\text{pred}}}}} \right)}^2}}$$
(7)
$$PE \left( {\text{\% }} \right)=\frac{{100}}{N}~\mathop \sum \limits_{{i=1}}^{N} \frac{{\left| {{X_{exp}} - {X_{pred}}} \right|}}{{\overline {{{X_{exp}}}} }}$$
(8)

In this equation, \(\:{\text{X}}_{\text{e}\text{x}\text{p}}\), \(\:{\text{X}}_{\text{p}\text{r}\text{e}\text{d}}\), and \(\:\stackrel{-}{{X}_{exp}}\) denote the experimental, predicted, and average Xe values (gw/gdm dry basis, d.b.), respectively. N refers to the total number of experimental data points.

Results and discussion

Mathematical modeling of sorption isotherms

Mathematical modeling of sorption isotherms is essential for predicting moisture behavior in foods, optimizing drying and storage conditions, and ensuring product stability and quality. This study utilized seven equations—Peleg, GAB, BET, Halsey, Oswin, Smith, and Adam and Shove—to characterize sorption isotherms and moisture dynamics in the VDBD and FDBD. The determined constants of the models applied to the sorption data of VDBD and FDBD at various temperatures are shown in Tables 2 and 3, respectively. The optimal model was selected on the basis of the following criteria: achieving the highest correlation coefficient (R2 ≥ 0.90), the lowest percentage error (PE%) (below 10%), and the minimum sum of squared errors (SSE) values (close to zero), as emphasized by Fikry, et al.39. The statistical fitting parameters of the models applied to the sorption data of VDBD and FDBD at various temperatures are shown in Tables 4 and 5, respectively.

Table 2 The estimated constants of the models applied to the actual adsorption and desorption data of VDBD at different temperatures.
Table 3 The estimated constants of the models applied to the actual adsorption and desorption data of FDBD at different temperatures.
Table 4 The statistical fitting criteria of the models were applied to experimental adsorption and desorption data of VDBD at different temperatures.
Table 5 The statistical fitting criteria of the models were applied to experimental adsorption and desorption data of FDBD at different temperatures.

Upon comparison, the Peleg model consistently demonstrates the best performance for both VDBD and FDBD across various parameters. The average SSE values for adsorption and desorption are notably low, with VDBD adsorption having an average SSE of 1.87 × 10-4 and desorption at 1.67 × 10-3. For FDBD, the average SSE for adsorption is 5.66 × 10−4 and desorption is 4.22 × 10-5. In terms of R², the Peleg model provides near-perfect fits at all temperatures, with VDBD averaging 0.996 for adsorption and 0.983 for desorption. For FDBD, the average R² values are 0.987 for adsorption and 0.999 for desorption. The PE (%) for the Peleg model is exceptionally low, with VDBD adsorption showing an average PE of 3.02%, and desorption at 0.04%. For FDBD, the average PE for adsorption is 1.91%, while desorption is at 0.02%, making it the most accurate model for both materials.

The GAB model performs reasonably well at higher temperatures, especially for FDBD, but faces challenges with VDBD at 25 °C. The average SSE for VDBD adsorption is 7.15 × 10-4 and desorption is 1.12 × 10-3, while for FDBD, the average SSE is 6.98 × 10-4 for adsorption and 1.87 × 10-2 for desorption. The R² values for VDBD are 0.964 for adsorption and 0.992 for desorption, while for FDBD, these values are 0.984 for adsorption and 0.989 for desorption. The PE for the GAB model is relatively higher, especially for VDBD adsorption, with an average of 20.97%, and desorption at 1.06%. For FDBD, adsorption shows an average PE of 27.55%, and desorption is 6.62%, indicating a lower accuracy than the Peleg model.

The BET model provides reasonable fits for both VDBD and FDBD, though with higher error margins. The average SSE for VDBD adsorption is 1.37 × 10-3 and desorption is 2.01 × 10-2, while for FDBD, the average SSE for adsorption is 1.08 × 10-3 and desorption is 1.92 × 10-2. The R² for VDBD averages 0.939 for adsorption and 0.938 for desorption, while for FDBD, these values are 0.977 for adsorption and 0.967 for desorption. The PE for the BET model is noticeably higher, with an average of 26.61% for VDBD adsorption and 7.03% for desorption. For FDBD, adsorption shows an average PE of 50.16%, and desorption is at 5.98%, indicating that the BET model is less accurate than both the Peleg and GAB models.

The Halsey model shows poor fits for both adsorption and desorption, with VDBD exhibiting high SSE values (1.10 × 10-2) and low R² (0.923 for adsorption, 0.937 for desorption). For FDBD, the average SSE is 1.03 × 10-2. The PE for VDBD averages 44.85% for adsorption and 6.46% for desorption, while for FDBD, the PE averages 78.69% for adsorption and 5.27% for desorption, indicating the Halsey model’s poor performance.

The Oswin model shows varied performance based on the material and temperature. The average SSE for VDBD adsorption is 1.29 × 10-3 and desorption is 1.91 × 10-2, whereas for FDBD, the SSE values are 1.04 × 10-3 for adsorption and 1.82 × 10-2 for desorption. The R² for VDBD averages 0.942 for adsorption and 0.939 for desorption, while for FDBD, the R² values are 0.979 for adsorption and 0.932 for desorption. The PE for the Oswin model averages 28.78% for VDBD adsorption and 6.77% for desorption. For FDBD, the average PE for adsorption is 56.41% and 5.67% for desorption, suggesting that the Oswin model provides poor fit.

The Smith model shows poor fits overall. The average SSE for VDBD adsorption is 1.02 × 10-3and desorption is 1.09 × 10-2, while for FDBD, the SSE is 3.01 × 10-3 for adsorption and 1.6 × 10-2 for desorption. The average R² for VDBD is 0.953 for adsorption and 0.932 for desorption, while for FDBD, the values are 0.949 for adsorption and 0.903 for desorption. The PE for the Smith model averages 22.28% for VDBD adsorption and 5.45% for desorption. For FDBD, the PE is 25.36% for adsorption and 8.03% for desorption, indicating that the Smith model is not ideal for either material.

The Adam and Shove model provides good fits for both adsorption and desorption. The average SSE for VDBD adsorption is 8.94 × 10-5 and for desorption is 1.05 × 10-2, while for FDBD, the SSE is 8.18 × 10-4 for adsorption and 1.69 × 10-2 for desorption. The R² values for VDBD average 0.994 for adsorption and 0.989 for desorption. For FDBD, the average R² is 0.982 for adsorption and 0.997 for desorption. The PE for the Adam and Shove model averages 3.15% for VDBD adsorption and 5.10% for desorption. For FDBD, the PE is 7.94% for adsorption and 7.25% for desorption, suggesting that this model provides good accuracy, especially for desorption.

Overall, among the models tested for adsorption and desorption of VDBD and FDBD, the Peleg model consistently outperforms the others across all parameters. It exhibits the lowest SSE values, the highest R² values, and the lowest. The R² values for the association between the experimental and predicted sorption data of VDBD and FDBD were 0.998 for adsorption and 0.995 for desorption. This is evidenced by the comparison between the experimental data and the values predicted by Peleg model, as presented in Fig. 4. Additionally, Figs. 5a-b clearly show that the Peleg model effectively described the experimental data for both the adsorption and desorption isotherms at different temperatures.

Although the other models, particularly the GAB and BET models, are widely applied to food sorption data due to their theoretical foundations, they showed limited accuracy in describing the full range of the sorption isotherms for Barhi dates, particularly at higher relative humidity levels. This may be attributed to their assumptions regarding monolayer adsorption, which may not fully capture the multilayer sorption, and complex interactions present in high-sugar, high-moisture fruit matrices. In contrast, the Peleg model, being empirical and more flexible, better accommodated the nonlinear behavior observed across the entire water activity range. This model was suitable for fitting the sorption data of different food materials investigated by14,15,37,45,46.

Prediction of the safe storage moisture content

Water activity (aw) is a key factor affecting microbial growth in food products, directly influencing their quality and storage stability. Ruan, et al.47 noted that bacterial, yeast, and mold activities are suppressed at aw values less than 0.7, whereas most microorganisms are effectively inhibited at aw values less than 0.6.

Investigating the sorption isotherms of Barhi date is crucial for determining optimal storage conditions. These data also aid in designing and optimizing drying processes by identifying suitable moisture levels. In this work, an aw threshold of 0.6 was used to define the safe moisture content for VDBD and FDBD. Using the Peleg model, Xe values were estimated for storage temperatures of 25 °C, 35 °C, and 45 °C, with safe moisture contents of approximately 5%. Meanwhile, desorption isotherm data indicated that the optimal moisture level for drying VDBD was approximately 19%. across all studied temperatures. Additionally, for FDBD, Xe values were estimated at storage temperatures of 25 °C, 35 °C, and 45 °C, with a safe moisture content of approximately 9%. for all tested temperatures. Moreover, the desorption isotherm data suggested that the optimal moisture content for drying FDBD was approximately 19%. across all the studied temperatures. These outcomes suggest that FDBD has a higher moisture tolerance before it becomes susceptible to spoilage, but it also highlights the hygroscopic nature of FDBD, which can make it more sensitive to moisture fluctuations during storage. In contrast, VDBD, with its lower moisture content and stronger moisture binding properties, offers better stability against rehydration and microbial contamination, making it more suitable for long-term storage, especially under fluctuating ambient conditions.

Adsorption and desorption isotherms of VDBD and FDBD

The equilibrium moisture content (Xe) values of VDBD and FDBD at various temperatures (25, 35, and 45 °C) were plotted against water activity (aw) to illustrate the adsorption and desorption isotherms (Figs. 5a-b). According to the standard classification of adsorption and desorption phases in food systems, illustrated in Figure (6), the adsorption isotherms follow Type III behavior with a concave upward shape. In Zone I (aw = 0–0.4), moisture adsorption is minimal, whereas in Zone II (aw = 0.4–0.8), water molecules cluster, gradually increasing moisture uptake. In Zone III (aw > 0.8), capillary condensation causes a rapid increase in moisture retention40. This curve shape is typical of foods with high sugar contents, which tend to absorb minimal water at low water activities and significant amounts at relatively high humidities41. However, the desorption isotherms illustrated in Fig. 5b for both VDBD and FDBD exhibit characteristics of Type V behavior, displaying a concave shape along with a pronounced hysteresis between the adsorption and desorption branches, as classified in Fig. 6. This characteristic is closely tied to the moisture removal mechanisms inherent in each drying method. In VDBD, water is removed through evaporation under reduced pressure and moderate heat, which can partially collapse cellular structures and reduce porosity. This structural alteration leads to reduced capillary pathways for moisture transport and a more restricted reabsorption of water, thereby contributing to the hysteresis observed in the isotherms. On the other hand, FDBD relies on sublimation to remove moisture directly from the frozen state, preserving the porous microstructure of the fruit. This intact porous network enhances moisture retention and rehydration capacity yet still displays hysteresis due to the binding of water within fine capillaries and porous matrices. The concave shape of the isotherms in both cases reflects the increasing difficulty of removing tightly bound water at lower water activities, while the hysteresis loop indicates structural differences during sorption and desorption, directly influenced by the drying-induced microstructural changes48,49.

In terms of the effect of aw on the adsorption isotherms, the results in Fig. 5a demonstrated that as aw increases at a constant temperature, Xe in VDBD and FDBD also increases. At lower aw levels (below 0.2), Xe remained minimal across all temperatures. However, once aw exceeded 0.4, there was a significant increase in Xe, particularly at elevated temperatures. This phenomenon could be attributed to the fact that an increase in water activity leads to increased water vapor pressure in the air14,15. As a result, water vapor moves into the VDBD and FDBD, which have lower vapor pressures, enhancing moisture adsorption. Conversely, in the context of the desorption isotherm (Fig. 5b), at any given temperature, as aw decreases, Xe also decreases. This trend is consistent across all temperature levels, indicating that lower humidity levels lead to greater moisture release from the material. At lower aw levels (below 0.2), the moisture content remains relatively low across all temperatures. However, as aw surpasses 0.4, there is a notable increase in Xe, particularly at 35 °C. This behavior can be explained by the fact that when the water vapor pressure in the air increases, some of the water from the VDBD and FDBD, which has a lower vapor pressure, is released into the air, facilitating the desorption process14,15. These trends are in agreement with those reported for different cultivars of dates31,32,33,34,43.

The effect of temperature on Xe during adsorption varied depending on the drying technique applied to Barhi dates (Fig. 5a). In the case of VDBD, Xe generally increased with rising temperature at intermediate to high aw levels. For instance, at an aw of approximately 0.4, Xe increased from 0.200 at 25 °C to 0.578 at 35 °C, followed by a slight decline to 0.426 at 45 °C. This non-linear behavior suggests that moderate temperatures may enhance water binding due to structural relaxation or pore reactivation, while higher temperatures could induce partial structural collapse or reduce surface hygroscopicity, limiting moisture uptake. Conversely, FDBD exhibited a more linear and pronounced increase in Xe across all aw levels with rising temperature. At the highest aw level, Xe rose from 0.562 at 25 °C to 0.712 at 35 °C and further to 0.839 at 45 °C, indicating that freeze-dried samples retained their porous structure and moisture-absorbing capacity even at elevated temperatures.

Regarding desorption, both VDBD and FDBD samples displayed a general decrease in Xe with increasing temperature, particularly at lower aw values (≤ 0.6), as shown in Fig. 5b. In VDBD, Xe consistently declined as temperature increased from 25 °C to 45 °C, reflecting reduced moisture retention capacity due to increased molecular mobility and weakened water–matrix interactions. However, a deviation from this trend was observed at the highest aw level, where Xe initially increased from 0.311 at 25 °C to 0.595 at 35 °C, before dropping to 0.432 at 45 °C. This anomaly could be attributed to the complex interactions between temperature, aw, and matrix structure, which may temporarily enhance water retention before the thermal effects dominate. FDBD samples followed a similar pattern, with Xe increasing from 0.559 at 25 °C to 0.646 at 35 °C, and then slightly decreasing to 0.603 at 45 °C. Though less pronounced than in VDBD, this trend still aligns with the typical temperature-induced reduction in water-binding strength, reinforcing the thermodynamic nature of desorption processes in dried food systems. This effect of temperature on sorption isotherms is linked to thermodynamic theory, as suggested by Hossain, et al.42.

Regards the effect of drying methods on sorption isotherm, the sorption isotherms for both VDBD and FDBD followed Type III sigmoidal patterns for adsorption phase and Type V for desorption phase, typical of high-sugar food products (Figs. 5a-b). However, significant differences in Xe were observed between the two drying methods across varying temperatures. At a given aw, FDBD generally exhibited higher Xe compared to VDBD, indicating a higher capacity for moisture retention. For instance, at aw ≈ 0.9, FDBD showed an Xe of 0.56 g/g (25 °C) and 0.84 g/g (45 °C), whereas VDBD had lower Xe values of 0.20 g/g (25 °C) and 0.43 g/g (45 °C). These findings suggest that FDBD, due to its more porous structure formed during freeze-drying, is more hygroscopic than VDBD, which has a denser matrix resulting from vacuum drying at higher temperatures.

Moisture sorption hysteresis

Moisture sorption hysteresis refers to the phenomenon where the moisture content of a material at a given aw differs depending on whether the material is undergoing adsorption (gaining moisture) or desorption (losing moisture). Specifically, hysteresis occurs when the moisture adsorption and desorption curves do not overlap, indicating that the material retains more moisture during desorption than during adsorption at the same aw11. This behavior is clearly demonstrated in Figs. 7a-c, where the Xe values during desorption were consistently higher than those during adsorption across all aw levels and temperatures. Moisture sorption hysteresis arises from differences in the adsorption and desorption mechanisms of porous materials. During adsorption, water molecules gradually bind to the material surface and accumulate within its pores through multilayer adsorption and capillary condensation. However, during desorption, water release is restricted by capillary forces, pore structure, and surface interactions, leading to moisture retention in smaller pores or strongly bound sites. As a result, water in the pores of a material requires more energy to evaporate because of capillary attraction. Consequently, Xe values during desorption remain consistently higher than those observed during adsorption. This phenomenon was detected for various food materials and reported by Fikry and Al-Awaadh11,Fikry, et al.14,Treeamnuk, et al.15.

Moreover, the results revealed distinct trends in the effect of temperature on hysteresis. At 25 °C, the hysteresis values are generally greater, indicating that at lower temperatures, the material retains more water during desorption. This suggests stronger binding interactions between the material and water molecules, as lower temperatures decrease the kinetic energy of water molecules, making it harder for them to escape during desorption. As the temperature increased to 35 °C, the hysteresis values decreased slightly, implying a diminished ability of the material to retain water during desorption due to increased molecular motion, which facilitates the release of water molecules. At the highest temperature, 45 °C, the hysteresis values are the lowest. This significant reduction may be attributed to the increased temperature, which energizes water molecules, allowing them to break free from their sorption sites and consequently lowering Xe44. This trend is in agreement with that reported by Treeamnuk, et al.15,Mallek-Ayadi, et al.45.

On the other hand, hysteresis behavior was more pronounced in FDBD than in VDBD. This was particularly evident at higher relative humidity (RH), where FDBD showed a larger gap between adsorption and desorption values. For example, at aw ≈ 0.79 and 25 °C, the desorption Xe for FDBD was 0.559 g/g, while the adsorption Xe was 0.346 g/g, yielding a hysteresis of 0.213 g/g. In contrast, VDBD exhibited a much smaller hysteresis of 0.148 g/g. This greater hysteresis in FDBD can be attributed to its more open and porous structure, which traps moisture more effectively during desorption. This characteristic could pose challenges during storage, particularly in fluctuating environmental conditions, where FDBD may absorb moisture more readily, leading to potential texture degradation and reduced shelf-life.

Thermodynamic properties of sorption isotherms

The thermodynamic properties that characterize the interaction between water and the food matrix are essential for assessing energy demands in drying and concentration processes. They play a crucial role in optimizing drying process design and determining ideal storage conditions to ensure the long-term stability of dried foods14. Thermodynamic properties, such as the differential heat of sorption, are crucial for understanding the intricate relationship between food materials and moisture. This parameter indicates that the energy changes during the sorption process, indicating how the energy requirements fluctuate as the food material interacts with water molecules at various moisture levels44.

The isosteric heat of sorption or differential enthalpy values play a vital role in energy assessments. Qst reflects the strength of intermolecular forces between water vapor and sorption sites. Variations in Qst indicate that energy shifts occur as water molecules interact with the sorbent during sorption50.

The concept of isosteric heat differs on the basis of whether it pertains to adsorption or desorption isotherms. During adsorption, it refers to the amount of energy released when water molecules bind to a material, although this energy is often minimal and difficult to quantify. Conversely, in desorption, it signifies the energy necessary to retain water within the substrate, representing the extra heat—beyond the latent heat of vaporization of pure water—required to break the molecular bonds between water and the material during dehydration.

Figure 8a illustrates the relationship between Xe and the Qst of adsorption and desorption for VDBD. The results demonstrated an inverse trend, where a decrease in Xe corresponds to an increase in Qst. During the adsorption process, as Xe increases, Qst decreases slightly from 43.62 to 42.01 kJ/mol, indicating a reduction in the energy required for adsorption as the system becomes more hydrated. Similarly, during the desorption process, as Xe decreases from 0.457 to 0, Qst increases slightly from 41.42 to 43.56 kJ/mol, suggesting that more energy is required to remove water molecules as the system becomes drier. Notably, the sorption heat is significantly greater at lower moisture levels, indicating strong molecular interactions between water and the food matrix, resulting in the formation of a monolayer. As a result, considerable energy is required to remove these tightly bound water molecules. Generally, desorption requires higher energy input compared to adsorption due to the stronger binding of water molecules within the food matrix. During desorption, energy is needed to overcome the forces holding water molecules in sorption sites, especially at low moisture levels where water is more tightly bound. In contrast, adsorption occurs more readily as water vapor interacts with available active sites, particularly in porous and low-moisture materials. This distinction has now been emphasized to highlight the thermodynamic implications of each process and their relevance to moisture management in food preservation. These findings are consistent with prior studies on various food products investigated by Fikry, et al.14,Lehmad, et al.37,Yogendrarajah, et al.44,Mallek-Ayadi, et al.45. The correlations between Qst and Xe are listed in Table 6.

Table 6 Mathematical models that adequately describe the thermodynamic properties of the adsorption and desorption of VDBD and FDBD.

The drying method significantly influences Qst for both adsorption and desorption processes. For FDBD, Qst decreases progressively from 44.35 kJ/mol to 41.06 kJ/mol, while the desorption values increase from 41.40 kJ/mol to 43.48 kJ/mol. This trend suggests that FDBD leads to a reduction in the energy required for adsorption over successive measurements, possibly due to the removal of loosely bound water molecules, which decreases the material’s affinity for further adsorption. Conversely, the increasing desorption values indicate that more energy is needed to remove adsorbed molecules as the process continues, likely due to stronger interactions between the adsorbate and the adsorbent surface after initial drying.

In comparison, VDBD exhibits a similar but slightly moderate trend. The adsorption Qst values decline from 43.62 kJ/mol to 41.06 kJ/mol, while desorption values rise from 41.42 kJ/mol to 43.56 kJ/mol. The initial adsorption heat for VDBD is lower than that of FDBD, suggesting that vacuum drying may partially reduce surface hydrophilicity or porosity, leading to weaker initial adsorption interactions. However, the desorption behavior closely mirrors that of FDBD, reinforcing that both methods ultimately strengthen adsorbate-adsorbent interactions over time.

∆S measures the level of randomness in the water–sorbent system, offering valuable insights into processes such as dissolution, crystallization, and swelling. Figure 8b shows the correlation between ∆S and Xe for both the adsorption and desorption isotherms of VDBD and FDBD.

The results indicated a solid dependence of the ∆S values on Xe. Specifically, the adsorption phase has a lower entropy variation than does desorption, implying that water molecules are more mobile through desorption than through adsorption. During adsorption, ΔS decreases for both methods, indicating that the adsorbed water layers become more structured over time. However, the rate of this decrease differs: VDBD exhibits a sharper drop in ΔS (from 13.98 to 1.48 J/mol) compared to FDBD (11.24 to 4.50 J/mol), suggesting that vacuum drying leads to a more rapid loss of adsorbate mobility, likely due to a more uniform surface after initial moisture removal. In contrast, desorption ΔS increases over time for both methods, demonstrating that removing water becomes increasingly entropically unfavorable as stronger binding sites dominate. Here, FDBD ends with a slightly higher desorption ΔS (14.61 J/mol) than VDBD (13.85 J/mol), implying that freeze-dried samples retain more disordered residual water, making desorption slightly more thermodynamically demanding. Similar trends were reported by Fikry, et al.14,Lehmad, et al.37,Yogendrarajah, et al.44. ∆S is influenced by the strength of the molecular interactions in the system and the structural organization at the water–sorbent interface. These findings support the notion that lower ∆S values are associated with limited molecular movement when the material has an extreme moisture content. The relationship between the ∆S variation and Xe was effectively modeled via the models presented in Table 6.

ΔG serves as a key parameter in assessing the interaction between water molecules and the sorbent matrix. It also determines whether the sorption process occurs spontaneously or requires external energy input on the basis of the sign of ΔG—negative values indicate spontaneity, whereas positive values suggest a nonspontaneous process51. As shown in Fig. 8c, the ΔG values for VDBD and FDBD confirmed that both moisture adsorption and desorption were nonspontaneous processes, as indicated by their positive values.

This aligns with the fundamental nature of sorption, which necessitates energy input, classifying it as an endergonic reaction13,51. Similar trends were observed in previous studies13,51.

Moreover, the results revealed that as Xe decreased, the ΔG values increased. Figure 8c shows that in the case of adsorption, ∆G decreases from 5.93 to 0.47 kJ/mol, reflecting a decrease in the spontaneity of the adsorption process as the moisture content increases, suggesting that moisture uptake became energetically more favorable at higher moisture contents. This is likely due to the initial presence of more active binding sites and lower resistance to moisture diffusion. For desorption, ∆G increases from 0.55 to 5.83 kJ/mol, indicating that desorption becomes less spontaneous as Xe decreases. This pattern suggests that desorption demands more energy than adsorption, particularly in the low-moisture range, where water is strongly bound to the matrix through hydrogen bonding or capillary forces. These trends are in agreement with those previously reported by Fikry, et al.14,Yogendrarajah, et al.44.

When comparing the two drying methods, FDBD samples consistently exhibited lower ΔG values across most Xe levels than VDBD samples, indicating that moisture sorption is more thermodynamically favorable in freeze-dried samples. This can be attributed to the open porous structure and higher surface area generated by sublimation during freeze-drying, which facilitates easier water molecule diffusion and interaction. On the other hand, the denser, collapsed structure of vacuum-dried samples imposes higher energetic barriers for water transport, resulting in greater ΔG values and reduced sorption efficiency. The regression lines in Fig. 8c illustrate these relationships with high predictive accuracy (R² > 0.92), as described by the equations in Table 6. This comparative thermodynamic insight underscores how drying method significantly influences the energy dynamics of sorption behavior, which is critical in optimizing drying processes and storage stability of dried date products.

Conclusion

To conclude, the study successfully characterized the moisture sorption isotherms of VDBD and FDBD across a range of temperatures and water activity levels using a DVS apparatus. The observed Type III and Type V isotherm behaviors for adsorption and desorption, respectively, reflect distinct moisture interaction mechanisms, with adsorption increasing with water activity and desorption showing the opposite trend, indicating strong hysteresis—a sign of structural and binding changes during moisture exchange. The Peleg model’s high accuracy in fitting the data across all conditions confirms its reliability for predicting moisture behavior in both drying methods, supporting its use in industrial modeling and control. The recommended safe moisture contents of 5% for VDBD and 9% for FDBD provide practical guidance for minimizing spoilage risks during storage. The thermodynamic analysis revealed that as equilibrium moisture content (Xe) decreased, the isosteric heat of sorption (Qst), entropy (ΔS), and Gibbs free energy (ΔG) increased, indicating stronger moisture binding at lower moisture levels. These parameters were also found to be predictable as functions of Xe, enabling better estimation of energy requirements and storage dynamics. The nonspontaneous nature of sorption processes suggests that external energy input is essential for moisture transfer, especially in low-humidity environments, which is important for designing efficient drying and storage systems. These findings offer crucial insights for optimizing drying protocols, packaging materials, and storage environments, ultimately enhancing the stability and shelf life of VDBD and FDBD. Food manufacturers can apply these results to prevent microbial growth, maintain product quality, and improve energy efficiency during processing.

However, the study faced limitations due to the inability to perform Scanning Electron Microscopy (SEM) and proximate composition analysis, restricting insights into microstructure and nutritional content due to methodological constraints. Future research should include these analyses and use larger datasets to enhance understanding and optimize processing techniques.

Fig. 1
figure 1

Schematic view of the experimental setup.

Fig. 2
figure 2

Systematic diagram of the AQUADYNE DVS.

Fig. 3
figure 3

Time-based representation of moisture sorption for dried Barhi date subjected to gradual shifts in equilibrium relative humidity (ERH) and sample weight at 25 °C.

Fig. 4
figure 4

Experimental and predicted equilibrium moisture content (Xe) during adsorption and (a) desorption (b) using Peleg model.

Fig. 5
figure 5

Curves of the adsorption isotherms (a) and desorption isotherms (b) acquired for VDBD and FDBD at different temperatures (25, 35, and 45 °C).

Fig. 6
figure 6

Standard classifications of adsorption and desorption phases in food systems.

Fig. 7
figure 7

Sorption hysteresis loops obtained for VDBD and FDBD at different temperatures: 25 °C (a), 35 °C (b), and 45 °C (c).

Fig. 8
figure 8

Plots of the isosteric heat of sorption (a), differential entropy (b) and Gibbs free energy (c) against the equilibrium moisture content (Xe) of VDBD and FDBD.