Hydraulic port terminator with zero flow
Simscape / Foundation Library / Hydraulic / Hydraulic Elements
The Hydraulic Cap block represents a hydraulic plug, that is, a hydraulic port with zero flow through it.
You can use this block to terminate hydraulic 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 gauge pressure at a node.
To set the priority and initial target values for the block variables prior to simulation, use the Initial Targets section in the block dialog box or Property Inspector. For more information, see Set Priority and Initial Target for Block Variables.
P — Zero flow rate
Hydraulic conserving port with zero flow rate.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Version HistoryIntroduced in R2012b
R2019b: Capping unconnected ports is no longer required
Behavior changed in R2019b
This block is no longer required. Starting in R2019b, the restriction that disallowed unconnected conserving ports in Simscape™ models has been lifted. Now, if you leave a conserving port unconnected, the physical network sets all the Through variables at this port to 0. However, you can still use terminator blocks to improve diagram readability.
There are no plans to remove the terminator blocks. All existing models that use these blocks work the same as in previous releases.