drafting _alonosnat_project

No preview image

1 collaborator

102_0843 Alon Hirsh (Author)

Tags

(This model has yet to be categorized with any tags)
Model group uhaifa-modeling-11 | Visible to everyone | Changeable by everyone
Model was written in NetLogo 4.1.2 • Viewed 135 times • Downloaded 23 times • Run 1 time
Download the 'drafting _alonosnat_project' modelDownload this modelEmbed this model

Do you have questions or comments about this model? Ask them here! (You'll first need to log in.)


WHAT IS IT?

This section could give a general understanding of what the model is trying to show or explain.

HOW IT WORKS

This section could explain what rules the agents use to create the overall behavior of the model.

HOW TO USE IT

This section could explain how to use the model, including a description of each of the items in the interface tab.

THINGS TO NOTICE

This section could give some ideas of things for the user to notice while running the model.

THINGS TO TRY

This section could give some ideas of things for the user to try to do (move sliders, switches, etc.) with the model.

EXTENDING THE MODEL

This section could give some ideas of things to add or change in the procedures tab to make the model more complicated, detailed, accurate, etc.

NETLOGO FEATURES

This section could point out any especially interesting or unusual features of NetLogo that the model makes use of, particularly in the Procedures tab. It might also point out places where workarounds were needed because of missing features.

RELATED MODELS

This section could give the names of models in the NetLogo Models Library or elsewhere which are of related interest.

CREDITS AND REFERENCES

This section could contain a reference to the model's URL on the web if it has one, as well as any other necessary credits or references.

Comments and Questions

פיזור צבים באזור מסויים (Question)

אנחנו מעוניינים שרוכבי האופניים יהיו מפוזרים רנדומלית -אבל בתוך שטח מוגדר, ולא זוכרים איך עושים את זה.. נשמח לעזרה תודה אלון ואוסנת

Posted almost 13 years ago

פיזור צבים באיזור מסוים

ישנן שיטות שונות לדבר רעיון אחד - לשים את כל הצבים על טלאי אחד, בכיוונים אקראיים, ואז לתת להם ללכת מספר צעדים אקראי עד לערך מסוים למשל ask turtles [ setxy..... forward random 7 ]

Posted almost 13 years ago

פיזור צבים באיזור מסוים (Question)

אני רושמת את התשובה שנית במקרה ועד מישהו יזדקק למידע, זה יהיה בשאלות שנן שיטות שונות לדבר רעיון אחד - לשים את כל הצבים על טלאי אחד, בכיוונים אקראיים, ואז לתת להם ללכת מספר צעדים אקראי עד לערך מסוים למשל ask turtles [ setxy..... forward random 7 ]

Posted almost 13 years ago

התיחסות למודל

יצרתם שני גזעים - רוכבים וחלקיקים. הוספתם תכונות של הרוכבים - אנרגיה ומהירות. מצויין - לא יותר מדי - תמציתי ולעניין. setup עשוי בצורה הירארכית ומסודרת. כדאי לדייק בכמה מן המונחים. למשל הסליידר של הרוכבים אמור לספור אותם - כדאי לכתוב יותר מדויק, למשל number-cyclists יכול להיות שגם תרצו number-particles הסיבה שיש לכם טעות במודל היא שאין לכם פתיחת סוגריים מרובעים אחרי globals

Posted almost 13 years ago

פיזור צבים באיזור מסויים (Question)

האם אני יכולה להגדיר שהם יהיו פזורים רנדומלית באזור שבו ה-X <-70? כלומר לכל רוחב המסלול, אבל רק באזור שבין -70 ל -75? תודה

Posted almost 13 years ago

פיזור רוכבים באיזור מסוים (Question)

שלום לכם פספסתי את זה. למעשה, ברגע שאתם קובעים מרכז של מעגל ורדיוס שלו לפיזור - אתם תוחמים את האיזור שבו הרוכבים יהיו. לפי דעתי, אין צורך לצופף את הרוכבים שלכם. מאחר והמטרה של המודל היא ללמד איך מתלהקים, עדיף להתחיל מפיזור מירבי random-xcor random-ycor ולראות איך לאט לאט הם מצטופפים והדופק שלהם יורד, כאשר החלקיקים "מתנקים" מהאיזור. זאת בניגוד למודל שעושים יונתן ואשר, ששם אנחנו רוצים לבדוק מערך מרחבי מסוים של הרוכבים. שרונה

Posted almost 13 years ago

Click to Run Model

globals 
 tick-delta                ;; how much we advance the tick counter this time through
  max-tick-delta            ;; the largest tick-delta is allowed to be
[cyclist]
breed [riders rider ] 
breed [ particles particle ] 

riders-own

[energy
  
  speed]
particles-own 
[speed 
  mass]

to setup
  ca
  ask patches [ setup-road ]
  setup-riders
  setup-particles
  do-plots 
end  

to setup-riders
 crt cyclists
 
   [ set color yellow - 2 + random 7  ;; random shades look nice
      set size 1.5  ;; easier to see
      setxy random-xcor random-ycor ]
end 

to setup-road  ;; patch procedure
  ifelse ( pycor < 18) and ( pycor > -18 ) [ set pcolor red - 3 ]
         [set pcolor green - 1]
end 

to setup-particles
    set-default-shape particles "circle"
  set max-tick-delta 0.1073
  make-particles
  update-variables
  set init-avg-speed avg-speed
  set init-avg-energy avg-energy
  setup-plots
  setup-histograms
  do-plotting
end 

to do-plots
  set-current-plot"cyclist energy"
  plot count  
end 

There is only one version of this model, created almost 13 years ago by Alon Hirsh.

Attached files

No files

This model does not have any ancestors.

This model does not have any descendants.