modelMCV

Flow rate control valve

Extends from Interfaces.SISOBiFlow (Base Model with basic flow eqautions for SISO).

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
StringinstanceName (from DropOfCommonsPlus)getInstanceName()Instance name
SI.TimeTC0.1Time constant of setpoint dynamic
BooleanenableClippingOutputfalse= true, if clippingOutput is enabled
SI.Pressureeps1
Layout
BooleandisplayInstanceName (from DropOfCommonsPlus)dropOfCommons.displayInstanceNames= true, if instance name is displayed
BooleandisplayParameters (from DropOfCommonsPlus)dropOfCommons.displayParameters= true, if displaying parameters is enabled
Advanced
Utilities.Units.InertanceL (from SISOBiFlow)dropOfCommons.LInertance
StateSelectm_flowStateSelect (from SISOBiFlow)StateSelect.defaultState select for mass flow rate
Booleanclip_p_out (from SISOBiFlow)If true, set dr_corr to zero
Medium.AbsolutePressurep_min (from SISOBiFlow)dropOfCommons.p_minMinimal steady-state output pressure
Realk1100Time constant factor
Realk2100Integrator windup factor
Medium.AbsolutePressurep_min_pardropOfCommons.p_minMinimal steady-state output pressure
Initialization
InitializationMethodsinitM_flow (from SISOBiFlow)ThermofluidStream.Utilities.Types.InitializationMethods.noneInitialization method for mass flow rate
SI.MassFlowRatem_flow_0 (from SISOBiFlow)0Initial value for mass flow rate
Utilities.Units.MassFlowAccelerationm_acceleration_0 (from SISOBiFlow)0Initial value for der(m_flow)
Advanced › Regularization
SI.MassFlowRatem_flow_reg (from SISOBiFlow)dropOfCommons.m_flow_regRegularization threshold of mass flow rate
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

Connectors

TypeNameDefaultDescription
Forefore (from SISOBiFlow)
Rearrear (from SISOBiFlow)
Modelica.Blocks.Interfaces.RealInputsetpoint_varFlow rate input connector
Modelica.Blocks.Interfaces.RealOutputclippingOutput(dp - dp_int)

Components

TypeNameDefaultDescription
SI.MassFlowRatem_flow (from SISOBiFlow)rear.m_flowMass flow rate
SI.Pressuredp_fore (from SISOBiFlow)
SI.Pressuredp_rear (from SISOBiFlow)
SI.Pressuredr_corr_fore (from SISOBiFlow)
SI.Pressuredr_corr_rear (from SISOBiFlow)
SI.Pressuredr_corr (from SISOBiFlow)
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)