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

object removed from the context but not the display

I have a simple Agent in a simple context (geography package) which operates using latitude and longitude to represent space. The agent is supposed to die on the 10th iteration of the model. It is then removed from the context. On the 10th iteration…
Taylor Marie
  • 357
  • 1
  • 15
1
vote
1 answer

Is it possible to execute REPAST model immediately from the IDE

Is it possible to run my simulation directly without seeing the GUI? All I am interested in are console output data, so there is no need for me to interact with a GUI to play, pause or reset my simulation.
1
vote
1 answer

Adding the same object to context and a list

I have created a tree class and implemented a comparator: class SuitComp implements Comparator { @Override public int compare(Tree o1, Tree o2) { return Double.compare(o1.getSuit(), o2.getSuit()); } } class Tree { private…
1
vote
0 answers

error when installing Repast HPC 2.0

Has anyone tried Repast HPC 2.0. I am trying to install it on Mint 16 (64-bit) but got errors as below: mkdir -p ../include/repast_hpc mkdir -p ../include/relogo cp ../src/repast_hpc/*.h ../include/repast_hpc/ cp ../src/relogo/*.h…
Yvan
  • 35
  • 5
1
vote
1 answer

Assigning data layers to grid in Repast J

I am trying to write an ABM in Repast Java Suite and am using a 3D grid for that. Two questions about the grid: 1) I want to assign a functional value for each (x,y) combination in the grid- E.g. for each f(x,y)=x+y. So, when an agent is at point…
1
vote
2 answers

Java project that uses library throws NoClassDefFoundError when using project that uses the same library

I'm creating a Java library for using in other Java projects. The projects use Repast Symphony and my library does so too (so i'm afraid this error is being caused by some conflict). Everything builds fine, but when I run a the Repast simulation, it…
ecc
  • 1,490
  • 1
  • 17
  • 42
1
vote
1 answer

Upgrade repast simphony version 1.2 to repast 2.0

I need your help. I'm running a repast simulation from another Java application. What I intend to do is to upgrade the repast version 1.2 to the repast version 2.0. How can I do this? I tried to replace the repast.simphony.bin_and_src.jar with the…
tom
  • 53
  • 4
1
vote
1 answer

repast simphony: count turtles matching a property

I'm programming a simulation using repast simphony groovy API. There's a method count(myTurtles) which allows me to count the number of agents (turtles) of a particular class myTurtle extends BaseTurtle. My question is: Is there any way to filter…
NotGaeL
  • 8,344
  • 5
  • 40
  • 70
0
votes
0 answers

Can I change the x-axis value in the Repast Simphony GUI Time Series chart?

When creating a time series chart in Repast Simphony, the x-axis is automatically the Tick Count. How can I make a custom Time Series chart with something else, like UTC time, on the x-axis? I'm essentially using the tick count as epoch seconds from…
0
votes
0 answers

groovy/lang/GroovyObject not found error when running batch_runner.jar on windows in headless mode

I am trying to build a pipeline to generate a service that can set up and run a repast simphony model in a remote machine. Following several posts, it seems that the easiest way to achieve it is by using the batch configuration, together with the…
0
votes
1 answer

Can I run Repast Simphony in batch mode with Java 17 (or greater)?

When running the Repast Simphony GUI, I can supply JVM options to get around the IllegalAccess exceptions (e.g. --add-opens /=ALL-UNNAMED). When I try to run in batch mode, the JVM arguments do not get passed along to where the run…
0
votes
1 answer

How can I dynamically change the size of an agent's icon in a 3D Display in Repast Simphony?

I am trying to change the 3D model's size of an agent programmatically but it doesn't seem to be a way, any ideas? I tried making the agent extend the DefaultStyle3D class but there only is a method to update the scaling factor, which by the way…
0
votes
1 answer

Is there a way to access the weight of an edge using Repast4Py's network module?

The Repast4py API documentation states there are ways to add edges with weights in a network. Similarly, it states ways to access the number of edges a given vertex has. However, it doesn't seem there is a way to access the weight of a given vertex.…
0
votes
0 answers

Repast Simphony Batch Runs Only Running Once on Cluster

I am creating a model with repast simphony and I am trying to conduct batch runs on a cluster. More specifically, I am using slurm. I tested my batch run configuration on my local machine, and my results were exported and aggregated as…
Katie
  • 1
  • 1
0
votes
1 answer

How to Implement SIR Model in JAVA and Visualize it in Repast Simphony?

I've been given a Project to Code a SIR Model (Agent Based Modeling) from Scratch in JAVA and then Visualize the same through Repast Simphony using different Values of Beta and Gamma. I have setup Java, Eclipse and Repast Simphony but I don't know…