Cap (IL)
R2026bLibraries:
Simscape /
Foundation Library /
Isothermal Liquid /
Elements
Description
The Cap (IL) block represents a terminus to an isothermal liquid branch. There is no mass flow through the cap.
You can use this block to terminate isothermal liquid ports on other blocks that you want to cap. Using this block 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 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
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"fl_lib/Isothermal Liquid/Elements/Cap (IL)"
Example: add_block("fl_lib/Isothermal Liquid/Elements/Cap (IL)","myModel/myBlock",MakeNameUnique="on")
For information about programmatic access to individual block parameters, see the Programmatic Use section of parameter descriptions on this page.
Extended Capabilities
Version History
Introduced in R2025a
See Also
Cap (2P) | Cap (G) | Cap (MA) | Open Circuit | Perfect Insulator | Rotational Free End | Translational Free End
