Main Content

Controlled Mass Flow Rate Source (MA)

Generate time-varying mass flow rate

  • Controlled Mass Flow Rate Source (MA) block

Libraries:
Simscape / Foundation Library / Moist Air / Sources

Description

The Controlled Mass Flow Rate Source (MA) block represents an ideal mechanical energy source in a moist air network. The mass flow rate is controlled by the input physical signal at port M. The source can maintain the specified mass flow rate regardless of the pressure differential. There is no flow resistance and no heat exchange with the environment. A positive mass flow rate causes moist air to flow from port A to port B.

The equations describing the source use these symbols.

cpSpecific heat at constant pressure
hSpecific enthalpy
htSpecific total enthalpy
m˙Mass flow rate (flow rate associated with a port is positive when it flows into the block)
pPressure
ρDensity
RSpecific gas constant
sSpecific entropy
TTemperature
ΦworkPower delivered to the moist air flow through the source

Subscripts A and B indicate the appropriate port.

Mass balance:

m˙A+m˙B=0m˙wA+m˙wB=0m˙gA+m˙gB=0

Energy balance:

ΦA+ΦB+Φwork=0

If the source performs no work (Power added parameter is set to None), then Φwork=0.

If the source is isentropic (Power added parameter is set to Isentropic power), then

Φwork=m˙A(htBhtA)

where

htA=hA+12(m˙AρASA)2htB=hB+12(m˙BρBSB)2

The mixture-specific enthalpies, hA = h(TA) and hB = h(TB), are constrained by the isentropic relation, that is, there is no change in entropy:

TATB1Tdh(T)=Rln(pBpA)

The quantity specified by the input signal of the source is

m˙A=m˙specified

Assumptions and Limitations

  • There are no irreversible losses.

  • There is no heat exchange with the environment.

Ports

Input

expand all

Input physical signal that specifies the mass flow rate of the moist air through the source.

Conserving

expand all

Moist air conserving port. A positive mass flow rate causes moist air to flow from port A to port B

Moist air conserving port. A positive mass flow rate causes moist air to flow from port A to port B.

Parameters

expand all

Select whether the source performs work on the moist air flow:

  • Isentropic power — The source performs isentropic work on the moist air to maintain the specified mass flow rate. Use this option to represent an idealized pump or compressor and properly account for the energy input and output, especially in closed-loop systems.

  • None — The source performs no work on the flow, neither adding nor removing power, regardless of the mass flow rate produced by the source. Use this option to set up the desired flow condition upstream of the system, without affecting the temperature of the flow.

Area normal to flow path at port A.

Area normal to flow path at port B.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2018a