.BusinessSimulation.Converters.ClipProcessTime

Limit any time input to be no smaller than dt

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

Revisions


Generated at 2025-04-01T18:24:36Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos