modelMCV

Flow rate control valve

Extends from ThermofluidStream.Interfaces.SISOFlow.

Information

This component can be used to emulate a mass- or volume-flow regulated valve, depending on its mode.

The mass- or volume-flow-setpoint can be set or given by a real input signal, and the valve tries to enforce a PT1- dynamic on this setpoint, within its pressure limits. The valve will not create pressure, or let the outlet pressure drop below p_min. To avoid this, the internally integrated pressure-drop is clipped. If it is clipped and hence the setpoint cannot be reached, an optional output leaves its "zero" value and a visual warning is shown in the form of a red circle on the icon.

Documentation of the used equations:

Parameters

TypeNameDefaultDescription
SI.TimeTC0.1Time constant of setpoint dynamic
BooleanenableClippingOutputfalse= true, if clippingOutput is enabled
BooleandisplayMmode == ThermofluidStream.FlowControl.Internal.Types.MassflowControlValveMode.mass_flow
BooleandisplayVmode == ThermofluidStream.FlowControl.Internal.Types.MassflowControlValveMode.volume_flow
StringdisplayStringif displayM then "m_flow = %massFlow_set_par" elseif displayV then "V_flow = %volumeFlow_set_par" else "error"
SI.Pressureeps1Threshold for visual warning
Flow rate setpoint
ModemodeMode.mass_flowValve mode
BooleansetpointFromInputfalse= true, if flow rate input connector is enabled
SI.MassFlowRatemassFlow_set_par0Mass flow rate set value
SI.VolumeFlowRatevolumeFlow_set_par0Volume flow rate set value
Advanced
Realk1100Time constant factor
Realk2100Integrator windup factor
Medium.AbsolutePressurep_min_pardropOfCommons.p_minMinimal steady-state output pressure
Layout › Display parameters
BooleandisplayFlowRatetrue= true, if mass flow rate massFlow_set_par or volume flow rate volumeFlow_set_par is displayed

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputsetpoint_varFlow rate input connector
Modelica.Blocks.Interfaces.RealOutputclippingOutput(dp - dp_int)
Medium.Densityrho_inMedium.density(inlet.state)Inlet density
SI.VolumeFlowRateV_flowm_flow/rho_inInlet volume flow rate
SI.Pressuredp_intInitial pressure difference
SI.Pressuredp_corrk2*(dp - dp_int)Corrected pressure difference