Questions tagged [repast-simphony]

Repast Simphony is a cross platform Java-based modeling system that runs under Microsoft Windows, Apple Mac OS X, and Linux. It supports the development of extremely flexible models of interacting agents for use on workstations and small computing clusters.

Repast Simphony is a tightly integrated, richly interactive, cross platform Java-based modeling system that runs under Microsoft Windows, Apple Mac OS X, and Linux. It supports the development of extremely flexible models of interacting agents for use on workstations and small computing clusters.

Repast Simphony models can be developed in several different forms including the ReLogo dialect of Logo, point-and-click flowcharts, Groovy, or Java, all of which can be fluidly interleaved. NetLogo models can also be imported.

138 questions
1
vote
1 answer

Repast Does not display background Maps in example files

I am brand new to Repast and am interested in eventually creating a marine traffic simulation in the Arctic. I am going through the "Import Repast Examples" and none of the models I go through display the maps in the simulation display. For example…
1
vote
1 answer

Command Line Batch Runs on Linux

On the Windows installation of Repast Simphony 2.7 there exists the batch_runner.jar in the installation directory, while on Ubuntu it seems to be missing. I try to execute batch runs without a GUI inside a docker container. Is there a way to…
Benedikt
  • 68
  • 4
1
vote
0 answers

AgentSet cannot be resolved to type in Repast Simphony model

I've installed Repast Simphony on Eclispe (centos 7.7) and I'm trying to run the Zombies demo but seeing errors like the following: AbstractGridFunction cannot be resolved to a type Heatbug.java /Heatbugs/src/repast/model/heatbugs line 58 Java…
Ed Hall
  • 21
  • 1
1
vote
1 answer

How to stop simulation run after specific time NOT tick

all. Regardless of what my model does, I want to stop the simulation after running for a specific time (real clock time). For example, stop after 5 or 10 or 15 minutes. I tried stopping it after 5 minutes using the…
1
vote
1 answer

How to configure the context.xml file?

I just started learning repast. When I follow the examples in the attached documentation,I found a problem with the configuration of the context.xml file,What should I do?enter image description hereenter image description here
LiGuanding
  • 23
  • 2
1
vote
1 answer

Repast aggregated dataset, but for each instance separately in Repast Simphony

I am using Repast Simphony framework for simulation. Let's say that I have following class: public class Generator { private String name; private Random random; public Generator(String name) { this.name = name; …
Michal
  • 1,755
  • 3
  • 21
  • 53
1
vote
0 answers

Repast: call initialization during runtime

I have previously built a model to run by each day independently. During the start of the day the initialization procedure will be conducted to read input data and perform all initialization things related to this day. Now I am considering to run…
Jack
  • 1,339
  • 1
  • 12
  • 31
1
vote
1 answer

Trying to set different colors on patches based on their coordinates

I want my patches to be have different attributes , and color, based on their coordinates. My end goal is to represent the gutwall with grey and the lumus with pink so i have used for loop to implement it in The userPatch def i=0 …
debixen
  • 11
  • 1
1
vote
1 answer

Low CPU and Core Usage during Repast Simphony Java Run

I am building an ABM in Repast 2.7 and we're getting to the point in the project where we are being delivered the larger production datasets for informing our model. I'm noticing on my 32 core workstation that the executable is only using 3-12…
Thomas Ingham
  • 1,082
  • 8
  • 16
1
vote
1 answer

Repast: suppress errors during batch run

I have a model with some calculations associated with a number of hubs, each with a unique hub code. Hence I configure the batch run as a list of hub codes. However, there could be some errors happens for certain hubs. In such case, the batch run…
Jack
  • 1,339
  • 1
  • 12
  • 31
1
vote
1 answer

Repast: check execution time for each method

My model is gradually slower down to an unacceptable speed(i.e. from 200 ticks per second to several seconds for one tick). I'd like to understand what the causes to this problem. What is a simplest way to check which part of the model is…
Jack
  • 1,339
  • 1
  • 12
  • 31
1
vote
1 answer

Repast - Is batch run already parallelized?

If I my computer has 12 cores and my model has 15 scenarios runs, is the batch run automatically distribute the initial 12 runs to each core and run the respective runs concurently to save time? If yes, I'd like to also know if I can control the use…
Jack
  • 1,339
  • 1
  • 12
  • 31
1
vote
0 answers

Repast: Query() method runs greatly slower than manual iteration

Recently I found a big problem using repast query() method. I found it is somehow significantly slower than using the simple manual iteration approach to get the specific agent set. Take a package object query for all hubs with the same "hub_code"…
Jack
  • 1,339
  • 1
  • 12
  • 31
1
vote
1 answer

Repast - eliminate/delete agents permanently

The model I have contains huge number of agents. However, I wish to partially delete/elminate some agents who have done their job during the run-time, in order to release computing memory, speed up model execution and avoid OOM. Is context.remove()…
Jack
  • 1,339
  • 1
  • 12
  • 31
1
vote
1 answer

Repast - Exchange information between batch runs

Batch runs in Repast are independent runs without interactions. However, in my model I have a need to enable such interaction. E.g. run-2 needs to get some data from run-1 in order to run completely. Is there a way to exchange information between…
Jack
  • 1,339
  • 1
  • 12
  • 31