The first solution is to reduce the size of your variables names (for instance changing path1503 to p1503). You can save a few bytes doing that, but saving the project, making changes or moving things around will be very slow, and also you may have so many variables that reducing the size may not be enough for you. Nevertheless the solution may help you move forward and continuing the development of the model. The second solution, which is much more elegant and useful but much more difficult, is to separate your model into several agents. So this set of agents that fit into the PLE version of AnyLogic (figure 3) As you can see in figure 2, all the paths belong to an area that has a particular color, so what needed to be done was to restructure the model and generate a new agent containing the paths associated with an area of a particular color. Turned into this, which can only be created in the Pro or University versions, since the PLE is limited to 10 agents.Īnd the purple area full of nodes in figure 2 ends up being a solitaire set of paths in one of the new agents. Still a lot of paths, but nothing problematic.įigure 5 – paths, nodes and rectangular nodes moved to a new agent #Limitmmin anylogic full# Now let’s remember that for an agent to move from one node to the other, both nodes have to belong to the same network, and separating the networks in different agents, will generate as many networks as agents. So we need to build a strategy in our discrete event or agent-based model using the jumpTo function when it’s time to move from the node of one agent to the node of another agent. The jumpTo function is also available in the moveTo block of the Process Modeling Library by using the “is placed (jumps) to” option. So the moving entity can moveTo when it’s the same network but must jumpTo when it’s a different network. If you run into this problem, your case will obviously be completely different, but if you have an agent with too many elements and building your model becomes too slow, it’s always better to separate your problematic agent into smaller more manageable ones.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |