packageIdealGas

Ideal gas

Extends from BaseClasses.CharacteristicEOS (Base thermodynamic package with only the p-v-T relations).

Information

This package contains the pressure-volume-temperature relationship of an ideal gas. Thermal data (e.g., heat capacity) is not included.

Parameters

TypeNameDefaultDescription
Q.PressureAbsolutep0 (from CharacteristicEOS)U.bar<html>Reference pressure (<i>p</i><sup>o</sup>)</html>
Integer[2]n_v (from CharacteristicEOS){-1, 0}<html>Powers of <i>p</i>/<i>T</i> and <i>T</i> for 1<sup>st</sup> row and column of <i>b</i><sub><i>v</i></sub> (<i>n</i><sub><i>v</i></sub>)</html>
Real[:,:]b_v (from CharacteristicEOS)[1]<html>Coefficients for specific volume as a polynomial in <i>p</i>/<i>T</i> and <i>T</i> (<i>b</i><sub><i>v</i></sub>)</html>
BooleanisCompressible (from CharacteristicEOS)anyTrue({anyTrue({abs(b_v[i, j]) > Modelica.Constants.small and n_v[1] + i - 1 <> 0 for i in 1:size(b_v, 1)}) for j in 1:size(b_v, 2)})<html><code>true</code>, if density depends on pressure</html>
BooleanhasThermalExpansion (from CharacteristicEOS)anyTrue({anyTrue({abs(b_v[i, j]) > Modelica.Constants.small and n_v[2] + j - n_v[1] - i <> 0 for i in 1:size(b_v, 1)}) for j in 1:size(b_v, 2)})<html><code>true</code>, if density depends on temperature</html>