Buildings.Fluid.HeatPumps.Compressors.BaseClasses
Package with base classes for compressors
Information
This package contains base classes that are used to construct the models in Buildings.Fluid.HeatPumps.Compressors.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Package Content
Name | Description |
---|---|
PartialCompressor | Partial compressor model |
TemperatureProtection | Temperature protection for heat pump compressor |
Validation | Validation package |
Buildings.Fluid.HeatPumps.Compressors.BaseClasses.PartialCompressor
Partial compressor model
Information
This is the base class for the compressor model.
The model evaluates the evaporating pressure of the refrigerant peva,
the specific enthalpy of the evaporating saturated refrigerant vapor heva,
the condensing pressure of the refrigerant pcon
and the specific enthalpy of the condensing saturated liquid refrigerant hcond
at the evaporating temperature Teva = port_a.T
and condensing temperature Tcon = port_b.T
.
Thermodynamic properties are evaluated from functions contained in the specified refrigerant package.
Assumptions and limitations
The model assumes isothermal condensation and evaporation, therefore refrigerant mass flow is not accounted for and heat ports are used instead of fluid ports.
Parameters
Type | Name | Default | Description |
---|---|---|---|
replaceable package ref | Buildings.Media.Refrigerants... | Refrigerant in the component |
Connectors
Type | Name | Description |
---|---|---|
replaceable package ref | Refrigerant in the component | |
HeatPort_a | port_a | Refrigerant connector a (corresponding to the evaporator) |
HeatPort_b | port_b | Refrigerant connector b (corresponding to the condenser) |
input RealInput | y | Modulating signal for compressor frequency, equal to 1 at full load conditions [1] |
output RealOutput | P | Electric power consumed by compressor [W] |
Modelica definition
Buildings.Fluid.HeatPumps.Compressors.BaseClasses.TemperatureProtection
Temperature protection for heat pump compressor
Information
Temperature protection block for heat pumps. This block overrides the heat pump control signal when the condenser temperature is too high, the evaporator temperature is too low, or the temperature difference between the condenser and evaporator is negative.
Typical use and important parameters
Temperature bounds are set using TConMax
and TEvaMin
.
Options
Parameter dTHys
may be used
to change the hysteresis interval.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Parameters
Type | Name | Default | Description |
---|---|---|---|
Temperature | TConMax | Upper bound for condenser temperature [K] | |
Temperature | TEvaMin | Lower bound for evaporator temperature [K] | |
Real | dTHys | 5 | Hysteresis interval width [K] |
Boolean | pre_y_start | false | Value of pre(y) of hysteresis at initial time |
Connectors
Type | Name | Description |
---|---|---|
input RealInput | u | Compressor control signal |
input RealInput | TEva | Evaporator temperature [K] |
input RealInput | TCon | Condenser temperature [K] |
output RealOutput | y | Modified compressor control signal |
output BooleanOutput | errHigPre | Error signal condenser upper bound temperature |
output BooleanOutput | errLowPre | Error signal evaporator lower bound temperature |
output BooleanOutput | errNegTemDif | Error signal if evaporator temperature is above condenser temperature |