Engineering Master Thesis - Project Description

Project Title

Embedded OS and network simulator for the smart grid

(The project is offered in collaboration with Kamstrup)


Q1, Q2, Q3 or Q4


Supervisor: Rune Hylsberg Jacobsen, email:

Co-supervisor: Morten Tranberg Hansen (Kamstrup).


An important aspect of any system development is test. Being able to test a system means that the developer can validate that system performs as intended. In embedded wireless system testing is especially hard due to low visibility and unpredictable environmental effects that may change over time. Unit testing code has proven to be valuable in many circumstances. However, testing individual units of code independently may not cover every aspect of the complete system. This is especially true for wireless embedded systems where their distributed nature lead to heavy parallelism and tight coupling with hardware which makes timing important.

Project scope

The project will be concerned with building an embedded OS and network simulator for the Kamstrup Operating System (KOS). The scope of the project is two-fold. First, a clarification of existing simulation opportunities and technologies for embedded wireless systems needs to be done. This involves surveying the literature and looking into the details of what existing embedded wireless operation systems are doing. Secondly, a specification (or demonstration) of how the best technologies (either existing, own ideas, or combinations hereof) can be integrated into KOS needs to be done. Prototyping the solution is not a requirement but is a good way to prove that it can be done.

Simulator requirements

To get an idea about the simulator we are looking for, here is a list of the most important requirements.
Scalability. The simulator must be able to handle large networks with thousands of nodes running different code with different configurations.
Completeness. The simulator must cover as many system interactions as possible in order to enable simulation of complete applications. This includes the RF network, hardware timers, and reading of a variety of sensors.
Accuracy. The simulator must accurately capture the behavior of the system and implementation. This is especially important with regard to timing. Accurately simulating the implementation means that the simulator must run actual code ready to deploy on real hardware.


  1. TOSSIM The TinyOS simulator
  2. Cooja The Contiki Simulator

For network simulation NS-3 is widely used.


Keywords: Embedded software development, wireless sensor networks, network simulation.

Learning Outcome:


Knowledge of wireless networking, embedded programming and IT systems development.

Return to course webpage.