Miscibility¶
This is an interface to calculate the miscibility of two compounds based on the Flory-Huggins theory. You will get the Gibbs free energy diagram of the mixture.
Theory¶
The FH interaction parameter χ can be calculated based on differences in Hildebrand solubility parameters δ, which provides a straightforward approach for predicting miscibility. Here, χ is calculated based on the Hildebrand solubility parameters of pure substances as [1]
where \(V_m\) is the reference molar volume, i.e., the molar volume of one lattice site (see Implementation in PolyDrug), and δ is the Hildebrand solubility parameter, which is defined as:
where \(\Delta H_{vap}\) is the heat of vaporization or enthalpy of vaporization and \(V\) is the molar volume of the pure compound.
Based on the lattice model, Flory-Huggins (FH) theory[2,3] describes the mixing behavior of binary systems through a combination of enthalpic and entropic contributions.[4] This approach allows for straightforward calculations of the Gibbs free energy of mixing per mole of lattice sites[5,6]
where \(R\) is the gas constant, \(T\) denotes the temperature, \(\phi_1\) and \(\phi_2\) are the volume fractions of compound 1 and compound 2 respectively, \(N_1\) and \(N_2\) are the degrees of polymerization (the numbers of lattice sites occupied by one molecule; \(N = 1\) for small molecules and drugs), and \(\chi\) is the FH interaction parameter.
Implementation in PolyDrug¶
PolyDrug evaluates Eqs. (1) and (3) over the whole range of the volume fraction of compound 2, \(\phi_2\), with \(\phi_1 = 1 - \phi_2\). The reference molar volume is the volume-fraction-weighted mean of the unit volumes:
where \(V_1\) and \(V_2\) are the unit volumes (the volume of one repeating unit or molecule, see Solubility Parameter and Unit Volume) and \(N_A\) is the Avogadro constant, so that χ changes linearly with \(\phi_2\). The plot shows ΔGmix, the enthalpic term \(\Delta H_{mix} = RT \phi_1 \phi_2 \chi\), the entropic term \(-T\Delta S_{mix} = RT [(\phi_1/N_1)\ln\phi_1 + (\phi_2/N_2)\ln\phi_2]\), all in kJ/mol (per mole of lattice sites), and χ.
Note
A negative ΔGmix alone does not mean complete miscibility. For complete miscibility, the ΔGmix curve must also be convex (curved upward) over the whole composition range.
References¶
- Erlebach A, Muljajew I, Chi M, Bückmann C, Weber C, Schubert US, Sierka M. Adv Theory Simul. 2020;3:2000001. https://doi.org/10.1002/adts.202000001
- Flory PJ. J Chem Phys. 1942;10(1):51-61. https://doi.org/10.1063/1.1723621
- Huggins ML. J Am Chem Soc. 1942;64(7):1712-1719. https://doi.org/10.1021/ja01259a068
- Huynh L, Grant J, Leroux JC, Delmas P, Allen C. Pharm Res. 2008;25(1):147-157. https://doi.org/10.1007/s11095-007-9412-3
- Rubinstein M, Colby RH. Polymer physics. Oxford Academic; 2003:137-145. https://doi.org/10.1093/oso/9780198520597.001.0001
- Hu W. Polymer physics: a molecular approach. Springer; 2014:150-156. https://doi.org/10.1007/978-3-7091-0670-9
Solubility Parameter and Unit Volume¶
The solubility parameter δ and the unit volume of each compound are taken from the MD database whenever available:
- Compound in the database at the selected DOP: δ and the unit volume are the mean values of its MD runs.
- Compound in the database, but no MD runs at the selected DOP: the unit volume per repeating unit is taken from the MD runs at the other DOPs, and δ is predicted.
- Compound not in the database (e.g., a new SMILES):
- δ is predicted.
- The unit volume is calculated from the experimental density in PubChem (small molecules), or from a density predicted with GPR (polymers, and small molecules without a PubChem density).
δ is predicted with the GPR model (see ML Models).
Note
Predicted δ values of new compounds, especially of new drugs, are estimates (see Limitations).
Compounds¶
You can search the compounds you want to mix by clicking on the field and selecting from the dropdown list.
You can also select the compounds using SMILES, either by typing the SMILES into the field or by using the Ketcher instance to draw the molecule
![[miscibility-ketcher-dark.png]](../../images/miscibility-ketcher-dark.png#only-dark)
Degree of Polymerization¶
The default is 1 for small molecules and drugs. For polymers, you need to specify the degree of polymerization.
Temperature¶
You can specify the temperature in Kelvin. The default value is 298 K.
![[miscibility-temperature-dark-1.png]](../../images/miscibility-temperature-dark-1.png#only-dark)
Clear¶
You can click on the Clear button to clear all the content.
Run¶
Click on the Run button to calculate with the entered compounds and the conditions.
Example¶
Enter P(Val-alt-G)(polymer) and BRP201 (drug) as the compounds, and set the degree of polymerization for P(Val-alt-G) as 93. Click on the Run button:






![[miscibility-8.png]](../../images/miscibility-8.png#only-light)
![[miscibility-8-dark.png]](../../images/miscibility-8-dark.png#only-dark)