Difference between revisions of "Assignments WS 2012/2013"

From Simulace.info
Jump to: navigation, search
(Pizza Delivery service in a town)
Line 1: Line 1:
 
''Add your proposals to this page. Do not forget to sign your content. You can use <nowiki>~~~~</nowiki> (four tildas) to sign your post automatically. Use ''Show preview'' to check your content until you decide to send the post finally.''
 
''Add your proposals to this page. Do not forget to sign your content. You can use <nowiki>~~~~</nowiki> (four tildas) to sign your post automatically. Use ''Show preview'' to check your content until you decide to send the post finally.''
 +
 +
 +
{{Ambox
 +
| text  = <div>
 +
Please, try to formulate the assignment carefully. It is your semestral paper, so considerble effort invested into the assignment is expected. Bear in mind that a research report is your main output, thus your model should provide figures that are specific, measurable and verifiable enough. Think carefully about the way you will create your model, derive entities you will use, draw a sketch of the model, estimate what you will measure. When you have a good notion about the model, submit your assignment. And of course, do not forget to read [[How to deal with the simulation assignment]].
 +
</div>
 +
}}
 +
  
 
== War of the Elves ==
 
== War of the Elves ==
Line 37: Line 45:
  
 
Thank you, [[User:Jirihradil|Jiří Hradil]] 22:34, 4 December 2012 (CET)
 
Thank you, [[User:Jirihradil|Jiří Hradil]] 22:34, 4 December 2012 (CET)
 +
 +
:OK, it could be a nice problem, however you should redefine it a bit in order to generate results that could be used in a research paper. This way you simply come to certain numbers that are completely artificial. I would recommend: forget NetLogo or any other specific platform. Think about '''the problem''', no matter how you will solve it. You want to solve a problem of an optimum distribution of pizza restaurants in the city according to planned delivery times. Not for an artificial space, but for Prague, let's say.  Perfect! How to... There are many ways. Of course, you can for example implement a map of Prague and create a whole traffic model. It would be great however perhaps prohibitively complex. What are your other options? What about simplifying the map into several points with defined distances. It could be much more doable then... Distances need not to be defined as spatial, but temporal and could change during the day... Etc. etc. What are other options?
 +
:Try to think this way in order to come to something what could be really useful eventually.
 +
:[[User:Tomáš|Tomáš]] 00:42, 5 December 2012 (CET)
  
 
== Hive ==
 
== Hive ==
Line 124: Line 136:
 
MAS with random contact of agents.
 
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 inspiration and redefine it into something new, what would be derived from this idea.
+
: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.
 
:[[User:Tomáš|Tomáš]] 21:23, 4 December 2012 (CET)
 
:[[User:Tomáš|Tomáš]] 21:23, 4 December 2012 (CET)

Revision as of 00:42, 5 December 2012

Add your proposals to this page. Do not forget to sign your content. You can use ~~~~ (four tildas) to sign your post automatically. Use Show preview to check your content until you decide to send the post finally.



War of the Elves

I would like to simulate a war between two kinds of Elves - The Black Race and the White Race. Every army has these kinds of soldiers:

  • a warrior - armed with a sword, health 10, strength 5
  • an archer - armed with a bow, health 5, strength 10
  • a wizard - no weapon but can cast a spell for healing any injured warrior or archer on his side, health 10, strength 1

The screen will be splitted to 2 parts. Each part of the screen has the army and soldiers of the army are going to the center of the screen. When they meet the soldier of the other army they will fight. The result of the fight is a random number multiplied by strength and health of each soldier. In every turn, wizard of each side will heal random soldier who is injured. The wizard can be killed by enemy soldier.

At the end only one side can win the battle. Using switches we can set a number of soldier's kind for each side. For example we can set 5 wizards, 10 warriors and 10 archers for The White Race and 1 wizard, 20 warriors and 20 archers for The Black Race.

So what do you think?

Jirihradil 20:09, 3 December 2012 (CET)

Jirka, it could be a nice game, but what it is good for? What will be the goal of your research? Don't forget that the main point is not to create a NetLogo or whatever model. The main point is to set up a problem and to solve it using a simulation software.
Tomáš 12:21, 4 December 2012 (CET)

Hi Tomas, OK, next attempt. BTW Just for training reasons I have completed the model of the war yesterday so I'll send it to you (just for take a look) because it's really funny :).

What about:

Pizza Delivery service in a town

The whole screen is a town and every patch is a potential customer. Pizza delivery restaurant is placed somewhere in the town. When the customer (random patch) order a pizza, delivery boy will start the delivery. Customer will wait just for a limited time. When the time (for example 100 ticks) is gone pizza is for free for him and we (the restaurant) will loose money. The goal of the simulation is to set minimum number of restaurants, employees, delivery boys, earn money and minimize unsatisfied customers.

Optional enhancements:

  • a delivery boy has a slot so he can delivery more pizzas at the same time
  • we can build a new restaurant in the town using a button while the simulation is running
  • a delivery boy try to optimize his delivery of pizzas using distance between vectors computation
  • we can set a random number of barriers when the city is built so delivery boy has to bypass the barrier (like Robot Karel - try to turn left, make step and so on, you know :)

Is it better?

Thank you, Jiří Hradil 22:34, 4 December 2012 (CET)

OK, it could be a nice problem, however you should redefine it a bit in order to generate results that could be used in a research paper. This way you simply come to certain numbers that are completely artificial. I would recommend: forget NetLogo or any other specific platform. Think about the problem, no matter how you will solve it. You want to solve a problem of an optimum distribution of pizza restaurants in the city according to planned delivery times. Not for an artificial space, but for Prague, let's say. Perfect! How to... There are many ways. Of course, you can for example implement a map of Prague and create a whole traffic model. It would be great however perhaps prohibitively complex. What are your other options? What about simplifying the map into several points with defined distances. It could be much more doable then... Distances need not to be defined as spatial, but temporal and could change during the day... Etc. etc. What are other options?
Try to think this way in order to come to something what could be really useful eventually.
Tomáš 00:42, 5 December 2012 (CET)

Hive

author

--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?

author

--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)

Default

author

--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

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)

Disease

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).

Objectives

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?

Method

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)