;; vari�veis globais globals [ pending-demands-total total-demand attended-demands-total cells-with-demands average-production area x-pos y-pos color-area number-of-persons total-rank max-rank damping-factor number-of-surfers] breed [ people person ] breed [ pages page ] breed [ surfers surfer ] ;; turtle instance variable - person's class turtles-own [ executing-demand people-attended-demands productivity ] ;; turtle instance variables patches-own [ pending-demands production-demand rank new-rank ; for the diffusion approach visits ] ; for the random-surfer approach surfers-own [ current-page ] ;; preparing the program to run to Setup clear-all ;; clears all variables and the interface reset-ticks set total-demand 0 ;; initializes variables with 0 set attended-demands-total 0 set pending-demands-total 0 if Includes-OLA? [ Setup-PageRank ] ;; creates links areas Create-Area ;; creates areas update-plot ;; prepares graphs end ;; run the program, the main procedure to go set average-production mean [people-attended-demands] of turtles ;; get the average of attendances if average-production > 50 [stop] ;; terminates execution when the average spend of 50 ask patches [ Production-Demands ] ;; performs the procedure production demands ask people [ ;; move all people Move ;; performs the procedure that moves people if pcolor = red ;; if the patch has demand [Attend-Demand] ;; performs the procedure that the person does meet the demands (patch red) ] tick update-plot ;; updated graphics if Includes-OLA? [ go-PageRank ] if ticks = 300 [ stop ] end ;; run the program, the main procedure Exponential to go_exponential ask patches with [ ( pcolor != green ) ] [ set pcolor green ] set average-production mean [people-attended-demands] of turtles ;; get the average of attendances ;; if average-production > 50 [stop] ;; terminates execution when the average spend of 50 if average-production > 130 [stop] ;; terminates execution when the average spend of 50 ask patches [ Production-Demands ] ;; performs the procedure production demands ask people [ ;; move all people Move ;; performs the procedure that moves people if pcolor = red ;; if the patch has demand [Attend-Demand] ;; performs the procedure that the person does meet the demands (patch red) ] tick update-plot ;; updated graphics if Includes-OLA? [ go-PageRank ] if ticks = 300 [ stop ] end to Create-Area ;; creates areas of the company according to the chart set color-area white set x-pos -6 set y-pos 19 Drawing-area1 set x-pos -24 set y-pos 10 Drawing-area2 set x-pos ( x-pos + 13) Drawing-area2 set x-pos ( x-pos + 13) Drawing-area2 set x-pos ( x-pos + 13) Drawing-area2 set x-pos -24 set y-pos 0 Drawing-area set color-area green ;; area GDA set x-pos ( x-pos + 13) Drawing-area set number-of-persons 12 criate-person set color-area white set x-pos ( x-pos + 13) Drawing-area set color-area green ;; area GRE set x-pos ( x-pos + 13) Drawing-area set number-of-persons 5 criate-person set color-area white set x-pos -24 set y-pos -10 Drawing-area set x-pos ( x-pos + 13) Drawing-area set color-area green ;; area GGA set x-pos ( x-pos + 13) Drawing-area set number-of-persons 8 criate-person set x-pos ( x-pos + 13) ;; Drawing-area set x-pos -24 ;; area GAO set y-pos -20 Drawing-area set number-of-persons 5 criate-person set color-area white set x-pos ( x-pos + 13) ;; Drawing-area set x-pos ( x-pos + 13) Drawing-area set x-pos ( x-pos + 13) ;; Drawing-area end to Drawing-area set area patches with [ pxcor >= x-pos and pxcor <= ( x-pos + 9 ) and pycor >= y-pos and pycor <= (y-pos + 6 ) ] ask area [ set pending-demands 0 ;; initializes variables with 0 set production-demand 0 set pcolor color-area ;; assigns color green (without demand) - color red (with demand) - color white (demand does not work) ] ask patches with [ ( pcolor != green and pcolor != white ) ] [ set pcolor sky ] end to Drawing-area1 set area patches with [ pxcor >= x-pos and pxcor <= ( x-pos + 12 ) and pycor >= y-pos and pycor <= (y-pos + 4 ) ] ask area [ set pcolor color-area ] end to Drawing-area2 set area patches with [ pxcor >= x-pos and pxcor <= ( x-pos + 9 ) and pycor >= y-pos and pycor <= (y-pos + 5 ) ] ask area [ set pcolor color-area ] end to criate-person set-default-shape people "person" ;; set default shape of the turtle as people (person) create-people number-of-persons [ ;; creates people according to the initial number, color white, size 1, set executing-demand 0 ;; initializes variable with 0 set people-attended-demands 1 ;; initializes variable with 1 set productivity 0 ;; initializes variable with 0 set color white ;; assigns color white to the person setxy (( x-pos) + random-float (9) ) (( y-pos) + random-float (6) ) ] end to Production-Demands ;; increases the demands patch if ( pcolor = red or pcolor = green ) [ set production-demand random-float maximum-growth-rate-of-demand ;; The Production Demands must be a floating point number between random ;; zero and the value of the Maximum Rate of Production Demands set total-demand (total-demand + production-demand) ;; accumulates total demands set pending-demands ( pending-demands + production-demand ) ;; updates the amount of pending demands of each patch set pending-demands-total ( pending-demands-total + production-demand ) ;; updates the total amount of pending demands if pcolor = green [ if pending-demands >= 0.08 [set pcolor red] ] ;; enables red if available > 0.08 ] end to Move ;; moves all people let dumb-neighbors (patch-set neighbors with [ ( pcolor = red or pcolor = green ) ] ) ;; assigns a neighborhood with patches of area (red ou green) set dumb-neighbors dumb-neighbors with [not any? turtles-here] ;; verifies the voids in the neighborhood � 8 c�lulas ifelse Optimizes-productivity? [ ;; check Optimizes-productivity switch enabled let bestCell max-one-of dumb-neighbors [pending-demands] ;; chooses the cell with higher demand if bestCell != nobody [ if [pending-demands] of bestCell > pending-demands [ move-to bestCell ;; move to the cell with higher demand ] ] ] [ ;; switch not enabled let empty-neighbor one-of dumb-neighbors ;; randomly assigns an empty space within the neighborhood if empty-neighbor != nobody [ move-to empty-neighbor ;; randomly moves to an empty space within the neighborhood if it finds ] ] end to Attend-Demand ;; procedure - attending demands by people set executing-demand min ( list pending-demands maximum-productivity ) ;; calculates the shortest running between the two variables list ; type "demands " type pending-demands type " - productivity " print maximum-productivity set attended-demands-total (attended-demands-total + executing-demand) ;; accumulates the total service demands set productivity executing-demand ;; aupdates the productivity of people set pending-demands (pending-demands - executing-demand) ;; decreases the amount of demand in pendant each patch set pending-demands-total (pending-demands-total - executing-demand) ;; decreases the total amount of pending demand if pending-demands < 0 [set pending-demands 0] ;; assigns 0 to disponibilicade case negative if pending-demands < 0.08 [set pcolor green] ;; assigns color to brown patch with availability < 0.08 set people-attended-demands (people-attended-demands + productivity) ;; calculates the care according to productivity end to update-plot ;; update the graphic set cells-with-demands count patches with [pcolor = red] ;; count the cells with demands set-current-plot "Graphic 1" ;; assign the "graph 1" as current set-current-plot-pen "cell with demands" ;; update the variable - cells with demands plot cells-with-demands ;; plot the information of the variable on the graph set-current-plot-pen "attended demands" ;; update the variable - attended demands plot attended-demands-total ;; plot the information of the variable on the graph set-current-plot-pen "total demand" ;; update the variable - total demand plot total-demand ;; plot the information of the variable on the graph set-current-plot-pen "pending demands" ;; update the variable - pending demands plot pending-demands-total ;; plot the information of the variable on the graph set-current-plot "Average production" ;; assign the graph "Average production" as current set-current-plot-pen "average-production" ;; update the variable - average production plot average-production ;; plot the information of the variable on the graph set-current-plot "Histogram" ;; sassign the graph "Histogram" as current ;; set-plot-x-range 0 50 ;; defines shaft of the tracks x set-plot-x-range 0 130 ;; defines shaft of the tracks x set-plot-y-range 0 30 ;; defines shaft of the tracks y set-histogram-num-bars 12 ;; defines the number of bars histogram [people-attended-demands] of people ;; plot the histogram end ; ;Copyright Model Organizational Responsability 2012 Guttenberg Ferreira Passos. ; ; Adapted from Model PageRank ; Copyright Model PageRank 2009 Uri Wilensky. ; See Info tab for full copyright and license. ;- Stonedahl, F. and Wilensky, U. (2009). NetLogo PageRank model. http://ccl.northwestern.edu/netlogo/models/PageRank. ;- Wilensky, U. (1999). NetLogo. http://ccl.northwestern.edu/netlogo/. ; Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL. to setup-PageRank clear-all reset-ticks set damping-factor 0.85 set number-of-surfers 16 set-default-shape pages "square" create-network-example-2 ask pages [ set rank 1 / count pages ] update-globals Create-Area-PageRank ask links [ set shape "curved" ] reset-ticks end to create-network-example-2 create-pages 5 ask page 0 [ die ] ask page 1 [ create-links-from (turtle-set page 2 page 3 page 4 ) ] ;; page 1 area GDA ask page 2 [ create-links-from (turtle-set page 1 ) ] ;; page 2 area GRE ask page 3 [ create-links-from (turtle-set page 1 ) ] ;; page 3 area GGA ask page 4 [ create-links-from (turtle-set page 1 page 2 ) ] ;; page 4 area GAO end to do-layout ; layout-spring pages links 0.2 20 / (sqrt count pages) 0.5 end ;;; "random-surfer" calculation-method ;;; surfers are created or destroyed on the fly if users move the ;;; number of surfers while the model is running. to go-PageRank set-default-shape turtles "turtle" if count surfers < number-of-surfers [ create-surfers number-of-surfers - count surfers [ set current-page one-of pages move-surfer ] ] if count surfers > number-of-surfers [ ask n-of (count surfers - number-of-surfers) surfers [ die ] ] ;; return links to their initial state ask links [ set color gray set thickness 0.28 ] ask surfers [ let old-page current-page ;; increment the visits on the page we're on ask current-page [ set visits visits + 1 ] ;; with a probability depending on the damping-factor either go to a ;; random page or a random one of the pages that this page is linked to ifelse random-float 1.0 <= damping-factor and any? [my-out-links] of current-page [ set current-page one-of [out-link-neighbors] of current-page ] [ set current-page one-of pages ] show-turtle move-surfer let surfer-color color ask old-page [ let traveled-link out-link-to [current-page] of myself if traveled-link != nobody [ ask traveled-link [ set color surfer-color set thickness 0.28 ] ] ] ] ;; update the rank of each page let total-visits sum [visits] of pages ask pages [ set rank visits / total-visits ] update-globals ask pages [ update-page-appearance ] ;; tick end to move-surfer ;; surfer procedure face current-page move-to current-page end to update-globals set total-rank sum [rank] of pages set max-rank max [rank] of pages end to update-page-appearance ;; page procedure ; keep size between 0.1 and 5.0 set size 0.1 set label word (precision rank 3) " " end to Create-Area-PageRank ;; cria os links das �reas no organograma set x-pos -1 set y-pos -1 ask page 1 ;; page 1 area GDA [ setxy x-pos y-pos set label-color black update-page-appearance ] set x-pos ( x-pos + 15) ask page 2 ;; page 2 area GRE [ setxy x-pos y-pos set label-color black update-page-appearance ] set x-pos 1 set y-pos -10 ask page 3 ;; page 3 area GGA [ setxy x-pos y-pos set label-color black update-page-appearance ] set x-pos -15 set y-pos -13 ask page 4 ;; page 4 area GAO [ setxy x-pos y-pos set label-color black update-page-appearance ] end ; Copyright Model PageRank 2009 Uri Wilensky. ; See Info tab for full copyright and license. ;- Stonedahl, F. and Wilensky, U. (2009). NetLogo PageRank model. http://ccl.northwestern.edu/netlogo/models/PageRank. ;- Wilensky, U. (1999). NetLogo. http://ccl.northwestern.edu/netlogo/. ; Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL. ; ;Copyright Model Organizational Responsability 2012 Guttenberg Ferreira Passos. ; @#$#@#$#@ GRAPHICS-WINDOW 503 24 970 492 -1 -1 9.0 1 14 1 1 1 0 0 0 1 -25 25 -25 25 1 1 1 ticks 30.0 SLIDER 7 134 264 167 maximum-growth-rate-of-demand maximum-growth-rate-of-demand 0.005 0.1 0.01 0.005 1 NIL HORIZONTAL BUTTON 8 28 104 61 setup setup NIL 1 T OBSERVER NIL NIL NIL NIL 1 BUTTON 155 28 260 61 go go T 1 T OBSERVER NIL NIL NIL NIL 1 PLOT 8 297 493 494 Graphic 1 Time Values 0.0 100.0 0.0 100.0 true true "" "" PENS "cell with demands" 1.0 0 -955883 true "" "" "attended demands" 1.0 0 -10899396 true "" "" "total demand" 1.0 0 -8630108 true "" "" "pending demands" 1.0 0 -2674135 true "" "" MONITOR 7 186 152 231 Cells with demands cells-with-demands 0 1 11 MONITOR 305 186 460 231 Attended demands attended-demands-total 2 1 11 MONITOR 306 242 458 287 Total demand total-demand 2 1 11 SLIDER 7 82 262 115 maximum-productivity maximum-productivity 0.005 0.6 0.585 0.02 1 NIL HORIZONTAL MONITOR 8 239 154 284 Pending demands pending-demands-total 2 1 11 PLOT 980 308 1250 493 Average production NIL NIL 0.0 10.0 0.0 10.0 true false "" "" PENS "average-production" 1.0 0 -16777216 true "" "" PLOT 979 25 1246 287 Histogram Attended demands by people People 0.0 10.0 0.0 10.0 false false "" "" PENS "turtles" 1.0 1 -2674135 true "" "" SWITCH 307 82 492 115 Optimizes-productivity? Optimizes-productivity? 0 1 -1000 SWITCH 305 135 491 168 Includes-OLA? Includes-OLA? 1 1 -1000 BUTTON 308 30 491 63 go exponential go_exponential T 1 T OBSERVER NIL NIL NIL NIL 1 @#$#@#$#@ ## WHAT IS IT? This model explores the applicability of complex systems, with positive results in strategic planning of organizations, with emphasis on issues related to management by results in order to improve services in the face of a demand greater than the installed capacity. Our challenge now is how to lead the transformations of public organizations from traditional to Exponential. Acording to the Singularity University: Exponential Technologies are those which are rapidly accelerating and shaping major industries and all aspects of our lives. Exponential technologies include artificial intelligence (AI), augmented and virtual reality (AR, VR), data science, digital biology and biotech, medicine, nanotech and digital fabrication, networks and computing systems, robotics, and autonomous vehicles. We believe that the solutions to the world’s most pressing challenges lie at the intersection of these exponential technologies. That is, when two or more of these technologies are used in combination to attack a persistent challenge, the possibility of developing a sustainable solution becomes much more likely. The organizational environment (with blue background) is composed of production cells (or work units, represented by boxes. Green boxes units are in focus. ## HOW IT WORKS The model links the loops identified by the System Dynamics with Agent Based Modeling, by adapting the model with the PageRank algorithm searches GOOGLE (model available in the library of NetLogo). The program establishes a relationship between the demand for services found in an organization and productivity of people in carrying out the activities that make up the service, allowing you to establish the best cost / benefit by optimizing productivity and identifying areas with the greatest bottleneck in performing services. ## HOW TO USE IT Click the SETUP button to start the variables, mount the organizational chart and allocate people in those areas. Click the GO button to start / stop the simulation. The results obtained are shown in the graphs. The slider maximum-productivity controls the productivity of people in the execution of their activities to deliver the services. The slider maximum-growth-rate-of-demand controls the growth of demand. The button optimizes-productivity lets you run the simulation optimizing productivity by organizing and analyzing the queue of demands. The button includes-OLAs allows you to include the PAGERANK�s model in this context adapted to this situation. In this model we consider the inverse of the algorithm used in GOOGLE�s searches, ie demonstrates the bottleneck of the areas in the interdependence of their OLAs (Agreements Operational Level) through the network. ## THINGS TO NOTICE Pay attention to the colors in each area: green represents the demand attended and red did not attend the demand. The lower the value of cells-with-demands the better the result. Also note the relationship between attended-demands and total-demand: the closer the better. Watch out also for the importance of compliance with OLAs in the interdependence of areas demonstrated through the loops, because the breach of the agreement by either party can jeopardize even the same. ## THINGS TO TRY Run simulations by changing the parameters of productivity and demand. Keep a parameter constant while changing the other, observe the results (for each change in parameters or buttons should click on SETUP then GO). Run simulations initially with button optimization off and then repeat the simulation with optimization button on comparing the results. The button inclui-OLA inserts the relationships of the OLA between the areas and indicate the bottleneck between them. The higher the value found worse the bottleneck. Exponential Growth - For a technology to be “exponential,” the power and/or speed doubles each year, and/or the cost drops by half. As humans, we tend to overestimate what can be achieved in the short term but vastly underestimate what can be achieved in the long term. Humans are not equipped to process exponential growth. Thinking exponentially, though, is key to discovering potential new opportunities and building innovative solutions. Try "go exponential" to simulate the environment of the exponential growth! ## EXTENDING THE MODEL The model was developed for a government information technology can be extended to other organizations. The model can be extended to other situations involving supply and demand. For example, Recruitment, Marketing, and other elements of a supply chain. ## NETLOGO FEATURES The methodologies of System Dynamics and Agent Based Modeling were associated with the adaptation of the PageRank model, technic to rank the relevance of web pages on the internet. ## RELATED MODELS Part of this model was developed based on the PageRank model. - Stonedahl, F. and Wilensky, U. (2009). NetLogo PageRank model. http://ccl.northwestern.edu/ netlogo/models/PageRank. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL. - Wilensky, U. (1999). NetLogo. http://ccl.northwestern.edu/netlogo/. Center for Connected Learning and Computer-Based Modeling, Northwestern University, Evanston, IL.This section could give the names of models in the NetLogo Models Library or elsewhere which are of related interest. ## CREDITS AND REFERENCES Copyright 2012 Guttenberg Ferreira Passos. This work was developed in the course Modeling of Complex Systems at the University of Brasilia, https://www.facebook.com/pages/UnBFGA- Especializa%C3%A7%C3%A3o-%C3%A0-Dist%C3%A2ncia-em-Modelagem-de-Sistemas- Complexos/129127183825545. To quote: PASSOS, Guttenberg Ferreira. Model of Organizational Responsibility. Model developed in Agent Based Modeling discipline, of the course Modeling of Complex Systems. University of Brasilia, July 20, 2012. Web sites http://sistemascomplexos.blogspot.co.uk/ Acknowledgements: Prof. Dr. Ilan Chamovitz for their valuable contribution in developing the model. @#$#@#$#@ 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 sheep false 15 Rectangle -1 true true 166 225 195 285 Rectangle -1 true true 62 225 90 285 Rectangle -1 true true 30 75 210 225 Circle -1 true true 135 75 150 Circle -7500403 true false 180 76 116 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 wolf false 0 Rectangle -7500403 true true 195 106 285 150 Rectangle -7500403 true true 195 90 255 105 Polygon -7500403 true true 240 90 217 44 196 90 Polygon -16777216 true false 234 89 218 59 203 89 Rectangle -1 true false 240 93 252 105 Rectangle -16777216 true false 242 96 249 104 Rectangle -16777216 true false 241 125 285 139 Polygon -1 true false 285 125 277 138 269 125 Polygon -1 true false 269 140 262 125 256 140 Rectangle -7500403 true true 45 120 195 195 Rectangle -7500403 true true 45 114 185 120 Rectangle -7500403 true true 165 195 180 270 Rectangle -7500403 true true 60 195 75 270 Polygon -7500403 true true 45 105 15 30 15 75 45 150 60 120 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 6.0.4 @#$#@#$#@ setup set grass? true repeat 75 [ go ] @#$#@#$#@ @#$#@#$#@ @#$#@#$#@ @#$#@#$#@ 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 curved 3.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 @#$#@#$#@ 0 @#$#@#$#@