3 winding transformer loss of all winding
How to get loss of all winding of three winding transformer
add a comment
How to get loss of all winding of three winding transformer
In order to get the losses of the transformer you can sum the incoming flows like this:
bus_number = [3000, 3112, 3201]
ickt = "1"
flows = []
for i in range(3):
ierr, flow = psspy.wnddt2(
bus_number[i % 3],
bus_number[(i + 1) % 3],
bus_number[(i + 2) % 3],
ickt,
"FLOW"
)
flows.append(flow)
losses = sum(flows)
If you want the losses of an specific winding, the subsystem data retrieval API has the function awndreal
with the string "PLOSS" and "QLOSS". Finally, the function awndint
and awndchar
can help you to make a tabular data structure.