Skip to content

Instantly share code, notes, and snippets.

@dangpzanco
Created May 16, 2016 16:44
Show Gist options
  • Save dangpzanco/14a117b947189ca6c1424922128c3ffc to your computer and use it in GitHub Desktop.
Save dangpzanco/14a117b947189ca6c1424922128c3ffc to your computer and use it in GitHub Desktop.
Vl = 380
Il = 1.34
P3f = 594.4
n = 1763
ns = 1800
m = 0.7
r1 = 8.92;
r2 = 8.92;
x1 = 7.2;
x2 = 7.2;
xm = 197.2;
rf = 2110;
s = (ns-n)/ns;
V = 220.0;
Zm = rf*im*xm/(rf+im*xm)
Z1 = r1 + im*x1
Z2 = r2/s + im*x2
Zm_Z2 = Zm*Z2/(Zm + Z2)
E2 = V * Zm_Z2/(Zm_Z2 + Z1)
print("E2:\n","Módulo: ",abs(E2),"\nângulo: ",angle(E2)/pi*180,"\n")
I2 = E2/Z2
print("I2:\n","Módulo: ",abs(I2),"\nângulo: ",angle(I2)/pi*180,"\n")
Pg = 3*abs(I2)^2*r2/s
Pconv = (1-s)*Pg
I1 = V/(Z1 + Zm_Z2)
print("I1:\n","Módulo: ",abs(I1),"\nângulo: ",angle(I1)/pi*180,"\n")
S = V*I1;
η = Pconv/(3*real(S));
omega = (1-s)*1800*2*pi/60
Torque = Pconv/omega
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment