gasProp

버전 1.0.6 (14.2 KB) 작성자: Miika Wallius
This script calculates ideal gas properties for common flue gases at 1 bar pressure.
다운로드 수: 230
업데이트 날짜: 2021/9/13

라이선스 보기

This script calculates ideal gas properties for common flue gases at 1 bar pressure.
All properties in these tables are calculated using FluidProp computer program. FluidProp uses properties mostly from the book Reynolds, W.C., Thermodynamic properties in S.I., Department of Mechanical Engineering - Stanford University.
Instructions:
If only one input is given, returns whole table for given gas.
If less or more than four inputs are given, returns error.
Else returns linearly interpolated/extrapolated value of given unit.
All properties are valid within 50 - 5000 K temperature range.
Options for gas:
N2, O2, CO2, H2O, air, H2, CO, SO2, CnH2n
Options for x:
T, cp, cv, h, s, rho
Options for v:
T, cp, cv, h, s, rho, R, M, p
Options for xq:
single number or a matrix
Examples:
Calculating air cp at 345 K:
cp = gasProp('air','T','cp',345)
Calculating CO2 s at 1000 and 1010 kJ/kg:
s = gasProp('CO2','h','s',[1000 1010])
Units:
M [kg/kmol]
R [J/(kg*K)]
T [K]
cp [kJ/(kg*K)]
cv [kJ/(kg*K)]
h [kJ/kg]
s [kJ/(kg*K)]
rho [kg/m^3]

인용 양식

Miika Wallius (2024). gasProp (https://www.mathworks.com/matlabcentral/fileexchange/75268-gasprop), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2020a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.6

Added extrapolation and removed unnecessary code.

1.0.5

Simplified the code and made it work with older Matlab versions that do not support "_" strings.

1.0.4

Added date of update.
Removed "Air" and "AIR" from cases as they are unnecessary.

1.0.3

Now v = 'M' or v = 'R' works.

1.0.2

Removed inputs' case sensitivity.

1.0.1

Added accuracy to hydrogen density to avoid duplicate values.
Added the ability to calculate properties based on density since earlier version gave error.
Added silent conversion from character inputs to string inputs.

1.0.0