SPICE To Subsystem diagram

4 vues (au cours des 30 derniers jours)
Adrian Klimczak
Adrian Klimczak le 11 Déc 2019
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.

Réponse acceptée

David John
David John le 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.

Plus de réponses (0)

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by