Skip to content

Flip functions with states in denominator#409

Open
sumiya11 wants to merge 2 commits intomasterfrom
flip-funcs
Open

Flip functions with states in denominator#409
sumiya11 wants to merge 2 commits intomasterfrom
flip-funcs

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