Error in simulation: Simscape

8 visualizzazioni (ultimi 30 giorni)
Néstor Monedero
Néstor Monedero il 28 Nov 2011
Commentato: Irfan Ullah Khan il 14 Dic 2013
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 Commenti
Stephen
Stephen il 29 Ott 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
Irfan Ullah Khan il 14 Dic 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.

Accedi per commentare.

Risposte (1)

Mohmmad
Mohmmad il 29 Mag 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

Community Treasure Hunt

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

Start Hunting!

Translated by