modelPCV

Pressure and pressure-drop control valve

Extends from ThermofluidStream.Interfaces.SISOFlow.

Information

This component can be used to emulate a pressure-drop or output-pressure regulated control valve, depending on the chosen valve mode.

Depending on the parameter mode, either the pressure at the outlet p_out or the pressure difference dp between inlet and outlet can be stipulated. This is done either by parameter pressure_set_par or via input connector pressure_set_var when setting pressureFromInput = true. The resulting mass flow will be determined by its usual dynamics.

Setting dp instead of p_out has advantages, when p_out is determined by a volume at the outlet (for instance an accumulator).

The pressure difference dp is normalized, such that it cannot create pressure and it is zero for zero or negative mass flow.

If the desired pressure drop or outlet pressure, i.e. the target pressure drop in either case, can't be reached, a red dot shows up on the icon.

Parameters

TypeNameDefaultDescription
ModemodeThermofluidStream.FlowControl.Internal.Types.PressureControlValveMode.dropValve mode
SI.Pressureeps1Threshold for visual warning
Pressure setpoint
BooleanpressureFromInputfalseIf true, pressure input connector is enabled
SI.AbsolutePressurepressure_set_par0Setpoint for pressure / pressure difference
Advanced
SI.MassFlowRatem_flow_regdropOfCommons.m_flow_regRegularization mass flow

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputpressure_set_varPressure input connector [Pa]
SI.Pressuredp_rawNot normalized desired dp