moyner / MultiComponentFlash.jl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clapeyron Integration

longemen3000 opened this issue · comments

Hi!

First, Sorry for the delay, i saw your comment on the Clapeyron issue, and i can code some integration between this package and Clapeyron, via an optional dependency (this is possible by using Requires.jl, that loads the Clapeyron code only if the module is loaded).
can i ask any questions about the package here?

Hi!

That sounds great! Ask away and let's see what we can do.

as for the Clapeyron integration, looking at the package code, the best course of action would be for us to add the package as a dependency, and try to make a two way integration, that is:

  • try to make that our models work with the flash methods in MultiComponentFlash.jl
  • try to make that the models in your package works with Clapeyron.jl properties

our cubics are not so fast (mainly because we need to allocate the alpha function to allow for different mixing schemes), and we don't have the Zudkevitch-Joffe EoS.

i will tag you on the corresponding PR, when i have something to show

with 1.9, i'm doing this as an extension. at the moment i'm working there: https://github.com/ClapeyronThermo/Clapeyron.jl/tree/multicomponentflash-ext

Extension sounds like a good idea. Thank you for the efforts!