Buildings.Fluid.Chillers.ModularReversible.Controls.Safety
Contains typical safety controllers for chillers
Information
Package with safety controls typically applied in chiller devices.
Extends from Modelica.Icons.Package (Icon for standard packages).
Package Content
| Name | Description | 
|---|---|
| Indicates if the chiller operation is within a defined envelope | 
Buildings.Fluid.Chillers.ModularReversible.Controls.Safety.OperationalEnvelope
Indicates if the chiller operation is within a defined envelope
Information
Model to check if the operating conditions of a chiller are inside the given boundaries. If not, the heat pump or chiller will switch off.
Read the documentation of Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.BaseClasses.PartialOperationalEnvelope for more information.
Extends from HeatPumps.ModularReversible.Controls.Safety.BaseClasses.PartialOperationalEnvelope (Indicates if the device operation is within a defined envelope).
Parameters
| Type | Name | Default | Description | 
|---|---|---|---|
| Temperature | tabUppHea[:, 2] | Upper boundary for heating with second column as useful temperature side [K] | |
| Temperature | tabLowCoo[:, 2] | Lower boundary for cooling with second column as useful temperature side [K] | |
| TemperatureDifference | dTHys | 5 | Temperature deadband in the operational envelope [K] | 
| Operational Envelope | |||
| Boolean | use_TConOutHea | true | =true to use condenser outlet temperature for envelope in heating mode, false for inlet | 
| Boolean | use_TEvaOutHea | false | =true to use evaporator outlet temperature for envelope in heating mode, false for inlet | 
| Boolean | use_TConOutCoo | false | =true to use useful side outlet temperature for envelope in cooling mode, false for inlet | 
| Boolean | use_TEvaOutCoo | true | =true to use evaporator outlet temperature for envelope in cooling mode, false for inlet | 
Connectors
| Type | Name | Description | 
|---|---|---|
| input RealInput | ySet | Input for relative compressor speed from 0 to 1 | 
| output RealOutput | yOut | Output for relative compressor speed from 0 to 1 | 
| RefrigerantMachineControlBus | sigBus | Bus-connector for the heat pump | 
| output IntegerOutput | err | Integer for displaying number of errors during simulation | 
Modelica definition
model OperationalEnvelope
  "Indicates if the chiller operation is within a defined envelope"
  extends HeatPumps.ModularReversible.Controls.Safety.BaseClasses.PartialOperationalEnvelope;
  Modelica.Blocks.Logical.Not notCoo "=true for heating";
equation 
    if use_TEvaOutHea then
    connect(bouMapHea.TUseSid, sigBus.TEvaOutMea);
  else
    connect(bouMapHea.TUseSid, sigBus.TEvaInMea);
  end if;
  if use_TConOutCoo then
    connect(bouMapCoo.TAmbSid, sigBus.TConOutMea);
  else
    connect(bouMapCoo.TAmbSid, sigBus.TConInMea);
  end if;
  if use_TConOutHea then
    connect(bouMapHea.TAmbSid, sigBus.TConOutMea);
  else
    connect(bouMapHea.TAmbSid, sigBus.TConInMea);
  end if;
  if use_TEvaOutCoo then
    connect(bouMapCoo.TUseSid, sigBus.TEvaOutMea);
  else
    connect(bouMapCoo.TUseSid, sigBus.TEvaInMea);
  end if;
  connect(notCoo.y, swiHeaCoo.u2);
  connect(notCoo.u, sigBus.coo);
end OperationalEnvelope;