Internal Transition Function
function int input st s; input Real psuc; input Real setpoint; output st sout; end int;