electricpy.zener_diode_power¶
- electricpy.zener_diode_power(Vin, Vo, R)[source]¶
Zener diode power loss function.
A zener diode is uses to allow current to flow “backwards” when the zener voltage is reached. This function use to calculate the power in resistor following below formula:
\[P_R = \frac{(V_{out} - V_{in(max)})^2}{R}\]