Function integrator
function fIntegrator 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"; output Real y "Output"; end fIntegrator;