# Controlled Moisture Source (MA)

Inject or extract moisture at a time-varying rate

• Library:
• Simscape / Foundation Library / Moist Air / Sources / Moisture & Trace Gas Sources

## Description

The Controlled Moisture Source (MA) block represents a time-varying source or sink of moisture for the connected moist air volume. Two physical signal input ports, M and T, supply the mass flow rate and temperature values, respectively. A positive or negative moisture mass flow rate results in moisture being added or removed, respectively.

You can add moisture as water vapor or liquid water. For water vapor, the energy associated with the added or removed moisture is

where:

• ${\stackrel{˙}{m}}_{specified}$ is the water vapor mass flow rate specified by the input physical signal at port M.

• hw is the water vapor specific enthalpy.

• Tspecified is the temperature of added moisture specified by the input physical signal at port T. The block uses this value to evaluate the specific enthalpy of the added moisture only. The specific enthalpy of removed moisture is based on the temperature of the connected moist air volume.

• Ts is the temperature at port S, which is the same as the temperature of the connected moist air volume.

For liquid water, the energy associated with the added or removed moisture is

where Δhvap is the water specific enthalpy of vaporization.

Port S is a moist air source conserving port. Connect this port to port S of a block with finite moist air volume to add or remove moisture through that block. For more information, see Using Moisture and Trace Gas Sources.

## Ports

### Input

expand all

Input physical signal that specifies the water vapor mass flow rate through the source.

Input physical signal that specifies the temperature of added moisture. The block uses this value to evaluate the specific enthalpy of the added moisture only. The specific enthalpy of removed moisture is based on the temperature of the connected moist air volume.

### Conserving

expand all

Connect this port to port S of a block with finite moist air volume to add or remove moisture through that block.

## Parameters

expand all

Select whether the source adds or removes moisture as water vapor or liquid water:

• Vapor — The enthalpy of the added or removed moisture corresponds to the enthalpy of water vapor, which is greater than that of liquid water.

• Liquid — The enthalpy of the added or removed moisture corresponds to the enthalpy of liquid water, which is less than that of water vapor.

## Version History

Introduced in R2018a