DD1354 Models and Simulation 6.0 credits

Modeller och simulering

This is a course that deals with mathematical models, numerical methods and algorithms for computer simulation. Modelling and simulation is increasingly important in science and technology, and is also used in entertainment such as physics engines for computer games. Basic mathematical models as particle systems and mass-spring system are presented in the form of ordinary differential equations. The course focuses on practical aspects of methods and algorithms, and implementation of these computer programs. The course includes a project where the methods used to model any problem from reality, a scene or build a computer game.

Show course information based on the chosen semester and course offering:

Offering and execution

No offering selected

Select the semester and course offering above to get information from the correct course syllabus and course offering.

Course information

Content and learning outcomes

Course contents *

Basic ideas and concepts: particle models, mass-spring models, ordinary differential equations, stability, systems of non-linear equations.

Algorithms and programming: time-stepping for the solution of a general ordinary differential equation, fixed point iteration, Newton's method.

Intended learning outcomes *

Having passed the course, the student shall be able to

  • formulate particle models and mass-spring models as systems of ordinary differential equations, solution methods for system sof linear and nonlinear equations and general time-stepping methods for the solution of systems of ordinary differential equations
  • design computer programs for computer simulation with ordinary differential equations, initial conditions, time-stepping and stability
  • implement visualisations for computer simulation
  • define and examine a problem with computer simulation, ordinary differential equations, solution methods for system of linear and non-linear equations and/or general time-stepping method for the solution of system of ordinary differential equations and visualise the results.

Course Disposition

No information inserted

Literature and preparations

Specific prerequisites *

For non-program students: general admission requirements

Recommended prerequisites

No information inserted


No information inserted


No information inserted

Examination and completion

If the course is discontinued, students may request to be examined during the following two academic years.

Grading scale *

A, B, C, D, E, FX, F

Examination *

  • LABA - Laboratory work, 2.0 credits, Grading scale: P, F
  • PROA - Project, 3.0 credits, Grading scale: A, B, C, D, E, FX, F
  • TENA - Written exam, 1.0 credits, Grading scale: P, F

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.

The examiner may apply another examination format when re-examining individual students.

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted


Christopher Peters

Ethical approach *

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Further information

Course web

Further information about the course can be found on the Course web at the link below. Information on the Course web will later be moved to this site.

Course web DD1354

Offered by

EECS/Computer Science

Main field of study *


Education cycle *

First cycle

Add-on studies

No information inserted


Christopher Peters, e-post: chpeters@kth.se

Transitional regulations *

Students who took the course 2019 or earlier and need to complete one of the earlier components LAB1 or TEN1 should contact the examiner to obtain a new examination assignment.

Supplementary information

In this course, the EECS code of honor applies, see: