Macromodeling with spice of SiC schottky diode