protected model with diferent behaviour

조회 수: 1 (최근 30일)
Thiago Henrique Martinelli
Thiago Henrique Martinelli 2013년 9월 30일
답변: Sherman 2014년 6월 3일
Hello friends. I have a matlab referenced model wich i have to protect. When i simulate the model it works fine, but after i protect the it, it presents a singuylarity at time 1.367. I have no idea of why the protected model works differentlyh from the original one. The model has two inputs and one output. The error message is (when running the protected model):
"Derivative input 7 of 'DSp/Dynamic Simulator1' at time 1.3675000000000002 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)"
Does anyone know how could i prevent this error?

답변 (1개)

Sherman
Sherman 2014년 6월 3일
Hi Thiago,
Try simulating the model with the unprotected child model in Accelerator mode and see if the issue still occurs. Did you follow the advice to try reducing the step size or tightening error tolerances?
S

카테고리

Help CenterFile Exchange에서 Model Protection에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by