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

TypeNameDefaultDescription
Initialization
Realy_start0Initial value of output (= state)

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputkInput for the gain
Buildings.Controls.OBC.CDL.Interfaces.RealInputTInput for the time constant (T>0 required; T=0 is ideal derivative block)
Buildings.Controls.OBC.CDL.Interfaces.RealInputuInput to be differentiated
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyApproximation of derivative du/dt

Revisions