ParameterEstimation.jl

ParameterEstimation.jl is a Julia package for estimating parameters and initial conditions of ODE models given measurement data.
Author iliailmer
Popularity
17 Stars
Updated Last
1 Year Ago
Started In
November 2022

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("ParameterEstimation.jl")

or

using Pkg
Pkg.add(url="https://github.com/iliailmer/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);