.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-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos