Calculator Input
Example Data Table
| From | To | R | X | Bc | Tap | Angle | Meaning |
|---|---|---|---|---|---|---|---|
| 1 | 2 | 0.02 | 0.06 | 0.03 | 1 | 0 | Normal line |
| 1 | 3 | 0.08 | 0.24 | 0.025 | 1 | 0 | Normal line |
| 2 | 3 | 0.06 | 0.18 | 0.02 | 0.95 | 5 | Off nominal transformer |
Formula Used
Series admittance is calculated from branch impedance.
y = 1 / (R + jX)
The complex transformer tap is calculated as:
a = tap ∠ angle
For a branch from bus i to bus k, the calculator applies these stamps:
Yii = Yii + (y + jBc/2) / |a|²
Ykk = Ykk + y + jBc/2
Yik = Yik - y / conjugate(a)
Yki = Yki - y / a
Bus shunt admittance is added directly to the diagonal term.
How to Use This Calculator
Enter the total bus count first. Then enter each line or transformer in the branch data box. Use one row for each network element. Keep all impedance and admittance values in per unit. Enter tap as 1 for ordinary lines. Enter the actual off nominal tap for transformers. Enter phase shift in degrees. Add bus shunts in the shunt box. Press the calculate button. The Y bus matrix appears above the form. Use the CSV or PDF buttons to save the result.
Understanding Y Bus Matrix With Transformers
Purpose
A Y bus matrix is a compact model of a power network. It stores how buses are connected through admittances. Each diagonal value shows the total admittance connected to one bus. Each off diagonal value shows the negative mutual admittance between two connected buses. This structure is used in load flow, fault study, state estimation, and network reduction.
Transformer Modeling
Transformers make the matrix more detailed. A normal line uses the same series admittance on both sides. An off nominal transformer changes the diagonal and mutual terms. The tap magnitude changes voltage scaling. The phase angle changes the complex direction of power flow. Because of this, the Y bus matrix may become unsymmetrical when phase shifting transformers are included.
Input Quality
Accurate data gives useful results. Use per unit values on a common base. Check R and X before calculation. A zero impedance branch is not valid here. Line charging should be entered as total Bc. The tool splits it equally between both ends. Shunt conductance and susceptance are placed on the selected bus diagonal.
Practical Use
This calculator is useful for students and engineers. It helps verify manual calculations. It also helps prepare data for numerical power system studies. You can test normal branches, tap changing transformers, and phase shifting transformers. The output uses rectangular complex form, so values are easy to copy into reports or scripts.
Result Review
After calculation, review every diagonal term first. Large diagonal values usually come from low impedance branches. Then check off diagonal values. They should appear only where buses are connected. If a transformer has a phase angle, opposite mutual entries can differ. Export the matrix when the result matches the expected network.
FAQs
What is a Y bus matrix?
It is a square admittance matrix. It represents connections between buses in a power network. Diagonal values show self admittance. Off diagonal values show mutual admittance.
Can this calculator handle transformers?
Yes. It supports off nominal tap magnitude and phase shift angle. Enter tap as 1 and angle as 0 for a normal line.
What units should I use?
Use per unit values for impedance and admittance. Keep all data on the same base. The base MVA field is used for reference.
What is Bc in the branch input?
Bc is total line charging susceptance. The calculator divides it by two and adds half to each connected bus end.
Why is my matrix not symmetrical?
Phase shifting transformers can make mutual elements different. This is expected when the tap angle is not zero.
How are shunts included?
Each bus shunt is added to the diagonal entry of that bus. Enter shunt data as bus number, conductance, and susceptance.
Can I export the result?
Yes. Use the CSV button for spreadsheet use. Use the PDF button for a printable report of the calculated matrix.
What causes invalid results?
Wrong bus numbers, zero impedance, mixed bases, or incorrect tap data can cause invalid results. Review every branch row before using the matrix.