modelTransportDelay
Extends from ThermofluidStream.Undirected.Interfaces.SISOBiFlow (Base Model with basic flow eqautions for SISO).
Information
Undirected implementation of the transport delay.
Delays the temperature and massFraction, not pressure, since pressure differences propagate with speed of sound, and since delaying only steady state pressure p not inertial pressure r might lead to undesirable behavior.
Note that this component uses the spatialDistribution operator, that has some artefacts (see Fig. 1) for high and low non-dimensional speeds v (possibly due to inerpolation or extrapolation of the function). Therefore minimum and maximum speed in the non-dimensional coordinate x (inlet @ x=0, outlet @ x=1) is limited. The default limits are [0.01, 50], so the delay is limited by default to [0.02s, 100s]. This limit can be adjusted in the advanced parameters tab.
Fig. 1: artefacts of the TransportDelay
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | instanceName (from DropOfCommonsPlus) | getInstanceName() | Instance name |
| SI.Length | l | Length | |
| SI.Radius | r | Radius | |
| Boolean | d1l | displayParameters and displayLength | displayLength at position 1 |
| Boolean | d1r | displayParameters and displayRadius and not d1l | displayRadius at position 1 |
| Boolean | d2r | displayParameters and displayRadius and not d1r | displayRadius at position 2 |
| Medium.ThermodynamicState | state_0 | Medium.setState_phX(Medium.p_default, Medium.h_default, Medium.X_default[1:Medium.nXi]) | Default medium state |
| Medium.MassFraction[Medium.nXi] | Xi_0 | Medium.massFraction(state_0) | Default mass fractions |
| SI.SpecificVolume | v_0 | 1/Medium.density(state_0) | Default specific volume |
| Layout | |||
| Boolean | displayInstanceName (from DropOfCommonsPlus) | dropOfCommons.displayInstanceNames | = true, if instance name is displayed |
| Boolean | displayParameters (from DropOfCommonsPlus) | dropOfCommons.displayParameters | = true, if displaying parameters is enabled |
| Advanced | |||
| Utilities.Units.Inertance | L (from SISOBiFlow) | dropOfCommons.L | Inertance |
| StateSelect | m_flowStateSelect (from SISOBiFlow) | StateSelect.default | State select for mass flow rate |
| Boolean | clip_p_out (from SISOBiFlow) | If true, set dr_corr to zero | |
| Medium.AbsolutePressure | p_min (from SISOBiFlow) | dropOfCommons.p_min | Minimal steady-state output pressure |
| Medium.Density | rho_min | dropOfCommons.rho_min | Minimum density |
| Real | v_min | 0.01 | Minimum nondimensional speed |
| Real | v_max | 50 | Maximum nondimensional speed |
| Initialization | |||
| InitializationMethods | initM_flow (from SISOBiFlow) | ThermofluidStream.Utilities.Types.InitializationMethods.none | Initialization method for mass flow rate |
| SI.MassFlowRate | m_flow_0 (from SISOBiFlow) | 0 | Initial value for mass flow rate |
| Utilities.Units.MassFlowAcceleration | m_acceleration_0 (from SISOBiFlow) | 0 | Initial value for der(m_flow) |
| Advanced › Regularization | |||
| SI.MassFlowRate | m_flow_reg (from SISOBiFlow) | dropOfCommons.m_flow_reg | Regularization threshold of mass flow rate |
| Layout › Display parameters | |||
| Boolean | displayLength | true | = true, if length l is displayed |
| Boolean | displayRadius | true | = true, if radius r is displayed |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Fore | fore (from SISOBiFlow) | ||
| Rear | rear (from SISOBiFlow) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.MassFlowRate | m_flow (from SISOBiFlow) | rear.m_flow | Mass flow rate |
| SI.Pressure | dp_fore (from SISOBiFlow) | ||
| SI.Pressure | dp_rear (from SISOBiFlow) | ||
| SI.Pressure | dr_corr_fore (from SISOBiFlow) | ||
| SI.Pressure | dr_corr_rear (from SISOBiFlow) | ||
| SI.Pressure | dr_corr (from SISOBiFlow) | ||
| Real | x | Relative position s/l | |
| Real | v | Relative speed v/l |