cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Constraints using multidfit

FP_9765026
3-Visitor

Constraints using multidfit

 Hi everyone! 

I'm trying to fit a curve employing a multivariable function (5 variables and 5 parameters), which is a kinetic model. I could write the matrixes but the parameters are negative, and I need positive values. How can I write contraints for those parameters?

Here you'll find the file.

Thanks!

2 REPLIES 2

Multidfit is not part of a solve block but a stand alone function. This means that you cannot provide any constraints.

 

You may try a solve block with "minerr" to do the job.

Werner_E_0-1609792331595.png

As you can see the fit is not as good as the one without the constraints and Mathcad holds the last two vector elements of Gu hard at their limits (0 and 10).

 

MC15 worksheet attached

 

Thank you very much! I can try employing different initial values. 

Best regards!

Top Tags