Absolute Reference (G)
Reference point at zero absolute temperature and pressure
Simscape / Foundation Library / Gas / Elements
The Absolute Reference (G) block represents an absolute reference for the pressure and temperature in a gas network. At port A, the pressure and temperature are both equal to zero.
Unlike other domains, where each topologically distinct circuit within a domain must contain at least one reference block, gas networks do not have this requirement. For more information, see Reference Node and Grounding Rules.
The purpose of the Absolute Reference (G) block is to provide a reference for the Pressure & Temperature Sensor (G). To measure the absolute pressure and absolute temperature of a node, connect that node to the A port of a Pressure & Temperature Sensor (G) block. Connect the B port of the Pressure & Temperature Sensor (G) block to an Absolute Reference (G) block.
If you use the Absolute Reference (G) block elsewhere in a gas network, it triggers a simulation assertion because gas pressure and temperature cannot be at absolute zero.
A — Pressure and temperature are zero
Gas conserving port where the pressure and temperature are both equal to zero.
C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.
Introduced in R2016b