Skip to main content
3-Newcomer
September 10, 2024
Solved

Summation when j is not equal to i

  • September 10, 2024
  • 1 reply
  • 901 views

Hello everyone,

Im trying to construct a matrix in Mathcad Prime 4.0 for a Newton-Raphson power flow solution, but im having trouble defining the elements where a summation with j≠i is needed.

AS_11894200_0-1725941472572.png

Is there any way to handle this in MathCad?

 

Thanks in advance

Best answer by LucMeekes

Simple.

Multiply the argument of the summation with (i<>j)

where <> is the unequal sign.

And if course you need nested summations, one over all i, and one over all j.

 

Success!

Luc

1 reply

LucMeekes23-Emerald IVAnswer
23-Emerald IV
September 10, 2024

Simple.

Multiply the argument of the summation with (i<>j)

where <> is the unequal sign.

And if course you need nested summations, one over all i, and one over all j.

 

Success!

Luc

3-Newcomer
September 10, 2024

This worked perfectly, thanks a lot, I appreciate your help.

AS_11894200_0-1725982670143.png