<jupyter_start><jupyter_text>Atividade 5 Um transformador não ideal com núcleo linear, destinado a distribuição de energia elétricaapresenta os seguintes dados nominais: 10 kVA – 2300/230-V, 60 Hz.<jupyter_code>import numpy as np

S1 = 10*10**(3) #[VA]
V1 = 2300 #[V]
V2 = 230  #[V]
f = 60 #[Hz]
r1 = 5.8
r2 = 0.0605
xd1 = 12j
xd2 = 0.12j
xm = 694j
fp = 0.8    #indutivo 

e = 2.71828182845
pi = 3.1415
u0 = 4*pi/10**(7)<jupyter_output><empty_output><jupyter_text>a)<jupyter_code>w = 2*pi*f
a = V1/V2

r2_ = (a**2)*r2
xd2_ = (a**2)*xd2
print("r1  =", r1)
print("xd1 =", xd1)
print("r2' =", r2_)
print("xd2'=", xd2_)
print("xm  =", xm)<jupyter_output>r1  = 5.8
xd1 = 12j
r2' = 6.05
xd2'= 12j
xm  = 694j<jupyter_text>b)<jupyter_code>make_complex = lambda radii, angles : radii * e**(1j*angles)

i2_abs = S1/V2
i2_angle = np.arccos(0.8)
i2 = make_complex(i2_abs,-i2_angle)
print(i2)<jupyter_output>(34.782608695708035-26.08695652166465j)<jupyter_text>c)<jupyter_code>i2_ = i2/a
print(i2_)
print(abs(i2_)," angle=",np.angle(i2_)*180/pi)<jupyter_output>(3.4782608695708035-2.608695652166465j)
4.3478260869565215  angle= -36.87098506522545
{'fraction_non_alphanumeric': 0.17122683142100617, 'fraction_numerical': 0.1968225948808473, 'mean_word_length': 5.335195530726257, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '630944', 'license': 'MIT', 'n_tokens_mistral': 708, 'n_tokens_neox': 585, 'n_words': 104, 'path': 'src/exercises/ex5.ipynb', 'repo_name': 'VanderSant/PEA3306_conversao_eletromecanica_de_energia', 'size': '1133'}