Reputation: 1
I'm currently writing my master thesis and whilst doing that I'm being forced to use Anylogic for a simulation. This is my first time creating a simulation model or doing something remotely similar to that. I'm a complete beginner unfortunatly and time is beginning to run out for my thesis. The simulation is surpposed to show the waittime and stock of cars at a harbour.
The simulation model I created looks like picture 1:
Simulation Model
The data for the simulation comes from a real company and exists in an excel-sheet. I can successfully create a model in anylogic and also run that model, however the simulation never runs till the end, but rather stops after the last car enters the simulation, not the last ship exits it. This means, that a significant portion of cars never acually runs the simulation. This error always appears. Error code after simulation
As far as I'm aware I've set the stop date for the simulation long after the end of the last ship's transport. Does anybody know why the simulation stops before?
I really need some help and my supervisor sadly doesn't know Anylogic too well either.
EDIT: Hopefully this helps with understanding the data set und properties of the source block
Properties of the source block Fahrzeuge
Data type for the arrival date
EDIT 2:
I'm sorry that was the wrong screeshot. Properties Source Fahrzeug
I have just tried to run the simulation with just the first 10 cars and that works, so I think there might be an error in the data somewhere, that causes the simulation to fail. I will now try and add more and more cars until the simulation fails, so I can hopefully narrow the row with the error down.
Upvotes: 0
Views: 462
Reputation: 3975
Your simulation is stopping due to the error. And the error is specifying that you don't have a date for one of your data entries.
Given the little information provided I assume that you have set up your source to generate agents from the database and that you have imported your Excel sheet into the database.
Double-check that all your entries have an Arrival date.
Upvotes: 1