modelTanValve

Valve with tan-shaped flow resistance

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

Information

Undirected implementation of the Tan valve.

The TanValve is the most basic valve and can be used when no valve type is set yet.

It adjusts its flow resistance coefficient according to a tangens of the input. The pole of the tan function can lead to numerical problems.

Parameters

TypeNameDefaultDescription
StringinstanceName (from DropOfCommonsPlus)getInstanceName()Instance name
BooleaninvertInputfalse= true, if input u is inverted
SI.MassFlowRatem_flow_ref0.1Reference mass flow rate
Medium.AbsolutePressurep_ref1e5Reference pressure
RealrelativeLeakiness1e-3Imperfection of valve
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
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

Connectors

TypeNameDefaultDescription
Forefore (from SISOBiFlow)
Rearrear (from SISOBiFlow)
Modelica.Blocks.Interfaces.RealInputuValve control input []

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)