.Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds

Function that checks the performance and writes a warning if it is outside of 0.9 to 1.1

Information

This function checks if the numeric argument is outside of the interval 0.9 to 1.1. If this is the case, the function writes a warning.

Interface

impure function warnIfPerformanceOutOfBounds
  input Real x "Argument to be checked";
  input String msg "String to be added to warning message";
  input String curveName "Name of the curve that was tested";
  output Integer retVal "0 if x is inside bounds, -1 if it is below bounds, or +1 if it is above bounds";
end warnIfPerformanceOutOfBounds;

Revisions


Generated at 2025-03-11T19:24:33Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos