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.

119 questions
2
votes
1 answer

Repast Simphony: Scheduling a global behavior as Poisson process with random intervals

I have a functioning model where I want to force a random agent to change state on a varying interval, modeled as a Poisson arrival process. I have set up a global behavior per the FAQ, by including a block in Build() that looks like this (where a…
jlamb
  • 23
  • 2
2
votes
1 answer

How to remove randomization in Repast Simphony for testing purposes?

I want to remove all randomization from my Repast model so that I can refactor with confidence that functionality is unchanged. However, I was unable to remove randomization by setting the seed using RandomHelper.setSeed(1) at the top of…
2
votes
1 answer

Why can't Repast Simphony find model output in batch run?

I'm attempting to conduct a batch run of a model through the Simphony GUI. I have text sink with relative path "./Test_Data_FileSink" created in my scenario tree. This file is created and saved with single runs through the GUI. However, when I…
JD Caddell
  • 313
  • 1
  • 9
2
votes
1 answer

Repast: Agent execution order

I have an agent called truck, which will perform some actions (e.g. loading packages). The problem here is related to the random sequence of agents executing actions. For instance, suppose I have three trucks, the loading sequence is random at each…
Jack
  • 1,131
  • 1
  • 8
  • 17
2
votes
0 answers

Repast: start the simulation from negative tick

I am modeling a delivery system and the delivery schedule time is more than one day 24hr. A part of the scheduled time is arranged in the prior day which is shown as a negative number. For instance, -300 means the delivery task to be arranged at…
Jack
  • 1,131
  • 1
  • 8
  • 17
2
votes
1 answer

Issue of creating a subclass agent

I have a intercity delivery system simulation model. A type of the agent is "Parcel". At the end of each delivery shift I want to generate some new parcels as a different sort of parcels. Therefore, I created a new class called "Dummy_Parcel" which…
Jack
  • 1,131
  • 1
  • 8
  • 17
2
votes
2 answers

How is repastpy set up and started?

My understanding is that repastpy is an environment that can be created from repast in which Python-like code is used to create agents, behaviors, etc. I would like to use repastpy because my Java knowledge is limited, but have been unable to figure…
Leo W.
  • 55
  • 2
2
votes
0 answers

Repast Simphony: runtime NullPointerException caused by the network projection

I'm having troubles with Repast Simphony with the network projection. I have a series of agents arranged in a ring, on a ContinuousSpace, and each agent is connected to its successor using a network projection. In practive, every agent has an Edge…
Nicolò Pomini
  • 126
  • 1
  • 5
2
votes
1 answer

Repast - call simulation from another java program

I am trying to call my simulation model from another java program. I followed the official instructions to have the codes like below: package test; public class UserMain { public UserMain(){}; public void start(){ String[] args = new…
Jack
  • 1,131
  • 1
  • 8
  • 17
2
votes
1 answer

Repast - how to sort the agent set from query?

Take the Jzombie model for example, if I want to query all humans with energy equal to 5 and put them in a list I would be have the following codes: List human_list = ArrayList(); Query query = new…
Jack
  • 1,131
  • 1
  • 8
  • 17
2
votes
1 answer

Calling a Repast model with a list of model parameters

I have an agent-based model which is developed in Repast. To calibrate the model, I need to run the model with a list of parameters. And, use some optimization algorithms to find the best parameter set (minimizing some loss value). I wonder how to…
Haifengz
  • 31
  • 2
2
votes
1 answer

Repast - locate and track a specific agent using agent monitor

I have 500000+ agents which are added in the context but not in the display. Is there an easy way for me to locate a specific agent (without displaying it) and track its property change over time using the agent monitor like below:
Jack
  • 1,131
  • 1
  • 8
  • 17
2
votes
1 answer

Change dynamically border color of an agent in Repast Symphony

I have to change dynamically the border color of an agent. The agent is represented as the default circle on the display. The displayed color has to change according to a boolean variable defined inside the agent Class. When the agent is created…
g. tu
  • 138
  • 9
2
votes
1 answer

Repast Java: Problem of Creating Multiple types of Custom Edge

The original solution for creating only one custom edge is here: Repast Java: Creating a custom edge agent to schedule specific actions 1). Now I have a demand for creating more than one type of custom edge to be acted as unique agents (e.g. in my…
Jack
  • 1,131
  • 1
  • 8
  • 17
2
votes
1 answer

Repast: set different color for different edges

I have two types edges in my supply chain model: demand_links and supply_links. the default color is gray for all links. But I want to change the color of demand_links to red each time the attribute of the demand_link is changed (Note:the edge is…
Jack
  • 1,131
  • 1
  • 8
  • 17