modelPartialCompressor

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.

Connectors

TypeNameDefaultDescription
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aport_aRefrigerant connector a (corresponding to the evaporator)
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_bport_bRefrigerant connector b (corresponding to the condenser)
Modelica.Blocks.Interfaces.RealInputyModulating signal for compressor frequency, equal to 1 at full load conditions
Modelica.Blocks.Interfaces.RealOutputPElectric power consumed by compressor

Components

TypeNameDefaultDescription
Modelica.Units.SI.SpecificEnthalpyhEvaSpecific enthalpy of saturated vapor at evaporator temperature
Modelica.Units.SI.SpecificEnthalpyhConSpecific enthalpy of saturated liquid at condenser temperature
Modelica.Units.SI.AbsolutePressurepEvaPressure of saturated vapor at evaporator temperature
Modelica.Units.SI.AbsolutePressurepConPressure of saturated liquid at condenser temperature
Modelica.Units.SI.AbsolutePressurepDisDischarge pressure of the compressor
Modelica.Units.SI.AbsolutePressurepSucSuction pressure of the compressor
Modelica.Units.SI.TemperatureTSucTemperature at suction of the compressor
BooleanisOnState of the compressor, true if turned on
Modelica.Units.SI.SpecificVolumevSucSpecific volume of the refrigerant at suction of the compressor

Contents

NameDescription
refRefrigerant in the component

Revisions

  • May 30, 2017, by Filip Jorissen:
    Removed pressure_error as this is replaced by AixLib.Fluid.HeatPumps.Compressors.BaseClasses.TemperatureProtection. See #769.
  • May 26, 2017, by Michael Wetter and Thierry Nouidui:
    Reformulated isOn to use the same construct as the hysteresis block, and to work around a JModelica limitation.
    This is for #774.
  • April 25, 2017, by Michael Wetter:
    Reformulated when conditions and moved common assignments to this base class.
    This is for #739.
  • November 11, 2016, by Massimo Cimmino:
    First implementation of this base class.