LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

solving differencial equations using labview

Hi

I want to solve following  nonlinear differential equations by labview 2013.

 

dx1/dt=(1/((pg1/x1)*252.7902*(5.4457+0.0876*x1+(430/(x1*x1))-28.5156*(10e-6)*x1*x1)))*((F*pg1/(tg1+273))*0.0021*(748.84+4.7674(tg1+273)+(23402/((tg1+273)*(tg1+273)))-1.5519*(10e-3)*((tg1+273)*(tg1+273)))*(tg1+273)-(F*pg1/(tg1+273))*0.0021*(748.84+4.7674*x1+(23402/(x1*x1))-1.5519*(10e-3)*(x1*x1))*x1+88*10.066*(10e3)*(x2-x1))

 

dx2/dt=(1/(88*998*4184))*(q-10.066*(10e3)*88*(x2-x1))

 

For this I made a vi and use an approach similar to an example i find in Labview 2013.( example Planar Three Body Problem). but solver block doesnt generate any output (time or x values).

I attached my vi. Can anyone help me with this please? its some how urgent.

 

0 Kudos
Message 1 of 4
(2,797 Views)

the error code is -23083. Wich is reported from the Bracket deletion.

in conclusion:

your formula might have a bracket error

this means that part of the formula doesn't parse properly. double check the input formula and how it gets treated.

 

ALSO.

the error handling in this system is absolutely fatal for debugging. the error wires should always go through the VIs, and the caller of an error should always include the call chain.

always.

In the future please try to have better error parsing, now you basicall clear the errors and ask: why is there an error in my program when there is no reported error.

well, it is because the errors have been cleared. 

 

 

0 Kudos
Message 2 of 4
(2,768 Views)

the error code is -23083. Wich is reported from the Bracket deletion.

in conclusion:

your formula might have a bracket error

this means that part of the formula doesn't parse properly. double check the input formula and how it gets treated.

 

ALSO.

the error handling in this system is absolutely fatal for debugging. the error wires should always go through the VIs, and the caller of an error should always include the call chain.

always.

In the future please try to have better error parsing, now you basicall clear the errors and ask: why is there an error in my program when there is no reported error.

well, it is because the errors have been cleared. 

 

 

0 Kudos
Message 3 of 4
(2,767 Views)

sorry for the double post, I don't know what happened.

0 Kudos
Message 4 of 4
(2,765 Views)