Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.BaseClasses

Package with partial models for examples

Information

Package with basic models for safety control examples.

Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).

Package Content

Name Description
Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.BaseClasses.PartialSafety PartialSafety  

Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.BaseClasses.PartialSafety Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.BaseClasses.PartialSafety


Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.BaseClasses.PartialSafety

Information

Partial example providing interfaces to show usage of safety control models.

Connectors

TypeNameDescription
RefrigerantMachineControlBussigBusBus-connector for the heat pump
output RealOutputySetRelative speed of compressor from 0 to 1
output RealOutputyOutRelative speed of compressor applied after safety control

Modelica definition

partial model PartialSafety Buildings.Fluid.HeatPumps.ModularReversible.BaseClasses.RefrigerantMachineControlBus sigBus "Bus-connector for the heat pump"; Modelica.Blocks.Logical.Hysteresis hys( pre_y_start=false, uHigh=0.01, uLow=0.01/2) "Check if onOffMea in heat pump model would be true"; Modelica.Blocks.Interfaces.RealOutput ySet "Relative speed of compressor from 0 to 1"; Modelica.Blocks.Interfaces.RealOutput yOut "Relative speed of compressor applied after safety control"; equation connect(hys.y, sigBus.onOffMea); end PartialSafety;