Guilherme+Santos+Homework

=Chapter 1=

1. My model would have the different existing lines and how many people actually in each line. Each person would have a variable taking into account how many items they are actually buying. And possibly each cashier would have a variable measuring the (time he/she is taking to process each item)/seconds. The exact question my model would address: **what is the best line to go to.** Now if I was a store manager, maybe I'd like to minimize the need for employees while keeping the "satisfaction rate" of my clients not so low. Finally, if I was a store designer, I'd have things like the area into account as well, I'd my model would somehow play with the variations in this area and different scheduling algorithms too.

2. a) Could be an ABM. Each tree would be an agent, they would have variables for their growth rate, to measure how healthy and good they are, etc. The fruit orchard itself would need a variable for the solo conditions and it would need to be divided in such a way that it was possible to determine which part of the land is having its resources taken by which tree, so that the model could answer how far the trees must be **at least** in order to minimize conflicts and maximize the number of trees in the orchard. b) I don't understand much of the domain knowledge, will try again later. c) Could be agent-based. We would have to model the agents that actually use the given road; in this case, the vehicles. The model would play with different lane numbers in order to achieve a desired car **throughput** (say, 500 cars/hour) in the road. d) Could definetely be agent-based. We would model the entire populations of whales in the whole world and how is their life cycle (I mean, births vs. deaths) and then, see introduce into the model a submodel of the harvesting process. Later on, we need to observe if this harvesting is drastically reducing the whales population in a way that there are way more deaths than births over time (and thus, extinction is potentially going to happen after some time). e) With some effort, could be an ABM. If we have each class be an agent which have costs (prerequisites) and the student itself is an agent too (which variables taking account of the classes it has taken as well as another one taking account of how many time - in semesters - has passed since he entered college), we would have our model try different variations of the student's schedule in order to minimize the time. f) Very similar to the whales example. g) The model would have agents such as clients, the government and the banks themselves, and we would have the model run for a while in order to find out the best optimal value that minimize bank failures. There would be several submodels mirroring processes that happen along the way, such as clients depositing/withdrawing cash, banks making investments, etc. h) We would model the Saxon Airlines clients and their demands, as well as the the airports (which impose a limit in the number of flights they can receive, as well as other limitations). We would also model the expenses each flight imply to the company as well as how much should they charge for a ticket in order to ensure the flights are always almost filled (with no empty spots in the plane) and that price would be the maximum price the clients are willing to pay. i) A different model would be required than in the previous example. Some of the agents would be the same, but some of the processes are unnecessary, such as the price each customer is paying for a ticket. The model`s "scope" would be wider than the previous one, as now it would take into account other Airlines as well (and not only Saxon Airlines). j) We would mainly model the customers, and their interests (they could be interested in both movies), as well as the acceptance of each movie by the critics and in the media (possibly including social networks, as well). Indirectly, we would be figuring out which would make the most money. k)

=Chapter 2=

=> Version developed by following instructions along the chapter. => Version improved by implementing modifications suggested in the chapter's exercises.

=Chapter 3=

ODD for problem in **Chapter 1 - 2e**. The whales harvesting impact. Purpose: Find out if small harvesting of whales are conceivably allowed; they should not bring the whole whale population to extinction. Entities: Whales, fish and other sources of food for the whales, and later on, the whale hunters State variables: amount of food provided by each food source, amount of "life" of each whale, the "energy" of the hunters Scales: time is passing in a daily basis, we see the world from a very far POV, 100.000 feet high Processes: Whales reproduction, whales hunting for food, the fish is trying to run away from the whales as well, the harvesting process of the hunters Objectives: Learning the impact of introducing small harvesting practice into the Whales Birth vs. Whales Death balance, so that we can analyze and judge whether that practice is prejudicial (a.k.a will eventually bring the whole Whale's population to extinction). We set some "clusters" of whales around the world and some "clusters" of fish around the world as well. The fish moves along in groups, mirroring what they do in practice, so each group of fish can be seen as one unit in the model. After some time, the model introduces the hunters that will begin the small harvesting practice.
 * Overview:**
 * Design:**
 * Details:**

=Chapter 4=

=> Version developed by following instructions along the chapter, and also includes modifications suggested in the chapter's exercises.

1. q=0, the butterflies move randomly across the field, no matter the elevation. q=1, the butterflies all go straight to the hilltop in a linear trajectory.

3. Yes, they are very artificial, because our world itself is very artificial - this kind of linear hill is what makes the movement of the butterflies seem linear as well.

4. They seem way more natural, mainly because the world seems more natural as well.

=Chapter 5=

with new "q" slider reporting corridor width; also each turtle now stops if reaches local hilltop with plotting implemented and reading input from topography file

2. Done: with a switch for disabling turtle drawing it's path (no-pen)

3. I don't know

4. Because of NetLogo itself. The "move-to one-of neighbors" won't let a turtle move to a patch that is in the other side of the World if wrapping is turned off, and thus, they will never get out of bounds.

5. 0.4 <= q <= 0.6

Paused here to address the 3D functionality.

=**Team 'Awesome' Airport Model**=

NetLogo model: [currently only contains FCFS implemented and there is no process for arriving planes. The model is pretty flexible in the sense that you can set how many gates you want and the number of total planes to begin with (which are just distributed evenly to each existing gate)].

=New Version of Airport Model=



Made quite a few changes. Now the model only contains FCFS with different kinds of subpolicies. Reasons are stated in the file itself. The policy is to assign the next available slot to whoever arrives first into the airport. A model with Lottery mechanism would require a different arrival process (e.g. all planes that are supposed to arrive in a given day will have slots assigned.)