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.
Application
For course offering
Spring 2025 modsim25 programme students
Application code
60651
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
DD1310/DD1311/DD1312/DD1314/DD1315/DD1316/DD1318/DD1331/DD100N/ID1018.
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.
Equipment
Literature
Examination and completion
If the course is discontinued, students may request to be examined during the following two academic years.
Grading scale
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
Opportunity to raise an approved grade via renewed examination
Examiner
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
Offered by
Main field of study
Education cycle
Add-on studies
Contact
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:
http://www.kth.se/en/eecs/utbildning/hederskodex