Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into tpflash_updates
  • Loading branch information
longemen3000 committed Jul 10, 2024
2 parents 5c8f2ee + 494a75e commit d94c38d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function obj_sle_solubility(F,model,p,T,zsolv,solu,data,ν_l)
z[idx_solv] .= zsolv
R = Rgas(model.fluid)
∑z = sum(z)
γliq = activity_coefficient(model.fluid,p,T,z)
γliq = activity_coefficient(model.fluid,p,T,z/∑z)
γl = @view(γliq[idx_sol_l])
zl = @view(z[idx_sol_l])
μliq = zero(eltype(γliq))
Expand Down

0 comments on commit d94c38d

Please sign in to comment.