cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Summation when j is not equal to i

AS_11894200
3-Newcomer

Summation when j is not equal to i

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

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:AS_11894200)

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

View solution in original post

2 REPLIES 2
LucMeekes
23-Emerald III
(To:AS_11894200)

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

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

AS_11894200_0-1725982670143.png

 

 

Announcements

Top Tags