Main Content

Hydraulic Cap

(To be removed) Hydraulic port terminator with zero flow

The Hydraulic library will be removed in a future release. Use the Isothermal Liquid library instead. (since R2020a)

For more information on updating your models, see Upgrading Hydraulic Models to Use Isothermal Liquid Blocks.

  • Hydraulic Cap block

Libraries:
Simscape / Foundation Library / Hydraulic / Hydraulic Elements

Description

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.

Variables

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.

Nominal values provide a way to specify the expected magnitude of a variable in a model. Using system scaling based on nominal values increases the simulation robustness. Nominal values can come from different sources, one of which is the Nominal Values section in the block dialog box or Property Inspector. For more information, see Modify Nominal Values for a Block Variable.

Ports

Conserving

expand all

Hydraulic conserving port with zero flow rate.

Extended Capabilities

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

Version History

Introduced in R2012b

expand all

R2023a: To be removed

The Hydraulic library will be removed in a future release. Use the Isothermal Liquid library instead. Blocks in the Isothermal Liquid library provide increased accuracy, usability, and numerical performance.

For more information on updating your models, see Upgrading Hydraulic Models to Use Isothermal Liquid Blocks.