modelRefrigerantCycle

Refrigerant cycle model of a heat pump

Extends from Buildings.Fluid.HeatPumps.ModularReversible.BaseClasses.PartialModularRefrigerantCycle (Partial refrigerant cycle model).

Information

Modular refrigerant cycle model for heat pump applications used in the model Buildings.Fluid.HeatPumps.ModularReversible.Modular and extending models of the modular approach.

This model adds the replaceable model approaches for cooling and heating data to the partial refrigerant cylce.

Further, an asseration warning is raised if the model approaches or sources for performance data differ. This indicates that they are not for the same device.

For more information on the approach, please read the UsersGuide.

Parameters

TypeNameDefaultDescription
Booleanuse_rev (from PartialModularRefrigerantCycle)trueTrue if the refrigerant machine is reversible
BooleanallowDifferentDeviceIdentifiersfalseif use_rev=true, device data for cooling and heating need to entered. Set allowDifferentDeviceIdentifiers=true to allow different device identifiers devIde

Connectors

TypeNameDefaultDescription
Buildings.Fluid.HeatPumps.ModularReversible.BaseClasses.RefrigerantMachineControlBussigBus (from PartialModularRefrigerantCycle)Signal bus with data for refrigerant models
Modelica.Blocks.Interfaces.RealOutputQCon_flow (from PartialModularRefrigerantCycle)Heat flow rate from the refrigerant to the condenser medium
Modelica.Blocks.Interfaces.RealOutputQEva_flow (from PartialModularRefrigerantCycle)Heat flow rate from the evaporator medium to the refrigerant
Modelica.Blocks.Interfaces.RealOutputPEle (from PartialModularRefrigerantCycle)Routing block that picks the component for electric power consumption

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.SwitchswiQEva (from PartialModularRefrigerantCycle)Routing block that picks the component acting as evaporator
Modelica.Blocks.Logical.SwitchswiQCon (from PartialModularRefrigerantCycle)Routing block that picks the component acting as condenser
Modelica.Blocks.Logical.SwitchswiPEle (from PartialModularRefrigerantCycle)Whether to use cooling or heating power output
RefrigerantCycleHeatPumpHeatingrefCycHeaPumHeaRefrigerant cycle instance for heating
RefrigerantCycleHeatPumpCoolingrefCycHeaPumCooRefrigerant cycle instance for cooling

Contents

NameDescription
RefrigerantCycleHeatPumpHeating
RefrigerantCycleHeatPumpCooling

Revisions

  • May 2, 2024, by Michael Wetter:
    Refactored check for device identifiers.
    This is for IBPSA, #1576.
  • October 2, 2022 by Fabian Wuellhorst:
    Adjusted based on the discussion in this issue #1576)
  • May 22, 2019 by Julian Matthes:
    Rebuild due to the introducion of the thermal machine partial model (see issue AixLib #715)
  • November 26, 2018, by Fabian Wuellhorst:
    First implementation (see issue AixLib #577)