This model attempts to simulate food consumption. Agents evaluate two kinds of food (healthy and unhealthy) at different prices ( more healthy and more expensive) with a fixed budget for each agent. There are some stores in the world that sell food that are healthy and unhealthy. Healthy food stores are colored green, and unhealthy food stores are colored red. Each agent has a metabolism threshold that triggers the need to search for food; when this threshold is reached, the turtle changes its color to yellow. When the metabolism is 0, the turtle does not die but remains stacked. The turtle decides what type of food to eat based on a food-preference property (0 healthy, 1 unhealthy), the shorter distance to any store, and if the food price could be afforded. In this version, the choice algorithm is a simple one, simply adding the property values and the winner is the choiced option (i.e., a turtle with a food preference for healthy food, but a shorter distance to an unhealthy store and a budget lower than healthy food will choose unhealthy food). If yo want to try it please click here
Modelo en NetLogo de elección en el consumo de alimentos saludables y no saludabes
por
Etiquetas: