How to compute diode saturation current using the Shockley equation in Python using UliEngineering

You can easily compute the saturation current of a diode from one operating point using the Shockley equation using the UliEngineering Python library:

shockley_diode_saturation_current.py
from UliEngineering.Electronics.Diode import *
from UliEngineering.EngineerIO import *

saturation_current = shockley_diode_saturation_current(
    voltage="600mV", current="13.4mA"
)
print(f"Saturation current: {format_value(saturation_current, 'A')}")

Example output

shockley_diode_saturation_current_output.txt
Saturation current: 966 fA

Check out similar posts by category: Electronics, Python