

This might be helpful if packages above a certain size need to avoid a particular area. However, I can specify certain conveyors to avoid. In the properties of the conveyor, I can let AnyLogic calculate routing automatically, in which case it will take the shortest path. AnyLogic 8.3 now routes an agent through a conveyor network, so that I can just send an agent to its final destination without managing the route myself. If I wanted to convey through a network, I had to write the routing to convey from A to B, then B to C and so on. In 8.2 conveyors had no acceleration or deceleration and no intelligent routing. The new conveyors are so comprehensive, we will only touch on a couple of their features here. If you remember the Conveyor block from 8.2, it was pretty basic.

The Material Handling Library currently has 2 main features: conveyors and line-guided transporters (e.g., automated guided vehicles or AGV’s). So far so good on the implementation side of things, and the animation simply looks more modern than the old Swing version.Ī major component of 8.3 is the material handling library. However, when you export a model to a Java application, the export folder that gets generated includes everything your client will need, including the Chromium web browser. Our model template is now completely on 8.3.Īnother issue I was concerned with was how we distribute these models to our clients. The other related to how I manipulated the tool bar programmatically. One was easily resolved by changing a cast from (Experiment) to (ExperimentHost).
#Anylogic get parameters of enter agent upgrade#
The upgrade from 8.2 to 8.3 was fairly smooth.įigure 1- AnyLogic with HTML5 Animation Window This includes our key animation components. At MOSIMTEC we have a model template with components we use on every project. The thought of taking out the old Java Swing and completely replacing it with HTML5 seemed like such a major change that surely it was going to break my old models. Let’s break each of these down separately. There are also several other nice-to-have features that are going to make modeling just that much easier!.A significant conveyor and transporter library will change the way I model.A new animation engine will change the look & feel of the models my clients receive from now on.Why do I consider this a “major” release? Here it is:ĪnyLogic has released a fairly major release, though hidden in a minor release number. We thought it was useful insight for people who model with AnyLogic and asked if she would blog about it. It details some of the useful changes beyond the headline updates in AnyLogic 8.3. At the end of 100 runs for example, the dataset will have 100 values of the main variable, with 1 value for each run.Amy Greer, of MOSIMTEC, began an interesting thread on our LinkedIn group. to access elements in main (or top-level agent).Ĭheck the example below, where after each run a variable from main is added to a dataset in the Parameters Variation experiment.
#Anylogic get parameters of enter agent code#
To be able to collect data, you need to write your code in Java actions fields with root. Typically, the best way to benefit from such an experiment is to track the results of each run using elements from the Analysis palette or even better to export results to Excel or similar. If you’re running 1000 runs and multiple replications with parallel runs, how can you see what’s happening in Main in each? This is how Parameters Variation is intended to work.


There is limited documentation available on this. My end goal (as with most people) is to have a model go through a certain number of replications, but nothing is even running. All I see is the default UI with iterations completed and replication. When I create a ParametersVariation simulation, the main model does not run.
