Skip to main content
Till KTH:s startsida Till KTH:s startsida

DD1354 Models and Simulation 6.0 credits

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. 

Choose semester and course offering

Choose semester and course offering to see current information and more about the course, such as course syllabus, study period, and application information.


For course offering

Spring 2025 modsim25 programme students

Application code


Headings with content from the Course syllabus DD1354 (Spring 2021–) are denoted with an asterisk ( )

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

After passing 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.

Literature and preparations

Specific prerequisites

Completed course in programming equivalent to

Active participation in a course offering where the final examination is not yet reported in LADOK is considered equivalent to completion of the course.

Registering for a course is counted as active participation.
The term 'final examination' encompasses both the regular examination and the first re-examination.

Recommended prerequisites

Courses in analysis in one variable equivalent to SF1625, linear algebra equivalent to SF1624, and numerical methods equivalent to SF1547.


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


  • 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


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 room in Canvas

Registered students find further information about the implementation of the course in the course room in Canvas. A link to the course room can be found under the tab Studies in the Personal menu at the start of the course.

Offered by

Main field of study


Education cycle

First cycle

Add-on studies

No information inserted


Christopher Peters, e-post:

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: