transition weighting factor for initialization
function weightingfactor_der input Real t_init; input Real length; input Real t; input Real t_init_der; input Real length_der; input Real t_der; output Real y; end weightingfactor_der;