modelControllerValveAndCompressor_mflow

Controls the mass flow through a valve or a compressor depending on the pressure difference

Extends from TransiEnt.Basics.Icons.Controller (Icon for controller).

Information

1. Purpose of model

This controller gives the desired mass flow rate to a valve or compressor. The given pressures before and after the unit and the mass flow rate through the unit can be given by parameters or inputs.

The desired pressure difference (p_after - p_before) is the decisive factor. Hysteresis is limited.

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

(none)

3. Limits of validity

(no remarks)

4. Interfaces

m_flowDesired: input for the desired mass flow rate in kg/s

p_before: input for the pressure before the unit in Pa

p_after: input for the pressure after the unit in Pa

m_flowValve: output for the mass flow rate through the valve in kg/s

m_flowCompressor: output for the mass flow rate throught the compressor in kg/s

5. Nomenclature

(no elements)

6. Governing Equations

(no remarks)

7. Remarks for Usage

(no remarks)

8. Validation

(no remarks)

9. References

(no remarks)

10. Version History

(no remarks)

Parameters

TypeNameDefaultDescription
Fundamental Definitions
SI.Pressurep_before_low1e5Lower limit for hysteresis to limit mass flow for too low pressures
SI.Pressurep_before_high1.1e5Higher limit for hysteresis to limit mass flow for too low pressures

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.General.MassFlowRateInm_flowDesiredDesired mass flow rate
TransiEnt.Basics.Interfaces.General.PressureInp_beforePressure before the valve/compressor
TransiEnt.Basics.Interfaces.General.PressureInp_afterPressure after the valve/compressor
TransiEnt.Basics.Interfaces.General.MassFlowRateOutm_flowValveMass flow rate through the valve
TransiEnt.Basics.Interfaces.General.MassFlowRateOutm_flowCompressorMass flow rate through the compressor

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.Hysteresishysteresis