modelSafety
Example for usage of all safety controls
Extends from BaseClasses.PartialSafety, Modelica.Icons.Example (Icon for runnable examples).
Information
This example shows the usage and effect of all safety controls aggregates into the model Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Safety.
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Fluid.HeatPumps.ModularReversible.BaseClasses.RefrigerantMachineControlBus | sigBus (from PartialSafety) | Bus-connector for the heat pump | |
| Modelica.Blocks.Interfaces.RealOutput | ySet (from PartialSafety) | Relative speed of compressor from 0 to 1 | |
| Modelica.Blocks.Interfaces.RealOutput | yOut (from PartialSafety) | Relative speed of compressor applied after safety control |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Logical.Hysteresis | hys (from PartialSafety) | Check if onOffMea in heat pump model would be true | |
| Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Safety | safCtr | Safety control | |
| Modelica.Blocks.Sources.Pulse | ySetPul | Pulse signal for ySet | |
| Modelica.Blocks.Sources.Pulse | TConInEmu | Emulator for condenser inlet temperature | |
| Modelica.Blocks.Sources.Pulse | TEvaOutEmu | Emulator for evaporator outlet temperature | |
| Modelica.Blocks.Sources.Pulse | TConOutEmu | Emulator for condenser outlet temperature | |
| Modelica.Blocks.Sources.Pulse | TEvaInEmu | Emulator for evaporator inlet temperature | |
| Modelica.Blocks.Sources.Pulse | mConEmu_flow | Emulator for condenser mass flow rate | |
| Modelica.Blocks.Sources.Pulse | mEvaEmu_flow | Emulator for evaporator mass flow rate | |
| Modelica.Blocks.Sources.BooleanConstant | conHea | Constant heating mode |
Revisions
-
September 11, 2025, by Michael Wetter:
Changed periodicity of source to avoid simultaneous events.
This is for Buildings, issue 4339. -
October 2, 2022 by Fabian Wuellhorst:
First implementation (see issue #1576)