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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | use_rev (from PartialModularRefrigerantCycle) | true | True if the refrigerant machine is reversible |
| Boolean | allowDifferentDeviceIdentifiers | false | if use_rev=true, device data for cooling and heating need to be provided. Set allowDifferentDeviceIdentifiers=true to allow different device identifiers devId |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Fluid.HeatPumps.ModularReversible.BaseClasses.RefrigerantMachineControlBus | sigBus (from PartialModularRefrigerantCycle) | Signal bus with data for refrigerant models | |
| Modelica.Blocks.Interfaces.RealOutput | QCon_flow (from PartialModularRefrigerantCycle) | Heat flow rate from the refrigerant to the condenser medium | |
| Modelica.Blocks.Interfaces.RealOutput | QEva_flow (from PartialModularRefrigerantCycle) | Heat flow rate from the evaporator medium to the refrigerant | |
| Modelica.Blocks.Interfaces.RealOutput | PEle (from PartialModularRefrigerantCycle) | Routing block that picks the component for electric power consumption |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Logical.Switch | swiQEva (from PartialModularRefrigerantCycle) | Routing block that picks the component acting as evaporator | |
| Modelica.Blocks.Logical.Switch | swiQCon (from PartialModularRefrigerantCycle) | Routing block that picks the component acting as condenser | |
| Modelica.Blocks.Logical.Switch | swiPEle (from PartialModularRefrigerantCycle) | Whether to use cooling or heating power output | |
| RefrigerantCycleHeatPumpHeating | refCycHeaPumHea | Refrigerant cycle instance for heating | |
| RefrigerantCycleHeatPumpCooling | refCycHeaPumCoo | Refrigerant cycle instance for cooling | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | zer | Placeholder signal |
Contents
| Name | Description |
|---|---|
Revisions
-
March 21, 2025, by Antoine Gautier:
First implementation.