modelThreeWayValveRealGas_L1_simple
Extends from TransiEnt.Components.Gas.VolumesValvesFittings.Base.ThreeWayValve_base (Three way valve for vle media | base class |), ClaRa.Basics.Icons.ComplexityLevel (Displays the complexity level inside model icon ).
Information
1. Purpose of model
This model represents a three way valve for real gas flows. It works also for zero flow. It is a modified version of the model ClaRa.Components.VolumesValvesFittings.Valves.ThreeWayValve_L1_simple from ClaRa version 1.3.0. The model is documented there and here only the changes are described.
2. Level of detail, physical effects considered, and physical insight
The two-phase region is deactivated and the valve works for zero flow.
3. Limits of validity
Only valid if changes in density and the two-phase region of the fluid can be neglected.
4. Interfaces
splitRatio_external: mass fraction in kg/kg
gasPortIn: inlet for real gas
gasPortOut1: outlet for real gas
gasPortOut2: outlet for real gas
eye1
eye2
5. Nomenclature
(no elements)
6. Governing Equations
The mass flow calculation for outlet 1 (eps is the smallest possible number in Modelica) and the composition calculation at the inlet ensure that there is no division by zero for zero mass flow at the inlet.

7. Remarks for Usage
(no remarks)
8. Validation
(no remarks)
9. References
(no remarks)
10. Version History
Model created by Carsten Bode (c.bode@tuhh.de) on Tue Sep 20 2016
Model revised by Carsten Bode (c.bode@tuhh.de) in Apr 2018 (updated to ClaRa 1.3.0)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | showExpertSummary (from ThreeWayValve_base) | simCenter.showExpertSummary | |Summary and Visualisation||True, if expert summary should be applied |
| Boolean | showData (from ThreeWayValve_base) | true | |Summary and Visualisation||True, if a data port containing p,T,h,s,m_flow shall be shown, else false |
| Boolean | splitRatio_input (from ThreeWayValve_base) | false | |Fundamental Definitions|= true, if split ratio is defined by input |
| Real | splitRatio_fixed (from ThreeWayValve_base) | 0.5 | |Fundamental Definitions| |
| Real | eps | 1e-10 | Numerical Stability|Mass flow of outlet1 is set to zero for inlet mass flows below this value |
| Fundamental Definitions | |||
| TILMedia.VLEFluidTypes.BaseVLEFluid | medium (from ThreeWayValve_base) | simCenter.gasModel1 | Medium in the component |
| Summary and Visualisation | |||
| Boolean | useFluidModelsForSummary (from ThreeWayValve_base) | false | True, if fluid models shall be used for the summary |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.General.MassFractionIn | splitRatio_external (from ThreeWayValve_base) | splitRatio | Controls mass fraction m2/m1 |
| TransiEnt.Basics.Interfaces.Gas.RealGasPortIn | gasPortIn (from ThreeWayValve_base) | Inlet port | |
| TransiEnt.Basics.Interfaces.Gas.RealGasPortOut | gasPortOut1 (from ThreeWayValve_base) | Outlet port | |
| TransiEnt.Basics.Interfaces.Gas.RealGasPortOut | gasPortOut2 (from ThreeWayValve_base) | Outlet port | |
| ClaRa.Basics.Interfaces.EyeOut | eye1 (from ThreeWayValve_base) | ||
| ClaRa.Basics.Interfaces.EyeOut | eye2 (from ThreeWayValve_base) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter (from ThreeWayValve_base) | ||
| String | complexity (from ComplexityLevel) | "??" | |
| Summary | summary |
Contents
| Name | Description |
|---|---|