blockDerivative
Block that approximates the derivative of the input
Information
This blocks defines the transfer function between the
input u and the output y
as approximated derivative:
s
y = k * ------------ * u
T * s + 1
If k=0, the block reduces to y=0.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Initialization | |||
| Real | y_start | 0 | Initial value of output (= state) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | k | Input for the gain | |
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | T | Input for the time constant (T>0 required; T=0 is ideal derivative block) | |
| Buildings.Controls.OBC.CDL.Interfaces.RealInput | u | Input to be differentiated | |
| Buildings.Controls.OBC.CDL.Interfaces.RealOutput | y | Approximation of derivative du/dt |
Revisions
-
May 20, 2022, by Michael Wetter:
First implementation.
This is for Buildings, issue 3022.