blockSamplerWithResetThreshold

Sampler with a reset and a threshold

Information

This block samples the input real signal u when u is larger than a threshold. On the other hand, when the input boolean signal trigger becomes true, the output y is reset to a default value.

Parameters

TypeNameDefaultDescription
ReallowLim1Lower limit for triggering the sampling
Realy_reset1The value of y when the reset occurs

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputuInput real signal
Buildings.Controls.OBC.CDL.Interfaces.BooleanInputtriggerReset the output when trigger becomes true
Buildings.Controls.OBC.CDL.Interfaces.RealOutputySampling output

Revisions

  • September 20, 2023, by Sen Huang:
    First implementation.