Energy storage diode