Skip to content

Question on retrieving gas enthalpy (Python) #813

Answered by EvenSol
ngom52 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi.
The absolute enthalpy will be dependent on reference temperature and if enthalpy of formation is included. In neqsim the reference temperature is 273.15 K (and enthalpy of formation is 0). It is therefore difficult to compare absolute enthalpies. See this video with discussion.

You should rather compare delta enthalpy between two states.

See the script below, giving a delta enthalpy of 1479.94 J/mol (for nitrogen at 10 bara when temperature is increased from 400K to 450K. If you compare delta enthalpies to other sources, they should be similar.

Supported units are 'J', 'J/mol', 'J/kg' and 'kJ/kg'

import neqsim
from neqsim.thermo import fluid, TPflash

gas = fluid('srk')
gas.setPressur…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ngom52
Comment options

Answer selected by EvenSol
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants