modelThreeWayValveRealGas_L1_simple

Three way valve for one phase vle media | no reverse flow | works for zero flow | no pressure dependency |
Diagram of ThreeWayValveRealGas_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

TypeNameDefaultDescription
BooleanshowExpertSummary (from ThreeWayValve_base)simCenter.showExpertSummary|Summary and Visualisation||True, if expert summary should be applied
BooleanshowData (from ThreeWayValve_base)true|Summary and Visualisation||True, if a data port containing p,T,h,s,m_flow shall be shown, else false
BooleansplitRatio_input (from ThreeWayValve_base)false|Fundamental Definitions|= true, if split ratio is defined by input
RealsplitRatio_fixed (from ThreeWayValve_base)0.5|Fundamental Definitions|
Realeps1e-10Numerical Stability|Mass flow of outlet1 is set to zero for inlet mass flows below this value
Fundamental Definitions
TILMedia.VLEFluidTypes.BaseVLEFluidmedium (from ThreeWayValve_base)simCenter.gasModel1Medium in the component
Summary and Visualisation
BooleanuseFluidModelsForSummary (from ThreeWayValve_base)falseTrue, if fluid models shall be used for the summary

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.General.MassFractionInsplitRatio_external (from ThreeWayValve_base)splitRatioControls mass fraction m2/m1
TransiEnt.Basics.Interfaces.Gas.RealGasPortIngasPortIn (from ThreeWayValve_base)Inlet port
TransiEnt.Basics.Interfaces.Gas.RealGasPortOutgasPortOut1 (from ThreeWayValve_base)Outlet port
TransiEnt.Basics.Interfaces.Gas.RealGasPortOutgasPortOut2 (from ThreeWayValve_base)Outlet port
ClaRa.Basics.Interfaces.EyeOuteye1 (from ThreeWayValve_base)
ClaRa.Basics.Interfaces.EyeOuteye2 (from ThreeWayValve_base)

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter (from ThreeWayValve_base)
Stringcomplexity (from ComplexityLevel)"??"
Summarysummary

Contents

NameDescription
Outlineprotected
Summaryprotected