如何使用 UliEngineering 在 Python 中利用 Shockley 方程计算二极管电流

你可以使用 UliEngineering Python 库,利用 Shockley 方程轻松计算流过二极管的电流:

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

current = shockley_diode_current(voltage="600mV", saturation_current="1pA")
print(f"Diode current: {format_value(current, 'A')}")

示例输出

shockley_diode_current_output.txt
Diode current: 13.9 mA

Check out similar posts by category: Electronics, Python