Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NetLogo: 1 tick = how many seconds?

Tags:

netlogo

How many ticks in a NetLogo simulation (at normal speed) are equal to 1 'real world' second?

like image 906
user399466 Avatar asked Aug 26 '10 01:08

user399466


People also ask

How many seconds in 1 tick?

A single tick represents one hundred nanoseconds or one ten-millionth of a second.

What is a tick in NetLogo?

A tick is a measure of time in NetLogo models (like seconds or minutes). Ticks are used instead of seconds, minutes, or hours because ticks are standardized across all models and computers; some models and computers run slower than others, but ticks are always the same!

What is reset ticks in NetLogo?

Resets the tick counter to zero, sets up all plots, then updates all plots (so that the initial state of the world is plotted). Normally reset-ticks goes at the end of a setup procedure. See also clear-ticks, tick, ticks, tick-advance, setup-plots, update-plots.


3 Answers

Ticks are a unit of arbitrary time measurement inside the simulator, like most simulation engines ticks don't map directly to real world time - it's up to the person writing the simulation to decide how a tick maps to real world time.

As for the "normal speed" setting that NetLogo has, what that means is (and this is from experience, not from knowledge of how the engine actually works) that each time a tick is processed NetLogo will wait until the graphical display is updated before starting on the next run.

If you slow down the simulation (move that slider to the left) then NetLogo waits additional time before each simulation step, if you speed it up (move the slider to the right) then NetLogo will continue simulating while the graphical display updates, meaning you probably won't see every simulation step visualised.

like image 134
hds Avatar answered Oct 28 '22 07:10

hds


In my opinion conversion from ticks to second depends on the context.

An example: imagine that every patch in Netlogo is 40cm of real world, imagine that a human walks in a new patch in each tick. The average human speed while walking is estimated as 1.2 m/s, so every 3 ticks a human is performing 1.2m. We can finally state that 3 ticks in the simulated environment correspond to 1 second of life of the agents.

Changing the dimensions of patches or agents this proportions changes and so the meaning of the tick.

A single tick is not meant to have a fixed corrispondence with seconds, but it just means "a unit of time".

like image 35
drstein Avatar answered Oct 28 '22 06:10

drstein


From my experience with NetLogo, I don't think the ticks DO map to real world time. I believe they are unitless. Did you read something to the contrary?

like image 2
I82Much Avatar answered Oct 28 '22 06:10

I82Much