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
#
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 |
#
moisture_in
—
description missing
Details
Description missing
| Data types |
Description missing |
| Complex numbers support |
Description missing |
#
r_d_in
—
description missing
Details
Description missing
| Data types |
Description missing |
| Complex numbers support |
Description missing |
Parameters
Main
#
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 |
No |
# Provide input signal for interface trace gas — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
# Interface specific humidity — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Provide input signal for interface humidity — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
# Interface mass ratio of water droplets to moist air — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Interface water vapor mole fraction — description missing
Details
description missing
| 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 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 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 |
# Interface humidity ratio — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
#
Interface humidity 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 |
No |
# Relative humidity at saturation — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
Yes |
# Interface trace gas mole fraction — description missing
Details
description missing
| 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 |
No |
# Provide input signal for interface water droplets — description missing
Details
description missing
| Default value |
|
| Program usage name |
|
| Evaluatable |
No |
# 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 |