Manipulate RLC circuit impedance in symbolic form
Manipulate RLC circuit impedance in symbolic form
(OP)
Hi all,
I'm looking for software which would help the manipulation of the expressions for the impedance of linear RLC-circuits in symbolic form.The most important feature would be
to extract the real and imaginary part of the final analytic
expression.
The analytic expressions tend to get quite tedious to form on paper even in the case of simple circuits, but for a computer the task should not be a problem...
Using Mathemathica (4.0) I would like to do the following, for example, but the output
is not quite what I'm looking for;
Zm = Rm + I*(Lm*w + 1/Cm/w)
Z0 = I*1/C0/w
Zs = I*1/Cs/w
Ztot = 1/(1/Zm + 1/Z0) + Zs (* impedances Zm and Z0 in parallel, and Zs
in series *)
ComplexExpand[Ztot]
[Actually, I just found out that Mathematica 5.2 does already a better
job ... anyway, it would
be nice to hear your ideas...]
Also from an old posting I learned that a software called TINA might do the job. Also a Maple plugin for symbolic expression is discussiod. Has the scene changed in four years?
The thread is here:
h ttp://grou ps.google. fi/group/s ci.electro nics.cad/b rowse_thre ad/thread/ e812262103 272357/2e4 3a3042d9ed 4ee?lnk=st &q=rlc +analytica l+expressi on&rnu m=5&hl =fi#2e43a3 042d9ed4ee
Thanks for your comments!
I'm looking for software which would help the manipulation of the expressions for the impedance of linear RLC-circuits in symbolic form.The most important feature would be
to extract the real and imaginary part of the final analytic
expression.
The analytic expressions tend to get quite tedious to form on paper even in the case of simple circuits, but for a computer the task should not be a problem...
Using Mathemathica (4.0) I would like to do the following, for example, but the output
is not quite what I'm looking for;
Zm = Rm + I*(Lm*w + 1/Cm/w)
Z0 = I*1/C0/w
Zs = I*1/Cs/w
Ztot = 1/(1/Zm + 1/Z0) + Zs (* impedances Zm and Z0 in parallel, and Zs
in series *)
ComplexExpand[Ztot]
[Actually, I just found out that Mathematica 5.2 does already a better
job ... anyway, it would
be nice to hear your ideas...]
Also from an old posting I learned that a software called TINA might do the job. Also a Maple plugin for symbolic expression is discussiod. Has the scene changed in four years?
The thread is here:
h
Thanks for your comments!






RE: Manipulate RLC circuit impedance in symbolic form
BASIC on a PC.
Plesae read FAQ240-1032
My WEB: <http://geocities.com/nbucska/>
RE: Manipulate RLC circuit impedance in symbolic form
If you don't need an analytic result, just a numerical one, then I would suggest doing a quick program in a language that supports imaginary numbers naturally, such as Fortran or Python.
Personally, I do this all the time in Python. Most problems take about 3 lines of code to generate the plots I need*.
*For plotting, there are lots of options, but I would suggest matplotlib, which generates high quality plots and will be familiar to anyone used to Matlab.