Interface (G-MA)
The boundary between the gas and humid air networks.
blockType: EngeeFluids.Interfaces.GasMoistAir
Path in the library:
|
Description
Block Interface (G-MA) It is a connection between the flows of a gas network and a humid air network. The pressure, temperature, and mass flow rate at the boundary are equal. The block does not transfer the properties of the liquid to each network across the border. To preserve the properties of the liquid, make sure that the unit Gas Properties (G) and the block Moist Air Properties (MA) they have the same settings. When moist air exits the MA port, the unit assigns parameter values to it. Interface relative humidity and Interface trace gas mass fraction or the values of the input signals. However, when humid air enters the MA port, the unit stores the values of the variables in the humid air flow.
You can choose whether to maintain constant humidity and the amount of impurity gas at the boundary or set them using the ports W, Tw and TG, respectively.
Conservation of mass and momentum
The mass flow rate is maintained:
where
-
— mass flow of gas to the port G;
-
— the mass flow of moist air into the port MA.
The unit maintains equal pressures and temperatures in the ports, such that:
Energy conservation
Saving energy at the border:
where
-
— energy flow to port G;
-
— energy flow to the port MA;
-
— specific enthalpy in the port G;
-
— specific enthalpy in the port MA;
-
— the flow rate in the port G;
-
— the flow rate in the port MA.
For a given cross-sectional area of the hole , the block defines and how:
where
-
— specific volume in the port G;
-
— specific volume in the port MA:
Universal gas mixture constant At the boundary, it is a function of the fluid on both sides:
where
-
— specific gas constant of dry air;
-
— specific gas constant of water vapor;
-
— specific gas constant of impurity gases;
-
— specific humidity at the border. The block determines this value when the stream exits the MA port based on the parameter settings.:
-
When the check box Controlled moisture and trace gas removed, the block calculates based on the method specified in the parameter Interface moisture specification.
-
When the checkbox is selected Controlled moisture and trace gas installed, the block calculates based on the input value on port W or on port Tw.
-
-
— the mass fraction of impurity gas at the boundary. The block determines this value when the stream exits the MA port based on the parameter settings.:
-
When the checkbox is selected Controlled moisture and trace gas removed, the block calculates based on the parameter value Interface trace gas mass fraction or Interface trace gas mole fraction.
-
When the checkbox is selected Controlled moisture and trace gas installed, the block calculates based on the input value on the TG port.
-
Ports
Conserving
#
G
—
gas port
gas
Details
A non-directional port associated with gas at the border.
| Program usage name |
|
#
MA
—
humid air port
`humid air
Details
A non-directional port associated with moist air at the boundary.
| Program usage name |
|
Input
#
TG
—
impurity gas
scalar
Details
A port that determines the fraction of impurity gas at the boundary.
Dependencies
To use this port, select the checkbox Controlled moisture and trace gas.
| Data types |
|
| Complex numbers support |
No |
#
W
—
humidity, dimensionless
scalar
Details
A port that determines the humidity at the boundary.
Dependencies
To use this port, select the checkbox Controlled moisture and trace gas, and set the parameters Interface moisture specification to the value of Relative humidity, Specific humidity, Mole fraction or Humidity ratio.
| Data types |
|
| Complex numbers support |
No |
#
Tw
—
temperature, K
scalar
Details
A port that determines the temperature from a wet thermometer at the boundary, in K.
Dependencies
To use this port, select the checkbox Controlled moisture and trace gas, and set the parameters Interface moisture specification to Wet-bulb temperature.
| Data types |
|
| Complex numbers support |
No |
Parameters
Parameters
# Controlled moisture and trace gas — option for controlling moisture and impurity gas at the boundary
Details
If unchecked, the unit maintains a constant humidity and impurity gas at the boundary. If this checkbox is selected, the humidity and impurity gas are set via the W and TG ports.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Interface moisture specification —
moisture parameterization
Relative humidity | Specific humidity | Mole fraction | Humidity ratio | Wet-bulb temperature
Details
Choose how to calculate humidity: using relative humidity, specific humidity, molar fraction, humidity coefficient or wet-bulb temperature.
| Values |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Interface relative humidity — relative humidity at the boundary
Details
The relative humidity at the boundary. The block uses this value to calculate the humidity.
Dependencies
To use this parameter, uncheck Controlled moisture and trace gas, and for the parameter Interface moisture specification on the Relative humidity.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Interface trace gas specification —
impurity gas parameterization
Mass fraction | Mole fraction
Details
Choose how to parameterise the impurity gas at the boundary: using mass fraction or molar fraction.
| Values |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Interface trace gas mass fraction — mass fraction of impurity gas at the boundary
Details
Mass fraction of impurity gas at the boundary.
Dependencies
To use this parameter, uncheck Controlled moisture and trace gas and set the Interface trace gas specification parameters to . Mass fraction.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Relative humidity at saturation — relative humidity at saturation point
Details
Relative humidity at saturation point.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Cross-sectional area at ports G and MA —
cross-sectional area of the openings for gas and moist air
m^2 | um^2 | mm^2 | cm^2 | km^2 | in^2 | ft^2 | yd^2 | mi^2 | ha | ac
Details
Cross-sectional area of the gas and moist air openings.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Inputs outside valid range —
option for monitoring or controlling input data outside the permissible range
Limit to valid values | Error
Details
Monitor or control invalid inputs. If the value is selected `Limit to valid values`is selected, the unit saturates the input values within the set limits. If the value is selected `Error`is selected, the simulation stops when the block receives invalid input values.
| Values |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Interface trace gas mole fraction — molar fraction of impurity gas at the boundary
Details
Molar fraction of impurity gas at the boundary.
Dependencies
To use this parameter, uncheck Controlled moisture and trace gas, and set the Interface trace gas specification parameters to . Mole fraction.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Interface specific humidity — specific humidity at the boundary
Details
The specific humidity at the boundary. The block uses this value to calculate the humidity.
Dependencies
To use this parameter, uncheck Controlled moisture and trace gas, and set the Interface moisture specification parameters to . Specific humidity.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Interface water vapor mole fraction — molar fraction of water vapour at the boundary
Details
The molar fraction of water vapour at the interface. The block uses this value to calculate the moisture content.
Dependencies
To use this parameter, uncheck Controlled moisture and trace gas, and set the Interface moisture specification parameters to . Mole fraction.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Interface humidity ratio — moisture coefficient at the boundary
Details
The moisture coefficient on the boundary. The block uses this value to calculate the moisture content.
Dependencies
To use this parameter, uncheck Controlled moisture and trace gas, and set the Interface moisture specification parameters to . Humidity ratio.
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Interface wet-bulb temperature —
wet-bulb temperature at the boundary
K | degC | degF | degR | deltaK | deltadegC | deltadegF | deltadegR
Details
The temperature of the wet thermometer at the interface. The block uses this value to calculate humidity.
Dependencies
To use this parameter, uncheck Controlled moisture and trace gas, and set the Interface moisture specification parameters to Wet-bulb temperature.
| Units |
|
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |