LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Non Linear Curve Fitting - BET Calculation

Solved!
Go to solution

Hello, I am new to the LabVIEW community.

 

I am trying to do BET Fitting in LabVIEW.

Until now it was done in Excel using the Solver add, but I want to include this Fit-Model (and several others GAB,...) in my LabVIEW program. I am using the Nonlinear Curve Fit.vi but I am getting different results than with the Excel Solver add. 

 

Any Help would be much appreciated.

 

I attached my Vi and the Excel File.  

Download All
0 Kudos
Message 1 of 4
(1,418 Views)

You use a formula

 

m*c*a/((1-a)*(a+(c-1)*a))

 

While it should be 

 

m*c*a/((1-a)*(1+(c-1)*a))

 

See if that helps.

 

(Also note that the first element is index zero, so if you take a five elements subset starting at 1 for the Y values, you probably should also start at 1 for the x-values, else the x and y don't match up).

0 Kudos
Message 2 of 4
(1,383 Views)
Solution
Accepted by topic author ManuelElze
Message 3 of 4
(1,375 Views)

It seems to work just fine with the right formula.

Thank you so much. I was so focused on the wireing that I totaly missed this. Stupid me.

0 Kudos
Message 4 of 4
(1,335 Views)