How to implement constraints (conditions) to the estimation of parameters by fitting?

6 views (last 30 days)
Hi to everyone!
How to implement in the Simbiology interface so that the estimated parameters in a fit satisfy a given condition? For example, estimate by a fit the values ​​of the kinetic constants k1 and k-1 for a serie of experimental data, which satisfy the value of the equilibrium constant Keq (Keq= k1/k-1) within a given interval, such as K= 10±2.
Thank you in advance!

Accepted Answer

Jeremy Huard
Jeremy Huard on 7 Jun 2024
one idea would be to actually estimate and , with and have be calculated in the model with an initial assignment .
  3 Comments
Jeremy Huard
Jeremy Huard on 10 Jun 2024
Thanks for this input!
As of R2024a, SimBiology only supports bound constraints, both in the Model analyzer App and programmatically with sbiofit / fitProblem.
That said, if you want more general constraints, you could set up an optimization problem by writing the objective function and constraints using a SimFunction to simulate your SimBiology model and optimproblem to set up the optimization problem.
Best regards,
Jérémy

Sign in to comment.

More Answers (0)

Communities

More Answers in the  SimBiology Community

Categories

Find more on Extend Modeling Environment in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!