feos.dft.State.spinodal¶
- static State.spinodal(eos, temperature, moles=None, max_iter=None, tol=None, verbosity=None)¶
Calculate spinodal states for a given temperature and composition.
- Parameters:
eos (EquationOfState) – The equation of state to use.
temperature (SINumber) – The temperature.
moles (SIArray1, optional) – Amount of substance of each component. Only optional for a pure component.
max_iter (int, optional) – The maximum number of iterations.
tol (float, optional) – The solution tolerance.
verbosity (Verbosity, optional) – The verbosity.
- Returns:
State
- Return type:
State at critical conditions.