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:
- Parameters:
- Vin : float
Maximum input Voltage in Volt
- Vo : float
Output Voltage in Volt
- R : float
Load Resistance in Ohm
- Returns:
P – Power on resistance in Watt
- Return type:
float