Skip to content

ParameterEstimation.jl is a Julia package for estimating parameters and initial conditions of ODE models given measurement data.

License

Notifications You must be signed in to change notification settings

iliailmer/ParameterEstimation.jl

Repository files navigation

ParameterEstimation.jl

Tests Documentation

GitHub release GitHub stars

Symbolic-Numeric package for parameter estimation in ODEs

Installation

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")

Toy Example

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);