← All workshops

Modelling and Simulation

For engineers and scientists who model dynamic systems.

What you will be able to do

  • Write dynamical models as ordinary differential equations (ODEs) and solve them numerically, and check the results against analytic solutions.
  • Find the equilibria of a system and analyse their local stability, by hand and symbolically.
  • Model systems in discrete time with recurrence equations, and find their fixed points.
  • Simulate discrete-time stochastic processes, and speed the simulations up.
  • Simulate continuous-time stochastic systems with the Gillespie algorithm, and compare them with the deterministic model.
  • Fit a model to data with maximum likelihood.

Prerequisites

Python experience, including NumPy, and basic calculus.

Outline

Duration: 1–2 days, on-site or remote, with exercises.

Six sessions. The worked examples come from ecology, epidemiology and evolution, and the methods apply to any dynamical system.

  1. Continuous-time models: ODEs for growth
  2. Systems of ODEs: equilibria and local stability
  3. Discrete-time models: recurrence equations and their fixed points
  4. Discrete-time stochastic simulation, from pure Python to fast code
  5. Continuous-time stochastic simulation: the Gillespie algorithm
  6. Fitting models to data: maximum likelihood estimation

Sample materials

More in yoavram/ModelsPopBiol.

Related workshops

Contact

Tell me about your team and what you would like them to be able to do. A few lines are enough to start; I will reply to set up a scoping call.

Email Yoav yoav@yoavram.com