modelMCV

Flow rate control valve

Extends from Interfaces.SISOBiFlow.

Information

Undirected implementation of MCV.

This component can be used to emulate a mass-flow regulated valve.

It works similar to the directed MCV.

Parameters

TypeNameDefaultDescription
SI.TimeTC0.1Time constant of setpoint dynamic
BooleanenableClippingOutputfalse= true, if clippingOutput is enabled
SI.Pressureeps1
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

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputsetpoint_varFlow rate input connector
Modelica.Blocks.Interfaces.RealOutputclippingOutput(dp - dp_int)
Medium.Densityrho_rear_inMedium.density(rear.state_forwards)Inlet density rear port
Medium.Densityrho_fore_inMedium.density(fore.state_rearwards)Inlet density fore port
Medium.Densityrho_inUndirected.Internal.regStep(m_flow, rho_rear_in, rho_fore_in, m_flow_reg)Inlet density
SI.VolumeFlowRateV_flow_forem_flow/rho_rear_inVolume flow rate fore port
SI.VolumeFlowRateV_flow_rearm_flow/rho_fore_inVolume flow rate rear port
SI.VolumeFlowRateV_flowUndirected.Internal.regStep(m_flow, V_flow_fore, V_flow_rear, m_flow_reg)Volume flow rate
SI.PressuredpUndirected.Internal.regStep(m_flow, dp_fore, -dp_rear, m_flow_reg)Pressure difference
SI.Pressuredp_int
SI.Pressuredp_corr_forek2*(dp_fore - dp_int)
SI.Pressuredp_corr_reark2*(dp_rear + dp_int)
SI.Pressuredp_corrUndirected.Internal.regStep(m_flow, dp_corr_fore, -dp_corr_rear, m_flow_reg)