How it works
A diode conducts current in the forward direction once the voltage across it exceeds its forward voltage drop (roughly 0.7V for silicon, 0.2-0.3V for Schottky), and blocks current in the reverse direction.
This one-way behavior is used to protect circuits from reversed power connections, to convert AC to pulsating DC (rectification), and to clamp voltage spikes from inductive loads like relay coils and motors.
CircuitForge models a diode's I-V curve with the standard exponential diode equation, using the forward voltage, saturation current (Is), and ideality factor (n) as the tunable parameters.