- subcircuit2ssc function that allows us to import simple SPICE subcircuits
- SIMetrix cosimulation interface that allows us to run cosimulations using Simscape and SIMetrix
Mismatch between Simscape and Ltspice
20 views (last 30 days)
Show older comments
I have implemented an operational amplifier firstly in Ltspice and then in Matlab Simscape. In Matlab Simscape I used the Band-Limited Op-Amp. For both circuits I have shown the trend of input and output voltage. The image below shows the result in LTspice

Detailed image:

Instead the following image show the result obtained in Simscape.

Detailed image:

Analyzing the two results, it is noticed that circuit implemented in LTspice had a expected behavior, instead the same is not true for the circuit implemented in Simscape. The operational amplifier implemented in Simscape seems severely limited by the slew rate that hides the bandwidth limitation.
I would like to know if this inequality could be linked with simulation parameter settings, the solver settings or something else.
The copy of the Simscape’s file is attached. Attached are also images of the simulation parameters used.
If further information is required I'm willing to provide you everything necessary.
Thank you for your interest and support.
0 Comments
Answers (1)
Sabin
on 17 Jul 2025
Simscape Electrical provides a variety of different levels of fidelity. For a fair comparison, both models must use the exact same fidelity. LTspice model may include details that are not covered by the Simscape model. Simscape Electrical supports different workflows involving SPICE such as:
0 Comments
See Also
Categories
Find more on Integrated Circuits in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!