如何使用 UliEngineering 在 Python 中利用 Shockley 方程计算二极管电压
你可以使用 UliEngineering Python 库,利用 Shockley 方程轻松计算二极管两端的电压:
shockley_diode_voltage.py
from UliEngineering.Electronics.Diode import *
from UliEngineering.EngineerIO import *
voltage = shockley_diode_voltage(current="10mA", saturation_current="1pA")
print(f"Diode voltage: {format_value(voltage, 'V')}")示例输出
shockley_diode_voltage_output.txt
Diode voltage: 592 mVCheck out similar posts by category:
Electronics, Python
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow