electronics.real_and_reactive_power

Functions

reactive_power(→ float)

Calculate reactive power from apparent power and power factor.

real_power(→ float)

Calculate real power from apparent power and power factor.

Module Contents

electronics.real_and_reactive_power.reactive_power(apparent_power: float, power_factor: float) float

Calculate reactive power from apparent power and power factor.

Examples: >>> reactive_power(100, 0.9) 43.58898943540673 >>> reactive_power(0, 0.8) 0.0 >>> reactive_power(100, -0.9) 43.58898943540673

electronics.real_and_reactive_power.real_power(apparent_power: float, power_factor: float) float

Calculate real power from apparent power and power factor.

Examples: >>> real_power(100, 0.9) 90.0 >>> real_power(0, 0.8) 0.0 >>> real_power(100, -0.9) -90.0