Main Content

Absolute Reference (2P)

R2026b

(Not recommended) Reference point at zero absolute pressure and specific internal energy

Using this block is no longer recommended. Instead, make absolute measurements by setting the Measurement reference parameter of the Pressure & Temperature Sensor (2P) block to Absolute. (since R2023a)

  • Absolute Reference (2P) block

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

Description

The Absolute Reference (2P) block represents a reference point at zero absolute pressure and specific internal energy. Use with the Pressure & Internal Energy Sensor (2P) block to measure the absolute pressure and specific internal energy at a two-phase fluid node.

Ports

Conserving

expand all

Two-phase fluid conserving port where the pressure and specific internal energy are equal to zero.

Programmatic Use

Port: A

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/Absolute Reference (2P)"

Example: add_block("fl_lib/Two-Phase Fluid/Elements/Absolute Reference (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

collapse all