Skip to main content
10-Marble
June 30, 2023
Solved

Solving Current Equations using KVL, PTC 5.0

  • June 30, 2023
  • 2 replies
  • 5616 views

I am trying to find the efficiency of a 3 loop system. In order to find that, I need current equations of all the loops from which I can extract power of the circuit and eventually efficiency of the system. The solution I get is way too lengthy, I tried even manually to simplify them but had no luck.
Please help!

 

 

Best answer by ttokoro

Prime 9 sheet attached.

2 replies

25-Diamond I
June 30, 2023

You can always assign the result, which Prime refuses to display as of its size, to a function in all unknowns and use this function for further calculations:

Werner_E_0-1688139626552.png

In case you really need to see the huge result, you may try symbolic modifiers like "assume, ALL>0" or "simplify" or "simplify,max". Sometimes it helps.

 

If you disable the definition of s:=1j*omega you get a result (in s) displayed and can later use "substitute,s=1j*omega" when you display the three results singly with "rectangular".

Werner_E_0-1688146720483.png

 

10-Marble
July 1, 2023

Thank you Werner for looking into it. But the fact that, I still cant the simplified solution of the currents, even when I used the suggested method by you.
In case, I dont get simplified results, then can I get the real and imaginary parts from the current?
Such as Current 1= Real+imag
from this I think, I might get the simplified solution.
I have attached the 3 pics, and that what i am looking to get but my equations are way too complex as they have a phase difference between the two sources.

2.png

3.png

1.png

25-Diamond I
July 1, 2023

I am not really sure what exactly you are looking for and why you are in need for a pure symbolic solution, I guess the pics you show don't show your exact calculations.

So either your problem actually IS so complex that the solutions can't be simplified any more or Prime is not the right tool. Its a fact the the symbolic engine in Mathcad & Prime was changed a couple of times and every change was a step backwards. In Mathcad 11 a version of Maple was doing its job quite well, in Mathcad 14&15 a software named muPad replaced Maple and now PTC starting with Prime 6 has replaced it for an Axiom fork named FriCAS. Each change also introduced new errors and bugs and limitations.

Maybe you have more luck using a software like Maple or Mathematica.

 

Getting the desired results with the symbolic in Prime often needs a lot of playing around with combinations of modifiers like "assume,U=real,R.L>0,..." or "simplify,may" or "factor" or using substitutions, or ....

Sometimes you have luck and sometimes you don't.

23-Emerald IV
July 2, 2023

Or, like this:

LucMeekes_0-1688298282960.png

Success!
Luc

10-Marble
July 4, 2023

Thanks. Can you please upload your mathcad file.

Best,
Waqas

23-Emerald IV
July 4, 2023

I didn't save it. The work was done in Mathcad 11. It will not work as shown in Prime. But it might help giving you suggestions of what you could try in Prime.

 

Success!

Luc