Function first order process : k/(1+s*tau)
function f1Pole input Real alfa "Parametro di discretizzazione"; input Real u "Current input"; input Real u_pre "Previous input"; input Real y_pre "Previous output"; input Real Ts "Sampling time [s]"; input Real k "Gain"; input Real tau "Pole"; output Real y "Output"; end f1Pole;