Open moesphere opened 1 year ago
There is actually an implementation of ePCSAFT, in the EectrolyteModels
branch:
https://github.com/ClapeyronThermo/Clapeyron.jl/blob/ElectrolyteModels/src/models/SAFT/PCSAFT/variants/ePCSAFT.jl
We are still looking on how to treat electrolytes in general (the revised ePCAFT can be expressed as ElectrolyteSAFT(components, puremodel = PCSAFT, rspmodel = MwAvg, ionmodel = DH)
Thanks for the hint to the ElectrolyteModels
branch. To me, it seems that the implemented ePCSAFT
model does not consider electrolytes. The reference to the corresponding article does not mention electrolytes. In the implementation of Cameretti, Sadowski, and Mollerup, (see original paper link in my comment above), an additional term for ions to the residual Helmholtz energy is added.
hmm, weird, I remember seeing some terms in ePCSAFT, maybe it got deleted? The impl of the Debye-Huckel is a model on its own in that branch (DH
)
Found it. Coupling pharmaPCSAFT
with DH
would mean to create a new model with a new parameter as there is not yet a way to treat electrolytes in general, as you mentioned above, correct?
yes, ideally, that would be via the ElectrolyteSAFT
wrapper
It would be great to implement PC-SAFT for electrolytes. Original paper and revision of ePC-SAFT.
A combination with the already implemented pharmaPCSAFT model would be benificial likewise.