Engee 文档

Interface (G-MA)

气和潮湿空气网络之间的边界。

类型: EngeeFluids.Interfaces.GasMoistAir

图书馆中的路径:

/Physical Modeling/Fluids/Fluid Network Interfaces/Interface (G-MA)

资料描述

Interface (G-MA) 它是气体网络和潮湿空气网络流动之间的连接。 界处的压力、温度和质量流量相等。 块不将液体的性质转移到跨越边界的每个网络。 要保持液体的性质,请确保单位 Gas Properties (G) 和块 Moist Air Properties (MA) 它们具有相同的设置。 当潮湿空气退出*MA*端口时,单元为其分配参数值。 Interface relative humidityInterface trace gas mass fraction 或输入信号的值。 然而,当潮湿空气进入*MA*端口时,该单元存储潮湿空气流中的变量的值。

您可以选择是否在边界处保持恒定的湿度和杂质气体的量,或者分别使用端口*W*,*Tw*和*TG*设置它们。

质量和动量守恒

的质量流量保持:

哪里

  • -气体到端口的质量流量*G*;

  • -进入端口的潮湿空气的质量流量*MA*。

该装置在端口中保持相等的压力和温度,这样:

节约能源

在边境节约能源:

哪里

  • -能量流向港口*G*;

  • -能量流向港口*MA*;

  • -港口的比焓*G*;

  • -港口的比焓*MA*;

  • -在端口的流量*G*;

  • -端口中的流量*MA*。

对于孔的给定横截面积 ,块定义 如何:

哪里

  • -港口的比容量*G*;

  • -比容在端口*MA*:

通用气体混合物常数 在边界处,它是两侧流体的函数:

哪里

  • -干燥空气的特定气体常数;

  • -水蒸气的特定气体常数;

  • -杂质气体的特定气体常数;

  • -边界的特定湿度。 块根据参数设置在流退出*MA*端口时确定此值。:

    • 当复选框 Controlled moisture and trace gas 移除,该块计算 基于参数中指定的方法 Interface moisture specification .

    • 当复选框 Controlled moisture and trace gas 安装,块计算 基于端口*W*或端口*Tw*上的输入值。

  • -边界处杂质气体的质量分数。 块根据参数设置在流退出*MA*端口时确定此值。:

    • 选中复选框时 Controlled moisture and trace gas 移除,该块计算 基于参数值 Interface trace gas mass fractionInterface trace gas mole fraction .

    • 选中复选框时 Controlled moisture and trace gas 安装,块计算 基于*TG*端口上的输入值。

港口

非定向

# G — 气口
气体

Details

与边境天然气有关的非定向口岸。

程序使用名称

gas_port

# 马萨诸塞州 — 潮湿气口
潮湿空气

Details

与边界潮湿空气有关的非定向端口。

程序使用名称

moist_air_port

输入

# TG — 杂质气体
尺度

Details

决定边界杂质气体分数的端口。

依赖关系

要使用此端口,请选择复选框 Controlled moisture and trace gas

数据类型

Float64`。

复数支持

# W — 湿度,无量纲
标量

Details

决定边界湿度的端口。

依赖关系

要使用该端口,请选择 Controlled moisture and trace gas 复选框,并将 Interface moisture specification 设置为 Relative humidity, Specific humidity, Mole fraction`或 `Humidity ratio.

数据类型

Float64`。

复数支持

# — 温度,K
标量

Details

根据边界湿温度计确定温度的端口,单位为 K。

依赖关系

要使用该端口,请选择复选框 Controlled moisture and trace gas ,并将参数 Interface moisture specification 设为 Wet-bulb temperature.

数据类型

Float64`。

复数支持

参数

参数

# Controlled moisture and trace gas — 在边界控制水分和杂质气体的选项

Details

如果未选中该复选框,设备将在边界保持恒定的湿度和杂质气体。如果选中该复选框,则通过 WTG 端口设置湿度和杂质气体。

默认值

false (关掉)

程序使用名称

controlled_moisture_and_trace_gas

可计算

# Interface moisture specification — 水分参数
Relative humidity | Specific humidity | Mole fraction | Humidity ratio | Wet-bulb temperature

Details

选择湿度计算方式:使用相对湿度、比湿度、摩尔分数、湿度系数或湿球温度。

Relative humidity | Specific humidity | Mole fraction | Humidity ratio | Wet-bulb temperature

默认值

Relative humidity

程序使用名称

moisture_type

可计算

# Interface relative humidity — 边界相对湿度

Details

边界的相对湿度。区块使用该值计算湿度。

依赖关系

要使用该参数,请取消选中 Controlled moisture and trace gas ,并为参数 Interface moisture specificationRelative humidity.

默认值

0.5

程序使用名称

RH_const

可计算

# Interface trace gas specification — 杂质气体参数化
Mass fraction | Mole fraction

Details

选择边界杂质气体的参数化方式:使用质量分数或摩尔分数。

Mass fraction | Mole fraction

默认值

Mass fraction

程序使用名称

trace_gas_type

可计算

# Interface trace gas mass fraction — 边界杂质气体的质量分数

Details

边界杂质气体的质量分数。

依赖关系

要使用该参数,请清除 Controlled moisture and trace gas 复选框,并将 Interface trace gas specification 设置为 Mass fraction.

默认值

0.001

程序使用名称

x_g_const

可计算

# Relative humidity at saturation — 饱和点相对湿度

Details

饱和点的相对湿度。

默认值

1.0

程序使用名称

RH_saturation

可计算

# Cross-sectional area at ports G and MA — 气体和湿空气开口的横截面积
m^2 | um^2 | mm^2 | cm^2 | km^2 | in^2 | ft^2 | yd^2 | mi^2 | ha | ac

Details

气体和湿空气开口的横截面积。

计量单位

m^2 | um^2 | mm^2 | cm^2 | km^2 | in^2 | ft^2 | yd^2 | mi^2 | ha | ac

默认值

0.01 m^2

程序使用名称

port_area

可计算

# Inputs outside valid range — 用于监控超出允许范围的输入数据的选项
Limit to valid values | Error

Details

监控无效输入。如果选择了 `Limit to valid values`则设备在设定范围内饱和输入值。如果选择值为 `Error`则在程序块接收到无效输入值时停止仿真。

Limit to valid values | Error

默认值

Limit to valid values

程序使用名称

assert_action

可计算

# Interface trace gas mole fraction — 边界杂质气体的摩尔分数

Details

边界杂质气体的摩尔分数。

依赖关系

要使用此参数,请取消选中 Controlled moisture and trace gas ,并将 Interface trace gas specification 设置为 。 Mole fraction.

默认值

0.001

程序使用名称

trace_gas_constant_mole_fraction

可计算

# Interface specific humidity — 边界比湿

Details

边界的比湿度。区块使用该值计算湿度。

依赖关系

要使用此参数,请取消选中 Controlled moisture and trace gas ,并将 Interface moisture specification 设置为 。 Specific humidity.

默认值

0.01

程序使用名称

q_const

可计算

# Interface water vapor mole fraction — 边界处水蒸气的摩尔分数

Details

界面处水蒸气的摩尔分数。程序块使用该值计算含水量。

依赖关系

要使用该参数,请取消选中 Controlled moisture and trace gas ,并将 Interface moisture specification 设置为 。 Mole fraction.

默认值

0.01

程序使用名称

water_vapor_constant_mole_fraction

可计算

# Interface humidity ratio — 边界湿度系数

Details

边界上的湿度系数。区块使用该值计算含水量。

依赖关系

要使用该参数,请取消选中 Controlled moisture and trace gas ,并将 Interface moisture specification 参数设置为 Humidity ratio.

默认值

0.01

程序使用名称

constant_humidity_ratio

可计算

# Interface wet-bulb temperature — 边界湿球温度
K | degC | degF | degR | deltaK | deltadegC | deltadegF | deltadegR

Details

界面湿温度计的温度。区块使用该值计算湿度。

依赖关系

要使用该参数,请取消选中 Controlled moisture and trace gas ,并将 Interface moisture specification 设置为 Wet-bulb temperature.

计量单位

K | degC | degF | degR | deltaK | deltadegC | deltadegF | deltadegR

默认值

287.0 K

程序使用名称

Tw_const

可计算