blockDerivative
Block that approximates the derivative of the input
Extends from Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).
Information
This blocks defines the transfer function between the
input u and the output y
as approximated derivative:
k * s
y = ------------ * u
T * s + 1
If k=0, the block reduces to y=0.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | k | 1 | Gains |
| Modelica.Units.SI.Time | T | 0.01 | Time constant (T>0 required) |
| Initialization | |||
| Real | x_start | 0 | Initial or guess value of state |
| Real | y_start | 0 | Initial value of output (= state) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | u | Connector of Real input signal | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | y | Connector of Real output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | x | State of block |
Revisions
-
August 4, 2020, by Jianjun Hu:
Moved the block to Buildings.Obsolete.Controls.OBC.CDL.Continous.
This is for issue 2056. -
April 21, 2020, by Michael Wetter:
Removed option to not set the initialization method or to set the initial state. The new implementation only allows to set the initial output, from which the initial state is computed.
This is for issue 1887. -
March 2, 2020, by Michael Wetter:
Changed icon to display dynamically the output value. -
March 24, 2017, by Jianjun Hu:
First implementation, based on the implementation of the Modelica Standard Library.