breed [ adults adult ] globals [ wise_infect_know wise_sane_know cimitery total_infect_know total_sane_know num bar_sane_know bar_infect_know cinema_sane_know cinema_infect_know hospital_sane_know hospital_infect_know nursery pharmacy_sane_know pharmacy_infect_know aa total maxwealth minwealth current_adults street_diffusion birth_yes newlife days state_charge season what_season virus_attack max_age min_age medium_age total_age] turtles-own [ out_of_hospital cure_probability age where sane_know infect_know place house infect wealth ] to setup ca foreach (n-values 8 [ ? ]) [ ask (patch 1 (2 * ? + 1) ) [ set pcolor yellow set plabel (?)]] foreach (n-values 8 [ ? ]) [ ask (patch 15 (2 * ? + 1) ) [ set pcolor yellow set plabel (? + 8)] ] ask patch 4 14 [set pcolor green] ask patch 5 14 [set pcolor green] ask patch 6 14 [set pcolor green] ask patch 4 13 [set pcolor green] ask patch 5 13 [set pcolor green] ask patch 6 13 [set pcolor green] ask patch 4 12 [set pcolor green] ask patch 5 12 [set pcolor green] ask patch 6 12 [set pcolor green set plabel "pharmacy" ] ask patch 1 16 [ set plabel "homes" ] ask patch 4 10 [set pcolor violet] ask patch 5 10 [set pcolor violet] ask patch 6 10 [set pcolor violet] ask patch 4 9 [set pcolor violet] ask patch 5 9 [set pcolor violet] ask patch 6 9 [set pcolor violet] ask patch 4 8 [set pcolor violet] ask patch 5 8 [set pcolor violet] ask patch 6 8 [set pcolor violet set plabel "bar"] ask patch 10 10 [set pcolor grey] ask patch 11 10 [set pcolor grey] ask patch 12 10 [set pcolor grey] ask patch 10 9 [set pcolor grey] ask patch 11 9 [set pcolor grey ] ask patch 12 9 [set pcolor grey] ask patch 10 8 [set pcolor grey] ask patch 11 8 [set pcolor grey] ask patch 12 8 [set pcolor grey set plabel "cinema"] ask patch 10 14 [set pcolor blue] ask patch 11 14 [set pcolor blue] ask patch 12 14 [set pcolor blue] ask patch 10 13 [set pcolor blue] ask patch 11 13 [set pcolor blue ] ask patch 12 13 [set pcolor blue] ask patch 10 12 [set pcolor blue] ask patch 11 12 [set pcolor blue] ask patch 12 12 [set pcolor blue set plabel "hospital" ] set-default-shape adults "person" create-ordered-adults initial_adults ask adults [ set color 19 setxy 8 3 forward 2 set infect "no" set wealth starting_wealth set sane_know 0 set infect_know 0 set age random 30 set out_of_hospital 0 ] set maxwealth max [wealth] of turtles set minwealth min [wealth] of turtles set wise_infect_know 0 set wise_sane_know 0 set cimitery 0 set street_diffusion 0 set days 0 set current_adults initial_adults set newlife 0 do-plots1 do-plots2 do_plots3 find_house end to day go ask adults with [place = 0] [move-to one-of patches with [pcolor = grey] if living_cost = "low" [ set wealth (wealth - 8)] if living_cost = "avarage" [ set wealth (wealth - 10)] if living_cost = "high" [ set wealth (wealth - 12)]] set num count adults with [(distancexy 12 8) < 3 and (infect = "yes")] if num != 0 [foreach ( n-values int (num / cinema_cleanliness) [ ? ]) [ask one-of adults with [(distancexy 12 8) < 3] [set infect "yes" set color 17]]] ask adults with [place = 1] [move-to one-of patches with [pcolor = violet] if living_cost = "low" [ set wealth (wealth - 5)] if living_cost = "avarage" [ set wealth (wealth - 8)] if living_cost = "high" [ set wealth (wealth - 10)]] set num count adults with [(distancexy 4 8) < 3 and (infect = "yes")] if num != 0 [foreach ( n-values int (num / bar_cleanliness) [ ? ]) [ask one-of adults with [(distancexy 4 8) < 3] [set infect "yes" set color 17]]] set num 0 ask adults with [place = 3] [ move-to one-of patches with [pcolor = green ] if color < 19 [ set color 19 set infect "no"] if living_cost = "low" [ set wealth (wealth - 9) set wealth (wealth + 9 * health_care / 100) set state_charge (state_charge + 9 * health_care / 100)] if living_cost = "avarage" [ set wealth (wealth - 10) set wealth (wealth + 10 * health_care / 100) set state_charge (state_charge + 10 * health_care / 100)] if living_cost = "high" [ set wealth (wealth - 11) set wealth (wealth + 11 * health_care / 100) set state_charge (state_charge + 11 * health_care / 100)]] contact birth set aa count adults if aa > 0 [set maxwealth max [wealth] of turtles set minwealth min [wealth] of turtles ] do-plots1 do-plots2 do_plots3 end to birth ifelse newlife = 0 [] [ set birth_yes int((newlife * birth_probability)/ 100) set nursery nursery + birth_yes set current_adults (current_adults + birth_yes) create-adults birth_yes [move-to one-of patches with [pcolor = blue] set sane_know 0 set infect_know 0 set age 0 set color 19 set infect "no" set house random 16 set wealth starting_wealth]] set newlife 0 do-plots1 do-plots2 do_plots3 end to go ask adults [set cure_probability random 100 if age < 10 [ifelse cure_probability < 15 [move-to one-of patches with [pcolor = blue] set cimitery ( cimitery + 1) set current_adults (current_adults - 1) set wise_infect_know (wise_infect_know + infect_know * 0.5) set wise_sane_know (wise_sane_know + sane_know * 0.5) set shape "x" set state_charge (state_charge - wealth / 2) die] [set out_of_hospital 1]] if age > 10 and age <= 20 [if cure_probability <= 80 [set out_of_hospital 1 set newlife (newlife + 1 ) ifelse wealth > 15 [set wealth (wealth - 10)] [set state_charge (state_charge + 10)]] if (cure_probability > 80) and (cure_probability <= 90) and (infect = "yes") [set infect "no" set color 19 if living_cost = "low" [ set wealth (wealth - 4) set wealth (wealth + 4 * health_care / 100) set state_charge (state_charge + 4 * health_care / 100)] if living_cost = "avarage" [ set wealth (wealth - 7) set wealth (wealth + 7 * health_care / 100) set state_charge (state_charge + 7 * health_care / 100)] if living_cost = "high" [ set wealth (wealth - 13) set wealth (wealth + 13 * health_care / 100) set state_charge (state_charge + 13 * health_care / 100)]] if cure_probability > 90 [move-to one-of patches with [pcolor = blue] set cimitery ( cimitery + 1) set current_adults (current_adults - 1) set wise_infect_know (wise_infect_know + infect_know * 0.5) set wise_sane_know (wise_sane_know + sane_know * 0.5) set state_charge (state_charge - wealth / 2 ) set shape "x" die]] if age > 20 and age <= 30 [if cure_probability <= 50 [set newlife (newlife + 1 ) ifelse wealth > 10 [set wealth (wealth - 5)] [set state_charge (state_charge + 5)]] if (cure_probability > 50) and (cure_probability <= 60) and (infect = "yes") [set infect "no" set color 19 if living_cost = "low" [ set wealth (wealth - 4) set wealth (wealth + 4 * health_care / 100) set state_charge (state_charge + 4 * health_care / 100)] if living_cost = "avarage" [ set wealth (wealth - 7) set wealth (wealth + 7 * health_care / 100) set state_charge (state_charge + 7 * health_care / 100)] if living_cost = "high" [ set wealth (wealth - 13) set wealth (wealth + 13 * health_care / 100) set state_charge (state_charge + 13 * health_care / 100)]] if (cure_probability > 60) and (cure_probability <= 75) [move-to one-of patches with [pcolor = blue] set cimitery ( cimitery + 1) set current_adults (current_adults - 1) set wise_infect_know (wise_infect_know + infect_know * 0.5) set wise_sane_know (wise_sane_know + sane_know * 0.5) set state_charge (state_charge - wealth / 2) set shape "x" die] if cure_probability > 75 [set out_of_hospital 1]] if age > 30 [ifelse cure_probability <= 80 [move-to one-of patches with [pcolor = blue] set state_charge (state_charge - wealth / 2 ) set wise_infect_know (wise_infect_know + infect_know * 0.5) set wise_sane_know (wise_sane_know + sane_know * 0.5) set cimitery ( cimitery + 1) set current_adults (current_adults - 1) set shape "x" die] [set out_of_hospital 1]]] ask adults with [out_of_hospital = 1] [set where random 100 if infect = "yes" [ ifelse where > (66 - infect_know) [set place 3] [set place random 2]] if infect = "no" [ ifelse where > (66 + sane_know) [set place 3] [set place random 2]]] if knowledge [ask adults with [out_of_hospital = 1] [if infect = "yes" and place = 3 [ifelse news_share_mode = "fast" [set infect_know (infect_know + 1) ] [set infect_know (infect_know + 0.5) ]] if infect = "no" and place != 3 [ if news_share_mode = "fast" [set sane_know (sane_know + 1) ] if news_share_mode = "slow" [set sane_know (sane_know + 0.5) ]]]] end to contact set pharmacy_sane_know 0 set pharmacy_infect_know 0 set bar_sane_know 0 set bar_infect_know 0 set cinema_sane_know 0 set cinema_infect_know 0 set hospital_sane_know 0 set hospital_infect_know 0 set num 0 if news_share [ set num count adults with [(distancexy 4 14) < 3] if num != 0 [ask adults with [(distancexy 4 14) < 3] [set total_sane_know ( total_sane_know + sane_know) set total_infect_know ( total_infect_know + sane_know)] set pharmacy_sane_know ( total_sane_know / num ) set pharmacy_infect_know ( total_infect_know / num ) ask adults with [(distancexy 4 14) < 3 and age > 10] [ set sane_know ( sane_know * personal_experience + pharmacy_sane_know * crowd_experience + wise_sane_know * wise_experience) set infect_know ( infect_know * personal_experience + pharmacy_infect_know * crowd_experience + wise_infect_know * wise_experience) ]] set num 0 set total_sane_know 0 set total_infect_know 0 set num count adults with [(distancexy 12 14) < 3] if num != 0 [ask adults with [(distancexy 12 14) < 3] [set total_sane_know ( total_sane_know + sane_know) set total_infect_know ( total_infect_know + sane_know)] set hospital_sane_know ( total_sane_know / num ) set hospital_infect_know ( total_infect_know / num ) ask adults with [(distancexy 12 14) < 3 and age > 10] [ set sane_know ( sane_know * personal_experience + hospital_sane_know * crowd_experience + wise_sane_know * wise_experience) set infect_know ( infect_know * personal_experience + hospital_infect_know * crowd_experience + wise_infect_know * wise_experience) ]] set num 0 set total_sane_know 0 set total_infect_know 0 set num count adults with [(distancexy 4 8) < 3] if num != 0 [ask adults with [(distancexy 4 8) < 3][set total_sane_know ( total_sane_know + sane_know) set total_infect_know ( total_infect_know + sane_know)] set bar_sane_know ( total_sane_know / num ) set bar_infect_know ( total_infect_know / num ) ask adults with [(distancexy 4 8) < 3 and age > 10] [ set sane_know ( sane_know * personal_experience + bar_sane_know * crowd_experience + wise_sane_know * wise_experience) set infect_know ( infect_know * personal_experience + bar_infect_know * crowd_experience + wise_infect_know * wise_experience) ]] set num 0 set total_sane_know 0 set total_infect_know 0 set num count adults with [(distancexy 12 8) < 3] if num != 0 [ ask adults with [(distancexy 12 8) < 3] [set total_sane_know ( total_sane_know + sane_know) set total_infect_know ( total_infect_know + sane_know)] set cinema_sane_know ( total_sane_know / num ) set cinema_infect_know ( total_infect_know / num ) ask adults with [(distancexy 4 8) < 3 and age > 10][ set sane_know ( sane_know * personal_experience + cinema_sane_know * crowd_experience + wise_sane_know * wise_experience) set infect_know ( infect_know * personal_experience + cinema_infect_know * crowd_experience + wise_infect_know * wise_experience) ]] set num 0 set total_sane_know 0 set total_infect_know 0] end to street ask adults [setxy random-pxcor random-pycor] ask patch 4 4 [ask adults in-radius 3 [if infect = "yes" [ set street_diffusion (street_diffusion + 1)]] foreach ( n-values int (street_diffusion * 10 / 100) [ ? ]) [ask one-of adults in-radius 3 [set infect "yes" set color 17]]] set street_diffusion 0 ask patch 4 13 [ask adults in-radius 3 [if infect = "yes" [ set street_diffusion (street_diffusion + 1)]] foreach ( n-values int (street_diffusion * 10 / 100) [ ? ]) [ask one-of adults in-radius 3 [set infect "yes" set color 17]]] set street_diffusion 0 ask patch 13 4 [ask adults in-radius 3 [if infect = "yes" [ set street_diffusion (street_diffusion + 1)]] foreach ( n-values int (street_diffusion * 10 / 100) [ ? ]) [ask one-of adults in-radius 3 [set infect "yes" set color 17]]] set street_diffusion 0 ask patch 13 13 [ask adults in-radius 3 [if infect = "yes" [ set street_diffusion (street_diffusion + 1)]] foreach ( n-values int (street_diffusion * 10 / 100) [ ? ]) [ask one-of adults in-radius 3 [ set infect "yes" set color 17]]] set street_diffusion 0 do-plots1 do-plots2 end to night find_house foreach ( n-values 16 [ ? ])[ ask adults [if house = ( ?) [ move-to one-of patches with [plabel = ?]]]] ask adults [set out_of_hospital 0] end to find_house ask adults[set house random 16] end to virus set current_adults (count adults) foreach ( n-values int (virus_strength * current_adults / 100) [ ? ]) [ask one-of adults [set infect "yes" set color 18]] end to daily_salary ask adults[if infect ="no" and living_cost = "low" [ set wealth (wealth + 5) ] if infect ="no" and living_cost = "avarage" [ set wealth (wealth + 10)] if infect ="no" and living_cost = "high" [ set wealth (wealth + 15)]] ifelse total = 0 [][set maxwealth max [wealth] of turtles ] ifelse total = 0 [][set minwealth min [wealth] of turtles ] end to tax crt 1 [set color blue set shape "face sad" set size 5 setxy 8 3] while [state_charge > 0] [ask-concurrent adults with-max [wealth] [set wealth (wealth - 1 ) set state_charge (state_charge - 1) ] set maxwealth max [wealth] of turtles set minwealth min [wealth] of turtles do-plots1] ask turtles with [shape = "face sad"] [die] ifelse total = 0 [][set maxwealth max [wealth] of turtles ] ifelse total = 0 [][set minwealth min [wealth] of turtles ] do-plots1 do-plots2 end to do-plots1 set-current-plot "rich vs. poor" set-current-plot-pen "maxwealth" plot maxwealth set-current-plot-pen "minwealth" plot minwealth end to do-plots2 set-current-plot "sane vs. infect" set-current-plot-pen "infect" plot count adults with[infect = "yes"] set-current-plot-pen "sane" plot count adults with[infect = "no"] set-current-plot-pen "totals" plot count adults end to do_plots3 set-current-plot "age" set total_age 0 ask adults [set total_age (total_age + age)] set current_adults count adults if current_adults = 0 [stop] set medium_age (total_age / current_adults) set-current-plot-pen "medium age" plot medium_age set max_age max [age] of turtles set min_age min [age] of turtles set-current-plot-pen "min age" plot min_age set-current-plot-pen "max age" plot max_age end to daybyday street night street day daily_salary do-plots1 do-plots2 do_plots3 ask adults [set age (age + 1)] set what_season days mod 40 if what_season <= 10 [set season "autumn" if virus_attack <= 5 [virus]] if what_season > 10 and what_season <= 20 [set season "hiver" if virus_attack <= 3 [virus]] if what_season > 20 and what_season <= 30 [set season "spring" if virus_attack <= 5 [virus]] if what_season > 30 and what_season <= 40 [set season "summer" if virus_attack <= 3 [virus]] set days (days + 1) if days mod 50 = 0 [tax] if aa = 0 [stop] end @#$#@#$#@ GRAPHICS-WINDOW 431 10 781 381 -1 -1 20.0 1 10 1 1 1 0 1 1 1 0 16 0 16 0 0 1 ticks CC-WINDOW 5 559 1126 654 Command Center 0 BUTTON 20 22 83 55 NIL setup\n NIL 1 T OBSERVER NIL NIL NIL NIL SLIDER 156 23 294 56 initial_adults initial_adults 0 100 42 1 1 adults HORIZONTAL SLIDER 167 225 288 258 virus_strength virus_strength 0 100 20 1 1 NIL HORIZONTAL BUTTON 19 225 100 258 NIL virus NIL 1 T OBSERVER NIL NIL NIL NIL MONITOR 93 115 161 160 num_infect count adults with [infect = \"yes\"] 17 1 11 MONITOR 176 114 246 159 num_sane count adults with [infect = \"no\"] 17 1 11 MONITOR 20 114 74 159 total count adults 17 1 11 SLIDER 19 173 123 206 bar_cleanliness bar_cleanliness 1 3 2 1 1 NIL HORIZONTAL BUTTON 86 22 154 55 NIL daybyday T 1 T OBSERVER NIL NIL NIL NIL SLIDER 279 280 395 313 starting_wealth starting_wealth 0 100 3 1 1 NIL HORIZONTAL CHOOSER 165 281 257 326 living_cost living_cost "low" "avarage" "high" 2 MONITOR 304 19 363 64 NIL days 17 1 11 SLIDER 18 342 149 375 health_care health_care 0 100 50 1 1 NIL HORIZONTAL MONITOR 21 59 115 104 state charge int state_charge 17 1 11 SLIDER 17 281 149 314 birth_probability birth_probability 0 100 79 1 1 NIL HORIZONTAL BUTTON 168 343 254 376 NIL tax NIL 1 T OBSERVER NIL NIL NIL NIL PLOT 20 394 369 544 rich vs. poor time wealth 0.0 10.0 0.0 10.0 true true PENS "maxwealth" 1.0 0 -16777216 true "minwealth" 1.0 0 -2674135 true MONITOR 128 62 201 107 NIL maxwealth 17 1 11 PLOT 404 395 738 545 sane vs. infect time number 0.0 10.0 0.0 10.0 true true PENS "default" 1.0 0 -16777216 true "sane" 1.0 0 -16777216 true "infect" 1.0 0 -2674135 true "totals" 1.0 0 -2064490 true MONITOR 210 62 279 107 minwealth minwealth\n 17 1 11 CHOOSER 933 197 1039 242 news_share_mode news_share_mode "fast" "slow" 0 SWITCH 803 195 926 228 news_share news_share 0 1 -1000 SWITCH 801 249 915 282 knowledge knowledge 0 1 -1000 MONITOR 806 28 921 73 pharmacy knowledge pharmacy_sane_know 17 1 11 MONITOR 931 28 1046 73 bar knowledge bar_sane_know 17 1 11 MONITOR 805 84 921 129 cinema knowledge cinema_sane_know 17 1 11 MONITOR 932 86 1047 131 hospital knowledge hospital_sane_know 17 1 11 MONITOR 262 115 319 160 cimitery cimitery 17 1 11 SLIDER 801 291 938 324 personal_experience personal_experience 0 1 1 0.1 1 NIL HORIZONTAL SLIDER 801 334 938 367 wise_experience wise_experience 0 1 1 0.1 1 NIL HORIZONTAL SLIDER 951 334 1078 367 crowd_experience crowd_experience 0 1 1 0.1 1 NIL HORIZONTAL MONITOR 804 141 904 186 wise knowledge wise_sane_know 17 1 11 SLIDER 168 177 289 210 cinema_cleanliness cinema_cleanliness 1 5 4 1 1 NIL HORIZONTAL MONITOR 366 18 423 63 season season 17 1 11 MONITOR 338 116 395 161 nursery nursery 17 1 11 PLOT 784 395 1117 545 age time age 0.0 10.0 0.0 10.0 true true PENS "medium age" 1.0 0 -16777216 true "min age" 1.0 0 -2064490 true "max age" 1.0 0 -13791810 true @#$#@#$#@ WHAT IS IT? The model shows the diffusion of a virus and its connection with adults' wealth. The world is simplified, there are the houses, the cinema, the bar, the pharmacy and the hospital. Adults live their life going to the different places. They can become infect by the virus attack or by the contagion and they diffuse the virus in the street, in the cinema and in the bar if they are near infected people. If they go to the hospital thay could generate a new life or die,they heal if they go to the pharmacy, and they enjoy going to the cinema or to the bar. Structure of the model: Time: Discrete form, 1 period is 1 cycle of daybyday; Space: Grid 16 X 16; Individual behavior: Stochastic; Expectations: There is no expectation; Interaction: Localized virus spread in the street and news share in the different places of the world; HOW IT WORKS The first procedure is SETUP: It regenerates the black screen of the interface; Different places in the world are built: homes, pharmacy, bar, cinema and the hospital. A number of adults equal to the value of the slider initial_adults is created. Turtles do not have the shape of the triangle but that of a man stylized with pink color, number 19, the state of infection "no", and a wealth equal to starting_wealth slider. The latest instructions of the setup procedures allocate the next globals variables: street diffusion, newlife days at the value 0 and current_adults at the value of initial_adults. The world is thus created. The second procedure is DAY , which is not activated from the button but it is one of the procedures of daybyday. The instructions are: GO: Initially a variable called cure_probability is assigned to adults with a casual generation into the interval [0,100]. If age < 10, there is a probability of 15% to die and a probability of 85% to alive going out of the hospital. If age is between 10 and 20 adult has a probability of 80% (if age is between 20 and 30 it is not 80 but 50 ) * birth_probability value to generate a new life. He will spend 10 points of wealth but if he is poor the State will pay. He has 10% probability to heal if he is infect . The costs depend on the choser living_cost and the percentage of state assistance slider. Then there is 10% (15% if age is between 20 and 30) probability to die . If adult is older then 30 , if cure_probability is < 80 adult will die otherwise he will go to the cinema, to the bar or to the pharmacy. When adult dies the state_charge goes down the variable cemetery increases and the wise_knowledge too. If adult is still alive after the hospital visit, out_of_hospital is 1, he goes to the pharmacy if he is infect with a probability that is 66- his infect_knowledge, and if he is sane he goes to the bar or to the cinema with a probability that is 66 + sane_knowledge. If switch knowledge is on he changes his probability of going to pharmacy or cinema and bar because he understand that he would be better to go to the pharmacy if he is infect. His knowledge is increased by the wise knowledge and by the crowd knowledge, crowd are people that populate the same place that share the same information. The importance of this different news depend on the apposite sliders personal_experience, wise_experience and crowd_experience. When adult goes to bar he spend a part of his wealth and if there is anyone infected this could infect other people with a probability depending on the bar_cleanliness. When adult goes to cinema he spend part of his wealth depending on the living costs, then he could became infect if cinema cleanliness is low. When adult goes to pharmacy he heals and he spend points of wealth referring to living cost. The procedure STREET simulates the movement of adults from various places in homes and vice versa. The procedure does not have a button staff but is part of the procedure daybyday. Adults to move towards a coordinated x and y coordinate a randomly generated . There are 4 infected areas with a radius of 3,an infected adult has 10% chance of spreading the virus,if the virus is transmitted to a person already infected, he takes a shade of color equal to 17. The procedure VIRUS has its own button on the main screen: for a number of times equal to the entire value of virus_strength * current_adults / 100 there will be the order to a generic adult to change his label infect in "yes" and to take a color equivalent to 18. The procedure TAX is the tax payment by rich adults, it is launched every 50 days,or the user can activate the procedure pressing the button tax in the interface. During the procedure there is a turtle,collector, with the form of "sad face". The procedure PLOTS1 is referred to the chart "rich vs. Poor". I created two pens, one follows the trend of variable maxwealth, maximum wealth, and the second of minwealth, wealth minimal. The procedure PLOTS2 regards the chart "healthy vs Infect", here there are 2 pens, the first monitors the number of infected and the second rather than the healthy. The procedure PLOTS3 regards the chart "age", here there are 3 pens, the maximum age the medium age and the minimum age. The procedure DAYBYDAY has the appropriate button on the main screen. At its activation, the followers procedures are called in: street day street night daily_salary do-plots1 do-plots2 do-plots3 Age of people is increased of 1. Analyzing the module of the division between day and 40 the value season becomes autumn, hiver, spring and summer, the virus is more stronger in spring and autumn. Every 50 days rich people pay tax. If adults are 0 the program stops. HOW TO USE IT You create the world with the button setup and with button daybyday the adults start to interact in the world. On the interface there are a lot of variables like initial_adults,virus_strength, bar_cleanliness, health_care, starting_wealth, living_cost, birth_probability,wise_experience, personal_experience and crowd_experience that can be moved by their sliders and chosers, their changing modifies the virus spread the social welfare of the world. THINGS TO TRY Find the value of each variable that leads the model to equilibrium, in order to define an equilbrium asset. Move each variable from the equilibrium to understand the different consequences on the model. Interact the variables moving together. EXTENDING THE MODEL About the world: - Introduce a less simple world with more places or introduce a true map as world; - Introduce rules to create a structured world, for examples youngs go to school and man go to work. Youngs don't earn... About the rules: - Introduce new system of salary, by presenting different working places; About the turtles: - Create agents with mind, with RNA system, in order to let them optimize their actions (enjoy or work) in order to maximize utility and satisfaction. RELATED MODELS Wilensky, U. (1997). NetLogo AIDS model. http://ccl.northwestern.edu/netlogo/models/AIDS. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL. Copyright 1997 Uri Wilensky. All rights reserved. See http://ccl.northwestern.edu/netlogo/models/AIDS for terms of use. CREDITS AND REFERENCES The virus spread is analized in http://www.influweb.it, this is an european project started in 2004. Another site, http://118.dti.unimi.it, presents a project to improve the efficiency in the emergence. @#$#@#$#@ default true 0 Polygon -7500403 true true 150 5 40 250 150 205 260 250 airplane true 0 Polygon -7500403 true true 150 0 135 15 120 60 120 105 15 165 15 195 120 180 135 240 105 270 120 285 150 270 180 285 210 270 165 240 180 180 285 195 285 165 180 105 180 60 165 15 arrow true 0 Polygon -7500403 true true 150 0 0 150 105 150 105 293 195 293 195 150 300 150 box false 0 Polygon -7500403 true true 150 285 285 225 285 75 150 135 Polygon -7500403 true true 150 135 15 75 150 15 285 75 Polygon -7500403 true true 15 75 15 225 150 285 150 135 Line -16777216 false 150 285 150 135 Line -16777216 false 150 135 15 75 Line -16777216 false 150 135 285 75 bug true 0 Circle -7500403 true true 96 182 108 Circle -7500403 true true 110 127 80 Circle -7500403 true true 110 75 80 Line -7500403 true 150 100 80 30 Line -7500403 true 150 100 220 30 butterfly true 0 Polygon -7500403 true true 150 165 209 199 225 225 225 255 195 270 165 255 150 240 Polygon -7500403 true true 150 165 89 198 75 225 75 255 105 270 135 255 150 240 Polygon -7500403 true true 139 148 100 105 55 90 25 90 10 105 10 135 25 180 40 195 85 194 139 163 Polygon -7500403 true true 162 150 200 105 245 90 275 90 290 105 290 135 275 180 260 195 215 195 162 165 Polygon -16777216 true false 150 255 135 225 120 150 135 120 150 105 165 120 180 150 165 225 Circle -16777216 true false 135 90 30 Line -16777216 false 150 105 195 60 Line -16777216 false 150 105 105 60 car false 0 Polygon -7500403 true true 300 180 279 164 261 144 240 135 226 132 213 106 203 84 185 63 159 50 135 50 75 60 0 150 0 165 0 225 300 225 300 180 Circle -16777216 true false 180 180 90 Circle -16777216 true false 30 180 90 Polygon -16777216 true false 162 80 132 78 134 135 209 135 194 105 189 96 180 89 Circle -7500403 true true 47 195 58 Circle -7500403 true true 195 195 58 circle false 0 Circle -7500403 true true 0 0 300 circle 2 false 0 Circle -7500403 true true 0 0 300 Circle -16777216 true false 30 30 240 cow false 0 Polygon -7500403 true true 200 193 197 249 179 249 177 196 166 187 140 189 93 191 78 179 72 211 49 209 48 181 37 149 25 120 25 89 45 72 103 84 179 75 198 76 252 64 272 81 293 103 285 121 255 121 242 118 224 167 Polygon -7500403 true true 73 210 86 251 62 249 48 208 Polygon -7500403 true true 25 114 16 195 9 204 23 213 25 200 39 123 cylinder false 0 Circle -7500403 true true 0 0 300 dot false 0 Circle -7500403 true true 90 90 120 face happy false 0 Circle -7500403 true true 8 8 285 Circle -16777216 true false 60 75 60 Circle -16777216 true false 180 75 60 Polygon -16777216 true false 150 255 90 239 62 213 47 191 67 179 90 203 109 218 150 225 192 218 210 203 227 181 251 194 236 217 212 240 face neutral false 0 Circle -7500403 true true 8 7 285 Circle -16777216 true false 60 75 60 Circle -16777216 true false 180 75 60 Rectangle -16777216 true false 60 195 240 225 face sad false 0 Circle -7500403 true true 8 8 285 Circle -16777216 true false 60 75 60 Circle -16777216 true false 180 75 60 Polygon -16777216 true false 150 168 90 184 62 210 47 232 67 244 90 220 109 205 150 198 192 205 210 220 227 242 251 229 236 206 212 183 fish false 0 Polygon -1 true false 44 131 21 87 15 86 0 120 15 150 0 180 13 214 20 212 45 166 Polygon -1 true false 135 195 119 235 95 218 76 210 46 204 60 165 Polygon -1 true false 75 45 83 77 71 103 86 114 166 78 135 60 Polygon -7500403 true true 30 136 151 77 226 81 280 119 292 146 292 160 287 170 270 195 195 210 151 212 30 166 Circle -16777216 true false 215 106 30 flag false 0 Rectangle -7500403 true true 60 15 75 300 Polygon -7500403 true true 90 150 270 90 90 30 Line -7500403 true 75 135 90 135 Line -7500403 true 75 45 90 45 flower false 0 Polygon -10899396 true false 135 120 165 165 180 210 180 240 150 300 165 300 195 240 195 195 165 135 Circle -7500403 true true 85 132 38 Circle -7500403 true true 130 147 38 Circle -7500403 true true 192 85 38 Circle -7500403 true true 85 40 38 Circle -7500403 true true 177 40 38 Circle -7500403 true true 177 132 38 Circle -7500403 true true 70 85 38 Circle -7500403 true true 130 25 38 Circle -7500403 true true 96 51 108 Circle -16777216 true false 113 68 74 Polygon -10899396 true false 189 233 219 188 249 173 279 188 234 218 Polygon -10899396 true false 180 255 150 210 105 210 75 240 135 240 house false 0 Rectangle -7500403 true true 45 120 255 285 Rectangle -16777216 true false 120 210 180 285 Polygon -7500403 true true 15 120 150 15 285 120 Line -16777216 false 30 120 270 120 leaf false 0 Polygon -7500403 true true 150 210 135 195 120 210 60 210 30 195 60 180 60 165 15 135 30 120 15 105 40 104 45 90 60 90 90 105 105 120 120 120 105 60 120 60 135 30 150 15 165 30 180 60 195 60 180 120 195 120 210 105 240 90 255 90 263 104 285 105 270 120 285 135 240 165 240 180 270 195 240 210 180 210 165 195 Polygon -7500403 true true 135 195 135 240 120 255 105 255 105 285 135 285 165 240 165 195 line true 0 Line -7500403 true 150 0 150 300 line half true 0 Line -7500403 true 150 0 150 150 pentagon false 0 Polygon -7500403 true true 150 15 15 120 60 285 240 285 285 120 person false 0 Circle -7500403 true true 110 5 80 Polygon -7500403 true true 105 90 120 195 90 285 105 300 135 300 150 225 165 300 195 300 210 285 180 195 195 90 Rectangle -7500403 true true 127 79 172 94 Polygon -7500403 true true 195 90 240 150 225 180 165 105 Polygon -7500403 true true 105 90 60 150 75 180 135 105 plant false 0 Rectangle -7500403 true true 135 90 165 300 Polygon -7500403 true true 135 255 90 210 45 195 75 255 135 285 Polygon -7500403 true true 165 255 210 210 255 195 225 255 165 285 Polygon -7500403 true true 135 180 90 135 45 120 75 180 135 210 Polygon -7500403 true true 165 180 165 210 225 180 255 120 210 135 Polygon -7500403 true true 135 105 90 60 45 45 75 105 135 135 Polygon -7500403 true true 165 105 165 135 225 105 255 45 210 60 Polygon -7500403 true true 135 90 120 45 150 15 180 45 165 90 square false 0 Rectangle -7500403 true true 30 30 270 270 square 2 false 0 Rectangle -7500403 true true 30 30 270 270 Rectangle -16777216 true false 60 60 240 240 star false 0 Polygon -7500403 true true 151 1 185 108 298 108 207 175 242 282 151 216 59 282 94 175 3 108 116 108 target false 0 Circle -7500403 true true 0 0 300 Circle -16777216 true false 30 30 240 Circle -7500403 true true 60 60 180 Circle -16777216 true false 90 90 120 Circle -7500403 true true 120 120 60 tree false 0 Circle -7500403 true true 118 3 94 Rectangle -6459832 true false 120 195 180 300 Circle -7500403 true true 65 21 108 Circle -7500403 true true 116 41 127 Circle -7500403 true true 45 90 120 Circle -7500403 true true 104 74 152 triangle false 0 Polygon -7500403 true true 150 30 15 255 285 255 triangle 2 false 0 Polygon -7500403 true true 150 30 15 255 285 255 Polygon -16777216 true false 151 99 225 223 75 224 truck false 0 Rectangle -7500403 true true 4 45 195 187 Polygon -7500403 true true 296 193 296 150 259 134 244 104 208 104 207 194 Rectangle -1 true false 195 60 195 105 Polygon -16777216 true false 238 112 252 141 219 141 218 112 Circle -16777216 true false 234 174 42 Rectangle -7500403 true true 181 185 214 194 Circle -16777216 true false 144 174 42 Circle -16777216 true false 24 174 42 Circle -7500403 false true 24 174 42 Circle -7500403 false true 144 174 42 Circle -7500403 false true 234 174 42 turtle true 0 Polygon -10899396 true false 215 204 240 233 246 254 228 266 215 252 193 210 Polygon -10899396 true false 195 90 225 75 245 75 260 89 269 108 261 124 240 105 225 105 210 105 Polygon -10899396 true false 105 90 75 75 55 75 40 89 31 108 39 124 60 105 75 105 90 105 Polygon -10899396 true false 132 85 134 64 107 51 108 17 150 2 192 18 192 52 169 65 172 87 Polygon -10899396 true false 85 204 60 233 54 254 72 266 85 252 107 210 Polygon -7500403 true true 119 75 179 75 209 101 224 135 220 225 175 261 128 261 81 224 74 135 88 99 wheel false 0 Circle -7500403 true true 3 3 294 Circle -16777216 true false 30 30 240 Line -7500403 true 150 285 150 15 Line -7500403 true 15 150 285 150 Circle -7500403 true true 120 120 60 Line -7500403 true 216 40 79 269 Line -7500403 true 40 84 269 221 Line -7500403 true 40 216 269 79 Line -7500403 true 84 40 221 269 x false 0 Polygon -7500403 true true 270 75 225 30 30 225 75 270 Polygon -7500403 true true 30 75 75 30 270 225 225 270 @#$#@#$#@ NetLogo 4.0.4 @#$#@#$#@ @#$#@#$#@ @#$#@#$#@ @#$#@#$#@ @#$#@#$#@ default 0.0 -0.2 0 0.0 1.0 0.0 1 1.0 0.0 0.2 0 0.0 1.0 link direction true 0 Line -7500403 true 150 150 90 180 Line -7500403 true 150 150 210 180 @#$#@#$#@