Symbolic-Numeric package for parameter estimation in ODEs
Currently is installable via
using Pkg
Pkg.add(url="https://github.com/orebas/ParameterEstimation.jl")
The production version of this fork is installable via
using Pkg
Pkg.add("ParameterEstimation.jl")
using ParameterEstimation
using ModelingToolkit
# Input:
# -- Differential model
@parameters mu
@variables t x(t) y(t)
D = Differential(t)
@named Sigma = ODESystem([D(x) ~ -mu * x],
t, [x], [mu])
outs = [y ~ x^2 + x]
# -- Data
data = Dict(
"t" => [0.000, 0.333, 0.666, 1.000],
x^2 + x => [2.000, 1.563, 1.229, 0.974])
# Run
res = estimate(Sigma, outs, data);