modelValveDesiredMassFlow_PT1
Extends from TransiEnt.Basics.Icons.Valve.
Information
1. Purpose of model
This model represents a simple valve for real gases which ensures a given mass flow.
2. Level of detail, physical effects considered, and physical insight
This model works like an ideally controlled valve to ensure a given mass flow.
3. Limits of validity
This model is only valid for real gases.
4. Interfaces
gasPortIn: Inlet of the real gas
gasPortOut: Outlet of the real gas
m_flowDes: Input for the desired mass flow
5. Nomenclature
(no elements)
6. Governing Equations
(no remarks)
7. Remarks for Usage
Make sure that there is always a negative pressure gradient in the direction of the mass flow to ensure a physically possible use of the valve.
Via parameter 'useLeakageMassFlow' a small mass flow of 'm_flow_small' is always flowing through valve (to avoid Zero-Mass-Flow problems)
8. Validation
(no remarks)
9. References
(no remarks)
10. Version History
Model created by Carsten Bode (c.bode@tuhh.de) on Tue Apr 05 2016
Model modified by Oliver Schülting (oliver.schuelting@tuhh.de) on Nov 2018: added useLeakageMassFlow
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Fundamental Definitions | |||
| TILMedia.VLEFluidTypes.BaseVLEFluid | medium | simCenter.gasModel1 | Medium used in the valve |
| Boolean | hysteresisWithDelta_p | true | true: hysteresis uses pressure difference, false: hysteresis uses inlet pressure |
| SI.PressureDifference | Delta_p_low | 1e3 | Lower value for hysteresis with pressure difference |
| SI.PressureDifference | Delta_p_high | 1e5 | Upper value for hyseteresis with pressure difference |
| SI.Pressure | p_low | 1e5 | Lower value for hysteresis with inlet pressure |
| SI.Pressure | p_high | 1.1e5 | Upper value for hyseteresis with inlet pressure |
| Numerical Stability | |||
| Boolean | useLeakageMassFlow | false | Constant leakage gas mass flow of 'm_flow_small' to avoid zero mass flow |
| SI.MassFlowRate | m_flow_small | simCenter.m_flow_small | leakage mass flow if useLeakageMassFlow=true |
| Summary | |||
| Boolean | useFluidModelsForSummary | false | True, if fluid models shall be used for the summary |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.Gas.RealGasPortIn | gasPortIn | ||
| TransiEnt.Basics.Interfaces.Gas.RealGasPortOut | gasPortOut | ||
| Modelica.Blocks.Interfaces.RealInput | m_flowDes | Desired mass flow |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter | ||
| Summary | summary | ||
| Modelica.Blocks.Continuous.TransferFunction | transferFunction | ||
| Modelica.Blocks.Sources.RealExpression | realExpression |
Contents
| Name | Description |
|---|---|