Engee documentation

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:

/Physical Modeling/Fundamental/Moist Air/Elements/Reservoir (MA)

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_indescription missing

Details

Description missing

Data types

Description missing

Complex numbers support

Description missing

# T_wb_indescription missing

Details

Description missing

Data types

Description missing

Complex numbers support

Description missing

# trace_gas_indescription missing

Details

Description missing

Data types

Description missing

Complex numbers support

Description missing

# p_indescription missing

Details

Description missing

Data types

Description missing

Complex numbers support

Description missing

# moisture_indescription missing

Details

Description missing

Data types

Description missing

Complex numbers support

Description missing

# T_indescription 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

port

Parameters

Main

# Inputs outside valid rangedescription missing
Limit to valid values | Error

Details

description missing

Values

Limit to valid values | Error

Default value

Error

Program usage name

assert_action

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

Atmospheric temperature | Specified temperature

Default value

Atmospheric temperature

Program usage name

temperature_type

Evaluatable

No

# Provide input signal for trace gasdescription missing

Details

description missing

Default value

false (switched off)

Program usage name

controlled_trace_gas

Evaluatable

No

# Reservoir specific humiditydescription missing

Details

description missing

Default value

0.01

Program usage name

x_w_const

Evaluatable

Yes

# Provide input signal for humiditydescription missing

Details

description missing

Default value

false (switched off)

Program usage name

controlled_humidity

Evaluatable

No

# Reservoir mass ratio of water droplets to moist airdescription missing

Details

description missing

Default value

0

Program usage name

r_d_const

Evaluatable

Yes

# Reservoir water vapor mole fractiondescription missing

Details

description missing

Default value

0.01

Program usage name

y_w_const

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

0.5

Program usage name

RH_const

Evaluatable

Yes

# Reservoir wet-bulb temperaturedescription missing
K | degC | degF | degR | deltaK | deltadegC | deltadegF | deltadegR

Details

description missing

Units

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

Default value

287 K

Program usage name

T_wb_const

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

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

Default value

0.01 m^2

Program usage name

port_area

Evaluatable

Yes

# Reservoir humidity ratiodescription missing

Details

description missing

Default value

0.01

Program usage name

HR_const

Evaluatable

Yes

# Provide input signal for pressuredescription missing

Details

description missing

Default value

false (switched off)

Program usage name

controlled_pressure

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

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

Default value

Relative humidity

Program usage name

moisture_type

Evaluatable

No

# Relative humidity at saturationdescription missing

Details

description missing

Default value

1

Program usage name

RH_ws

Evaluatable

Yes

# Provide input signal for temperaturedescription missing

Details

description missing

Default value

false (switched off)

Program usage name

controlled_temperature

Evaluatable

No

# Reservoir trace gas mole fractiondescription missing

Details

description missing

Default value

0.001

Program usage name

y_g_const

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

Pa | uPa | hPa | kPa | MPa | GPa | kgf/m^2 | kgf/cm^2 | kgf/mm^2 | mbar | bar | kbar | atm | ksi | psi | mmHg | inHg

Default value

0.101325 MPa

Program usage name

p_const

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

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

Default value

293.15 K

Program usage name

T_const

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

Mass fraction | Mole fraction

Default value

Mass fraction

Program usage name

trace_gas_type

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

Atmospheric pressure | Specified pressure

Default value

Atmospheric pressure

Program usage name

pressure_type

Evaluatable

No

# Provide input signal for water dropletsdescription missing

Details

description missing

Default value

false (switched off)

Program usage name

controlled_droplets

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

0.001

Program usage name

x_g_const

Evaluatable

Yes