Circuit with 1 diode in parallel with a resistor
I am not clear about the sense of your circuit.
If the forward voltage of the diode is really 3 volts..
you will never reach the nessesary voltage. It = 9 / 220V = 40.5 mA. Ur3 = 20 * 40.5 = 810 mV. This is below the the 3 volts. =&gt; not current trough the diode and no light!
You need a voltage over 33 volts to get the LED on.
Your 150mA * (160 + 40) + 3 = 33 volt.