You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a case where I, instead of writing p1 writes 10^p1. The expressions are equivalent, but the rescaling makes sense in some cases (e.g. in the second case the value cannot be negative). However, the second case causes and error, see the following example:
using StructuralIdentifiability, ModelingToolkit
@parameters k1
@variables t LPd(t) ArBr(t) ArR(t)
D =Differential(t)
measured_quantities = [ArR]
@named ode1 =ODESystem([
D(LPd) ~-k1*ArBr*LPd,
D(ArBr) ~-k1*ArBr*LPd,
D(ArR) ~ k1*ArBr*LPd
], t)
global_id =assess_identifiability(ode1, measured_quantities=measured_quantities) # Works fine.assess_local_identifiability(ode1, measured_quantities=measured_quantities) # Works fine.@named ode2 =ODESystem([
D(LPd) ~-10^k1*ArBr*LPd,
D(ArBr) ~-10^k1*ArBr*LPd,
D(ArR) ~10^k1*ArBr*LPd
], t)
global_id =assess_identifiability(ode2, measured_quantities=measured_quantities) # Throws an error.assess_local_identifiability(ode2, measured_quantities=measured_quantities) # Throws an error.
@TorkelE
Yes, right now we cannot handle expressions which are not rational functions (that is fractions of polynomials), see also #144
This indeed could be one of the simple cases for which we could have a preprocessing step, for now the solution would be to write p1 instead of 10^p1
I have a case where I, instead of writing
p1
writes10^p1
. The expressions are equivalent, but the rescaling makes sense in some cases (e.g. in the second case the value cannot be negative). However, the second case causes and error, see the following example:the error message is:
The text was updated successfully, but these errors were encountered: