modelPipeSegment
Extends from Components.Pipe.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Length | D (from Pipe) | Pipe diameter | |
| Modelica.SIunits.Length | L (from Pipe) | Pipe length | |
| Modelica.SIunits.PerUnit | cf (from Pipe) | 0.005 | Fanning friction factor |
| Types.Velocity | unom (from Pipe) | Nominal air speed | |
| Modelica.SIunits.PerUnit | delta (from Pipe) | 0.1 | Fraction of nominal velocity for friction regularization |
| Types.RelativePressure | pstart (from Pipe) | 0 | start value for relative pressure p |
| Modelica.SIunits.PerUnit | pi (from Pipe) | Modelica.Constants.pi | |
| Modelica.SIunits.Area | A (from Pipe) | pi*D^2/4 | Pipe cross-sectional surface |
| Modelica.SIunits.Volume | V (from Pipe) | A*L | |
| Modelica.SIunits.Length | omega (from Pipe) | pi*D | Wet perimeter |
| Modelica.SIunits.Length | l (from Pipe) | L/2 | Length of a single finite vol. |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.PneumaticPort_a | inlet (from Pipe) | ||
| Interfaces.PneumaticPort_b | outlet (from Pipe) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Media.AirAdiabatic | air (from Pipe) | ||
| Types.MassFlowRate | win (from Pipe) | Entering flow rate | |
| Types.MassFlowRate | wout (from Pipe) | Leaving flow rate | |
| Types.Velocity | uin (from Pipe) | Entering fluid speed | |
| Types.Velocity | uout (from Pipe) | Leaving fluid velocity | |
| Types.RelativePressure | pin (from Pipe) | Entering relative pressure | |
| Types.RelativePressure | pout (from Pipe) | Leaving relative pressure | |
| Types.RelativePressure | dpin (from Pipe) | Pressure loss, inlet side | |
| Types.RelativePressure | dpout (from Pipe) | Pressure loss, outlet side | |
| Types.RelativePressure | dp (from Pipe) | Pressure loss, total | |
| Types.VelocitySquared | uin2 (from Pipe) | Regularized squared inlet velocity | |
| Types.VelocitySquared | uout2 (from Pipe) | Regularized squared inlet velocity | |
| Types.RelativePressure | p (from Pipe) | Relative pressure at the middle of the pipe | |
| Modelica.SIunits.Mass | M (from Pipe) | Mass of fluid in the pipe |