modelValve
Extends from ClaRa.Components.VolumesValvesFittings.Valves.GenericValveVLE_L1 (Valve for VLE fluid flows with replaceable flow models), TransiEnt.Basics.Icons.Valve.
Information
Purpose of model
A model of a valve, which is used to model a pressure loss. The model uses a steady mass balance and a replaceable pressure loss model. No heat losses are considered, and therefore, the specific enthalpy doesn’t change over the valve. An optional input for the opening of the valve is available (0= completely closed, 1=open).
Level of detail, physical effects considered, and physical insight
static model of a valve. The level of detail depends on the chosen pressure loss model.
- pressure loss
- variable fluid properties
Limits of validity
Only valid for static issues.
Interfaces

Governing Equations



delta_p is calculated according to the chosen pressure loss model and the opening of the valve
References
The model was extended from the ClaRa library.
Version History
Model documented by Jan Westphal (j.westphal@tuhh.de) in January 2025
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | showExpertSummary (from GenericValveVLE_L1) | simCenter.showExpertSummary | |Summary and Visualisation||True, if expert summary should be applied |
| Boolean | showData (from GenericValveVLE_L1) | true | |Summary and Visualisation||True, if a data port containing p,T,h,s,m_flow shall be shown, else false |
| Boolean | useStabilisedMassFlow (from GenericValveVLE_L1) | false | |Expert Settings|Numerical Robustness| |
| Fundamental Definitions | |||
| TILMedia.VLEFluid.Types.BaseVLEFluid | medium (from GenericValveVLE_L1) | simCenter.fluid1 | Medium in the component |
| Boolean | useHomotopy (from GenericValveVLE_L1) | simCenter.useHomotopy | True, if homotopy method is used during initialisation |
| Boolean | checkValve (from GenericValveVLE_L1) | false | True, if valve is check valve |
| Control Signals | |||
| Boolean | openingInputIsActive (from GenericValveVLE_L1) | false | True, if a variable opening is used |
| Real | opening_const_ (from GenericValveVLE_L1) | 1 | A constant opening: =1: open, =0: closed |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | opening_in (from GenericValveVLE_L1) | opening_ | =1: completely open, =0: completely closed |
| ClaRa.Basics.Interfaces.FluidPortIn | inlet (from GenericValveVLE_L1) | Inlet port | |
| ClaRa.Basics.Interfaces.FluidPortOut | outlet (from GenericValveVLE_L1) | Outlet port | |
| Basics.Interfaces.EyeOut | eye (from GenericValveVLE_L1) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| String | complexity (from ComplexityLevel) | "??" | |
| Basics.Units.Time | Tau (from GenericValveVLE_L1) | 0.1 | Time Constant of Stabilisation |
| Real | opening_leak_ (from GenericValveVLE_L1) | 0 | Leakage valve opening in p.u. |
| ClaRa.SimCenter | simCenter (from GenericValveVLE_L1) | ||
| PressureLoss | pressureLoss (from GenericValveVLE_L1) | ||
| Summary | summary (from GenericValveVLE_L1) | ||
| TILMedia.VLEFluid.MixtureCompatible.VLEFluid_ph | fluidOut (from GenericValveVLE_L1) | ||
| TILMedia.VLEFluid.MixtureCompatible.VLEFluid_ph | fluidIn (from GenericValveVLE_L1) |