modelTeeJunctionVolume_withResistances
Splitting/joining component with static balances for a dynamic control volume
Information
This model introduces a mixing volume into a junction. This might be useful to examine the non-ideal mixing taking place in a real junction.
Each leg carries a replaceable resistance (resistance_1, resistance_2,
resistance_3) between the outer port and the central mixing volume. The slots are constrained by the
minimal PartialResistanceInterface
(Medium + two ports), so they accept a resistance built on either base class:
- old-style PartialResistance
components (the default
PressureLoss,SpecifiedResistance, …), and - new-style PartialResistancenew
components (
SharpEdgedAdaptor,SmoothAdaptor,Elbow, …).
This makes it straightforward to build a tee whose three ends are different sizes – e.g. redeclare a leg
to a SmoothAdaptor/SharpEdgedAdaptor to transition the junction down to a smaller branch pipe.
See the example
Examples.TeeJunctionVolume_withResistances.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Advanced › Dynamics | |||
| Dynamics | energyDynamics | Dynamics.DynamicFreeInitial | Formulation of energy balances |
| Dynamics | massDynamics | energyDynamics | Formulation of mass balances |
| Dynamics | substanceDynamics | massDynamics | Formulation of substance balances |
| Dynamics | traceDynamics | massDynamics | Formulation of trace substance balances |
| Initialization › Start Value: Absolute Pressure | |||
| SI.AbsolutePressure | p_start | Medium.p_default | Pressure |
| Initialization › Start Value: Temperature | |||
| Boolean | use_T_start | true | Use T_start if true, otherwise h_start |
| SI.Temperature | T_start | Medium.T_default | Temperature |
| Initialization › Start Value: Specific Enthalpy | |||
| SI.SpecificEnthalpy | h_start | Medium.specificEnthalpy_pTX(p_start, T_start, X_start) | Specific enthalpy |
| Initialization › Start Value: Species Mass Fraction | |||
| SI.MassFraction[Medium.nX] | X_start | Medium.X_default | Mass fraction |
| Initialization › Start Value: Trace Substances | |||
| SIadd.ExtraProperty[Medium.nC] | C_start | fill(0, Medium.nC) | Mass-Specific value |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.FluidPort_Flow | port_1 | ||
| Interfaces.FluidPort_Flow | port_2 | ||
| Interfaces.FluidPort_Flow | port_3 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Volume | V | Volume | |
| PressureLoss | resistance_1 | ||
| PressureLoss | resistance_2 | ||
| PressureLoss | resistance_3 | ||
| TeeJunctionVolume | volume |
Contents
| Name | Description |
|---|---|
| Medium properties |