modelRefrigerantCycleConditional

Refrigerant cycle model of a heat pump

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

Information

This model is similar to Buildings.Fluid.HeatPumps.ModularReversible.Modular except that the cooling cycle component is declared as a conditional component, which can be removed by setting use_rev to false.

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 be provided. Set allowDifferentDeviceIdentifiers=true to allow different device identifiers devId

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
Buildings.Controls.OBC.CDL.Reals.Sources.ConstantzerPlaceholder signal

Contents

NameDescription
RefrigerantCycleHeatPumpHeating
RefrigerantCycleHeatPumpCooling

Revisions

  • March 21, 2025, by Antoine Gautier:
    First implementation.