system.thermo.if97.specificInternalEnergy
Calculates specific internal energy.
Syntax
system.thermo.if97.specificInternalEnergy(p, h) # Pressure and Enthalpy
system.thermo.if97.specificInternalEnergy(p, s) # Pressure and Entropy
system.thermo.if97.specificInternalEnergy(p, t) # Pressure and Temperature
system.thermo.if97.specificInternalEnergy(p, x) # Pressure and Quality
system.thermo.if97.specificInternalEnergy(t, x) # Temperature and Vapor Fraction (Quality)
info
This function must be called with named parameters.
Parameters
Type | Parameter | Description |
---|---|---|
Double | p | Absolute Pressure (Pa) |
Double | h | Specific Enthalpy (J/kg) |
Double | s | Specific Entropy (J/(kg·K)) |
Double | t | Temperature (K) |
Double | x | Vapor Fraction (Quality) (0 to 1) |
Returns
Double - Specific Internal Energy (J/kg)
The energy contained within the system due to molecular interactions and movements.
Scope
Gateway, Designer, Client, Perspective Session
Example
Pressure and Temperature
p = 101325
t = 373.15
result = system.thermo.if97.specificInternalEnergy(p=p, t=t)
print result
Result
2506025.55798