Skip to content

GreenHackers/Electrical-Library-

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electrical-Library-

To simplify the electrical calculations.

lot of areas to cover, electrical machines, electronic circuits, control systems etc.. (work in progress)

i have added some basic formulas.

frequency formula with TimePeriod

code usage
    
    from electrical import*
    a=freq(t=0.02)
    print a

frequency formula with L and C

code usage
    from electrical import*
    d=freq(l=0.001,c=0.001)
    print d
Vrms and Irms formula
    from electrical import*
    b=vrms(220) or vrms(v=220)
    print b
    
    i=irms(10) or irms(i=10)
    print i
    

####To calculate volatage, power , current, resistance value

code usage ()
   
   from electrical import*
   # To calculate voltage (v=i*r)
   v=voltage(i=5,r=10)
   print v
   
   ###### put v2 instead of  V^2 and put i2 instead of i^2
   
   from electrical import*
   #To calulate power value (p=(V^2)/r)
   p=power(v2=100,r=150)
   print p
installation
    setup.py install
requirements
python 2.7 
screen shot

About

To simplify the electrical calculations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%