Skip to content

v0.4.8

Compare
Choose a tag to compare
@github-actions 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 in AssocOptions 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)

Diff since v0.4.7

Closed issues:

  • Missing type when adding custom model (#154)
  • Module reference in @registermodel (#157)

Merged pull requests: