Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option for having a known initial condition #237

Closed
TorkelE opened this issue Nov 8, 2023 · 3 comments
Closed

Option for having a known initial condition #237

TorkelE opened this issue Nov 8, 2023 · 3 comments

Comments

@TorkelE
Copy link
Member

TorkelE commented Nov 8, 2023

Currently, StructuralIdentifiability estimates the identifiability of all initial conditions and parameters. If a parameter is known, it is easy to incorporate this through

si_ode = @ODEmodel(
    X1'(t) = p - k1*X1(t),
    X2'(t) = X1(t) -  X2(t),
    y1(t) = X2(t),
    y2(t) = p
)

However, having certain initial conditions being known is very plausible (especially in cases where you set up the experiments yourself, such as in chemistry).

If #236 gets solved (but I have no idea how hard that would be though), this would automatically become possible through:

si_ode = @ODEmodel(
    X1'(t) = p - k1*X1(t),
    X2'(t) = X1(t) -  X2(t),
    y1(t) = X2(t),
    y2(t) = X1(0)
)
@pogudingleb
Copy link
Collaborator

Yes, for generic known initial condition this should be doable, I should work on this at some point. Thanks!

@pogudingleb
Copy link
Collaborator

The functionality to add the known initial conditions (assuming that they are generic) has been added in release 0.5.4 (right now, for @ODEmodel macro only). An example is given in this tutorial

@TorkelE
Copy link
Member Author

TorkelE commented Feb 6, 2024

That's exciting to learn! Thanks :)

@TorkelE TorkelE closed this as completed Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants