We aim at understanding typical system behaviours (interactions of state variables, steady states, etc.).
Models allow us to …
study arbitrary scenarios,
quickly and repeatedly,
at no cost,
without killing organisms or producing waste.
Motivations 2
Data from experiments / monitoring reflect many simultaneous processes. Such data are subject to “noise” (stochastic events, measurement errors).
Model help to disentangle the effects of individual processes.
Motivations 3
Models can be used in “forward mode” to predict future states and to study resilience.
Models help solving “inverse problems” concerned with the estimation of quantities (e.g. parameters) which cannot be observed directly.
Our approach to ODE modeling
Figure 1: Modeling workflow using the “rodeo” R package.
Towards more complex systems
So far, we studied “well-behaved” systems exposed to simple and constant boundary conditions.
For a particular set of parameters, those systems converged to a unique steady state solution.
Many real-world systems are more complex internally (more variables and interactions). They are also exposed to time-varying external forcings.
Such systems exhibit additional phenomena like, e.g., oscillations, multiple steady states, hysteresis…
Towards more complex systems
In subsequent lessons, we study the behaviour of particular systems of interest.
With regard to formal mathematical analysis, we will only scratch the surface.
All example models are provided as rodeo-compatible worksheets.
State space & attractors
State space (or phase space)
The current state of a system can be regarded as a point in the so-called state space (or phase space).
The number of dimensions of the state space equals the number of state variables.
Consider a bacterial culture in a continuous flow stirred tank reactor: The two dimensions are bacterial biomass and substrate concentration.
Attractors
We already looked at systems converging towards a steady state when external forcings remain constant. Such points in state space toward which a system tends to evolve are called attractors.
Attractors are like magnets. If the the initial state of a system is close enough to the attractor, future states are pulled toward that point (or shape) in state space.
The region around the attractor where the apparent magnetic force is noticeable is a basin of attraction.
Attractor plot for bioreactor
rm(list=ls())library("rodeo")# load bioreactor model (adjust path as necessary)m <-buildFromWorkbook("models/Ecoli.xlsx")# create initial states scenariosset.seed(42) # reproducible resultsn <-25# number of scenariosscen <-data.frame( # random points in state spaceEcoli=10^runif(n, min=5, max=8),LB=10^runif(n, min=-4, max=-1))scen <-apply(scen, 1, function(x){x}, simplify=F) # save as listnames(scen) <-paste0("scen",1:length(scen)) # names needed
Fixed point attractors: A particular point in state space (see example).
Limit cycles: A closed trajectory in state space. Other trajectories starting at closeby positions spiral into that closed tracectory as time passes. Usually connected to systems with stable oscillations.
Types of attractors (selection)
Strange attractors: If the attractor cannot be described by a simple geometric shape (e.g. a point, line, surface, or sphere), it is called “strange”.
Strange attractors are usually related to systems whose dynamics are hard to predict, because the solution is extremely sensitive to perturbations.