Closed BenPortner closed 2 years ago
@CalebBell, thanks for your clarification on #117! I got everything to work because of it :)
@BenPortner, the S_dep_g/l and H_dep_g/l are excess free energies, not total actual free energies. I forgot to mention this in the issue. I'll let you or Caleb close this issue, in case there is more to talk about.
Thanks!
@yoelcortes @BenPortner Yes, that makes sense. Please keep in mind that when modeling a fluid as a real gas, instead of an ideal gas, the calculation of power for the compressor is fairly complex. A numerical integral is required, as demonstrated in the example linked here:
Hi @CalebBell,
Thank you for the link to your isothermal compression example. I believe it is not necessary to evaluate an integral for the reversible case η=1
. The first thermodynamic law says dH = dQ + dW
where dW=Vdp
. For reversible processes dQ = T*dS
. Putting it all together: dW = Vdp = dH-T*dS
. Now, since T=const
for the isothermal process, it follows that the work is simply W = ΔH-T*ΔS
. No integrals 😉
Hello @CalebBell,
I am (still) trying to determine the power required to compress hydrogen isothermally to 350 bar. I tried using the
PR
andSRK
equations of state but both yield way too low entropy changes:current behavior
expected behavior
Is there an EOS implemented in thermo, which is suitable for H2 in the given pressure range?
Thank you. Ben
related issues
https://github.com/CalebBell/thermo/issues/117 https://github.com/BioSTEAMDevelopmentGroup/thermosteam/issues/69