How to get current parameter value during optimization in AnyLogic?
According to documentation, a current parameter value can be obtained with double getCurrentParamValue(IVariable parameter)
. What should I write inside this function to get a value of parameter named x
?
How to get current parameter value during optimization in AnyLogic?
According to documentation, a current parameter value can be obtained with double getCurrentParamValue(IVariable parameter)
. What should I write inside this function to get a value of parameter named x
?
Anylogic running slow on M1 macbook
I have just started to learn anylogic. It runs very slow on my new m1 macbook pro. Tasks like changing tabs to another file take over 5 seconds some times.
Any help is appreciated
Pick 3 random Items out of pallet Rack and batch them?
in Anylogic I have a pallet system, which I fill with box agents at the beginning. In addition, I have AGVs that are supposed to drive to 3 different boxes on the shelf and take each one with them. Now I’m faced with the problem that it simply starts from the beginning and so the first three boxes are just batched together, but I want them to be random boxes somewhere on the shelf.
Layout
Pick items out of a rack in a random order
I have a pallet rack filled with boxes. These boxes are now to be collected by AGVs. However, they should not be removed from the front to the back as standard, but in a random order.
I have already tried to solve my problem with code, but this was not successful.
Rack pick in a random order? [closed]
Closed 52 secs ago.
AGV picking multiple boxes out of a rack system
I am currently working on a project with automatic robots (AGVs) and a rack system. Now I’m struggling with the “rack storage” block and can’t figure out the problem. I want an AGV to pick several boxes from the rack and then move them to an unloading zone.
Set parallel evaluators count
I received a large model with an optimization experiment with memory issues. If i uncheck “Allow parallel evaluations” the optimization runs, however takes way too long. I’ve already disabled a bunch of non-necessary functions and the single evaluation consumes only up to about 5% of the available memory, which is still too much for parallel evaluations.
I found the getParralelEvaluatorsCount() method and was wondering if there is something akin to a set function for it but couldn’t find anything.
How to store multiple parameters of an agent within one component in AnyLogic?
I’m working on a simulation model in AnyLogic and I need to manage 82 parameters for each agent, which are categorized under 15 distinct themes. To keep these parameters organized and easily accessible, I want to create a data structure where each theme contains its applicable parameters.
Do the moveTo() functions work on pedestrians?
I found the moveTo() functions in the documentation for agents. Since Pedestrian extends Agent, I assumed it would work on them too, but I’ve been getting this unsupported operation exception:
Unsupported Operation Exception