Skip to main content

Questions tagged [netlogo]

NetLogo is an agent-based programming language and integrated modeling environment. NetLogo is free and open source software, under a GPL license. Commercial licenses are also available. It is written in Scala and Java and runs on the Java Virtual Machine.

2 votes
0 answers
50 views

How do I code a Hierarchical Network according to this paper using Netlogo?

I'm trying to code a hierarchical network using NetLogo following the paper "Hierarchical organization in complex networks" (2003) by Erzsebet Ravasz and Albert-Laszlo Barabasi. I first ...
kenjanaki's user avatar
0 votes
0 answers
33 views

One of three of my shapefiles not loading into NetLogo gis:extension

I have created three shapefiles of buildings from OSM via QGIS and exported them to the same folder. Two of the files open fine into Netlogo using the gis extension and gis:load-dataset but the third (...
Kevin A's user avatar
  • 81
2 votes
2 answers
63 views

Addressing Performance Dip in Long-Term NetLogo Simulations

I'm using a slurm HPC infrastructure to run NetLogo models on and am experiencing a performance issue that occurs consistently after approximately 4'500'000 ticks. The model starts to exhibit a ...
DeMelkbroer's user avatar
1 vote
1 answer
23 views

How to Install NetLogo v 6.4.0 Mathematica Link?

EnteringNLStart[ "/Applications/NetLogo 6.4.0/" ]after installing netlogo.m as/Users/my_name/Library/Mathematica/Applications/NetLogo.wl returns the message NetLogo could not be found in: /...
Michael Kerckhove's user avatar
1 vote
0 answers
33 views

NetLogo: Problem getting agents to move along paths in a network

I am working on a NetLogo model that simulates an evacuation scenario. The model is inspired by https://github.com/armostafizi/EvacuationModel/tree/master and includes pedestrians, cars, and ...
user25412742's user avatar
1 vote
2 answers
36 views

How do I load and read file information using NetLogo Web using the extensions 'import-a' & 'fetch'

I understand that 'NetLogo Web' does not support file-read and therefore a work around needs to be done using the extensions [import-a fetch]. In the 'NetLogo Desktop' version I was using "file-...
Robert Fligg's user avatar
1 vote
1 answer
31 views

Netlogo - Scope of "set-current-directory"

In Netlogo, I have a problem using set-current-directory (I am running Netlogo 6.2.1 in Windows 7 with Bootcamp on a MacBookAir from 2012) In Setup I have: set-current-directory "C:\\Users\\LALC\\...
LorenzoLearningCurve's user avatar
-1 votes
1 answer
30 views

Divide world into four different and equal quadrants

I'm beginning to use and explore NetLogo. For one of my study codes I would like to divide my world in 4 different, but equal, quadrants - just like the Cartesian coordinate system - using patches ...
rk_sh's user avatar
  • 1
1 vote
1 answer
53 views

Netlogo: efficient iteration using 'foreach'

I want to calculate and store two certain quantities associated with turtles' properties, namely count how many turtles meet a condition and the sum of these turtles' specific attribute. That specific ...
G. Papad.'s user avatar
0 votes
0 answers
12 views

Multiple Rasters as environment in Netlogo

I have different rasters in a Rasterbrick object. They reflect the habitat suitability of species through time. How can I incorporate these rasters into an Agent-Based Model in Netlogo and, with each ...
Marco ViCo's user avatar
0 votes
1 answer
32 views

How to put Turtles inside a [GIS extension] Shapefile in Netlogo?

I am trying to create turtles inside a shapefile. I have imported the GIS extension and loaded the shapefile. I am now trying to generate the turtles into the shapefile boundary as they are generated ...
Elliebird's user avatar
1 vote
2 answers
47 views

How to make agents stay at certain patch in NetLogo?

I'm a beginner, the agents in my model are the countries and I want to make each one of them on a different patch to be far away from each other and make them stable as they do not move. I couldn't ...
Hager Lotfy's user avatar
0 votes
0 answers
31 views

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 ...
Amit Agarwal's user avatar
1 vote
1 answer
26 views

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 ...
Barak Garty's user avatar
0 votes
0 answers
26 views

How to know the distance between points and the center in Netlogo

I want to know the distance between two variables and the center of the map (a bit strange the method but it should work) My agents have two variables, economic and cultural, that range from -10 to 10....
bksnlow's user avatar
  • 111

15 30 50 per page
1
2 3 4 5
279