.BusinessSimulation.Converters.ClipProcessTime

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 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos