modelControllerValveAndCompressor_mflow
Extends from TransiEnt.Basics.Icons.Controller (Icon for controller).
Information
1. Purpose of model
This controller gives the desired mass flow rate to a valve or compressor. The given pressures before and after the unit and the mass flow rate through the unit can be given by parameters or inputs.
The desired pressure difference (p_after - p_before) is the decisive factor. Hysteresis is limited.
2. Level of detail, physical effects considered, and physical insight
(none)
3. Limits of validity
(no remarks)
4. Interfaces
m_flowDesired: input for the desired mass flow rate in kg/s
p_before: input for the pressure before the unit in Pa
p_after: input for the pressure after the unit in Pa
m_flowValve: output for the mass flow rate through the valve in kg/s
m_flowCompressor: output for the mass flow rate throught the compressor in kg/s
5. Nomenclature
(no elements)
6. Governing Equations
(no remarks)
7. Remarks for Usage
(no remarks)
8. Validation
(no remarks)
9. References
(no remarks)
10. Version History
(no remarks)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Fundamental Definitions | |||
| SI.Pressure | p_before_low | 1e5 | Lower limit for hysteresis to limit mass flow for too low pressures |
| SI.Pressure | p_before_high | 1.1e5 | Higher limit for hysteresis to limit mass flow for too low pressures |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.General.MassFlowRateIn | m_flowDesired | Desired mass flow rate | |
| TransiEnt.Basics.Interfaces.General.PressureIn | p_before | Pressure before the valve/compressor | |
| TransiEnt.Basics.Interfaces.General.PressureIn | p_after | Pressure after the valve/compressor | |
| TransiEnt.Basics.Interfaces.General.MassFlowRateOut | m_flowValve | Mass flow rate through the valve | |
| TransiEnt.Basics.Interfaces.General.MassFlowRateOut | m_flowCompressor | Mass flow rate through the compressor |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Logical.Hysteresis | hysteresis |