Assignments WS 2012/2013

Revision as of 18:42, 6 December 2012 by Oleg.Svatos (talk | contribs) (Blood type)
Jump to: navigation, search

A local restaurant during lunchtime

In the place I live is a restaurant which serves lunches during lunchtime. There are places for 40 visitors, 10 tables, 1 kitchen and 1 bar, 2 waiters, 2 chiefs, 6 items on the lunch menu and 10 items on a beverage menu.

Entities, attributes and constraints:


  • he has to decide what he wants to order (more items on the menu = more time to decide)
  • can order any item from the menu and any item from the beverage menu
  • he's got just 30 minutes for the lunch because he works and his time for the lunch is limited
  • after 30 minutes he's getting angry
  • prefers seat alone at the table (see Table bellow)
  • if the restaurant is crowded (or full) he could be unsatisfied


  • receives orders from visitors
  • put orders to the kitchen
  • serve orders from kitchen to the table (visitor)


  • works in the kitchen
  • prepares lunches
  • the more kinds of lunches, the more time to prepare or cook the lunch


  • provides 1-4 places for visitors
  • they are placed in the restaurant and each of them has different distance from kitchen and bar
  • more tables = more places for seat = more visitors

The simulation goal is to set a real model of the restaurant and try to find a better optimum of menu items/waiters count/cooks count related to customers satisfaction.

Tomas, what's now? :)

Thank you.

Jiří Hradil 10:23, 5 December 2012 (CET)

OK, what simulation tool would you prefer to use for it? Tomáš 11:21, 6 December 2012 (CET)
Sorry Tomas, I'm going to use Netlogo for it. May I understand it that you have accepted the simulation? Thank you. Jiří Hradil 11:33, 6 December 2012 (CET)
I think Simprocess would be much better platform for this. I don't see there enough true "agent" characteristics. If you are willing to make it in Simprocess, it is accepted. Please, try to keep as many real parameters as possible. If you still would prefer NetLogo, please, try to explain what benefit do you see in making it in this tool. Tomáš 14:11, 6 December 2012 (CET)
In Netlogo I can simulate avoiding of waiters if they cross themselves, avoiding guests, compute distances between waiters, tables and kitchen using vectors, simulate walking in space and so on. For example more guests will slow down the restaurant because they can run into others and so on. I think that Simprocess is not a right tool for it because it can't describe reality as it is. I really hope that you trust me that I will do it in the right and proper way. Jiří Hradil 14:26, 6 December 2012 (CET)
All right, but bear in mind that if you stipulate it this way, it means a simulation of agent movement, avoidance, etc. etc. It could be a pretty complex problem with several hidden pitfalls if you want to make it realistic. If it is OK for you, then accepted and good luck.Tomáš 14:58, 6 December 2012 (CET)



--Adam Sedláček (xseda07) 12:09, 30 November 2012 (CET)

As is known, the hive is a community that is very complex and is influenced by both internal and external factors. Therefore, I propose to create a simulation that would examine the influence of internal and external circumstances which influence the hive and the ecosystem in which they live. Especially I mean these factors:

  • Number and distance of flowers and fruit trees to pollinate
  • number of workers and drones in the hive
  • how early beginning / end of summer / winter affect stocks of honey and colony survival
  • how number of workers affect pollination of trees/ flowers and therefore the number of flowers and trees in neighbourhood

How it will work

Workers are responsible for getting food for whole hive and also for pollination of trees and flowers. They are using sun for the orientation and they communicate between themselves. In the beehive there ale drones, which fertilizes Bee´s queen, bee´s queen, which oviposits and the eggs-larvas, which are later transformed to either workers or drones.

Trees/flowers need to be pollinated in order to proliferate. There will be also change of season and different hive behaviour during summer/winter

Method I will use NetLogo to simulate the Hive

OK, sounds interesting. Accepted. Please, identify yourself. Tomáš 22:49, 29 November 2012 (CET)
I am sorry. --Adam Sedláček (xseda07) 12:09, 30 November 2012 (CET)

To vote or not to vote?


--Riccardo Torchio) 15:53, 3/12/2012 (CET)

I want to design a simulation that can show us how people decide if to go to vote or not.

I will create agent with -proximity to a person that can influence the agent -willingness to go to vote -expected result of the vote I can take my conclusion about the threshold value of this 3 variables in this process.

Method i will use NetLogo to simulate the process

Generally it could be a good idea, but you should elaborate it into a greater detail. Since it is a "soft" problem, it is ambiguous. How it will be connected with reality? How you can evaluate your results? What you are going to measure? If you stick to this topic, the best idea would be to find a scientific article or an experiment where similar problem is explored and to design your task accordingly - on its basis.
If you just create what you have suggested, well, you will have a nice NetLogo model. What's the point? Please, think twice about it.
Tomáš 12:16, 4 December 2012 (CET)



--Riccardo Torchio) 18:34, 4/12/2012 (CET)

topic As a second proposal i'm thinking about a simulation of default by a state. My agents will be: - banks -citizens

The news of the dafault could be placed in a randomly around. At this point the agents that enter in contact with the news will run to bank to withdraw theyr money. If someone see queue at the banks will help the process to speed up, entering the queue. I can take some conclusion about the self-fulfilling prophecy of a default by banks and how people react to this news.

Method i will use NetLogo to simulate the process

Bank runs are generally a perfect phenomenon to simulate. I like the idea, however I don't see there a major benefit to make it as agent based simulation particularly in NetLogo. What I would recommend is to wait until you first systems dynamics class (tomorrow I guess) and to try to consider creating it using Vensim. Tomáš 15:08, 6 December 2012 (CET)

Enter the market or not?

I was thinking about a firms competition simulation. A first firm decides to enter the market or not and depending on the choice, the firm already in the market decides to fight or to accommodate the new firm. For example, I could take the example of fast-food in Belgium: the burger king chain could be trying to enter the market and thus the McDonald's chain already present could decide of its behavior.

Wagon Antoine Qantw00 22:10, 3 December 2012 (CET)

Good idea, Antoine, but you should elaborate it into a greater detail. It is too vague so far. What will be the entities, how you will treat products, how you will work with prices, what will be a role of customers...?
I really like the thought, however market simulations are always complicated, because people usually tend to add more and more details. You should imagine, how it should work and find a reasonable and well defined situation what you will simulate.
You can also wait for you systems dynamics class. Perhaps it could be a proper approach for your idea.
Tomáš 12:30, 4 December 2012 (CET)


author --Pilar 10:57, 4 December 2012 (CET)

Subject of simulation

I would like to simulate spread of a disease which would take incubation period (i.e. person is acting as carrier of the disease but doesn't have any symptoms) and immunity into account as suggested in Modelování a siulace komplexních systémů by Radek Pelánek. The simulation will be based on SIRS model of diseases with constant population (simulating period of weeks or months and non-lethal diseases).


To determine influence of relative length of incubation period, duration of disease and duration of immunity on the dynamics of the disease in given population - will any patterns develop, when do more or less people become ill, can the disease die out in given population?


MAS with random contact of agents.

First, I think it was already used in the past, and second: it is better to create your own original assignment. However, you definitely can use it as an inspiration and redefine it into something new, what would be derived from this idea.
Tomáš 21:23, 4 December 2012 (CET)

Blood type

Author --Xmacm45 10:12, 5 December 2012 (CET)

The most importanat blood-group system is ABO system. Its named after 4 blood group:

  • 0
  • A
  • B
  • AB

Each of this group (past 0) where evoluted from "0" type by adding antibodies A, B and combination of both. The system of inheritance blood group have exact rules by accepting one allele from each parent. Because of evolution, the groups are increasing and decreasing the amount of its representative. Id like to predict, based on multi-agent model simulation, the future statistics and possibility of disappearance one of group (0).


Id like to use NetLogo to simulate the evolution of blood groups --Marta Machová 10:19, 5 December 2012 (CET)

I like the idea, however from my point of view systems dynamics with Vensim would be perhaps more convenient tool for this. Oleg, what do you think?Tomáš 11:24, 6 December 2012 (CET)
I think, that the multi-agent approach is more appropriate. As I understand it, this simulation would be simulated by many agents whose property would be the different blood type. So it is not about relations among several entities, but about greater number of entities which randomly meet and create a new entity with possibly different blood type. Oleg.Svatos 18:24, 6 December 2012 (CET)

Landscaping the areas

Landscaping workers create new functional outdoor areas. Their duties include planting bushes, trees, sod, and other forms of vegetation. Requirements of the project: number of planted stocks of trees, bushes etc. (or m2 of planted area). The ideal time to plant trees is early spring before budbreak (number of days or months).

Elements of this model: experienced and new workers, productivity of workers, assimilation rate, planting rate, different overhead parameters (training new workers, weather conditions etc.)

The goal of the simulation: Simulating and testing the model, set the different parameters, comparison of results and finding the optimal solution. I'd like to use as an inspiration model "Brooks’s Law Model".

Simulation environment Vensim --Achatov Igor 14:00, 5 December 2012 (CET)

Fission-fusion society

This form of social organization occurs in several species of primates (chimpanzees, bonobos, ...). These societies change frequently in their size and composition due to changes in their environment and/or due to individual animal dynamics.

Elements of this model: primates, sources of food, predators

The goal of the simulation: Simulating societies and testing how they react to changing conditions (parameters). Also compare model to real life data (behavior of animals/groups, size of groups).

Method NetLogo Xpalj 24 20:15, 5 December 2012 (CET)

OK, it could be... Please, just describe in more detail how the simulation should look and work. Tomáš 15:42, 6 December 2012 (CET)