tri-o-sim works as good/far as in simulink