Function derivator
function fDerivator input Real alpha "discretisation parameter"; 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 fDerivator;