Buildings.Fluid.Chillers.ModularReversible.BaseClasses

Package with base classes for Buildings.Fluid.Chillers.ModularReversible

Information

This package contains base classes that are used to construct the models in Buildings.Fluid.Chillers.ModularReversible.

Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).

Package Content

Name Description
Buildings.Fluid.Chillers.ModularReversible.BaseClasses.RefrigerantCycle RefrigerantCycle Refrigerant cycle model of a chiller

Buildings.Fluid.Chillers.ModularReversible.BaseClasses.RefrigerantCycle Buildings.Fluid.Chillers.ModularReversible.BaseClasses.RefrigerantCycle

Refrigerant cycle model of a chiller

Buildings.Fluid.Chillers.ModularReversible.BaseClasses.RefrigerantCycle

Information

Modular refrigerant cycle model for chiller applications used in the model Buildings.Fluid.Chillers.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.

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

Parameters

TypeNameDefaultDescription
Booleanuse_revtrueTrue 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
replaceable model RefrigerantCycleChillerCoolingBuildings.Fluid.Chillers.Mod...Replaceable model for refrigerant cycle of a chiller in main operation mode
replaceable model RefrigerantCycleChillerHeatingBuildings.Fluid.HeatPumps.Mo...Replaceable model for refrigerant cycle of a chiller in reversed operation mode

Connectors

TypeNameDescription
RefrigerantMachineControlBussigBusSignal bus with data for refrigerant models
output RealOutputQCon_flowHeat flow rate from the refrigerant to the condenser medium [W]
output RealOutputQEva_flowHeat flow rate from the evaporator medium to the refrigerant [W]
output RealOutputPEleRouting block that picks the component for electric power consumption [W]
replaceable model RefrigerantCycleChillerCoolingReplaceable model for refrigerant cycle of a chiller in main operation mode
replaceable model RefrigerantCycleChillerHeatingReplaceable model for refrigerant cycle of a chiller in reversed operation mode

Modelica definition

model RefrigerantCycle "Refrigerant cycle model of a chiller" extends Buildings.Fluid.HeatPumps.ModularReversible.BaseClasses.PartialModularRefrigerantCycle; parameter Boolean allowDifferentDeviceIdentifiers=false "if use_rev=true, device data for cooling and heating need to entered. Set allowDifferentDeviceIdentifiers=true to allow different device identifiers devIde"; replaceable model RefrigerantCycleChillerCooling = Buildings.Fluid.Chillers.ModularReversible.RefrigerantCycle.BaseClasses.NoCooling( useInChi=true) constrainedby Buildings.Fluid.Chillers.ModularReversible.RefrigerantCycle.BaseClasses.PartialChillerCycle "Replaceable model for refrigerant cycle of a chiller in main operation mode"; replaceable model RefrigerantCycleChillerHeating = Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.NoHeating( useInHeaPum=true) constrainedby Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.PartialHeatPumpCycle "Replaceable model for refrigerant cycle of a chiller in reversed operation mode"; RefrigerantCycleChillerCooling refCycChiCoo "Refrigerant cycle instance for cooling"; RefrigerantCycleChillerHeating refCycChiHea "Refrigerant cycle instance for heating"; protected parameter String devIde = if use_rev then refCycChiHea.devIde else refCycChiCoo.devIde "Data source for refrigerant cycle"; initial algorithm if not allowDifferentDeviceIdentifiers then assert( devIde == refCycChiCoo.devIde, "In " + getInstanceName() + ": Device identifiers devIde for reversible operation are not equal. Cooling device identifier is '" + refCycChiCoo.devIde + "' but heating is '" + devIde + "'. To allow this, set 'allowDifferentDeviceIdentifiers=true'.", AssertionLevel.error); end if; equation connect(pasTrhModSet.u, sigBus.coo); connect(sigBus,refCycChiHea.sigBus); connect(sigBus,refCycChiCoo.sigBus); connect(swiPEle.u2, sigBus.coo); connect(swiQEva.u2, sigBus.coo); connect(swiQCon.u2, sigBus.coo); connect(refCycChiCoo.QEva_flow, swiQEva.u1); connect(refCycChiCoo.QCon_flow, swiQCon.u1); connect(refCycChiCoo.PEle, swiPEle.u1); connect(refCycChiHea.PEle, swiPEle.u3); connect(refCycChiHea.QCon_flow, swiQEva.u3); connect(refCycChiHea.QEva_flow, swiQCon.u3); end RefrigerantCycle;

Buildings.Fluid.Chillers.ModularReversible.BaseClasses.RefrigerantCycle.RefrigerantCycleChillerCooling Buildings.Fluid.Chillers.ModularReversible.BaseClasses.RefrigerantCycle.RefrigerantCycleChillerCooling

Replaceable model for refrigerant cycle of a chiller in main operation mode

Buildings.Fluid.Chillers.ModularReversible.BaseClasses.RefrigerantCycle.RefrigerantCycleChillerCooling

Parameters

TypeNameDefaultDescription
StringdevIde"NoCooling"Indicates the data source, used to warn users about different vapor compression devices in reversible models
BooleanuseInChitrue=false to indicate that this model is used as a heat pump
Nominal condition
PowerPEle_nominal0Nominal electrical power consumption [W]
TemperatureTCon_nominal273.15Nominal temperature at secondary condenser side [K]
TemperatureTEva_nominal273.15Nominal temperature at secondary evaporator side [K]
HeatFlowRateQCoo_flow_nominal0Nominal cooling capacity [W]
Advanced
Medium properties
SpecificHeatCapacitycpCon4184Evaporator medium specific heat capacity [J/(kg.K)]
SpecificHeatCapacitycpEva4184Evaporator medium specific heat capacity [J/(kg.K)]

Connectors

TypeNameDescription
output RealOutputPEleElectrical Power consumed by the device [W]
output RealOutputQCon_flowHeat flow rate through condenser [W]
RefrigerantMachineControlBussigBusBus-connector
output RealOutputQEva_flowHeat flow rate through evaporator [W]

Modelica definition

replaceable model RefrigerantCycleChillerCooling = Buildings.Fluid.Chillers.ModularReversible.RefrigerantCycle.BaseClasses.NoCooling( useInChi=true) constrainedby Buildings.Fluid.Chillers.ModularReversible.RefrigerantCycle.BaseClasses.PartialChillerCycle "Replaceable model for refrigerant cycle of a chiller in main operation mode";

Buildings.Fluid.Chillers.ModularReversible.BaseClasses.RefrigerantCycle.RefrigerantCycleChillerHeating Buildings.Fluid.Chillers.ModularReversible.BaseClasses.RefrigerantCycle.RefrigerantCycleChillerHeating

Replaceable model for refrigerant cycle of a chiller in reversed operation mode

Buildings.Fluid.Chillers.ModularReversible.BaseClasses.RefrigerantCycle.RefrigerantCycleChillerHeating

Parameters

TypeNameDefaultDescription
StringdevIde"NoHeating"Indicates the data source, used to warn users about different vapor compression devices in reversible models
BooleanuseInHeaPumtrue=false to indicate that this model is used in a chiller
Nominal condition
PowerPEle_nominal0Nominal electrical power consumption [W]
TemperatureTCon_nominal273.15Nominal temperature at secondary condenser side [K]
TemperatureTEva_nominal273.15Nominal temperature at secondary evaporator side [K]
HeatFlowRateQHea_flow_nominal0Nominal heating capacity [W]
Advanced
Medium properties
SpecificHeatCapacitycpCon4184Evaporator medium specific heat capacity [J/(kg.K)]
SpecificHeatCapacitycpEva4184Evaporator medium specific heat capacity [J/(kg.K)]

Connectors

TypeNameDescription
output RealOutputPEleElectrical Power consumed by the device [W]
output RealOutputQCon_flowHeat flow rate through condenser [W]
RefrigerantMachineControlBussigBusBus-connector
output RealOutputQEva_flowHeat flow rate through evaporator [W]

Modelica definition

replaceable model RefrigerantCycleChillerHeating = Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.NoHeating( useInHeaPum=true) constrainedby Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.PartialHeatPumpCycle "Replaceable model for refrigerant cycle of a chiller in reversed operation mode";