modelSimpleCompressorTable
Model of a simple compressor using tables
Extends from IDEAS.Airflow.AHU.BaseClasses.SimpleCompressorInterface.
Information
Compressor that uses table interpolation using temperature of condensor and evaporator to compute heat flow rates.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Temperature | T_max | 273.15 + 50 | Maximum temperature at condensor |
| Modelica.Units.SI.Temperature | T_min | 273.15 - 20 | Minimum temperature at evaporator |
| Real | fraPmin | 0.1 | |
| Boolean | modulatingCompressor | true | Simulate the compressor as if it were modulating: non-physical but less events |
| Modelica.Units.SI.Temperature | modulatingRange | 5 | Range from temperature bounds where modulation starts |
| Boolean | smoothTmpPro | false | if true, use smooth temperature protection |
| Modelica.Units.SI.TemperatureDifference | dT_nom_eva | 10.6 | Nominal temperature difference between evaporator air inlet and refrigerant |
| Modelica.Units.SI.HeatCapacity | C | Heat capacity of at condensor heat port |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | tempMod | if smoothTmpPro then IDEAS.Utilities.Math.Functions.spliceFunction(x = min(limit1.y, limit2.y)/modulatingRange - 1, pos = 1, neg = 0, deltax = 1) else 1 | Modulation due to temperature bounds without causing events |
| Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensor | T_cond | ||
| Modelica.Blocks.Interfaces.RealOutput | P | Electricity consumption | |
| Modelica.Blocks.Interfaces.BooleanInput | on | True if compressor is on | |
| Modelica.Blocks.Math.BooleanToReal | onInt | ||
| Modelica.Blocks.Interfaces.RealInput | mod | ||
| Modelica.Blocks.Tables.CombiTable2Ds | P_refrig | Combitable for refrigeration powers | |
| Modelica.Blocks.Tables.CombiTable2Ds | P_comp | Combitable for compressor powers | |
| Modelica.Thermal.HeatTransfer.Components.HeatCapacitor | heatCapacitor | ||
| Modelica.Blocks.Math.Add | T_evap | Refrigerant temperature | |
| Modelica.Blocks.Sources.Constant | const |
Revisions
-
April 27, 2017, by Filip Jorissen:
Now extending from interface. See #719. -
October 11, 2016, by Filip Jorissen:
Added first implementation.