Closed fwitte closed 2 years ago
Hi!
The entropy of fusion was missing. I do not have the value, but here is an example for how you can fix the problem:
from thermosteam import Chemical, indexer, equilibrium, settings
KOH = Chemical('KOH')
KOH.Sfus = 0. # Put in correct value here
settings.set_thermo(['Water', KOH], cache=True)
imol = indexer.MolarFlowIndexer(l=[('Water', 10), ('KOH', 3)], phases=('s', 'l'))
sle = equilibrium.SLE(imol)
sle('KOH', T=298.15, P=1e5)
print(sle.mixture.xH(imol, *sle.thermal_condition))
print(sle.mixture.xmu(imol, *sle.thermal_condition))
print(sle.mixture.xV(imol, *sle.thermal_condition))
print(sle.mixture.xS(imol, *sle.thermal_condition))
Output:
14554.79330573155
0.019279623030465657
0.0004451067242990097
921.1987804769778
The default property package in thermosteam will not return accurate values for electrolyte mixtures, which is usually not a problem in the context of preliminary unit operation designs. I'll send you some code separately on setting up better estimation methods for electrolytes soon.
Thanks!
Hi Yoel,
with python3.8 and the current state of the master branch in my fork (only change numpy dependency) installed, I tried the following solid liquid equilibrium calculation:
I do get results for enthalpy, viscosity and specific volume, but for entropy it seems that some value is can not be calculated properly:
Can you help me here?
Thanks a lot!