SPICE To Subsystem diagram

5 Ansichten (letzte 30 Tage)
Adrian Klimczak
Adrian Klimczak am 11 Dez. 2019
Beantwortet: David John am 16 Jan. 2020
Is it possible to convert SPICE model into Simscape equivelent components? For example, in SPICE model there are resistors, capactiors, that would be converted into Simscape equivelent resistors and capacitors.
We have a SPICE model of a circuit board and we want the whole circuit board to be converted into Simscape circuit diagram, not a single block.
subcircuit2ssc converts .cir file into .ssc file.
ssc_build converts .ssc into .slx,
which contains only a single Simscape block, which is not what we need. We need whole circuit board in individual components from a single SPICE file.

Akzeptierte Antwort

David John
David John am 16 Jan. 2020
The subcircuit2ssc functionality is intended to translate a textual circuit representation (from a SPICE netlist) to a textual representation (in a Simscape file), so it will not perform the sort of graphical conversion that you are after. The subcircuit2ssc will create one Simscape block for every ".SUBCKT" in your netlist, so you could place .SUBCKT and .ENDS around each part of your circuit that you want to put into a separate Simscape component.

Weitere Antworten (0)

Produkte


Version

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by