You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the volume solver, should all be operating normally (under critical point, two volume roots found etc), the gibbs free energies of the phases are checked, and the phase that minimises gibbs is returned:
if gg<gl
isstable(model,Vg,T,z,phase)
return Vg
elseisstable(model, Vl, T, z, phase)
return Vl
end
However, by passing the phase to the stability check isstable, the isstable function automatically returns true
functionisstable(model, V, T, z, phase=:stable)
if phase !=:stablereturntrue...etc
This doesn't seem like the intended use of the stability check, is this how it's intended to be used?
The text was updated successfully, but these errors were encountered:
the default volume solver only performs mechanical stability (it is done in volume_compress). when passing the :stable symbol to the model, it will perform the full stability check , but this kw should be open to the api, i will fix that ASAP
In the volume solver, should all be operating normally (under critical point, two volume roots found etc), the gibbs free energies of the phases are checked, and the phase that minimises gibbs is returned:
However, by passing the phase to the stability check
isstable
, the isstable function automatically returnstrue
This doesn't seem like the intended use of the stability check, is this how it's intended to be used?
The text was updated successfully, but these errors were encountered: