Contenido principal

Infinite Flow Resistance (2P)

R2026b

Perfectly insulated break in two-phase fluid network

  • Infinite Flow Resistance (2P) block

Libraries:
Simscape / Foundation Library / Two-Phase Fluid / Elements

Description

The Infinite Flow Resistance (2P) block represents a break in a two-phase fluid network. There is no mass or energy flow through the break. However, the fluid properties, specified by the Two-Phase Fluid Properties (2P) block connected to the circuit, are the same on both sides of the break. Use this block to set the priority and initial target value to the differences in pressure and specific internal energy between port A and port B.

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

Two-phase fluid conserving port with no fluid or heat flow.

Programmatic Use

Port: A

Two-phase fluid conserving port with no fluid or heat flow.

Programmatic Use

Port: B

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/Two-Phase Fluid/Elements/Infinite Flow Resistance (2P)"

Example: add_block("fl_lib/Two-Phase Fluid/Elements/Infinite Flow Resistance (2P)","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

expand all

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

Version History

Introduced in R2015b