Error in simulation: Simscape

16 views (last 30 days)
Hi, I try to simulate my model but i have an error in simulation:
Initial conditions solve failed to converge.
...Dynamic states at start of simulation are not consistent. Setting all dynamic state initial conditions to zero may fix this problem.
......A constraint involving dynamic variables has been violated. Here is the set of components involved:
'untitled/Controlled Voltage Source'
Equation location is:
'C:\Program Files\MATLAB\R2011a\toolbox\physmod\simscape\library\m\+foundation\+electrical\+sources\controlled_voltage.ssc' (line 30)
'untitled/Capacitor'
Equation locations are:
'C:\Program Files\MATLAB\R2011a\toolbox\physmod\simscape\library\m\+foundation\+electrical\+elements\capacitor.ssc' (line 51)
'C:\Program Files\MATLAB\R2011a\toolbox\physmod\simscape\library\m\+foundation\+electrical\+elements\capacitor.ssc' (line 50)
Any idea what it happens?
Thanks in advance.
Néstor

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 17 Nov 2011
I'm not familiar with physical modeling using SimScape products, but there is an existing Solution that hints at possible issues with your model: http://www.mathworks.com/support/solutions/en/data/1-9Q4JX3/index.html
  2 Comments
Néstor Monedero
Néstor Monedero on 17 Nov 2011
Hi,yes may be like my problem but i can't solve it.
My model is a parallel RC excited by a pulse signal.
I use the same solver and the same simulation parameters but the problem persist.
I use Simscape and blocks of SimElectronics.
Thanks,
Néstor
Néstor Monedero
Néstor Monedero on 17 Nov 2011
Hi,
I find a solution to the problem. With a non zero series resistance in the capacitor the simulation runs without problem.
Thanks.
Néstor.

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!