Cap (G)

Gas port terminator with zero flow

  • Library:
  • Simscape / Foundation Library / Gas / Elements


The Cap (G) block represents a perfectly insulated terminus to a gas network branch. There is no mass or energy flow through the cap.

Physical network block diagrams do not allow unconnected conserving ports. Use this block to terminate gas ports on other blocks that you want to cap.


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



expand all

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

See Also

Introduced in R2016b

Was this topic helpful?