Netlogo random walks
I would like to create random walks for n different person (n=10 to be handled with a slider in the GUI) where each person can move left, right, up, down (500 steps max (to be handled by a slider in the GUI and should stop if he reaches back the origin).
I would then like to display these metrics:
Why are my ouput values different from patch values?
So I have a code that calculates emissions for different types of vehicles (old combustion, middle-aged combustion, new combustion, hybrid and electric) in a given study area. I ran behavior space with an emission diffusion variable (0.0 to 1.0, in 0.1 increments) and it gives me the global and differentiated values emitted in the region. I have also exported the final maps as ASCII, transformed them in a series of operations to polygon format so that I can know how many emissions there are in a given municipality. The problem here is that the sum of the municipality emissions aren’t the same (or even close) as the global emissions. For example, for 10 runs of emission diffusion 0.5, Behaviorspace .xls gives me an average for the 10 runs of 1760,49 kg of daily CO2 emissions for the region (final run values are very similar between them). When using the shapefile information, it gives me a total of 201,1 kg of daily CO2 emissions.
It seems to me that either the model is miscalculating the emissions of my cars or that for some reason, patch information is giving me wrong values.
Here is how I calculate total emissions for the cars:
Increase number of parallel scenarios in behaviourSpace
I am using netlogo 6.4.0. When I set a runs through behaviourSpace it reads that it can run in parallel between 18 and 24 scenarios. I read that I can change the ram amount it has access to in the netlogo cfg files and restart for better performance of the interface, presumably increase number of parallel runs. I changed the netlogo cft file from 50% to 80%. There is no guide that indicates which of the 4-5 cfg fules should be changed. I was hoping or thinking that changing that file the way I did meant that now it has access to 80% of my pc ram (16GB). However, after saving that change and restart netlogo, it still saying I can only run 18-24 scenarios in parallel.