i hope it help you, the problem was in identification which turtles should be the donor, and some small technical problem. i re-formulate it below cheers imron...
Thanks Seth. That's better, but still having some issues...maybe you can look at it. I'm trying to simulate taxes. Agents are born, move, eat, and die. They...
Hi James, You were right about that. I'm still having trouble, though. Maybe you can try it out... I'm trying to simulate taxes. Agents are born, eat, move,...
Hello everybody. I have a model in which i have to solve some non-linear equations. In each run, the model calculates some parameters and then i have to use...
Hi! i am trying to write in a file, and i am working with a breed. i want to write a line with some information for every car, so i do file-open "datos.txt" ...
Hi there I'm quite new to all this but i have a problem; when I use ask patches [set pcolor red] set (pcolor-of of patch-at 0 max-pycor) black which I could...
msffh
msffh@...
Mar 2, 2009 11:44 am
8763
... The preferred way of setting another agent's variable in NetLogo 4 is: ask patch 0 max-pycor [ set pcolor black ] The new syntax for referring to another...
What you show seems like it should work, but... I would put the FILE-PRINT at the end of the print sequence, not the beginning. Also, you should probably omit...
Do you mean this: (wikipedia) quote(( In the parabolic fractal distribution, the logarithm of the frequency or size of entities in a population is a quadratic ...
I would like to add some information to my question. They are not complex equations. For example: A * X ^ (1/3) + B * X ^ (2/5) - C = 0 But I don't know how to...
Hi all, I'm trying to copy numbers from nested lists to Microsoft Office Excel spreadsheets. Specifically, I'm trying to get data to appear in more than one...
Hi all: I want to create soil environement in my NetLogo model. I want to set my patches in such a way that 40% of my patches are of 2 mm and 30% of my patches...
to setup ca crt 1 [set heading 0] end to go let degree 0.5 loop [ if count turtles > num_t [stop] ask turtles with [(who < 1)] [ fd degree rt 10 hatch 1 [rt 90...
Hello everybody. I have a new question about Netlogo. In my model, i have ants going from point A (assume the upper right corner of the world) to point B...
The equation a*x^(1/3) + b*x^(2/5)-c = 0 can be solved by iteration; Rewrite the equation in iterative form as: xn=((c-b*x^(2/5))/a)^3 use x=1 as a starting...
I mean this: http://gameprogrammer.com/fractal.html Heres what they say, they have pictures that help better explain the process on the webpage... "Here's the...
... adamscopy> Thanks Seth. That's better, but still having some adamscopy> issues...maybe you can look at it. Sorry, this is a bit too much code for me to...
A better method for solving Martin's equation is to use Newton iteration, which generates a faster result (if possible). to-report newton-iter [a b c] let x 1...
Hi PS this may not be the most elegant way to do it, but I think it will work: have a patches-own variable, say "depth": ask patches [ set depth 0 ] ask n-of...
... pratibhasapkota> Hi all: I want to create soil environement in my pratibhasapkota> NetLogo model. I want to set my patches in such a way pratibhasapkota>...
... Tricky. How about something like: patches-own [ soil ] to setup ; set 40% of the patches to 2mm ask n-of round(.4 * count patches) patches [ set soil 2 ] ;...
That almost did it imron. Thank you!! The donors function is working perfectly, but the "weak" turtles are not getting the donation. I tried moving the...
OK. I thought you could try running it. It's a tax and redistribution simulation. I plan to play with it and see if there is anything to learn about tax...
Is it possible to disown "value" from the turtles once i've already writen this "turtles-own [value]" in the setup? i mean, can i disown it later on?...
chinoka21
chinoka21@...
Mar 4, 2009 11:05 pm
8782
It used to be in the address: http://www-u.life.uiuc.edu/~sstoddar/files/nlogo.vim But this link is dead. Anyone still has this file? I've been googling for a...
chinoka21
chinoka21@...
Mar 4, 2009 11:05 pm
8783
... Fun stuff! Here's some rough code I tossed together that seems to do the job. Note that edge-wrapping should be turned on, and that the world width and...
The -owns section defines the properties that your turtles can possess. If, for some reason, during the model run, you no longer require a value and want to...
I need to create a local variable that is a single random whole number with the range 1 to 10. I know how to create a list in this way but is there a command...
donaldmbraxton
donaldmbraxton@...
Mar 5, 2009 5:46 pm
8786
Hello all, I am currently working on a project to import velocity data from a hydrological maps. The maps are scaled from red-blue. I imported the bitmap as...