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
| Type | Name | Default | Description |
|---|---|---|---|
| String | instanceName (from DropOfCommonsPlus) | getInstanceName() | Instance name |
| Boolean | invertInput | false | = true, if input u is inverted |
| SI.MassFlowRate | m_flow_ref | 0.1 | Reference mass flow rate |
| Medium.AbsolutePressure | p_ref | 1e5 | Reference pressure |
| Real | relativeLeakiness | 1e-3 | Imperfection of valve |
| Layout | |||
| Boolean | displayInstanceName (from DropOfCommonsPlus) | dropOfCommons.displayInstanceNames | = true, if instance name is displayed |
| Boolean | displayParameters (from DropOfCommonsPlus) | dropOfCommons.displayParameters | = true, if displaying parameters is enabled |
| Advanced | |||
| Utilities.Units.Inertance | L (from SISOBiFlow) | dropOfCommons.L | Inertance |
| StateSelect | m_flowStateSelect (from SISOBiFlow) | StateSelect.default | State select for mass flow rate |
| Boolean | clip_p_out (from SISOBiFlow) | If true, set dr_corr to zero | |
| Medium.AbsolutePressure | p_min (from SISOBiFlow) | dropOfCommons.p_min | Minimal steady-state output pressure |
| Initialization | |||
| InitializationMethods | initM_flow (from SISOBiFlow) | ThermofluidStream.Utilities.Types.InitializationMethods.none | Initialization method for mass flow rate |
| SI.MassFlowRate | m_flow_0 (from SISOBiFlow) | 0 | Initial value for mass flow rate |
| Utilities.Units.MassFlowAcceleration | m_acceleration_0 (from SISOBiFlow) | 0 | Initial value for der(m_flow) |
| Advanced › Regularization | |||
| SI.MassFlowRate | m_flow_reg (from SISOBiFlow) | dropOfCommons.m_flow_reg | Regularization threshold of mass flow rate |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Fore | fore (from SISOBiFlow) | ||
| Rear | rear (from SISOBiFlow) | ||
| Modelica.Blocks.Interfaces.RealInput | u | Valve control input [] |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.MassFlowRate | m_flow (from SISOBiFlow) | rear.m_flow | Mass flow rate |
| SI.Pressure | dp_fore (from SISOBiFlow) | ||
| SI.Pressure | dp_rear (from SISOBiFlow) | ||
| SI.Pressure | dr_corr_fore (from SISOBiFlow) | ||
| SI.Pressure | dr_corr_rear (from SISOBiFlow) | ||
| SI.Pressure | dr_corr (from SISOBiFlow) |