# Analysing diode and resistor circuit

I'm trying to analysis circuit with parallel circuit of diode and resistor.
the diode is ideal diode with forward voltage of 0.8V, and I'm trying to calculate voltage across D2 and R2 (V_out)
For positive V1, D2 should be act like open switch, so V_out is voltage drop across parallel circuit (R1, D1 in parallel) plus V1.
For 0V < V1 < 0.8V, current will flow only through R1 as D1 is open switch yet, so V_out should be V1 - voltage drop across R1, which is 0V. And for V1 > 0.8V, voltage across parallel circuit should be fixed to 0.8V, so V_out = V1-0.8. Then it gives me nice continuous V1-V_out graph.
And to confirm my thought, I simulated with pspice and it turns out that V_out for V1 positive is V1, and voltage across parallel circuit is zero (not exactly zero, but I'll say zero for it is ideal). I can't understand this result. I also edited Vj of dbreak (forward voltage as far as i know) to 0.8V

Why the voltage across parallel circuit is zero?

• First do a .DC analysis on the diode, alone, to make sure it has the required transfer function. Otherwise this is a quick test in LTspice with an ideal diode with forward drop 1 V and reverse 2 V. Apr 15 at 10:47
• @aconcernedcitizen thank you I'll try! Apr 15 at 11:18