modelCalculateEfficiency
Calculate the COP or EER of a device
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Information
This model is used to calculate the COP or the EER of a device. As the electrical power can get zero, a lower boundary is used to avoid division by zero.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Power | PEleMin | If eletrical power consumption falls below this value, COP will be set to zero |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | PEle | Electrical power consumed by the system | |
| Modelica.Blocks.Interfaces.RealInput | QUse_flow | Useful heat flow | |
| Modelica.Blocks.Interfaces.RealOutput | COP | Output for calculated COP value | |
| Modelica.Blocks.Interfaces.BooleanInput | hea | =true for heating, false for cooling | |
| Modelica.Blocks.Interfaces.RealOutput | EER | Output for calculated EER value |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Logical.Hysteresis | hys | Hysteresis to switch between calculation and no calculation | |
| Buildings.Utilities.Math.InverseXRegularized | invXReg | Inverse of electrical power |
Revisions
-
December 7, 2023, by Michael Wetter:
Reformulated to avoid mixing text and connect statements. -
November 26, 2018, by Fabian Wüllhorst:
First implementation (see issue #577)