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
| Type | Name | Default | Description |
|---|---|---|---|
| String | instanceName (from DropOfCommonsPlus) | getInstanceName() | Instance name |
| SI.Time | TC | 0.1 | Time constant of setpoint dynamic |
| Boolean | enableClippingOutput | false | = true, if clippingOutput is enabled |
| SI.Pressure | eps | 1 | |
| 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 |
| Real | k1 | 100 | Time constant factor |
| Real | k2 | 100 | Integrator windup factor |
| Medium.AbsolutePressure | p_min_par | 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 |
| Flow rate setpoint | |||
| Mode | mode | Mode.mass_flow | Valve mode |
| Boolean | setpointFromInput | false | = true, if flow rate input connector is enabled |
| SI.MassFlowRate | massFlow_set_par | 0 | Mass flow rate set value |
| SI.VolumeFlowRate | volumeFlow_set_par | 0 | Volume flow rate set value |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Fore | fore (from SISOBiFlow) | ||
| Rear | rear (from SISOBiFlow) | ||
| Modelica.Blocks.Interfaces.RealInput | setpoint_var | Flow rate input connector | |
| Modelica.Blocks.Interfaces.RealOutput | clippingOutput | (dp - dp_int) |
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) | ||
| Medium.Density | rho_rear_in | Medium.density(rear.state_forwards) | Inlet density rear port |
| Medium.Density | rho_fore_in | Medium.density(fore.state_rearwards) | Inlet density fore port |
| Medium.Density | rho_in | Undirected.Internal.regStep(m_flow, rho_rear_in, rho_fore_in, m_flow_reg) | Inlet density |
| SI.VolumeFlowRate | V_flow_fore | m_flow/rho_rear_in | Volume flow rate fore port |
| SI.VolumeFlowRate | V_flow_rear | m_flow/rho_fore_in | Volume flow rate rear port |
| SI.VolumeFlowRate | V_flow | Undirected.Internal.regStep(m_flow, V_flow_fore, V_flow_rear, m_flow_reg) | Volume flow rate |
| SI.Pressure | dp | Undirected.Internal.regStep(m_flow, dp_fore, -dp_rear, m_flow_reg) | Pressure difference |
| SI.Pressure | dp_int | ||
| SI.Pressure | dp_corr_fore | k2*(dp_fore - dp_int) | |
| SI.Pressure | dp_corr_rear | k2*(dp_rear + dp_int) | |
| SI.Pressure | dp_corr | Undirected.Internal.regStep(m_flow, dp_corr_fore, -dp_corr_rear, m_flow_reg) |