blockVariableGradientLimiter

Limit the range of a signal with variable limits

Extends from Modelica.Blocks.Interfaces.SISO (Single Input Single Output continuous control block).

Information

The Limiter block passes its input signal as output signal as long as the input is within the upper and lower limits specified by the two additional inputs limit1 and limit2. If this is not the case, the corresponding limit is passed as output.

For detailed model documentation please consult the html-documentation shipped with ClaRa.

 


Authorship and Copyright Statement for original (initial) Contribution

Author:

DYNCAP/DYNSTART development team, Copyright © 2011-2024.

References:

For references please consult the html-documentation shipped with ClaRa.

Remarks:

This component was developed by ClaRa development team under the 3-clause BSD License.

Acknowledgements:

ClaRa originated from the collaborative research projects DYNCAP and DYNSTART. Both research projects were supported by the German Federal Ministry for Economic Affairs and Energy (FKZ 03ET2009 and FKZ 03ET7060).

CLA:

The author(s) have agreed to ClaRa CLA, version 1.0. See https://claralib.com/pdf/CLA.pdf

By agreeing to ClaRa CLA, version 1.0 the author has granted the ClaRa development team a permanent right to use and modify his initial contribution as well as to publish it or its modified versions under the 3-clause BSD License.

The ClaRa development team consists of the following partners:

TLK-Thermo GmbH (Braunschweig, Germany)

XRG Simulation GmbH (Hamburg, Germany).

Parameters

TypeNameDefaultDescription
RealNd10|Expert Settings|Input - Output Coupling|The higher Nd, the closer y follows u
BooleanuseThreshfalse|Expert Settings|Numerical Noise Suppression|Use threshould for suppression of numerical noise
BooleanconstantLimitsfalseTrue, if gradient limits are constant
RealmaxGrad_const1Constant max gradient
RealminGrad_const-1Constant min gradient
Expert Settings › Numerical Noise Suppression
Realthres1e-7If abs(u-y)< thres, y becomes a simple pass through of u. Increasing thres can improve simulation speed. However to large values can make the simulation unstable. A good starting point is the choice thres = tolerance/1000.

Connectors

TypeNameDefaultDescription
RealInputu (from SISO)Connector of Real input signal
RealOutputy (from SISO)Connector of Real output signal
Modelica.Blocks.Interfaces.RealInputmaxGradmaxGrad_Maximum Gradient allowd
Modelica.Blocks.Interfaces.RealInputminGradminGrad_Minimum Gradient allowd

Revisions

For revisions please consult the html-documentation shipped with ClaRa.