Setting a diode's forward voltage to 0 V makes the whole program not work correctly. Even after setting the voltage back to a normal value, the diode doesn't work right. Sometimes even other things stop working like the function generator start giving out nonsense values:

Noted, I shall make sure that the value must be above zero