Can i have a matrix with identical rows?

Hello everyone! I am simulating a power system network and in between some nodes i have double lines connecting them.
As a result, i have a matrix with branch data.
Is it possible for my simulation to work when some rows of the latter matrix are identical?
I can give you a quick sample of the matrix :
% fbus tbus r x b rateA rateB rateC ratio angle status angmin angmax
mpc.branch = [
115 121 0 0.049 0.103 300 420 0 0 0 1 -360 360;
115 121 0 0.049 0.103 300 420 0 0 0 1 -360 360;
Thank you very much!

Answers (1)

You can, however you will find that it’s not useful. The identical rows are linearly dependent, so the rank of the matrix will be less than the actual row size. This will cause problems if you do anything that, for example, requires its inversion, such as using the \ (mldivide) operator or (if you absolutely must) calculating its inverse.
Power systems are definitely outside my areas of expertise, so I can’t suggest the correct approach. There must be mathematically tractable ways to do what you want. You will likely need to search the available literature to find them.

Categories

Find more on Mathematics in Help Center and File Exchange

Asked:

on 7 May 2019

Answered:

on 7 May 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!