NetLogo GbCC Programming Guide

GbCC 2.0 User Manual

Events

GbCC (Group-based Cloud Computing) applications allow users to enter a room where everyone accesses their own instance of a particular NetLogo model. Everyone can share data about their model, in a gallery space.

User Accesses Room

Enter Room
Exit Room

User Broadcasts Data to Gallery

View
Plot
Text

User Saves and Retrieves Data

Set
Get
Get From User

User Stores and Restores Globals

Store Globals
Restore Globals
Restore Globals From User

User Requests Data from Gallery

Select Canvas
Deselect Canvas

Listen to Canvas

Ignore changes in stored data
Make a request for stored data
Continue listening for changes to stored data

Listen to Gallery

Listen to Broadcasts
Ignore Broadcasts

Canvases can have Multiple Layers

Multiple Layers

Authoring Models

Setup NetLogo Desktop Environment with GbCC Extension

1. Install Desktop NetLogo. https://ccl.northwestern.edu/netlogo/

2. Download GbCC Extension. gbcc.jar

3. Create a gbcc folder in the netlogo 6.x / extensions folder.

4. Add the gbcc.jar file into the netlogo 6.x / extensions / gbcc folder

Create NetLogo GbCC Model

1. Design Interface.

2. Write Code. Include gbcc extension.

3. Save model as .nlogo file. dev note: $(".netlogo-export-wrapper").css("display","block")

Test NetLogo GbCC Model

1. Upload .nlogo file into Conversion Tool

2. Download Netlogo GbCC Model and deploy it.

3. Edit the model, in the browser.

4. Save the model as a .nlogo file.

5. Open again in NetLogo Desktop. dev note: Remove \n between last two @#$#@#$#@.