LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -23011 occurred at LabVIEW Analysis ODE Solver/inconsistency in dimensions of X(0), F and X!

Solved!
Go to solution

Hi,

 

I have been trying to simulate ODE but getting following error:

 

Error -23011 occurred at LabVIEW Analysis ODE Solver/inconsistency in dimensions of X(0), F and X!.

The screenshot of the code is attached.

 

 

Please let me know if anyone knows the reason of having this error.

 

Thank you.

 

-HB

0 Kudos
Message 1 of 13
(4,357 Views)

This error is sometimes caused by having variables with the same name, or using variable names such as "pi" instead of typing out 3.14. Also, try to avoid E notation such as (5.2e-2). If you have any plus minus signs back to back (+-), this can also cause an error.Be sure to double check your equations and see if they are formatted correctly for LabVIEW.

 

Logan

0 Kudos
Message 2 of 13
(4,319 Views)

Hi Logan,

 

Thanks for your reply. I checked it and sounds okay to me. 
My equation is

 

"K1*L/(pow(KL,nL)+L) + K2*KG/(pow(KG,nG) + G)""

 

with variables L and G.

 

Regards

Hasan

 

0 Kudos
Message 3 of 13
(4,312 Views)

Is it possible to post your code, or a screen shot of the front panel to show how the equation is being entered? It looks like the equation is okay, but maybe LabVIEW is missing something or requires some slight modification to the equation.

 

Thanks,

Logan

0 Kudos
Message 4 of 13
(4,289 Views)

Hi,

 

The code is attached.

 

Regards

Hasan

0 Kudos
Message 5 of 13
(4,280 Views)

From the help file for the ODE Solver:

 

"Solves ordinary differential equations with initial conditions of the following form: X'=F(X,t)."

 

How does the time component appear in your equation?

 

Lynn

0 Kudos
Message 6 of 13
(4,267 Views)

Hi Lynn,

 

This part appears at the left hand side of equation as dT/dt.

 

Regards

Hasan

0 Kudos
Message 7 of 13
(4,257 Views)

Hi,


I am still unable to solve this issue.

Any help is highly appreciated.

 

Thanks.

Regards

HB

0 Kudos
Message 8 of 13
(4,222 Views)

Hi,

 

I have added another code which includes the "simple chemical reaction" which I am trying to model using ODE in LabVIEW, but I am continously having the same problem.

 

Kindly see the attachment and try to help me out solving this issue. I couldn't found this kind of error listed on NI forum.

 

Thank you.

 

Regards

Hasan

0 Kudos
Message 9 of 13
(4,219 Views)

Still waiting to hear from someone else....

0 Kudos
Message 10 of 13
(4,181 Views)