Skip to content

Flip functions with states in denominator #409

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

sumiya11
Copy link
Collaborator

@sumiya11 sumiya11 commented May 16, 2025

Before:

using StructuralIdentifiability
ode =  @ODEmodel(
                   x1'(t) = -b * x1(t) + 1 / (c + x4(t)),
                   x2'(t) = alpha * x1(t) - beta * x2(t),
                   x3'(t) = gama * x2(t) - delta * x3(t),
                   x4'(t) = sigma * x4(t) * (gama * x2(t) - delta * x3(t)) / x3(t),
                   y(t) = x1(t)
               )
find_identifiable_functions(ode, with_states=true)
#=
 ...
 (alpha*gama)//x3(t)
 (x2(t)*gama - x3(t)*delta)//x3(t)
=#

This PR:

#=
 ...
 x3(t)//(alpha*gama)
 (x2(t)*gama - x3(t)*delta)//x3(t)
=#

I did not run/add tests yet, let us see CI results.

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

Successfully merging this pull request may close these issues.

1 participant