0
votes

Looking at one of my toy model, I noticed in the dependencies - Anylogic libraries that I had an older model I created. When I remove the dependency to this model, I get an error.

  • Is is possible to figure out what is needed from this older model?
  • It is not clear why it is even there. The only think I can think of is that I copied/pasted an agent I wanted to reuse in my new model. But if I am correct, then I still do not understand why a dependency to the older model is required...

How to fix this?

Thanks

1

1 Answers

1
votes

The normal reason this occurs is because you have added one or more agents defined in the other model into your model (e.g., dragged agent type A from your other model into the Main of your model, creating one or more instances of agent type A).

The error(s) should tell you which agent type is at fault. (It could also be something like an Option List or Java Class defined in the other model.)

It may be that you had also copy/pasted the agent type definition from the other model into your model (which makes things more confusing), which is then fixable by replacing the type-from-other-model instances with type-from-my-model instances.