HW 5
HW 5
EE 347 Spring 24
06/02/2024
Homework #5
Problem #1
Python Code:
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
return A, B, C, D
results_table = []
for distance in d_m:
A, B, C, D = ABCD_coefficient(Y_C, Z_actual, distance)
Irx, Iry = colvert1(S_base / (np.sqrt(3) * V_base), np.arccos(PF))
Ir = Irx + 1j * Iry
V_r = V_base / np.sqrt(3)
Vs = A * V_r + B * Ir
Vs_magnitude, Vs_angle = colvert2(np.abs(Vs), np.angle(Vs))
V_ll = np.sqrt(3) * Vs_magnitude
VR = Voltage_Regulation(V_ll, V_rated)
Is = C * V_r + D * Ir
Is_magnitude, Is_angle = colvert2(np.abs(Is), np.angle(Is))
Ir_magnitude, _ = colvert2(np.real(Ir), np.imag(Ir))
efficiency = Efficiency(V_r, Ir_magnitude, Vs_magnitude, Is_magnitude,
Vs_angle, Is_angle, PF)
results_table.append([line[i], np.round(A, 5), np.round(B, 5),
np.round(C, 5), np.round(D, 5), np.round(VR, 5), np.round(efficiency, 5)])
i = i + 1
headers = ["Length", "A", "B", "C", "D", "V_r (%)", "Efficiency (%)"]
fig, ax = plt.subplots(figsize=(10, 6))
ax.axis('tight')
ax.axis('off')
table = ax.table(cellText=results_table, colLabels=headers, loc='center')
table.auto_set_font_size(False)
table.set_fontsize(6)
table.scale(1.2, 1.8)
plt.savefig('table_image.png', bbox_inches='tight', pad_inches=0.05)
plt.show()
Results:
Problem #2:
-All transformers and transmission line limit ra ngs were changed to 1.5 MVA. An image of the
one-line diagram with the adjustment, added 200 kVA, 0.95 lagging load, and all relevant data is shown
below:
Step-Up Transformer:
.
𝜂= ∗ 100% = ∗ 100% = 98.00%
.
Transmission Line
.
𝜂= ∗ 100% = ∗ 100% = 96.52%
.
Step-Down Transformer:
.
𝜂= ∗ 100% = ∗ 100% = 97.94%
.
Problem #3
-1 SYSTEM line
-5 BUS lines
-6 LINE lines
Bus Data:
Line Data:
Line Losses:
Overloaded Lines:
-The system was compensated with the addi on of 75, 70, and 100 MVAR capacitors on the Mallee,
Myall, and Sa nay lines respec vely.
Fundamentals of Engineering Exam Problem 1:
(A) 0
(B) 1
(C) 2
(D) 3