PipeNodeRequirements block

Requirements.Examples.AirCircuitSystem.Components.Checks.PipeNodeRequirements  ยท source

Icon of PipeNodeRequirements

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

DateDescription
Dec. 3, 2026The 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

NameTypeDescription
pMax parameterSI.PressureMaximal allowed pressure
Tmin parameterSI.TemperatureMinimum pipe temperature
Tmax parameterSI.TemperatureMaximum pipe temperature

Inputs

NameTypeDescription
observation inputRecords.MediumObservation variables record for a node of a pipe

Components and variables

NameTypeDescription
R_pMaxRequirements.Verify.BooleanRequirementRequirement: the pressure in the node does not exceed pMax
lt1Requirements.LogicalBlocks.LessThresholdTrue while the node pressure is below pMax
PipePressureSources.RealExpressionObserved pressure of the pipe node
R_InBand1Requirements.Verify.BooleanRequirementRequirement: the temperature of the node is between Tmin and Tmax
band2Requirements.LogicalBlocks.WithinBandTrue while the node temperature is within [Tmin, Tmax]
PipeTemperatureSources.RealExpressionObserved temperature of the pipe node