Questions tagged [rinsim]

Questions concerning the RinSim logistics simulator

RinSim is a logistics simulator written in Java. RinSim supports (de)centralized algorithms for dynamic pickup-and-delivery problems (PDP). The simulator is developed at the imec-DistriNet group at the dept. of Computer Science, KU Leuven, Belgium.

30 questions
3
votes
1 answer

How to remove a Parcel from a Depot in RinSim

How can one remove a Parcel object from a Depot such that we can pick it up with a Vehicle? There is a method called addParcelIn(), but we cannot find its counterpart. Thanks!
blah_crusader
  • 424
  • 1
  • 5
  • 14
2
votes
1 answer

Collision behaviour of vehicles in rinsim

We found the following behaviour when simulating multiple vehicles in rinsim: Vehicles can drive through each other without colliding just fine as we intend, but sometimes we get the exception below: Taxi eda0940 is travelling on connection…
2
votes
1 answer

Object in RinSim that can move through other objects

We're trying to find or develop an object in RinSim with the following properties: It can traverse the road model It can move through other objects that are physically present on the road model It can move against the direction of the road…
blah_crusader
  • 424
  • 1
  • 5
  • 14
2
votes
1 answer

Dynamic speed of vehicles in PDP scenario

Is there a way to provide dynamic speed to vehicles (e.g. dependent on the vehicle payload)? The VehicleDTO class is immutable and not extensible, yet is required in the PDPModel base class and all its subclasses.
F. Quin
  • 23
  • 3
2
votes
1 answer

How do I get IntelliJ IDEA to import RinSim from Maven correctly?

I am trying to import RinSim 3.2.2 from Maven using IntelliJ IDEA. I'm running Windows 8.1 x64. The following is my POM file:
FHannes
  • 783
  • 7
  • 22
1
vote
0 answers

Is there a model that changes a path of a agent after colliding to an other object

the CollisionPlaneRoadModel stops the movement of objects, are there models that try to find an other path when the path is occupied? the CollisionPlaneRoadModel just say: This model handles collisions between MovingRoadUsers by stopping the…
1
vote
0 answers

Possible Memory leak in CommModel

We are trying to implement a delegate MAS in RinSim. We use a CommModel, CommUser and CommDevice to send messages from the pheromones to the ants (simulating "smelling" the pheromone). We register the pheromone (derived from CommUser to the…
CPUFry
  • 566
  • 4
  • 18
1
vote
0 answers

Inconsistent speed and distance units

When changing the distance and speed unit of the road model from km and km/h to m and m/s (and also adjusting the speed value of our vehicle which is said to use these same units), we get inconsistent results. Using the default units, the vehicle is…
1
vote
2 answers

How to generate a graph file?

Is there a way to generate valid graph files like simple-leuven.dot or graphs of other cities available on Rinsim? We'd like to find a fast way to generate directed cyclic graphs with various geometries.
1
vote
1 answer

RinSim inconsistent NullpointerException GraphSpatialRegistry in sim.start()

We currently have a warehouse AGV problem running on RinSim. Sometimes during execution we get the following error: Exception in thread "main" java.lang.NullPointerException at…
nick
  • 13
  • 3
1
vote
1 answer

VerifyException in moveTo() method

My vehicles will move around randomly when they have nothing to do and look for new jobs, but sometimes, right before they would collide the following exception is raised: Exception in thread "Thread-0" com.google.common.base.VerifyException: …
Damcios
  • 333
  • 2
  • 6
1
vote
1 answer

Error with RoadModel.getDistanceOfPath(RoadModel.getShortestPath(Vehicle, Point))

I'm trying to get get the expected time it would take to move to a specific point. Here is the code I am using: long getTimeToReachGivenPoint(Point point) { System.out.println("Point: " + point); List path =…
Damcios
  • 333
  • 2
  • 6
1
vote
1 answer

CommRenderer cannot cope with an absent value in commUser.getPosition()

The documentation of commUser.getPosition() advices to return Optional.absent() if no position can be determined. Yet, lines 170 in CommRenderer throws an exception if commUser.getPosition() is absent: helper.fillCircle(user.getPosition().get(),…
user442934
  • 13
  • 4
1
vote
1 answer

Rinsim: add another PDPObject other than Parcel, Depot or Vehicle

We want to add a ConnectionAgent that monitors a certain connection to the PDPRoadModel in order to support reservations. However, these ConnectionAgents have CommDevices, which require a position in order to be useful, which means the devices have…
Lyncix
  • 13
  • 2
1
vote
1 answer

Rinsim: Changing the range of a CommDevice

Is there a possibility to change the range of a CommDevice? We would like to broadcast a message with a small range and gradually expand the range when no response is received.
Tom Houben
  • 51
  • 7
1
2