Reservoir (MA)
Boundary conditions for a network of moist air at constant pressure, temperature, humidity and amount of impurity gases.
blockType: AcausalFoundation.MoistAir.Elements.Reservoir
Path in the library:
|
Description
The Reservoir (MA) unit is an infinite reservoir at fixed pressure, temperature, humidity and amount of impurity gases. The tank and its inlet can be at atmospheric or set pressure. Port A corresponds to the inlet of the tank. The volume of moist air inside the tank is assumed to be infinite, so the flow is assumed to be quasi-stationary.
Humid air enters and leaves the tank at the pressure specified for the tank, the other characteristics of the humid air (temperature, specific humidity and mass fraction of impurity gases) are determined by the direction of the humid air flow:
-
If the moist air leaves the tank, its temperature, specific humidity and mass fraction of impurity gases are equal to the corresponding parameters of the tank.
-
If humid air enters the tank, its temperature, specific humidity and mass fraction of impurity gases are determined by the previous network of humid air.
Humidity can be measured as one of the values:
-
Relative humidity, - relative humidity, parameters Reservoir relative humidity; -
Specific humidity, - specific humidity, parameter Reservoir specific humidity; -
Water vapor mole fraction, - molar fraction of water vapour, parameter Reservoir water vapor mole fraction; -
Humidity ratio, - humidity coefficient, parameter Reservoir humidity ratio; -
Wet-bulb temperature, - wet-bulb temperature, parameter Reservoir wet-bulb temperature.
You can specify the impurity gas as one of the following parameters:
-
Mass fraction, - mass fraction of impurity gas, parameter Reservoir trace gas mass fraction; -
Mole fraction, - molar fraction of impurity gas, parameter Reservoir trace gas mole fraction.
The amounts of moisture and impurity gas are related to each other as follows:
,
,
,
,
,
,
where
-
- pressure;
-
- is the universal gas constant.
The subscripts , and denote the properties of dry air, water vapour and impurity gas, respectively. The subscript denotes water vapour at saturation.
The block implicitly calculates the wet-bulb temperature using this equation:
,
where
-
- temperature;
-
- is the wet-bulb temperature;
-
- specific humidity;
-
- mass fraction of impurity gas;
-
- saturation specific humidity at wet-bulb temperature;
-
- specific enthalpy of dry air;
-
- specific enthalpy of dry air at wet-bulb temperature;
-
- specific enthalpy of impurity gas;
-
- specific enthalpy of impurity gas at wet-bulb temperature;
-
- specific enthalpy of water vapour;
-
- specific enthalpy of water vapour at wet thermometer temperature;
-
- specific enthalpy of vaporisation of water vapour at wet thermometer temperature.
Ports
Input
#
r_d_in
—
description missing
Details
Description missing
| Data types |
Description missing |
| Complex numbers support |
Description missing |
#
T_wb_in
—
description missing
Details
Description missing
| Data types |
Description missing |
| Complex numbers support |
Description missing |
#
trace_gas_in
—
description missing
Details
Description missing
| Data types |
Description missing |
| Complex numbers support |
Description missing |
#
p_in
—
description missing
Details
Description missing
| Data types |
Description missing |
| Complex numbers support |
Description missing |
#
moisture_in
—
description missing
Details
Description missing
| Data types |
Description missing |
| Complex numbers support |
Description missing |
#
T_in
—
description missing
Details
Description missing
| Data types |
Description missing |
| Complex numbers support |
Description missing |
Conserving
#
A
—
humid air port
humid air
Details
Moist air port, corresponds to the tank inlet.
| Program usage name |
|
Parameters
Main
#
Inputs outside valid range —
description missing
Limit to valid values | Error
Details
description missing
| Values |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
#
Reservoir temperature specification —
temperature setting method
Atmospheric temperature | Specified temperature
Details
Select the temperature setting method:
-
Atmospheric temperature- atmospheric temperature is used. -
Specified temperature- the value of the parameter Reservoir temperature is used.
| Values |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
# Provide input signal for trace gas — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
# Reservoir specific humidity — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Provide input signal for humidity — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
# Reservoir mass ratio of water droplets to moist air — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Reservoir water vapor mole fraction — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Reservoir relative humidity — relative humidity in the tank
Details
Sets the value of the relative humidity in the tank. This value remains constant during the simulation.
Dependencies
To use this parameter, set the Reservoir moisture specification parameters to . Relative humidity.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Reservoir wet-bulb temperature —
description missing
K | degC | degF | degR | deltaK | deltadegC | deltadegF | deltadegR
Details
description missing
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Cross-sectional area at port A —
area normal to the flow direction at the tank inlet
m^2 | um^2 | mm^2 | cm^2 | km^2 | in^2 | ft^2 | yd^2 | mi^2 | ha | ac
Details
The cross-sectional area of the tank inlet in the direction normal to the wet air flow path.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Reservoir humidity ratio — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Provide input signal for pressure — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
#
Reservoir humidity specification —
moisture measurement method
Relative humidity | Specific humidity | Mole fraction | Humidity ratio | Wet-bulb temperature
Details
Sets the measurement method:
-
Relative humidity- moisture composition is set via relative humidity with the parameters Reservoir relative humidity. -
Specific humidity- Moisture composition is set via specific humidity with the parameters Reservoir specific humidity. -
Water vapor mole fraction- Moisture content is specified in terms of molar fraction of moisture using the parameters Reservoir water vapor mole fraction. -
Humidity ratio- Moisture content is specified by the moisture content coefficient parameter Reservoir humidity ratio. -
Wet-bulb temperature- Moisture content is given by the wet-bulb temperature with the parameters Reservoir wet-bulb temperature.
| Values |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
# Relative humidity at saturation — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Provide input signal for temperature — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
# Reservoir trace gas mole fraction — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Reservoir pressure —
tank pressure
Pa | uPa | hPa | kPa | MPa | GPa | kgf/m^2 | kgf/cm^2 | kgf/mm^2 | mbar | bar | kbar | atm | ksi | psi | mmHg | inHg
Details
Sets the pressure in the tank. This pressure remains constant for the duration of the simulation.
Dependencies
To use this parameter, set the Reservoir pressure specification parameters to . Specified temperature.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Reservoir temperature —
tank temperature
K | degC | degF | degR | deltaK | deltadegC | deltadegF | deltadegR
Details
Sets the temperature in the tank. This temperature remains constant for the duration of the simulation.
Dependencies
To use this parameter, set the Reservoir temperature specification parameters to . Specified temperature.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Reservoir trace gas specification —
method of measuring the amount of impurity gases
Mass fraction | Mole fraction
Details
Sets the measurement method:
-
Mass fraction- mass fraction of impurity gases is set by the parameters Reservoir trace gas mass fraction. -
Mole fraction- molar fraction of impurity gases is set by the parameters Reservoir trace gas mole fraction.
| Values |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
#
Reservoir pressure specification —
pressure setting method
Atmospheric pressure | Specified pressure
Details
Select the pressure setting method:
-
Atmospheric pressure- atmospheric pressure is used. -
Specified pressure- the value of the parameter Reservoir pressure is used.
| Values |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
# Provide input signal for water droplets — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
# Reservoir trace gas mass fraction — mass fraction of impurity gas in the tank
Details
Enter the desired mass fraction of impurity gas in the tank. This value remains constant during the simulation.
Dependencies
To use this parameter, set the parameter Reservoir trace gas specification to . Mass fraction.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |