v0.4.8
github-actions
released this
30 Mar 21:18
·
2167 commits
to master
since this release
New Features
- you can pass a named tuple to
userlocations
and its variants to build a model directly from those parameters (#156). for example, with PCSAFT:
julia> model = PCSAFT(["a1"],userlocations = (;
Mw = [1.],
epsilon = [2.],
sigma = [3.],
segment = [4.],
k = [0.0;;], #matrix
n_H = [1],
n_e = [1],
epsilon_assoc = Dict((("a1","e"),("a1","H")) => 1000.),
bondvol = Dict((("a1","e"),("a1","H")) => 0.001)))
PCSAFT{BasicIdeal} with 1 component:
"a1"
Contains parameters: Mw, segment, sigma, epsilon, epsilon_assoc, bondvol
- The
dense
option inAssocOptions
is deprecated and it will be removed on 0.5.0. the sparse solver is not used anymore, the dense solver has performance advantages in all cases.
Bug Fixes
- bug in
@registermodel
(#157)
Closed issues:
Merged pull requests:
- allow passing a
NamedTuple
to userlocations kwarg (#156) (@longemen3000) - Some docs for the u and w vectors for Gauss-Laguerre (#159) (@ianhbell)