blockFirstOrderWithGradientLim

First order transfer function block (= 1 pole, allows Tau = 0 and a gain)

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

Information

1. Purpose of model

First order block that allows Tau=0 and has a gain implemented. Additionally, the gradient of the output can be limited to be within the specified bounds.

2. Level of detail, physical effects considered, and physical insight

The model was copied from ClaRa.Components.Utilities.Blocks.FirstOrderClaRa of ClaRa version 1.3.0 and y_aux was eliminated as a state for the case Tau=0. Also a gain was added, as done in Modelica.Blocks.Continuous.FirstOrder.

3. Limits of validity

(no remarks)

4. Interfaces

u: input

y: output

5. Nomenclature

(no elements)

6. Governing Equations

(no equations)

7. Remarks for Usage

(none)

8. Validation

(no validation or testing necessary)

9. References

(none)

10. Version History

Model created by Robert Flesch (flesch@xrg-simulation.de), Feb 2021

Parameters

TypeNameDefaultDescription
Realk1Gain
Modelica.Units.SI.TimeTau0Time Constant, set Tau=0 for no signal smoothing
IntegerinitOption1Initialisation option
Realy_start1Start value at output
Booleanevaluate_y_startfalsetrue for Evaluate=true for y_start
Booleanenable_gradientLimitertrueenable gradient limitation defined by input connectors

Connectors

TypeNameDefaultDescription
RealInputu (from SISO)Connector of Real input signal
RealOutputy (from SISO)Connector of Real output signal
Modelica.Blocks.Interfaces.RealInputmaxGradlimit for maximum gradient
Modelica.Blocks.Interfaces.RealInputminGradlimit for lowest gradient