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

TypeNameDefaultDescription
Modelica.Units.SI.PowerPEleMinIf eletrical power consumption falls below this value, COP will be set to zero

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputPEleElectrical power consumed by the system
Modelica.Blocks.Interfaces.RealInputQUse_flowUseful heat flow
Modelica.Blocks.Interfaces.RealOutputCOPOutput for calculated COP value
Modelica.Blocks.Interfaces.BooleanInputhea=true for heating, false for cooling
Modelica.Blocks.Interfaces.RealOutputEEROutput for calculated EER value

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.HysteresishysHysteresis to switch between calculation and no calculation
Buildings.Utilities.Math.InverseXRegularizedinvXRegInverse 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)