Thread Subject: netlist to MNA equations

Subject: netlist to MNA equations

From: Qin Tang

Date: 11 Dec, 2009 10:26:03

Message: 1 of 6

Dear all,

I read a paper about SCISIP which can simulate circuits in Matlab, but i cannot download the code.
There is a tool in Simulink named Simscape which could also analyze circuits. Could you tell me how to get access to the code of it?

Now I want to figure out how to sparse netlist (SPICE/ SPECTRE) and then construct the MNA equations in Matlab script efficiently. It's a big problem for me right now, Please give me some suggestions!

Subject: netlist to MNA equations

From: Arnaud Miege

Date: 15 Dec, 2009 11:24:03

Message: 2 of 6

"Qin Tang" <tangqin55@yahoo.com> wrote in message <hft6nr$gj4$1@fred.mathworks.com>...
> Dear all,
>
> I read a paper about SCISIP which can simulate circuits in Matlab, but i cannot download the code.
> There is a tool in Simulink named Simscape which could also analyze circuits. Could you tell me how to get access to the code of it?
>
> Now I want to figure out how to sparse netlist (SPICE/ SPECTRE) and then construct the MNA equations in Matlab script efficiently. It's a big problem for me right now, Please give me some suggestions!

Simscape and SimElectronics will allow you to model analog electronics and electro-mechanical sytems at a system-level. If you want detailed SPICE-level simulation, this isn't the right tool for you. However, in SimElectronics there is some (limited) functionality for importing SPICE netlists:
http://www.mathworks.com/access/helpdesk/help/toolbox/physmod/elec/ug/briwjsj-2.html#brkv5uf

Have a look at the following demos to give you an idea of Simscape and SimElectronics capabilities:
* http://www.mathworks.com/products/demos/simelectronics/control_dc_motor/index.html
* http://www.mathworks.com/products/demos/simelectronics/electromech_sys/index.html
* http://www.mathworks.com/products/demos/simscape/PhysMod_Demo_Balance_Tradeoff/

HTH,

Arnaud

Subject: netlist to MNA equations

From: Qin Tang

Date: 15 Dec, 2009 12:24:02

Message: 3 of 6

Hi ,

I know for spice-level simulation, matlab is not a good idea. I'm using it right now 'cause I'm not so good at C/C++, if I use C/C++, I need a long time to learn it. So now I try to use Matlab to evaluate my ideas.

I don't use the simulink toolbox since I have my own algorithm to analyze the circuits.

Is there any documents to instruct users how to speed up matlab simulation?

 

Subject: netlist to MNA equations

From: Arnaud Miege

Date: 15 Dec, 2009 12:45:51

Message: 4 of 6


"Qin Tang" <tangqin55@yahoo.com> wrote in message
news:hg7v52$69s$1@fred.mathworks.com...
> Hi ,
>
> I know for spice-level simulation, matlab is not a good idea. I'm using it
> right now 'cause I'm not so good at C/C++, if I use C/C++, I need a long
> time to learn it. So now I try to use Matlab to evaluate my ideas.
>
> I don't use the simulink toolbox since I have my own algorithm to analyze
> the circuits.
>
> Is there any documents to instruct users how to speed up matlab
> simulation?
>
>

Post your code here and I'm sure people will make suggestions on how to
speed it up if possible. You can also look at the following:
http://www.mathworks.com/support/solutions/en/data/1-15NM7/index.html?solution=1-15NM7
http://www.mathworks.com/support/tech-notes/1100/1106.shtml

HTH,

Arnaud

Subject: netlist to MNA equations

From: Qin Tang

Date: 15 Dec, 2009 13:06:02

Message: 5 of 6

Hi,

Thanks so much!
I will take a look at these links.
I will also post them after I finish them, then I need your help again^_^

Subject: netlist to MNA equations

From: Bardo

Date: 15 Jan, 2010 12:44:03

Message: 6 of 6

Hi,
you will find what you want in the SCAM toolbox:
SCAM - Symbolic Circuit Analysis in MatLab
http://www.swarthmore.edu/NatSci/echeeve1/Ref/mna/MNA6.html

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
spice Arnaud Miege 15 Dec, 2009 06:29:05
simscape Arnaud Miege 15 Dec, 2009 06:29:05
simelectronics Arnaud Miege 15 Dec, 2009 06:29:05
rssFeed for this Thread

Contact us at files@mathworks.com