feos.eos.PhaseDiagram.lle¶
- static PhaseDiagram.lle(eos, temperature_or_pressure, feed, min_tp, max_tp, npoints=None)¶
Create a new phase diagram using Tp flash calculations.
The usual use case for this function is the calculation of liquid-liquid phase diagrams, but it can be used for vapor- liquid diagrams as well, as long as the feed composition is in a two phase region.
- Parameters:
eos (EquationOfState) – The equation of state.
temperature_or_pressure (SINumber) – The consant temperature or pressure.
feed (SIArray1) – Mole numbers in the (unstable) feed state.
min_tp – The lower limit of the temperature/pressure range.
max_tp – The upper limit of the temperature/pressure range.
npoints (int, optional) – The number of points (default 51).
- Return type: