This tool relied upon a feature of the Google App Engine that Google removed as of 31 October, 2017. Fortunately the advantages of using this tool are now small since the appearance of NetLogo Web. The two remaining ways of using the Behaviour Composer are (1) to download NetLogo files from the Behaviour Composer and then open them from the NetLogo program and (2) to rely upon NetLogo Web. NetLogo Web is missing a few features and isn't as good as a debugging tool as the NetLogo program but otherwise is the best way to use the Behaviour Composer. The following is only of historical interest. Do not bother to download it. The BC2NetLogo program enables one to build models in the Behaviour Composer and to run them in NetLogo. It speeds up and automates the process of sending the model from the browser to the NetLogo program. How to download and install BC2NetLogoDownload and unzip these files then click on BC2NetLogo.jar inside the BC2NetLogo folder after unzipping. See these instructions if you previously installed BC2NetLogo. This program requires that Java has been installed. If you have problems launching it visit java.com to download the latest Java. Some Mac users have reported problems due to security settings. See these instructions if your Mac installation isn't working. If you get an error such as installation is missing required file then most likely it is because your operating system is displaying the contents of the zip file but the files have not yet been extracted from the zip archive. To fix this, copy the BC2NetLogo folder to anywhere on your computer. If you get an error such as windows doesn't know how to open this file then you need to install Java 8 (or higher) from java.com. LaunchingJust click (or double-click) on the BC2NetLogo file inside the BC2NetLogo folder (Windows users should click on the BAT file, others the JAR file).   To launch the 3D version on Windows click on the BC2NetLogo3D.bat script. To use 3D on Macs and Linux we recommend you download the latest NetLogo and run NetLogo 3D and download NLOGO3D files from the Behaviour Composer. Adding custom parameters to the launchClick on SetOptions.jar to alter
UsageYou should see NetLogo being launched and a web page being opened.  Create your model in the browser as usual. Instead of the Run and Download tabs you'll see a Send model to NetLogo tab. When you click on that your model will be assembled and loaded automatically into NetLogo. Managing multiple modelsYou can switch between as many models as you like using the My Models tab. We recommend you give descriptions to the models you are working on and click the hide check box of those you aren't.  Next time you launch BC2NetLogo it will begin with the last model you worked on. If you want to use a model that you have the URL of (either a frozen model or one that recreates the session perhaps copied from an earlier use of  BC2NetLogo) then paste the URL in the first line of the Code tab in BC2NetLogo and then click 'Send model to NetLogo'. Removing History now and thenBC2NetLogo reconstructs your session when it loads. This provides a history that you can inspect and move back and forth through versions. But the longer the history the more time it takes to load. We recommend that now and then you click on Settings and Reload without history. How to access images and data so the code runs in both BC2NetLogo and Java appletsNetLogo commands such as import-drawing should use the path "NetLogoData" in order to work in both applets and BC2NetLogo. If, for example, you wanted to use the file 'world.png' then import-drawing "NetLogoData/world.png" will work in the applet. You should put world.png in the NetLogoData that was part of the BC2NetLogo zip file. You should also send it to info@modelling4all.org in order for it to be copied to the server so applets can access the file. If you aren't concerned with compatibility with Java applets then you can place images and data files anywhere.Using the BehaviorSpace toolThe BC2NetLogo tool stores any experiments created with the BehaviourSpace tool so that experiments are not lost when the model is updated. How to bring a model into BC2NetLogoThere are two ways to import a model:
How to send edits made in NetLogo to the Behaviour ComposerWarning: experimental feature. You can edit the code and the user interface widgets and then when you send a model from BC2NetLogo the system will attempt to copy your edits to your current Behaviour Composer model. Advantages over running Java applets
Installing on top of an old installationIf you have previously installed BC2NetLogo we recommend you extract these files to the current BC2NetLogo folder. Click on SetOptions to ensure that the "Server" field is set to http://798-dot-m4a-gae-hrd.appspot.com If you choose to use a different folder for this installation then reset the 'folder' option in the settings dialogue after start BC2NetLogo. If you unable to install Java version 8 or you encounter errors with the new release try the previous release which can run under Java 7. Mac trouble shootingIf you have administrator rights try clicking on the BC2NetLogo.jar file while holding down the control button and then allow it to run. Mac users may need to run the previous release. The previous version generates annoying but harmless warnings. |
Guides‎ > ‎