feos.PhaseDiagram.spinodal¶
- static PhaseDiagram.spinodal(eos, molefracs, min_temperature, npoints, critical_temperature=None, max_iter=None, tol=None, verbosity=None)¶
Calculate the spinodal lines for a mixture with fixed composition.
- Parameters:
eos (Eos) – The equation of state.
molefracs (np.ndarray[float]) – The composition of the mixture.
min_temperature (SINumber) – The lower limit for the temperature.
npoints (int) – The number of points.
critical_temperature (SINumber, optional) – An estimate for the critical temperature to initialize the calculation if necessary. For most components not necessary. Defaults to None.
max_iter (int, optional) – The maximum number of iterations.
tol (float, optional) – The solution tolerance.
verbosity (Verbosity, optional) – The verbosity.
- Return type: