Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
zmeri authored Apr 29, 2021
1 parent 76dbe55 commit 9fe478b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Example
t = 320 # K
p = 101325 # Pa
den = pcsaft_den(t, p, x, pyargs, phase='liq')
print('Density of toluene at {} K:'.format(t), den, 'mol m^-3')
print('Density of toluene at {} K: {} mol m^-3'.format(t, den))
# Water using default 2B association scheme
x = np.asarray([1.])
Expand All @@ -51,7 +51,7 @@ Example
s = np.asarray([2.7927 + 10.11*np.exp(-0.01775*t) - 1.417*np.exp(-0.01146*t)]) # temperature dependent sigma is used for better accuracy
pyargs = {'m':m, 's':s, 'e':e, 'e_assoc':eAB, 'vol_a':volAB}
den = pcsaft_den(t, p, x, pyargs, phase='liq')
print('Density of water at {} K:'.format(t), den, 'mol m^-3')
print('Density of water at {} K: {} mol m^-3'.format(t, den))
# Water using 4C association scheme
x = np.asarray([1.])
Expand All @@ -66,7 +66,7 @@ Example
s = np.asarray([2.7927 + 10.11*np.exp(-0.01775*t) - 1.417*np.exp(-0.01146*t)]) # temperature dependent sigma is used for better accuracy
pyargs = {'m':m, 's':s, 'e':e, 'e_assoc':eAB, 'vol_a':volAB, 'assoc_scheme':assoc_schemes}
den = pcsaft_den(t, p, x, pyargs, phase='liq')
print('Density of water at {} K:'.format(t), den, 'mol m^-3')
print('Density of water at {} K: {} mol m^-3'.format(t, den))
Dependencies
------------
Expand Down

0 comments on commit 9fe478b

Please sign in to comment.