Main Content

Cap (MA)

Moist air port terminator with zero flow

  • Library:
  • Simscape / Foundation Library / Moist Air / Elements

  • Cap (MA) block


The Cap (MA) block represents a perfectly insulated terminus for a moist air network branch. There is no mass or energy flow through the cap.

You can use this block to terminate moist air ports on other blocks that you want to cap. This is not necessary because if you leave a conserving port unconnected, the physical network sets all the Through variables at that port to 0. However, terminator blocks improve diagram readability.

You can also use this block to set the initial variables, such as pressure or temperature, at a node prior to simulation.


To set the priority and initial target values for the block variables prior to simulation, use the Variables tab in the block dialog box (or the Variables section in the block Property Inspector). For more information, see Set Priority and Initial Target for Block Variables and Initial Conditions for Blocks with Finite Moist Air Volume.



expand all

Moist air conserving port where the mass flow rate and energy flow rate are both equal to zero.

Compatibility Considerations

expand all

Behavior changed in R2019b

Extended Capabilities

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

Introduced in R2018a