Engee documentation

Trace Gas Source (MA)

Addition or removal of impurity gases.

blockType: AcausalFoundation.MoistAir.MoistureTraceGasSources.TraceGas

Controlled Trace Gas Source (MA)

Path in the library:

/Physical Modeling/Fundamental/Moist Air/Moisture & Trace Gas Sources/Controlled Trace Gas Source (MA)

Trace Gas Source (MA)

Path in the library:

/Physical Modeling/Fundamental/Moist Air/Moisture & Trace Gas Sources/Trace Gas Source (MA)

Description

Block Trace Gas Source (MA) It is a permanent source or absorber of impurity gas for a connected humid air network.

A positive or negative mass flow rate of an impurity gas leads to an increase or decrease in its level.

The energy associated with the addition or removal of impurity gas is:

where

  • — the mass flow rate of the impurity gas, set by the parameter Trace gas mass flow rate;

  • — specific enthalpy of impurity gas;

  • — the temperature of the added impurity gas, set by the input scalar signal on the port T. The unit uses this value to estimate the specific enthalpy of the added impurity gas only. The specific enthalpy of the removed impurity gas is determined by the temperature of the connected humid air network;

  • — the temperature on the S port, which is equal to the temperature of the connected humid air network.

Port S is the port of the humid air source. Connect this port to the S port of the unit with a finite volume of humid air to add or remove impurity gas using the unit. Controlled Trace Gas Source (MA).

Ports

Conserving

# S — addition or removal of impurity gas
humid air

Details

Humid air source port. Connect this port to the S port of the unit with a finite volume of humid air to add or remove impurity gas using the unit Controlled Trace Gas Source (MA).

Program usage name

source_port

Input

# T — temperature, K
scalar

Details

The input port that determines the temperature of the impurity gas.

Dependencies

To use this port, check the box Controlled source.

Data types

Float64

Complex numbers support

I don’t

# M — mass flow rate, kg/s
scalar

Details

An input port that determines the mass flow of impurity gas through the source.

Dependencies

To use this port, check the box Controlled source.

Data types

Float64

Complex numbers support

I don’t

Parameters

Main

# Added trace gas temperature specification — the method of setting the temperature of the impurity gas
Atmospheric temperature | Specified temperature

Details

Selection of the method for setting the temperature of the impurity gas:

  • Atmospheric temperature — the atmospheric temperature set by the unit is used Moist Air Properties (MA), connected to the network.

  • Specified temperature — the value is set using the parameter Temperature of added trace gas.

Dependencies

To use this option, uncheck the box. Controlled source.

Values

Atmospheric temperature | Specified temperature

Default value

Atmospheric temperature

Program usage name

temperature_type

Evaluatable

No

# Temperature of added trace gas — impurity gas temperature
K | degC | degF | degR | deltaK | deltadegC | deltadegF | deltadegR

Details

The temperature of the impurity gas. This temperature remains constant during the simulation. The unit uses this value only to estimate the specific enthalpy of the added impurity gas. The specific enthalpy of the removed impurity gas is determined based on the temperature of the connected humid air network.

Dependencies

To use this parameter, set for the parameter Added trace gas temperature specification meaning Specified temperature.

Units

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

Default value

293.15 K

Program usage name

T_g_const

Evaluatable

Yes

# Rate of trace gas added — constant mass flow through the source
kg/s | kg/hr | kg/min | g/hr | g/min | g/s | t/hr | lbm/hr | lbm/min | lbm/s

Details

The mass flow rate of the impurity gas through the source.

A positive value adds impurity gas to the connected humid air network. A negative value removes the impurity gas from this network.

Dependencies

To use this option, uncheck the box. Controlled source.

Units

kg/s | kg/hr | kg/min | g/hr | g/min | g/s | t/hr | lbm/hr | lbm/min | lbm/s

Default value

0 kg/s

Program usage name

mdot_g_const

Evaluatable

Yes

# Controlled source — is the flow rate and temperature of the impurity gas set by the input signal

Details

Determines how the flow rate and temperature of the impurity gas will be set:

  • If this option is selected, the flow rate and temperature of the impurity gas are set via the input ports M and T.

  • If the checkbox is not checked, the constant flow rate and temperature of the impurity gas are set using the parameters Rate of trace gas added and Added trace gas temperature specification accordingly.

Default value

Program usage name

controlled

Evaluatable

No