def lookupWire(area): rc = -1 len = 2*(area/3.14159265)**(1/2) for AWG in range(40,0,-1): Bitola = 0.005*92**((36-AWG)/39)*25.4 if len <= Bitola: rc = AWG break return rc
Wi = lookupWire(Si)Wo = lookupWire(So)