Showing posts with label Electrical Current in Three Phase AC Circuit python program. Show all posts
Showing posts with label Electrical Current in Three Phase AC Circuit python program. Show all posts

Electrical Current in Three Phase AC Circuit

 # Electrical Current in Three Phase AC Circuit


import math


P = eval(input("Enter power (in Watts) : "))

pf = eval(input("Enter power factor (pf<1): "))

VL = eval(input("Enter Line Voltage (in Volts) : "))


CL = P/(math.sqrt(3)*VL*pf)

print("Line Current =", round(CL,2),"A")


"""

Sample output

>python current.py

Enter power (in Watts) : 5000

Enter power factor (pf<1): 0.839

Enter Line Voltage (in Volts) : 400

Line Current = 8.6 A

"""