Can HYSYS Calculate Exergy
Can HYSYS Calculate Exergy
Applicable Version(s):
Applies to HYSYS Versions 2.4.1 - Current
Problem Statement:
Can HYSYS calculate exergy?
Solution:
HYSYS does not include exergy flow in its default calculations. However, you can use the flexible
customization capability of HYSYS to incorporate exergy calculations into your flowsheet.
What HYSYS provides are the values of enthalpy and entropy at the specified states for pure substances or
mixtures. Since the calculation of exergy requires the specified reference state for each substance or mixture
involved, it is up to you to define those crucial reference states for your system, find the corresponding values
of enthalpy and entropy at those states, and then calculate exergy values based on its definition.
To calculate the exergy for each stream, the user var creates a duplicate fluid, and flashes it at the reference T
& P. Then it uses: Exergy = (H - Href) - Tref(S - Sref)
Of course this isn't entirely correct, but if you have a more accurate way to calculate exergy, feel free to edit
the user var.
To add this user variable to your case, save the attached .huv file to your hard drive. Then, from within
HYSYS, select: Simulation | Import and Export User Variables
Press the Select button to browse for the file, and press OK once you have found it. Select the variable in the
User Variables list and Press the Import button. The Exergy User Variable should be added to all streams in
your case by default. It can be viewed by opening the stream property view and looking on the User
Variables tab.
Note that you will have to force a recalculation of the flowsheet (all of the exergy values in the streams will
be <empty> until you do this).
Sub PostExecute()
EarlyGrave:
ActiveVariableWrapper.Variable.Erase
End Sub
Keywords:
exergy analysis, availability, user variable