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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | port_a | Refrigerant connector a (corresponding to the evaporator) | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b | port_b | Refrigerant connector b (corresponding to the condenser) | |
| Modelica.Blocks.Interfaces.RealInput | y | Modulating signal for compressor frequency, equal to 1 at full load conditions | |
| Modelica.Blocks.Interfaces.RealOutput | P | Electric power consumed by compressor |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.SpecificEnthalpy | hEva | Specific enthalpy of saturated vapor at evaporator temperature | |
| Modelica.Units.SI.SpecificEnthalpy | hCon | Specific enthalpy of saturated liquid at condenser temperature | |
| Modelica.Units.SI.AbsolutePressure | pEva | Pressure of saturated vapor at evaporator temperature | |
| Modelica.Units.SI.AbsolutePressure | pCon | Pressure of saturated liquid at condenser temperature | |
| Modelica.Units.SI.AbsolutePressure | pDis | Discharge pressure of the compressor | |
| Modelica.Units.SI.AbsolutePressure | pSuc | Suction pressure of the compressor | |
| Modelica.Units.SI.Temperature | TSuc | Temperature at suction of the compressor | |
| Boolean | isOn | State of the compressor, true if turned on | |
| Modelica.Units.SI.SpecificVolume | vSuc | Specific volume of the refrigerant at suction of the compressor |
Contents
| Name | Description |
|---|---|
| Refrigerant in the component |
Revisions
-
May 30, 2017, by Filip Jorissen:
Removedpressure_erroras this is replaced by AixLib.Fluid.HeatPumps.Compressors.BaseClasses.TemperatureProtection. See #769. -
May 26, 2017, by Michael Wetter and Thierry Nouidui:
ReformulatedisOnto 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:
Reformulatedwhenconditions and moved common assignments to this base class.
This is for #739. -
November 11, 2016, by Massimo Cimmino:
First implementation of this base class.