Buildings.Fluid.HeatPumps.Compressors.Validation

Collection of models that validate the compressor models

Information

This package contains validation models for the classes in Buildings.Fluid.HeatPumps.Compressors.

Note that most validation models contain simple input data which may not be realistic, but for which the correct output can be obtained through an analytic solution. The examples plot various outputs, which have been verified against these solutions. These model outputs are stored as reference data and used for continuous validation whenever models in the library change.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor ReciprocatingCompressor  
Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput ReciprocatingCompressor_ZeroInput  
Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor ScrollCompressor  
Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput ScrollCompressor_ZeroInput  

Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor


Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor

Information

Model that demonstrates the use of the ReciprocatingCompressor model.

The compressor power, condenser heat transfer rate and evaporator heat transfer rate are calculated for given refrigerant temperatures.

Extends from Modelica.Icons.Example (Icon for runnable examples).

Modelica definition

model ReciprocatingCompressor extends Modelica.Icons.Example; Buildings.Fluid.HeatPumps.Compressors.ReciprocatingCompressor com( redeclare package ref = Buildings.Media.Refrigerants.R410A, pisDis=0.00162, cleFac=0.069, etaEle=0.696, PLos=100, dTSup=9.82, pDro=99290) "Reciprocating compressor"; Buildings.HeatTransfer.Sources.FixedTemperature eva(T=253.15) "Evaporating temprature"; Buildings.HeatTransfer.Sources.FixedTemperature con(T=323.15) "Condensing temperature"; Modelica.Thermal.HeatTransfer.Sensors.HeatFlowSensor heaFloEva "Evaporator heat flow rate sensor"; Modelica.Thermal.HeatTransfer.Sensors.HeatFlowSensor heaFloCon "Condenser heat flow rate sensor"; Modelica.Blocks.Sources.Constant on(k=1) "Compressor control signal"; equation connect(eva.port, heaFloEva.port_a); connect(heaFloEva.port_b, com.port_a); connect(com.port_b, heaFloCon.port_a); connect(heaFloCon.port_b, con.port); connect(on.y,com.y); end ReciprocatingCompressor;

Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput


Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput

Information

Model that demonstrates the use of the ReciprocatingCompressor model.

The compressor power, condenser heat transfer rate and evaporator heat transfer rate are calculated for zero control input to compressor.

Extends from Modelica.Icons.Example (Icon for runnable examples).

Modelica definition

model ReciprocatingCompressor_ZeroInput extends Modelica.Icons.Example; Buildings.Fluid.HeatPumps.Compressors.ReciprocatingCompressor com( redeclare package ref = Buildings.Media.Refrigerants.R410A, pisDis=0.00162, cleFac=0.069, etaEle=0.696, PLos=100, dTSup=9.82, pDro=99290) "Reciprocating compressor"; Buildings.HeatTransfer.Sources.FixedTemperature eva(T=253.15) "Evaporating temprature"; Buildings.HeatTransfer.Sources.FixedTemperature con(T=323.15) "Condensing temperature"; Modelica.Thermal.HeatTransfer.Sensors.HeatFlowSensor heaFloEva "Evaporator heat flow rate sensor"; Modelica.Thermal.HeatTransfer.Sensors.HeatFlowSensor heaFloCon "Condenser heat flow rate sensor"; Modelica.Blocks.Sources.Constant on(k=0) "Compressor control signal"; equation connect(eva.port, heaFloEva.port_a); connect(heaFloEva.port_b, com.port_a); connect(com.port_b, heaFloCon.port_a); connect(heaFloCon.port_b, con.port); connect(on.y,com.y); end ReciprocatingCompressor_ZeroInput;

Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor


Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor

Information

Model that demonstrates the use of the ScrollCompressor model.

The compressor power, condenser heat transfer rate and evaporator heat transfer rate are calculated for given refrigerant temperatures.

Extends from Modelica.Icons.Example (Icon for runnable examples).

Modelica definition

model ScrollCompressor extends Modelica.Icons.Example; Buildings.HeatTransfer.Sources.FixedTemperature eva(T=253.15) "Evaporating temperature"; Buildings.HeatTransfer.Sources.FixedTemperature con(T=323.15) "Condensing temperature"; Modelica.Thermal.HeatTransfer.Sensors.HeatFlowSensor heaFloEva "Evaporator heat flow rate sensor"; Modelica.Thermal.HeatTransfer.Sensors.HeatFlowSensor heaFloCon "Condenser heat flow rate sensor"; Buildings.Fluid.HeatPumps.Compressors.ScrollCompressor com( redeclare package ref = Buildings.Media.Refrigerants.R410A, V_flow_nominal=0.003, leaCoe=0.005, etaEle=0.85, PLos=500, dTSup=3, volRat=2.1) "Scroll compressor"; Modelica.Blocks.Sources.Constant on(k=1) "Compressor control signal"; equation connect(eva.port, heaFloEva.port_a); connect(heaFloCon.port_b, con.port); connect(com.port_b, heaFloCon.port_a); connect(heaFloEva.port_b, com.port_a); connect(on.y, com.y); end ScrollCompressor;

Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput


Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput

Information

Model that demonstrates the use of the ScrollCompressor model.

The compressor power, condenser heat transfer rate and evaporator heat transfer rate are calculated for zero control input to compressor.

Extends from Modelica.Icons.Example (Icon for runnable examples).

Modelica definition

model ScrollCompressor_ZeroInput extends Modelica.Icons.Example; Buildings.HeatTransfer.Sources.FixedTemperature eva(T=253.15) "Evaporating temperature"; Buildings.HeatTransfer.Sources.FixedTemperature con(T=323.15) "Condensing temperature"; Modelica.Thermal.HeatTransfer.Sensors.HeatFlowSensor heaFloEva "Evaporator heat flow rate sensor"; Modelica.Thermal.HeatTransfer.Sensors.HeatFlowSensor heaFloCon "Condenser heat flow rate sensor"; Buildings.Fluid.HeatPumps.Compressors.ScrollCompressor com( redeclare package ref = Buildings.Media.Refrigerants.R410A, V_flow_nominal=0.003, leaCoe=0.005, etaEle=0.85, PLos=500, dTSup=3, volRat=2.1) "Scroll compressor"; Modelica.Blocks.Sources.Constant on(k=0) "Compressor control signal"; equation connect(eva.port, heaFloEva.port_a); connect(heaFloCon.port_b, con.port); connect(com.port_b, heaFloCon.port_a); connect(heaFloEva.port_b, com.port_a); connect(on.y, com.y); end ScrollCompressor_ZeroInput;