Beta Warning: Function might be not robust for all kind of (seemingly) valid input
function realDelay2shiftSampleParameters import Modelica.Utilities.Strings.*; input Real delay "Delay in seconds"; input Real rate "Sample rate in seconds"; output Integer param[2] "Arguments to shiftSample(..). param[1]: shiftCounter, param[2]: resolution"; end realDelay2shiftSampleParameters;