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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Solving of spice netlist using Mathcad prime 5.0

BB1
5-Regular Member
5-Regular Member

Solving of spice netlist using Mathcad prime 5.0

Is there any way to generate the voltage and current equations from spice netlist using Mathcad prime 5.0??

6 REPLIES 6
Werner_E
24-Ruby V
(To:BB1)

It may be possible to do so.

You would have to write a program which reads in the spice file and parses it. Looks like a lot of work.

Guess that calculations would only be possible for simple circuits only, though.

LucMeekes
23-Emerald III
(To:BB1)

While parsing of the input file may be doable, to actually calculate voltages and currents in a given circuit requires much more. You have to have models and their parameters. Note that models differ between when you do an AC simulation or a TRANsient. If you want to be able to tackle any spice input deck, your effort will be huge, and given the fact that PRIME is not a programming language (!) I think you better crack another nut.

 

This is not to say that it's impossible to calculate electronic circuits, in time or frequency domain.

For a small example:

LM_20181219_Spice.png

Success!
Luc

 

mvenich
12-Amethyst
(To:BB1)

There's no tool in Mathcad to do this. But there's a free addon for Maple that turns a netlist into equations

 

https://www.maplesoft.com/applications/view.aspx?sid=127001

 

BB1
5-Regular Member
5-Regular Member
(To:mvenich)

Is there any add on for the Mathcad prime like syrup for Maple??

LucMeekes
23-Emerald III
(To:BB1)

Mathcad from version 4 through 13 uses/used Maple as the symbolic engine. Starting with Mathcad 14, and on to Prime 5 the symbolic engine is MuPad.

 

So: You cannot have Prime use Maple.

 

If you want to use Maple, buy Maple...

 

Success

Luc

Top Tags