modelStaticTransportDelay
Delay time for given current velocity
Information
This is a copy of the PlugFlowTransportDelay modified to react directly on the current velocity. This gives a static behavior similar to quasi-static DHC models for comparison. Note that this is only included for some legacy testing.
- Dec 8, 2017 by Marcus Fuchs:
Temporarily re-introducing the static pipe model
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Length | length | Pipe length | |
| Modelica.Units.SI.Length | dh | Hydraulic diameter (assuming a round cross section area) | |
| Modelica.Units.SI.Density | rho | Standard density of fluid | |
| Modelica.Units.SI.Time | t_in_start | if initDelay and (abs(m_flow_start) > 1E-10*m_flow_nominal) then min(length/m_flow_start*(rho*dh^2/4*Modelica.Constants.pi), 0) else 0 | Initial value of input time at inlet |
| Modelica.Units.SI.Time | t_out_start | if initDelay and (abs(m_flow_start) > 1E-10*m_flow_nominal) then min(-length/m_flow_start*(rho*dh^2/4*Modelica.Constants.pi), 0) else 0 | Initial value of input time at outlet |
| Initialization | |||
| Boolean | initDelay | false | Initialize delay for a constant m_flow_start if true, otherwise start from 0 |
| Modelica.Units.SI.MassFlowRate | m_flow_start | 0 | Initialization of mass flow rate to calculate initial time delay |
| Nominal condition | |||
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | Nominal mass flow rate | |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Velocity | velocity | Flow velocity within pipe | |
| Modelica.Blocks.Interfaces.RealInput | m_flow | Mass flow of fluid | |
| Modelica.Blocks.Interfaces.RealOutput | tau | Time delay for design flow direction | |
| Modelica.Blocks.Interfaces.RealOutput | tauRev | Time delay for reverse flow |