modelMinimalFlowRate
Safety control for minimum mass flow rate
Extends from BaseClasses.PartialSafetyWithCounter (Safety control which adds an error counter to the I/O).
Information
Safety control to prevent the device from turning on if the mass flow rate is too low in either condenser or evaporator.
Used in real devices to prevent overheating or freezing of components.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.MassFlowRate | mEvaMin_flow | Minimal mass flow rate in evaporator required to operate the device | |
| Modelica.Units.SI.MassFlowRate | mConMin_flow | Minimal mass flow rate in condenser required to operate the device |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | ySet (from PartialSafety) | Input for relative compressor speed from 0 to 1 | |
| Modelica.Blocks.Interfaces.RealOutput | yOut (from PartialSafety) | Output for relative compressor speed from 0 to 1 | |
| BuildingSystems.Fluid.HeatPumps.ModularReversible.BaseClasses.RefrigerantMachineControlBus | sigBus (from PartialSafety) | Bus-connector for the heat pump | |
| Modelica.Blocks.Interfaces.IntegerOutput | err (from PartialSafetyWithCounter) | Integer for displaying number of errors during simulation |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Logical.Switch | swiErr (from PartialSafetyWithCounter) | Switches to zero when an error occurs | |
| Modelica.Blocks.Sources.Constant | conZer (from PartialSafetyWithCounter) | Constant zero | |
| Modelica.Blocks.MathInteger.TriggeredAdd | disErr (from PartialSafetyWithCounter) | Used to show if the error was triggered | |
| Modelica.Blocks.Logical.Not | notVal (from PartialSafetyWithCounter) | =true indicates a error | |
| Modelica.Blocks.Sources.IntegerConstant | intConOne (from PartialSafetyWithCounter) | Used for display of current error | |
| Modelica.Blocks.Routing.BooleanPassThrough | booPasThr (from PartialSafetyWithCounter) | Used to keep the connection to the counter | |
| Modelica.Blocks.Logical.Hysteresis | hysCon | Check if condenser mass flow rate is high enough | |
| Modelica.Blocks.Logical.Hysteresis | hysEva | Check if evaporator mass flow rate is high enough | |
| Modelica.Blocks.Logical.And | and1 | Both condenser and evaporator have sufficient flow |
Revisions
-
October 2, 2022 by Fabian Wuellhorst:
First implementation (see issue #1576)