12-02-2014 02:56 AM - edited 12-02-2014 02:58 AM
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
Solved! Go to Solution.
12-03-2014 09:00 AM
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
12-03-2014 09:05 AM
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
12-04-2014 07:52 AM
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
12-04-2014 08:07 AM
Hi,
The code is attached.
Regards
Hasan
12-04-2014 09:55 AM - edited 12-04-2014 09:59 AM
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
12-04-2014 10:06 AM
Hi Lynn,
This part appears at the left hand side of equation as dT/dt.
Regards
Hasan
12-08-2014 10:55 AM
Hi,
I am still unable to solve this issue.
Any help is highly appreciated.
Thanks.
Regards
HB
12-08-2014 11:46 AM - edited 12-08-2014 11:46 AM
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
12-11-2014 03:28 AM
Still waiting to hear from someone else....