modelVariableRestriction

Flow loss due to controllable restriction
Diagram of VariableRestriction

Extends from BaseClasses.RestrictionInterface.

Parameters

TypeNameDefaultDescription
Sizing
SI.VolumeFlowRateq_nom0.001Nominal flow rate at dp_nom
SI.Pressuredp_nom1e6Nominal dp for metering curve
Metering Curve › Table
Real[:,:]table[0, 0; 1, 1]Metering curve (control = 1st col; fraction of q_nom = 2nd col)
Modelica.Blocks.Types.SmoothnesssmoothnessModelica.Blocks.Types.Smoothness.LinearSegmentssmoothness of table interpolation
Metering Curve › Nominal values
SI.DiameterD_nom0.005Nominal diameter when fully open
SI.Densityd_nom850Nominal fluid density for metering curve
Realzeta_nom2Loss factor when fully open
Metering Curve › Control
Realmin_contr0Lower bound on control input
Realmax_contr1Upper bound on control input
Advanced
SI.ReynoldsNumberRe_turbulent3000Reynolds number at transition to tubulent flow
Booleanfrom_dptrue= true, use m_flow = f(dp) else dp = f(m_flow)
Booleanuse_Refalse= true, if turbulent region is defined by Re, otherwise by dp_small or m_flow_small
SI.AbsolutePressuredp_small1Turbulent flow if |dp| >= dp_small
SI.MassFlowRatem_flow_small0.01Turbulent flow if |m_flow| >= m_flow_small
Initialization › Fluid
SI.AbsolutePressurep_init (from PartialFluidComponent)environment.p_ambientInitial pressure of the component

Connectors

TypeNameDefaultDescription
OpenHydraulics.Interfaces.FluidPortport_a (from HorizontalTwoPort)
OpenHydraulics.Interfaces.FluidPortport_b (from HorizontalTwoPort)
Modelica.Blocks.Interfaces.RealInputcontrolcontrol inside [min_contr,max_contr]

Components

TypeNameDefaultDescription
OpenHydraulics.Fluids.BaseClasses.PartialFluidoil (from PartialFluidComponent)This model must be defined in each circuit; the type must be a subtype of PartialFluid
SI.VolumeFlowRateq_flow_a (from HorizontalTwoPort)port_a.m_flow/oil.density(p_a)
SI.VolumeFlowRateq_flow_b (from HorizontalTwoPort)port_b.m_flow/oil.density(p_b)
SI.Pressuredp (from HorizontalTwoPort)port_a.p - port_b.pPressure drop (negative for pumps)
SI.AbsolutePressurep_a (from HorizontalTwoPort)Oil properties at the inlet
SI.AbsolutePressurep_b (from HorizontalTwoPort)Oil properties at the inlet
SI.ReynoldsNumberReBaseClasses.ReynoldsNumber_m_flow(port_a.m_flow, (oil.dynamicViscosity(p_a) + oil.dynamicViscosity(p_b))/2, data.D_Re)Reynolds number at diameter D_Re
Modelica.Blocks.Tables.CombiTable1DsMeteringTable