Keywords

1 Introduction

In solid-liquid mixtures, crystallization is a process where thermodynamic conditions lead the molecules to approach and group in highly organized structures, reaching a state of solid-liquid equilibrium. Among many ways to describe the solid-liquid equilibrium of a binary system, establishing the parameters of an excess energy model may be satisfactory to represent the behavior of the substances in the mixture.

In the phase equilibrium calculations, one of the most important steps is fitting adjustable parameters of activity coefficient models to experimental data [1]. Each model has a certain number of parameters, and their estimation is a common challenging problem. Considering the importance of the study of solid-liquid equilibria, the mixture of xylene and nitrobenzene emerges as an interesting case.

Xylenes are light aromatic hydrocarbons derived from petroleum and processed in petrochemical industries. Para-xylene is part of BTXs (benzene, toluene, and xylene), which may be used to react to producing compounds as nitrobenzene [2]. The study of the equilibrium of nitrobenzene and para-xylene may contribute to describing its synthesis [3]. To the best of our knowledge, the solid-liquid equilibrium modeling of nitrobenzene and para-xylene mixtures using the two-suffix Margules and the Non-Random Two-Liquid (NRTL) models was not investigated in literature before.

Thus, the aim of this study was to determine the behavior of nitrobenzene and para-xylene mixtures by means of two excess energy models, the two-suffix Margules with dependence and independence of temperature and the NRTL, identifying the eutectic point of the mixture and comparing the calculated results with those obtained experimentally by Proust and Fernandez [4].

2 Methods

From the Gibbs excess energy definition of the two-suffix Margules model (Ge) (1), using the definition of Eq. (2), we obtained the equations that determine the activity coefficients (γ) (3 and 4).

$$ G^{\text{e}} = x_{1} \cdot x_{2} \cdot [A + B\cdot (x_{1} - x_{2} )] $$
(1)
$$ R\cdot T\cdot \,\ln [\gamma_{1} ] = \, [\partial (n\cdot G^{\text{e}} )/\partial n_{1} ]_{{P,T,n^{2} }} $$
(2)
$$ \ln [\gamma_{1} ] = [(A + 3\cdot B)\cdot x_{2}^{2} - 4\cdot B\cdot x_{2}^{3} ]/(R\cdot T) $$
(3)
$$ \ln [\gamma_{2} ] = [(A - 3\cdot B)\cdot x_{1}^{2} + 4\cdot B\cdot x_{1}^{3} ]/(R\cdot T) $$
(4)

The activity coefficients were fitted using compositions obtained experimentally by Proust and Fernandez [4] for different temperatures, considering molar fractions in the liquid phase for para-xylene (x1) and for nitrobenzene (x2), and using an initial estimation for parameters A and B. The calculation of the activity coefficients was repeated considering parameters A and B temperature-dependent.

Theoretical compositions were calculated by means of the equilibrium condition with the variation of activity coefficients for each temperature. Solid and liquid heat capacity were considered the equal and the theoretical composition of the liquid phase in equilibrium was calculated for each experimental temperature (5).

$$ \ln [x_{i} \cdot \gamma_{i} ] = [\Delta h_{f,T} /R]\cdot [1/T{-}1/T_{m} ] $$
(5)

The deviation between theoretical and experimental compositions (6) of the calculated liquid phase (ARD %) was minimized by varying the parameters (A and B) of activity coefficients (3 and 4). The deviations were evaluated neglecting experimental or calculated values for molar fractions equal to zero or one (pure substances).

$$ {\text{ARD}}\left( \% \right) =\Sigma 100\cdot \left| {\left[ {(x_{1}^{\text{calc}} - x_{1}^{\exp } ) \, /(x_{1}^{\exp } )} \right]/\left( {\text{total points}} \right)} \right| $$
(6)

The second model used was NRTL (7).

$$ \begin{aligned} & G^{\text{e}} /\left( {x_{1} \cdot x_{2} \cdot R\cdot T} \right) = G_{21} \cdot \tau_{21} /\left( {x_{1} + x_{2} \cdot G_{21} } \right) \\ & \quad + G_{12} \cdot \tau_{12} /\left( {x_{2} + x_{1} \cdot \, G_{12} } \right) \\ \end{aligned} $$
(7)

Taking the definition presented by Eq. (2), we obtain (8 and 9).

$$ \begin{aligned} \ln \left[ {\gamma_{1} } \right] & = x_{2}^{2} \left[ {\tau_{21} \cdot \left( {G_{21} /\left( {x_{1} + x_{2} \cdot G_{21} } \right)} \right)^{2} } \right. \\ & \quad \left. { + (G_{12} \cdot \tau_{12} /\left( {x_{2} + x_{1} \cdot G_{12} } \right)^{2} )} \right] \\ \end{aligned} $$
(8)
$$ \begin{aligned} \ln \left[ {\gamma_{2} } \right] & = x_{1}^{2} \left[ {\tau_{12} \cdot \left( {G_{12} /\left( {x_{2} + x_{1} \cdot G_{12} } \right)} \right)^{2} } \right. \\ & \quad \left. { + \left( {G_{21} \cdot \tau_{21} /\left( {x_{1} + x_{2} \cdot G_{21} } \right)^{2} } \right)} \right] \\ \end{aligned} $$
(9)

With the parameters defined as (10, 11, 12 and 13).

$$ G_{12} = \exp ( - \alpha \cdot \tau_{12} ) $$
(10)
$$ \tau_{12} = b_{12} /\left( {R\cdot T} \right) $$
(11)
$$ G_{21} = \exp ( - \alpha \cdot \tau_{21} ) $$
(12)
$$ \tau_{21} = b_{21} /\left( {R\cdot T} \right) $$
(13)

The same procedure used to obtain theoretical compositions in Margule’s excess energy model was used to obtain the theoretical compositions of the mixture for the NRTL model. Subsequently, the theoretical composition of the liquid phase of the mixture was calculated for the ideal case. Table 1 shows the properties of the pure components used in this study.

Table 1 Properties of nitrobenzene and para-xylene

3 Results and Discussion

Both Figs. 1 and 2 show that different regions can be identified in the phase diagram of the models. These regions separate the zones of the existence of different phases. Eutectic line defines two regions: under it, there is a solid phase composed of para-xylene and nitrobenzene, and over it, there are three other regions. The left region is composed of a nitrobenzene solid phase and a liquid mixture of both compounds. The right region is composed of para-xylene in the solid phase and a liquid mixture. And the central upside region is composed of a liquid mixture of both compounds.

Fig. 1
figure 1

*Experimental data from Proust and Fernandez [4]

Phase diagram of the NRTL model to para-xylene (x1) and nitrobenzene mixture

Fig. 2
figure 2

*Experimental data from Proust and Fernandez [4]

Phase diagram of the Margules model of two parameters dependent on temperature to para-xylene (x1) and nitrobenzene mixture

NRTL usually leads to reasonable phase equilibria predictions [5, 6]. NRTL model (Fig. 1) provided eutectic point compatible with experimental data, both in temperature (259.22 K) and composition ([x1 = 0.38] and [x2 = 0.62]). However, it was evidenced that along the curve for low para-xylene molar fraction, there was a deviation when compared to the experimental one (ARD = 3.56%). The parameters of this model were: α equal to 0.015, b12 equal to 9.896 and b21 equal to 10.437. Also, in order to define the behavior of all parameters, some correlations were obtained as follows:

$$ \begin{aligned} G_{12} & = - 0.1691\cdot x_{1}^{5} + 0.4482\cdot x_{1}^{4} - 0.407\cdot x_{1}^{3} + 0.1348\cdot x_{1}^{2} \\ & \quad - 0.008\cdot x_{1} + 0.0063;\left( {R^{2} = 0.977} \right). \\ G_{21} & = - 0.1372\cdot x_{1}^{5} + 0.3635\cdot x_{1}^{4} - 0.3301\cdot x_{1}^{3} + 0.1094\cdot x_{1}^{2} \\ & \quad - \, 0.0065\cdot x_{1} + 0.0048;\left( {R^{2} = 0.9766} \right). \\ \tau_{12} & = 1341.1\cdot x_{1}^{5} - 3554.1\cdot x_{1}^{4} + 3221.7\cdot x_{1}^{3} \\ & \quad - 1046.4\cdot x_{1}^{2} + 49.27\cdot x_{1} + 330.03;\left( {R^{2} = 0.984} \right). \\ \tau_{12} & = 1414.4\cdot x_{1}^{5} - 3748.4\cdot x_{1}^{4} + 3397.8\cdot x_{1}^{3} \\ & \quad - \, 1103.6\cdot x_{1}^{2} + 51.962\cdot x_{1} + 348.06;\left( {R^{2} = 0.984} \right). \\ \end{aligned} $$

In the two-suffix Margules model of Gibbs excess energy with temperature dependence (Fig. 2), there was a better estimation of the composition as a function of temperature. Thus, the calculated eutectic point was compatible with the experimental one, both in temperature (259.22 K) and in molar composition ([x1 = 0.38] and [x2 = 0.62]). The correlations of the molar fraction of nitrobenzene with both parameters A and B are presented below. These correlations do not consider the points x1 = 0 and x1 = 1, because these points did not adapt to any model proposed.

$$ \begin{aligned} A & = - 2^{7} \cdot x_{1}^{6} + 4^{7} \cdot x_{1}^{5} - 5^{7} \cdot x_{1}^{4} + 3^{7} \cdot x_{1}^{3} - 8^{6} \cdot x_{1}^{2} \\ & \quad + 1^{6} \cdot x_{1} - 70450;\left( {R^{2} = 0.983} \right). \\ B & = 7^{6} \cdot x_{1}^{6} - 2^{7} \cdot x_{1}^{5} + 1^{7} \cdot x_{1}^{4} - 3^{6} \cdot x_{1}^{3} - 712407\cdot x_{1}^{2} \\ & \quad + 468146\cdot x_{1} - 60596;\left( {R^{2} = 0.984} \right). \\ \end{aligned} $$

Despite its simplicity, the Margules equations showed a reasonable quality (ARD = 0.01%) for the description of eutectic solid-liquid equilibrium profiles [7].

In the two-suffix Margules model of Gibbs excess energy with temperature independence (Fig. 3), (ARD = 27.15%) the eutectic point was also at the same temperature (259.22 K) of that obtained with experimental data. However, the composition of molar fraction in the liquid phase was different (experimental [x1 = 0.38] and [x2 = 0.62], model [x1 = 0.27], and [x2 = 0.73]). The parameter A of this model was equal to 10,833.546 and B were equal to 185.106.

Fig. 3
figure 3

*Experimental data from Proust and Fernandez [4]

Phase diagram of the Margules model of two parameters independent on temperature to para-xylene (x1) and nitrobenzene mixture

In the ideal case (Fig. 4), both the range of the para-xylene composition from 0.2–0.8 as the eutectic point was different from experimental data (ARD = 7.93%). This can be justified by the fact that in the ideal case, the interactions between distinct molecules are disregarded.

Fig. 4
figure 4

*Experimental data from Proust and Fernandez [4]

Phase diagram of the ideal case to para-xylene (x1) and nitrobenzene mixture

Margules model, whose parameters varied with temperature, was more accurate than the one without considering temperature changes. In fact, this result is in good agreement with the observations presented by Rocha and Guirardello [8] that also used the two-parameter Margules equation, with temperature dependence, to model the liquid phase in solid-liquid equilibria for many other binary systems.

Furthermore, NRTL was also accurate, showing a small deviation in the lower molar composition of para-xylene. NRTL model is also efficient to provide a great approximation of solid-liquid equilibrium to other systems [9]. Literature also brings the use of Margules and NRTL models to represent other solid-liquid equilibrium systems. Pelaquim et al. [10] used NRTL and three-suffix Margules models to describe the properties of the liquid of many solid-liquid mixtures of fatty acids. Likewise, Matos et al. [11] evaluated binary solid-liquid equilibrium of fatty acids, fatty alcohols, and triolein, in which the liquid lines of these systems were adequately described. Three-suffix Margules and NRTL models were also accurate in representing the solid-liquid equilibrium of octacosanol in three pure solvents 1-pentanol, 1-hexanol, and toluene [12].

Margules model with temperature independence, however, showed great deviation when compared to experimental data, even bigger than the ideal case deviation. This is justified by the lack of information that the absence of temperature dependence causes. This mixture shows an increase in the intensity of attractive molecular interactions with increasing system temperature [3]. The literature also highlights the need to develop unified interaction parameters to represent all possible phase equilibria [5].

4 Conclusion

This study presented an analysis of Gibbs’s excess energy models to describe the equilibrium system of the solid-liquid mixture of para-xylene and nitrobenzene. It was found that the Margules model of two parameters with temperature dependence was the best to represent the equilibrium of the system. NRTL model also provided a good prediction of the experimental data. However, Margule’s model of two parameters independent of temperature did not represent the mixture effectively. The representation of the ideal case was also not accurate.

Although some models are known to represent well mixtures, there are some cases that they can diverge, so it is very important to compare experimental data with the modeling results. The agreement between the predicted results by means of Margules and NRTL models with the experimental phase equilibrium data contributes to the modeling of solid-liquid mixtures with nitrobenzene and para-xylene.