feos.eos.estimator.DataSet.binary_phase_diagram¶
- static DataSet.binary_phase_diagram(specification, temperature_or_pressure, liquid_molefracs=None, vapor_molefracs=None, npoints=None)¶
Create a DataSet with experimental data for binary phase diagrams using the distance residual.
- Parameters:
specification (SINumber) – The constant temperature/pressure of the isotherm/isobar.
temperature_or_pressure (SIArray1) – The temperature (isobar) or pressure (isotherm) of the experimental data points.
liquid_molefracs (np.array[float], optional) – Molar composition of component 1 in the liquid phase.
vapor_molefracs (np.array[float], optional) – Molar composition of component 1 in the vapor phase.
npoints (int, optional) – The resolution of the phase diagram used to calculate the distance residual.
- Return type: