modelValveAndCompressor_dp

Extends from TransiEnt.Basics.Icons.Model (Icon for models).

Information

1. Purpose of model

This model combines a valve with a compressor delivering a certain pressure difference. Depending on the sign of the pressure difference the compressor or the valve is used. The type of compressor can be chosen.

2. Level of detail, physical effects considered, and physical insight

When the pressure difference changes sign, the change of the device is executed without any time delay or time dependent behaviour.

3. Limits of validity

Only valid for negligible time delays and time dependencies in turn-on and shut-down behaviour of the components.

4. Interfaces

gasPortIn: real gas inlet

gasPortOut: real gas outlet

dp_desired: input for desired pressure difference in [Pa]

5. Nomenclature

(no elements)

6. Governing Equations

(no remarks)

7. Remarks for Usage

Chattering can occur if the pressure difference is around zero.

8. Validation

(no remarks)

9. References

(no remarks)

10. Version History

Model created by Carsten Bode (c.bode@tuhh.de) on Feb 10 2017

Modified by Lisa Andresen (andresen@tuhh.de) on Feb 16 2017 (changed output from m_flowDesired to dp_desired)

Model revised by Carsten Bode (c.bode@tuhh.de) in Apr 2018 (fixed for update to ClaRa 1.3.0)

Parameters

TypeNameDefaultDescription
Fundamental Definitions
TILMedia.VLEFluidTypes.BaseVLEFluidmediumsimCenter.gasModel1Medium to be used
Split and Junction
SI.VolumevolumeSplit0.1Volume of the split
SI.VolumevolumeJunction0.1Volume of the junction
Initial Values
SI.Pressurep_startSplit1e5Start pressure in the split
SI.Pressurep_startJunction1e5Start pressure in the junction
SI.MassFraction[medium.nc - 1]xi_startSplitmedium.xi_defaultStart composition in the split
SI.MassFraction[medium.nc - 1]xi_startJunctionmedium.xi_defaultStart composition in the junction
SI.TemperatureT_startSplitsimCenter.T_groundStart temperature in the split
SI.TemperatureT_startJunctionsimCenter.T_groundStart temperature in the Junction
SI.SpecificEnthalpyh_startSplitTILMedia.Internals.VLEFluidConfigurations.FullyMixtureCompatible.VLEFluidFunctions.specificEnthalpy_pTxi(medium, p_startSplit, T_startSplit, xi_startSplit)Start specific enthalpy in the split
SI.SpecificEnthalpyh_startJunctionTILMedia.Internals.VLEFluidConfigurations.FullyMixtureCompatible.VLEFluidFunctions.specificEnthalpy_pTxi(medium, p_startJunction, T_startJunction, xi_startJunction)Start specific enthalpy in the Junction
Initialisation
IntegerinitOptionSplit0Type of initialisation
IntegerinitOptionJunction0Type of initialisation
Summary
BooleanuseFluidModelsForSummaryfalseTrue, if fluid models shall be used for the summary

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Gas.RealGasPortOutgasPortOut
TransiEnt.Basics.Interfaces.Gas.RealGasPortIngasPortIn
TransiEnt.Basics.Interfaces.General.PressureDifferenceIndp_desiredDesired pressure difference

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter
Summarysummary

Contents

NameDescription
Compressor
ValveRecordprotected
CompressorRecordprotected
Summaryprotected