LIBRARY
MediaModels.BaseProperties_DryAir
Dry-air property model using (p, T) as independent states.
Ideal-gas dry air with constant specific heats — exposes density, specific enthalpy, specific internal energy, cv, and gas constant R for the bound pressure and temperature. medium_data carries the species data and is required.
Usage
HVACComponents.MediaModels.BaseProperties_DryAir(medium_data, p_start, T_start, d_start=HVACComponents.d_pT(p_start, T_start, medium_data), h_start=HVACComponents.h_pT(p_start, T_start, medium_data), e_start=HVACComponents.e_pT(p_start, T_start, medium_data), cv_start=HVACComponents.cv_dryair(medium_data), R_start=HVACComponents.R_dryair(medium_data))
Parameters:
| Name | Description | Units | Default value |
|---|---|---|---|
medium_data | Dry-air medium properties | – | |
p_start | Initial pressure [Pa] (solver guess for p) | Pa | |
T_start | Initial temperature [K] (solver guess for T) | K | |
d_start | Initial density [kg/m^3] (derived from p_start, T_start) | – | HVACComponents.d_pT(p_start, T_start, medium_data) |
h_start | Initial specific enthalpy [J/kg] (derived from p_start, T_start) | – | HVACComponents.h_pT(p_start, T_start, medium_data) |
e_start | Initial specific internal energy [J/kg] (derived from p_start, T_start) | – | HVACComponents.e_pT(p_start, T_start, medium_data) |
cv_start | Initial specific heat at constant volume [J/(kg.K)] (from medium_data) | – | HVACComponents.cv_dryair(medium_data) |
R_start | Initial specific gas constant [J/(kg.K)] (from medium_data) | – | HVACComponents.R_dryair(medium_data) |
Variables
| Name | Description | Units |
|---|---|---|
p | Pressure [Pa] | – |
T | Temperature [K] | – |
d | Density [kg/m^3] | – |
h | Specific enthalpy [J/kg] | – |
e | Specific internal energy [J/kg] | – |
cv | Specific heat at constant volume [J/(kg.K)] | – |
R | Specific gas constant [J/(kg.K)] | – |