TUMcps / CORA

Toolbox for Reachability Analysis
GNU General Public License v3.0
108 stars 35 forks source link

Error in Jacobian evaluation for non-linear parameter system #29

Closed ChitraDangwal closed 6 months ago

ChitraDangwal commented 3 years ago

In my model I am using "nonlinParamSys" to compute the reachability of my uncertain parameter system.

My model with uncertain parameter is:

dx(1,1)= u(1)p(3) + (x(2) - x(1)).p(1).p(3) ; dx(2,1)= (28 - x(2))p(2).p(4) - (x(2) - x(1))p(1).*p(4) ;

The error is I am getting is shown in the attached figure: Error_CORA

I think the error might be due to inaccurate computation of Jacobians, as the Jocabians files created have all 0 elements.

How can I fix it?

zhao-mz commented 2 years ago

I have encountered similar errors. Have you solved this problem?

TUMcps commented 10 months ago

Sorry for the (very) late reply.

Please try to initialize the system with nonlinParamSys(@ABC, 'varParam'). The computed Jacobian should then be in the file jacobian_freeParam_ABC.m

Can you double-check if this error still occurs with the latest version of CORA? If so, we would appreciate it if you could provide your entire script file that eventually leads to this error.