delete branch in matpower
Show older comments
How can i delete one branch after displaying result below?
mpc = loadcase('case4gs');
mpc.branch(1,11)
runpf(mpc)
================================================================================
| Branch Data |
================================================================================
Brnch From To From Bus Injection To Bus Injection Loss (I^2 * Z)
# Bus Bus P (MW) Q (MVAr) P (MW) Q (MVAr) P (MW) Q (MVAr)
----- ----- ----- -------- -------- -------- -------- -------- --------
1 1 2 38.69 22.30 -38.46 -31.24 0.227 1.13
2 1 3 98.12 61.21 -97.09 -63.57 1.031 5.16
3 2 4 -131.54 -74.11 133.25 74.92 1.715 8.58
4 3 4 -102.91 -60.37 104.75 56.93 1.835 9.18
-------- --------
Total: 4.809 24.05
Answers (1)
Sabin
on 26 Jun 2025
0 votes
MATPOWER is not developed by MathWorks. The documentation of this third party toolbox should be consulted for specific tasks.
Categories
Find more on Specialized Power Systems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!