modelBoundaryMap

Block that checks if the inputs are within the characteristic map

Information

Given an input of TCon and TEva, the model returns false if the given point is outside of the given operational envelope.

The maximal and minimal TCon depend on TEva and are defined by the upper and lower boundaries in form of 1Ds-Tables.

The maximal and minimal TEva values are obtained trough the table and are constant.

For the boundaries of the TCon input value, a dynamic hysteresis is used to ensure a used device will stay off a certain time after shutdown.

This is similar to the hysteresis in a pressure-based safety control, which prevents operation outside this envelope in real devices.

Parameters

TypeNameDefaultDescription
Real[:,2]tabTable for boundary with second column as useful temperature side
Modelica.Units.SI.TemperatureDifferencedTDelta value used to avoid state events when used as a safety control
BooleanisUppBou=true if it is an upper boundary, false for lower

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanOutputnoErr=false when an error occurs
Modelica.Blocks.Interfaces.RealInputTAmbSidTemperature at ambient side
Modelica.Blocks.Interfaces.RealInputTUseSidUseful temperature side

Components

TypeNameDefaultDescription
Modelica.Blocks.Tables.CombiTable1DstabBouTable with envelope data
Modelica.Blocks.MathBoolean.Nornor=true if the operational envelope is not violated
Modelica.Blocks.Logical.HysteresishysLefHysteresis for left side of envelope
Modelica.Blocks.Logical.HysteresishysRigHysteresis for right side of envelope
Modelica.Blocks.Sources.ConstantconTAmbSidMinConstant minimal temperature of ambient temperature side
Modelica.Blocks.Sources.ConstantconTAmbSidMaxConstant maximal temperature of ambient temperature side
Modelica.Blocks.Math.AddsubMaxActual minus maximal ambient side temperature
Modelica.Blocks.Math.AddsubMinimal minus current ambient side temperature
Modelica.Blocks.Math.AddsubBouSubtract boundary from current value depending on lower or upper boundary
Modelica.Blocks.Logical.HysteresishysBouHysteresis for temperature limit

Revisions

  • August 3, 2026, by Michael Wetter:
    Removed duplicate HideResult annotation.
  • November 17, 2025, by Michael Wetter:
    Corrected typo in annotation.
    This is for Buildings, #4406.
  • October 2, 2022 by Fabian Wuellhorst:
    Adjusted based on IPBSA guidelines #1576)
  • November 26, 2018; by Fabian Wuellhorst:
    First implementation (see issue AixLib #577)