Controlled Mass Flow Rate Source (TL)

Generate time-varying mass flow rate

  • Library:
  • Simscape / Foundation Library / Thermal Liquid / Sources

  • Controlled Mass Flow Rate Source (TL) block

Description

The Controlled Mass Flow Rate Source (TL) block represents an ideal mechanical energy source in a thermal liquid 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 the fluid to flow from port A to port B.

The energy balance at the source is a function of the energy flow rates through ports A and B and the work done on the fluid:

ϕA+ϕB+ϕwork=0,

where:

  • ϕA is the energy flow rate into the source through port A.

  • ϕB is the energy flow rate into the source through port B.

  • ϕwork is the isentropic work done on the fluid.

The isentropic work term is

ϕwork=m˙(pBpA)ρavg,

where:

  • ϕwork is the isentropic work done on the thermal liquid.

  • pA is the pressure at port A.

  • pB is the pressure at port B.

  • ρavg is the average liquid density,

    ρavg=ρA+ρB2.

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 through the source.

Conserving

expand all

Thermal liquid conserving port. A positive mass flow rate causes the fluid to flow from port A to port B.

Thermal liquid conserving port. A positive mass flow rate causes the fluid to flow from port A to port B.

Parameters

expand all

Area normal to the direction of flow at the source inlet and outlet. The two cross-sectional areas are assumed identical.

Extended Capabilities

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

Introduced in R2013b