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
2
votes
1 answer

Compilation fails for Repast ReLogo code in groovy

I coded a Repast program in ReLogo. Basically, I copy pasted the code by following instructions up to Page 19 of this document. I am on Ubuntu 18.04 and I installed Repast Symphony as instructed. My java version is basically oracle JDK-8:- java…
user_1_1_1
  • 903
  • 1
  • 12
  • 27
2
votes
1 answer

ClassNotFoundException: org.apache.log4j.Priority

im trying to set up a Web Project using Repast Simphony. The Application has a Start-Button and upon pressing the button the Repast Simphony Simulation should start using a custom runner (http://repast.sourceforge.net/docs/RepastSimphonyFAQ.pdf…
2
votes
1 answer

Problems with Repast Model Launch

After a fresh install of Repast Symphony 2.5.0 (Win 64bit) and JDK 9.0.1 on a Windows 10 system, when importing a JZombies_Demo example, the model cannot be launched with the default configuration. The error says: An internal error occurred…
iammain
  • 43
  • 3
2
votes
1 answer

Repast Symphony Scheduling method priority and agent priority

I have a (I hope) simple question to those with experience with Repast Symphony. The annotation based scheduling allows the setting of priorities. If I use the ScheduleParameters.FIRST_PRIORITY and ScheduleParameters.LAST_PRIORITY parameters for…
quadzar
  • 43
  • 4
2
votes
2 answers

Repast symphony @ScheduleMethod issue

For some reason my method doesn’t get called when I use @ScheduledMethod. Have no idea what is wrong as I used it before and everything was fine. Here is the code: import repast.simphony.engine.schedule.ScheduledMethod; public class WindGen…
2
votes
2 answers

Why are all my agents female?

I have 10 generic agents: public class Agent { private Context context; private Geography geography; public int id; public boolean isFemale; public double random; public Agent(Context context,…
Taylor Marie
  • 357
  • 1
  • 15
2
votes
3 answers

How can I construct a percentage of my objects as female?

I have an agent class that does things: public class Agent { private Context context; private Geography geography; public int id; boolean female; public Agent(Context context, Geography geography, int…
Taylor Marie
  • 357
  • 1
  • 15
2
votes
3 answers

Generic type invocation using string class names

Hope you can help me with this: I have ... a string list of class names called classNameList a generic class Geography a static generic method void read(Class cl, Geography geo) I want to loop through the string class name list and…
Johannes
  • 23
  • 4
2
votes
1 answer

Is it possible to run RepastJ model in a web browser

I am new to agent based modeling, and am running the demo model that come along with the RepastJ (Repast 3). Is it possible to run the simulation in a web browser? Thanks in advance.
jpr
  • 185
  • 3
  • 6
  • 20
1
vote
1 answer

Java jdk not reading packages correctly in Repast Simphony [Windows]

This is the line of code causing the error. import com.vividsolutions.jts.geom.Geometry; The error message I am currently getting is: FATAL [AWT-EventQueue-0] 14:43:35,367 MessageCenter.INTERNAL.repast.simphony.ui.RSUIPlugin - Fatal error starting…
1
vote
0 answers

Unknown error in Repast: does not find some module?

I am launching a model that was created with an old version of repast (RepastSimphony 1.2.0) and I am trying to run it an the latest version of Repast. I have imported manually the scenarios files to the best of my abilities (I am a beginner with…
1
vote
1 answer

Load Repast Model from freeze dry

A simple question. I have model which is very costly to initialize but much lighter to run. There is the option to freeze dry the model after initialisation in the gui. However, I could not figure out how to load the freezed dry model in the gui or…
1
vote
1 answer

Repast Simphony: How to set Scheduling priority based on agent id

I am making a Repast Simphony model of passengers boarding an airplane, and it is important for me to have the agents be iterated over in a certain, constant order. I have set the random seed to 1, and so the order is constant, however not trivial.…
Emil Ryd
  • 35
  • 4
1
vote
1 answer

Repast Simphony simulation ticks incrementing inconsistenly

I am running a simulation that moves agents along shape file "roads" in repast simphony. My code is derived from the RepastCity3 example. I have made some edits to simplify the code and when I run it, the Tick Count occasionally (not always) takes…
1
vote
1 answer

Repast Simphony: Turn Off Data Collection in Batch Runs

We've been developing in Repast Simphony, and are now attempting to scale up simulations. The GUI has been fantastic for testing, however, we don't need those datasets for larger runs. I assume we can stop data collection by removing the data sets…