Skip to content

Problem(s) when calculating LLE #298

@StvnF02

Description

@StvnF02

Hello,
I'm using FeOs to calculate liquid-liquid-equilibria (in python). To get started, I tried reconstructing the VLE/LLE found in 10.1021/ie010954d Fig.8 (methanol - cyclohexane). At first i used feos.eos.PhaseDiagram.binary_vlle, however this returns a PhaseDiagramHetero which apparently does not have a to_dict - function. Is there a different way of plotting a PhaseDiagramHetero other than converting it into a pd.DataFrame and plotting the dataframe? If so, where is it documented?

Afterwards, I used a combination of a feos.eos.PhaseDiagram.binary_vle and a feos.eos.PhaseDiagram.binary_lle, as they both return a PhaseDiagram object which can be converted to a dataframe. When comparing my results to the ones provided in 10.1021/ie010954d Fig.8, the LLE looks off, especially at lower methanol mole fractions, as can be seen in the picture attached (the coloured lines being my results, black lines coming from the paper).

Image

I'm now wondering if the issue originates from a mistake on my end or if perhaps from the LLE calcultation itself? If I did something wrong, please don't hesitate to tell me 😄

Lastly, I'm planning on calculating and plotting ternary LLE in the future. Is that possible with FeOs? I did not find anything about ternary systems (especially plotting them) in the FeOs documentation!

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions