Controlled Reservoir (MA)
Boundary conditions for moist air network at time-varying pressure, temperature, moisture, and trace gas levels
Libraries:
Simscape /
Foundation Library /
Moist Air /
Elements
Description
The Controlled Reservoir (MA) block sets controlled boundary conditions in a moist air network. The volume of moist air inside the reservoir is assumed infinite. Therefore, the flow is assumed quasi-steady. Moist air leaves the reservoir at the reservoir pressure, temperature, specific humidity, and trace gas mass fraction. Moist air enters the reservoir at the reservoir pressure, but the temperature, specific humidity, and trace gas mass fraction are determined by the moist air network upstream.
You specify the reservoir pressure, temperature, amount of moisture, and amount of
trace gas by control physical signals at ports P,
T, W, and G,
respectively. The inputs are limited by their valid ranges. For pressure and
temperature, the valid range is between the minimum and maximum values specified in the
Moist Air Properties (MA) block connected to the
circuit. For the amount of moisture, the valid range is between zero and either
saturation or 100 percent water vapor. For the amount of trace gas, the valid range is
between zero and either the fraction left over after water vapor or 100 percent trace
gas. The input G is ignored if Trace gas model
in the Moist Air Properties (MA) block is set to
None
.
You can specify moisture as one of:
Relative humidity, φw
Specific humidity, xw
Water vapor mole fraction, yw
Humidity ratio, rw
Wet-bulb temperature, Tw
You can specify trace gas as one of:
Trace gas mass fraction, xg
Trace gas mole fraction, yg
These moisture and trace gas quantities are related to each other as follows:
where:
p is pressure.
R is specific gas constant.
Subscripts a
, w
, and g
indicate the properties of dry air, water vapor, and trace gas, respectively. Subscript
ws
indicates water vapor at saturation.
The block calculates the wet-bulb temperature implicitly by using this equation:
where:
T is the temperature.
Tw is the wet-bulb temperature.
xw(T) is the specific humidity.
xg(T) is the trace gas mass fraction.
xws(Tw) is the specific humidity of saturation at the wet bulb temperature.
ha(T) is the specific enthalpy of the dry air.
ha(Tw) is the specific enthalpy of the dry air at the wet bulb temperature.
hg(T) is the specific enthalpy of the trace gas.
hg(Tw) is the specific enthalpy of the trace gas at the wet bulb temperature.
hw(T) is the specific enthalpy of the water vapor.
hw(Tw) is the specific enthalpy of the water vapor at the wet bulb temperature.
Δhfg(Tw) is the specific enthalpy of vaporization of water vapor at the wet-bulb temperature.