blockClipProcessTime

Limit any time input to be no smaller than dt

Extends from Interfaces.PartialConverters.SISO (Converter with single input and single output).

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

The global parameter modelSettings.dt gives the smallest possible average duration for any explicitly modeled process within a model (e.g., the shortest possible delay time). The time input u (usually a duration) will thus be clipped so that the output y will never be smaller than dt.

Implementation

In the default setting (strict = true) in the Advanced tab no events will be generated:

if strict then
    y = smooth(0, noEvent(if u < modelSettings.dt then modelSettings.dt else u));
  else
    y = smooth(0, if u < modelSettings.dt then modelSettings.dt else u);
  end if;

See also

ClipZeroIfNegative

Parameters

TypeNameDefaultDescription
Advanced
Booleanstricttrue= true, if strict limits with noEvent(..)

Connectors

TypeNameDefaultDescription
Connectors.RealInputu (from SISO)Input

Components

TypeNameDefaultDescription
RealOutputy (from SO)

Revisions

  • Updated in v2.0.0