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

TypeNameDefaultDescription
Realk1Gains
Modelica.Units.SI.TimeT0.01Time constant (T>0 required)
Initialization
Realx_start0Initial or guess value of state
Realy_start0Initial value of output (= state)

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputuConnector of Real input signal
Buildings.Controls.OBC.CDL.Interfaces.RealOutputyConnector of Real output signal

Components

TypeNameDefaultDescription
RealxState 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.