Error in simulation: Simscape
1 view (last 30 days)
Show older comments
Hi, When i try to simulate my model i obtain this message: Continuous state of 'my_model/Simulink-PS Converter/EVAL_KEY/EXEC_BLOCK' is non-finite
I'm using Simscape, and my model consist in a electronic circuit. The error is in the block Simulink-Ps Converter. It is at begining of the model, i mean,the model is excited by a simulink pulse signal, which is joined to the Simulink-PS Converter to excite the circuit.
Thanks in advance. Néstor.
2 Comments
Stephen
on 29 Oct 2013
I get the same error, although without using Simscape. I am running a physics based simulation in simulink, R2009a. The error doesn't indicate what simulation time the error occurs at ( I can connect a scope to a clock to get close but this is still annoying). The error points to the offending integrator block, (without providing a link to the block for some reason) but it seems the error is thrown before the user output is updated because I can't use scope or displays to determine what about the input to the integrator block is causing the issue. Another odd observation: I can change the time this error occurs by adding or subtracting wholly unrelated and unconnected subsystems in the chart.
What the heck should I be looking for? Any assistance is appreciated.
Irfan Ullah Khan
on 14 Dec 2013
I think this error is because of unstability in the system. To verify this, I just made internal dynamics unstable in my system and run the simulation and I got this error. So check for your poles in the system and incase of internal dynamics your zeros. I think in your case some poles or zero are in right half of s-plane.
Answers (1)
Mohmmad
on 29 May 2013
I get the same error please
Continuous state '(PneumaticModel_ver6/Plant /Constant Volume Pneumatic Chamber).(PneumaticModel_ver6.Plant.Constant_Volume_Pneumatic_Chamber.pressure_0)' is non-finite
thank you
0 Comments
See Also
Categories
Physical Modeling
Simscape
Foundation Block Libraries
Physical Signal Manipulation
Nonlinear Operators
Show more
Find more on Elements 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!