PipeNodeRequirements block
Requirements.Examples.AirCircuitSystem.Components.Checks.PipeNodeRequirements
ยท source
Requirements for a a node of a pipe
Extends Modelica.Blocks.Icons.Block
Requirements for a single node (control volume) of a pipe of the air distribution circuit.
The input observation is a
Medium record with the
pressure p and temperature T of the node. Two requirements are checked:
- R_pMax: the pressure stays below
pMax(LessThreshold). - R_InBand1: the temperature stays within
[Tmin, Tmax](WithinBand), the operating temperature range when cruising in ISA conditions.
Parameters: pMax (default 1e5 Pa), Tmin (default 255 K) and Tmax
(default 300 K). The requirement texts print pMax converted to bar and the temperature limits converted
to °C (Modelica.Units.Conversions.to_bar and to_degC), for example
"exceed 2 bar" for pMax = 200000 Pa and "between -18.15 °C and 26.85 °C" for the defaults.
The block is instantiated once per pipe node by
PipeRequirements.
Revisions
| Date | Description |
|---|---|
| Dec. 3, 2026 | The requirement texts print the limits in the units they name: pMax converted from Pa to bar and
Tmin, Tmax converted from K to °C. Before, the texts read %pMax bars and
%Tmin°C to %Tmax°C while the parameters are given in Pa and K (H. Tummescheit, Model Based Innovation LLC) |
Parameters
| Name | Type | Description |
|---|---|---|
pMax parameter | SI.Pressure | Maximal allowed pressure |
Tmin parameter | SI.Temperature | Minimum pipe temperature |
Tmax parameter | SI.Temperature | Maximum pipe temperature |
Inputs
| Name | Type | Description |
|---|---|---|
observation input | Records.Medium | Observation variables record for a node of a pipe |
Components and variables
| Name | Type | Description |
|---|---|---|
R_pMax | Requirements.Verify.BooleanRequirement | Requirement: the pressure in the node does not exceed pMax |
lt1 | Requirements.LogicalBlocks.LessThreshold | True while the node pressure is below pMax |
PipePressure | Sources.RealExpression | Observed pressure of the pipe node |
R_InBand1 | Requirements.Verify.BooleanRequirement | Requirement: the temperature of the node is between Tmin and Tmax |
band2 | Requirements.LogicalBlocks.WithinBand | True while the node temperature is within [Tmin, Tmax] |
PipeTemperature | Sources.RealExpression | Observed temperature of the pipe node |