Science topic

AnyLogic - Science topic

Explore the latest questions and answers in AnyLogic, and find AnyLogic experts.
Questions related to AnyLogic
  • asked a question related to AnyLogic
Question
2 answers
Currently I am trying to model plastic packaging waste management scenarios and analyze the effect of interventions at the local level and policy implementation at the macro level. I have reviewed some articles and see that in some cases they have done the ABM and SD model integration using Python. However, I see that software like Anylogic and Stella (to some extent) can also combine these models.
Without considering the license price (Anylogic is more expensive than Stella), I would like to know which of these two software would be more recommendable for this integration purpose.
Relevant answer
Answer
I used anylogic, the tool is good visualization, and powerful to combine the ABM and SD
  • asked a question related to AnyLogic
Question
1 answer
I am trying to simulate pedestrian movement in a building with an elevator but when I use the Anylogic pedElevator block the pedestrians pile up in front of the elevator door. The agents have entered the elevator block and can be counted via elevatorQueueSize() but I cannot find how to limit the capacity of this integrated queue.
Can anyone help how to limit the number of waiting pedestrians in a pedElevator block?
Relevant answer
Answer
No tengo la respuesta, primero porque no entiendo la pregunta. Segundo porque se necesitan más detalles.
  • asked a question related to AnyLogic
Question
2 answers
I have built a model using system dynamics in AnyLogic and I am trying to create a difference function between the data generated by the model and the data imported as a database. I then want to sum all these differences by squaring them to get a single value to minimize and thus adjust the model parameters. I have been trying several ways to do it without success, and I would be very grateful if you could help me, I'm all ears.
Thank you very much.
Relevant answer
Answer
Yes, I want to do an optimization and minimize the funtion in AnyLogic.
  • asked a question related to AnyLogic
Question
3 answers
We built a simulation model can describe the spread process of COVID-19 in the metro system with six stations.
However, the running speed of this simulation is plodding. We think this is because we used the "schedule" function to realize the time-varying arrival process of passengers. So, if you know how to make this simulation faster, I'm all ears.
please text or email me: wuaoping4real@163.com.
The link of model is below:
Relevant answer
Answer
Cloud computing appears to be sophisticated but is just wasteful fluff. You are perhaps using some simulation system or software or script that is extremely inefficient such as python. Watch this YouTube video to see how astonishingly inefficient script can be: https://www.youtube.com/watch?v=c33AZBnRHks
  • asked a question related to AnyLogic
Question
2 answers
I'm doing a research about simulation modeling and I've been using anylogic for a couple of weeks now to collect information for my project.
I know anylogic is a very flexible software with a java base but I want to know if there are any issues you ran into while using anylogic or if there are any fields/industries that doesn't work with anylogic very well.
Please feel free to write down any issues you noticed while you were using anylogic and any opinions you have about the software.
Thank you for your time.
Relevant answer
Answer
Thankyou very much Shima Shafiee Ill take a look. it looks very helpful
  • asked a question related to AnyLogic
Question
1 answer
ji, so I've been working on Anylogic and it was really good unless 3 days ago something happened and I don't know why. so I created one model and it was working good after I placed parameters in Main agent something goes wrong. I saved it and then I try to open this model but it says 'unable to open the model' and ' invalid project file format'. can you help me with that? it is little bit stressful and urgent :(
Relevant answer
Answer
The solution is probably to type the parameters manually instead of copy pasting them. Anyways, during project development "save as" or make a copy of the model each time so you keep record of presvious steps.
  • asked a question related to AnyLogic
Question
3 answers
Hello,
I want to model a system in AnyLogic comprised of 10 machines. Jobs (my agents) are created and can do any sequence of machines, i.e., random routes. For instance, jobs can do:
machine1 -> machine7 -> machine2 -> exit
machine9 -> machine2 -> exit
...
So, once they exit a machine, jobs can go to any other machine.
I have modeled my machines as services, so I have 10 services. My doubt is how can I implement these random routes/sequences of services? I.e., once a job finishes a service, how can it randomly select the next one? I am aware that one option is to use multiple SelectOutput at the end of each service, but is there another way to model this?
Thanks.
Relevant answer
Answer
Hi,
I think that your model is assimilable as a System Dynamic for this you try to use AnyLogic (System Dynamic Module) for solving this problem, please take a look at the links.
Best regards
  • asked a question related to AnyLogic
Question
1 answer
Hi,
How can I simulate a traffic dataset(gather information of each car for one month or more) for location prediction of the vehicles? In other words, can I have a dataset that I use its features as inputs to my time series neural network model?
Is there any way to doing that?
The main reason that I cannot use a real dataset is that I want each car to send a packet to the nearest RSU that consists of vehicle speed, vehicles direction, and Car_ID and time-stamp.
I want to even differentiate rush hours and non-rush hours, driver preferences, weather type, etc.
Based on the above factors, the driver changes its route. So I don't want to have a static route for each id_Car. Instead, I want to have different routes for each car, based on traffic speed in each lane.
Any help would be appreciated.
Thanks
  • asked a question related to AnyLogic
Question
2 answers
Trying to simulate crowd movement in Anylogic and export the movement data to a game engine, Unreal or unity. Is that possible? and is there any alternative to Anylogic that can do that?
the link does not need to be in real time.
Relevant answer
Answer
Models created in AnyLogic Cloud may be export with other users. To share a model, you must be the model's Developer.
1. Click the Publish button in the Publish model section.
2. Complete the following form.
3. Press the Publish button.
Kind Regards
Qamar Ul Islam
  • asked a question related to AnyLogic
Question
9 answers
I am studying walking behavior by agent based modeling. Do you see proper Anylogic software on it? Or another software?
Also, do you know any sample in which analyzed walking behavior by Anylogic?
Relevant answer
Answer
Good question, I'm trying to follow the same issue. Maybe you can have a look about this interested courses:
Best Regards,
Luis Cruz
  • asked a question related to AnyLogic
Question
5 answers
I have just downloaded the latest version of the agent-based modeling and simulation platform Repast Simphony (v2.8) and wanted to go through a related System Dynamics tutorial (from 2013) but when I create a new project in Repast Simphony, the option of creating a System Dynamics model using a wizard does not seem to be there anymore.
I wanted to create a multi-paradigm ABM/SD model in Repast Simphony. Is this possible with Repast Simphony (perhaps embedding an external library for the SD components)? Can someone provide examples of such a multi-paradigm Repast Simphony models?
I know it is possible in AnyLogic, but I would like to use an open-source platform instead.
Relevant answer
Answer
Dear Peer-olaf Siebers,
Can you tell me which type of approach you are using within your repast ? ReLogo and Statecharts, Logo-style C++ approach, Java or anything else.
  • asked a question related to AnyLogic
Question
3 answers
I modeled a vehicle routing problem with anylogic and now I need to optimize it using optquest. but I don't know if it gives us the optimal road of the vehicles or we should use something else to have it.
Please help me .
Relevant answer
Answer
If your model include the quality of the road then yes. For this you could to take into account the dependence of the vehicles speed, the cost, and/or the fuel consume on the quality of the road. So, the probability of being choisedsome routes will depende on it quality. It is valid for any sofware you could use.
Best wishes,
  • asked a question related to AnyLogic
Question
2 answers
Hello, I am working on an agent based model using Anylogic 8.7. There is a point where I filter some agents sharing the same attributes to a collection, and then use Java looping method to grab some other attributes(e.g. impact) from the filtered agents.
for(population p: collection){
traceln(p.impact)
}
What I want to do is to grab each listed agent's impact from console, do some operations and I want to do this process on each one of them seperately. Is there a way to retrieve and release the printed data? If positive I would be grateful to know how to conduct it.
Thanks.
Relevant answer
Answer
each population of agents created in Main can be retrieved by
main.population_name[0].attribuute
up to
main.population_name[population.size()-1].attribute
  • asked a question related to AnyLogic
Question
3 answers
Hello everyone,
I am currently developing a small simulation model of an assembly worker pool in which I would like to consider randomly occurring absenteeism due to illness. Meaning: if one of lets say 17 workers is ill, he becomes unavailable and the Pool capacity is dynamically set to 16. After recovery, the worker becomes available again and the Pool capacity is increased by 1.
The model shall be based on historical data, which are available in the following structure (see excerpt @attachement).
The Pool Capacity is set every 8 hours with each shift change with the following logic (triggered by schedule):
- Create a list of all worker, that belong to the next shift group
- For each worker which is available (workers have parameter called “available”):
o determine randomly, if worker gets ill (using randomFalse(average chance to become ill, e.g. 2,5%, see above)
o If worker becomes ill, assign a value from custom distribution (bases on observations for the number of absent days per illness) for the number of unavailable days and create a dynamic event which will set the availability of this worker back to true after this number of days
The Pool capacity is set to the value that equals the number of the remaining available workers in the list
The model looks like this (see model overview @attachement).
On the first glance, the model works as intended. However, after 50 replications I aggregated the simulation data and compared the simulation result with my real data (table @attachement). I found out, that the model indicates, that ~41% of the shifts are staffed with 17 workers (= highest rel. frequency) while the real data show that 44% of the shifts are staffed with 16 workers (= highest rel. frequency of real data).
Something in the model concept does not seem to fit, otherwise the relative frequencies would somehow match in a better way, right?
Does anybody can tell me, if my current approach makes sense or am I overlooking something crucial? Is there a better approach to model this kind of problem?
Relevant answer
Answer
I agree with Christopher C Kelly , there may be non-random factors that contribute to absenteeism. There may also be auto-correlation between employees' absenteeism.
  • asked a question related to AnyLogic
Question
1 answer
Hi All,
Please see file attached.
I want to select an option from radio button and the agents will only be output from that place.
Please see the picture attached.
Best Regards,
Jahanzeb Ahsan
Relevant answer
Answer
Hi,
If you provide the conditions, you used I can show you how to convert them to a select 5 output block.
Can you write the syntax of the conditions or attach the model?
Tomer
  • asked a question related to AnyLogic
Question
1 answer
As far as I know, the same plan might create different events when executed multiple times in MATSIM. But, I am looking for a way that whenever I run a particular scenario for my agents, the output will be the same. By output I mean, for example, the time when the agents arrive at their work or the time when they depart the traffic lights. I am wondering if it is possible to do so by means of seeds in MATSIM?
Relevant answer
Answer
Hi Amirhosein,
running a MATSim scenario with the same inputs using the same seed in multiple runs should yield reproducible results regarding e.g. travel times, arrival times. This is, of course, only valid if you don't use replanning strategies that adapt routes, departure times or activity locations.
Best regards,
Daniel
  • asked a question related to AnyLogic
Question
3 answers
I need a simulator for generating data traffic (the time, location, speed of the agents on a map) with the following requirement:
1-It should be agent-based.
2- I want to generate random networks with different traffic lights and roundabouts.
3- I should be able to import open road/street maps and then adding some traffic lights, and any other objects to the maps.
4- Graphic is not important to me and my aim is just to generate traffic datasets.
I want to make all the mentioned requirements as automatically as possible to generate thousands of different scenarios.
Relevant answer
Answer
AnyLogic is a better choice
  • asked a question related to AnyLogic
Question
3 answers
I'm running AnyLogic University 7.3.6.201610041935 x64 on a Windows Server 2008.
Two days ago on building the model I started seeing the following errors pop up.
1) 'Description: Cannot switch on a value of type String for source level below 1.7. Only convertible int values or enum variables are permitted.'
2) 'Description: '<>' operator is not allowed for source level below 1.7.'
The system runs java version "1.8.0_191". I'm not entirely sure how to debug this and I'd appreciate any help I could get.
Relevant answer
Just chang "<>" to "!=". For instance
if (5 != 6) System.out.println("5 is not equal to 6"); //correct
if (5 <> 6) System.out.println("5 is not equal to 6"); //incorrect, syntax error
  • asked a question related to AnyLogic
Question
4 answers
I am currently working on a Urban Traffic Simulation on Anylogic and sometimes when the simulation is running, this error appears and everything stop:
"Exception during discrete event execution:
java.lang.RuntimeException: root.<population>[139]:
INTERNAL ERROR: Trying to send car to the logical not where the car is currently located."
The number "139" on the error is not a fix value, it varies depending the time of the simulation progress.
Does anyone know what this error means and how to solve it?
Thank you for all the support, this would be very helpful for the continuation of my work.
Relevant answer
Answer
Is there any update on this?
  • asked a question related to AnyLogic
Question
6 answers
I want to develop multi agent based control system for fire disaster management.
Relevant answer
Answer
You did not provide sufficient info on your model to be able to understand how complex the implementation is going to be, so I would recommend that you start by exploring both. The free version of AnyLogic is probably easiest as long as you can fit your model withing its limitation. On the other hand the researcher version of AnyLogic is fairly expensive and NetLogo is free.
  • asked a question related to AnyLogic
Question
2 answers
i am currently working on VANETs and want to use anylogic in the simulation of the networks
Relevant answer
Answer
all thanks so much sir@Ante Prodan. I was looking at possibility of using it, later found that its not feasible. I resorted to NS-3 which I am still facing some difficulties with its requisite installations both in Ubuntu and windows 10
  • asked a question related to AnyLogic
Question
5 answers
I am new with Anylogic.
I try to do as the instruction in Anylogic Help as below:
1. Download the required driver (zip archive) from: http://dev.mysql.com/downloads/connector/j/5.1.html
2. Copy all driver files to the model's folder.
3. Open the model in AnyLogic, select it in the Projects view and import driver JAR file on Dependencies tab.
4. Go to the advanced properties of Main and type the following line in Import section: import com.mysql.jdbc.Driver; 
5. Select database and type com.mysql.jdbc.Driver in JDBC driver property.
6. Connection URL should look like the following: jdbc:mysql://host:port host - is the ip address of the database, e.g. 18.40.10.8 port - the default value is 3306
7. Specify login and password for the database.
but from step 5, I can not type com.mysql.jdbc.Driver in JDBC driver property like the instruction. (I use version Anylogic personal learning edition )
Please help me, many thanks in advance !
Relevant answer
  • asked a question related to AnyLogic
Question
3 answers
Hi everyone,
Today there are excellent tools available to model the dynamics of vehicles, such as CarSim. However, I believe that the use of Anylogic can offer more possibilities to the models because it would allow to better manage the events and also integrate them as agents in more complex simulations. So I would like to know if there is someone who tried to make this type of models.
Relevant answer
Answer
For macroscopic study I would suggest SUMO. (open source from German Aerospace Center).
  • asked a question related to AnyLogic
Question
2 answers
I need to know somethings about the sensitivity analysis, charts and analytical tools, formulation and other capabilities of them?
Regards,
Nima
Relevant answer
Answer
The difference between VENSIM and AnyLogic (System Dynamic Module) for solving the SD models can be expalinde as follows:
In general speaking, different computer software, such as Vensim, Anylogic, iThink, and Stella, also exists that are capable of simulating system dynamics (SD) models. Some of these tools are also capable of combining SD models with other types of simulation to create hybrid models for more realistic analysis (e.g., Anylogic).
But in general as a routine procecedure, Vensim is applied for SD but Anylog is more used for Agent Based Simulation (ABS). In other word, Vensim is more powerful for SD simulations.
- In SD the level of details is low but in ABS it is high.
- In SD the Main Components are Stock variables, flows, feedback loops but in ABS they are Individual agents, drivers, interactions.
- In SD the Applications are Policy Investigation, Strategy Evaluation, but in ABS the applications are Consumer Behaviour, Network Effects.
- In SD the examples can be: Strategies of number of rides, discounts, pricing, and future improvements, but examples for ABS can be: Analysis of user (agent) satisfaction, pattern of selection.
I hope this is helpful for you.
All the best.
  • asked a question related to AnyLogic
Question
2 answers
I have seen the instructional video on how to create a custom flow chart block, (https://www.youtube.com/watch?v=UBwJtqUdhgM&list=PLUJJN9tmVTj1czFMt9IKi6wge9GnmMTN3&index=8) and it is similar to what I want to do. I need to repeat this same flow for 3 different types of agents. In the video, he creates a parameter called seizedResource that he references in the Seize block. He can then select which resource pool to use for that custom flow chart block in the main environment. I would like to do the same thing, but instead of selecting a resource pool for my custom block I would like to select an agent type. How would I do this?
Relevant answer
Answer
Read the below book:
The case study related to: Pedestrian modeling & Agent-based modeling
Besides, search on AnyLogic Help part and Type Custom flowchart block or any related thing .
  • asked a question related to AnyLogic
Question
5 answers
In my seize block, I have (alternative) resource sets selected and one resource pool in each list. Is there a way to set the delay time to be different depending on which resource pool the agent seizes a unit from?
Relevant answer
Answer
Dear Leili,
See the previous answers, there are multiple ways of doing this.
It is not clear from your question why would you use the timeout instead of the delay? Timeouts are used when the delay process is interrupted and not completed.
If you have problems with Java programming you can watch the video by Nate Osgood on Java in AnyLogic at https://www.youtube.com/watch?v=Sjq0StjJynI&list=PLcAxwev2PmV8mYPYaQ_QMT78EXo5EYEL1
I hope this helps.
Best regards
Ante
  • asked a question related to AnyLogic
Question
1 answer
Hi
In my simulation i try to simulate the maintenance of a production line. The CNCs(agents) on the production line are created with a resourcePool and the workers(agents) which have to maintain the CNCs are also created with a resource pool. If a failure occurs at a CNC machine, one worker should move to this machine to repair it.
When a failure occurs at the CNC, a Task start block (resourceTastStart)ist activated. The "resourceTaskStart" block is connected to the "resourceSendTo". This block should move the workers to the broken CNCs.
But as soon as the CNCs report a failure, the following Error occurs. "Agent is not registered with the network and cannot send resource units"
Does anyone now how this error can be solved?
With kind regards
A.Bichler
Relevant answer
Hello! Did you ever figure this one out? I have the same problem and though I try to troubleshoot it, I get nowhere :-(
  • asked a question related to AnyLogic
Question
4 answers
As part of an academic project, we are led to do a Benchmark of Digital twin tools for an automobile case. We have recently collected a list of existing softwares(Flexsim, Simio, Anylogic, Simul8, Arena....). Our next step would be to determinate which one is the best in our case. Would you please refer me where to find advantages & limitations of some of those solutions ?
Relevant answer
Answer
  • asked a question related to AnyLogic
Question
2 answers
I am building a simulation model in AnyLogic 8.0 which consists of more than 255 parameters. But, an error appears because the number of parameters exceeds the limit of java (which is 255 parameters). Then, I try to handle this issue by creating a "java array" on the parameters. Unfortunately, I have another issue when running "Parameter Variation" with an array parameter. It gives a null or even string value on the parameter.
Is there a way to deal with a high number of parameters or with an array in the "Parameter Variation" in AnyLogic?
Relevant answer
Answer
Mustafa Dinç I am not sure if it is because of the version of AnyLogic. The error building notification shows that it is exceeding the limit of 255 words eligible for method parameters.
I am sure that those parameters array is defined as global variable.
Thank you for your feedback.
  • asked a question related to AnyLogic
Question
9 answers
We observe CD123 positivity with certain frequency in granulocytes of patients with MDS or even in monocytes, although less frequently. We are not talking about blastic cells (CD34 or CD117 positives). These monocytes expressing CD123 are not dendritic cells.
Relevant answer
Answer
The presence of CD123 on monocytes is a reality and not an artifact as often assumed. It is enough to put monocytes in culture in the presence of Il3, to note the formidable transformation of these cells in a population close to pDCs and MDDCs. It is also this CD123 that intrigues strongly within the tumor when sometimes found in place with the CD14. We find the same big question in autoimmunity in contact with the synovium. If pDCs and basophils that still parasitize monocyte extraction must be carefully observed, their presence between 5 and 10% of a monocyte culture may disrupt the results of some studies. It is very easy to eliminate these intruders, to ensure that the presence of CD123 is key in the maturation of monocytes. Definitely: yes the CD123 is present on monocytes and it is perfectly concfionnel and very useful.
  • asked a question related to AnyLogic
Question
2 answers
I'm trying to built a conveyor similar to the example 'Cross Belt Conveyor' in Anylogic. My conveyor and the fixed cells, or trays in my case, have some different dimensions. When I am running the model the conveyor won't accept the trays, thay don't get past the queu block. What am I doing wrong? The model I built is in added as an attachment.
Relevant answer
Answer
I will tray to add to Raid Mhawes Zighair very useful answer, but the reason is because when you have fixed cell, your agent MUST be smaller than the size of the cell... In your case, your agent is much bigger, so since there is no space to put your agent in the conveyor... you need to either increase the size of the cell or reduce the size of your agent.
  • asked a question related to AnyLogic
Question
4 answers
I am planning to use ant colony optimization (ACO) to optimize the layout design of a building. I want to use Anylogic to derive the performance of a certain layout design in each iteration of the ACO algorithm and finally obtain the best solution.
Is it necessary to use the APIs of anylogic to realize this idea ? If the answer is Yes, then , it is possible to change layout design in Anylogic in each iteration of ACO automatically through API?
Relevant answer
Answer
Xiyu Pan , indeed, I find AnyLogic very useful and extendable in that sense. The actual implementation of your heuristic will depend on your model and context. But, for example, you could implement a solution algorithm in the Function-block of AnyLogic. Also, you can import alternative, off-the-shelf Java libraries that handles the ANT optimisation (if such libraries exist) - have a look at the project properties: there is a section on dependencies.
One note, a metaheuristic may run for quite a while, so you may want to find a way of managing the process, possibly using state charts, to pause the rest of the simulation run while you execute the metaheuristic.
  • asked a question related to AnyLogic
Question
3 answers
I am working now on a project to simulate erection activities at the site, I have downloaded many tutorials for Anylogic 7 but all of them are not related to the construction field.
I am searching for any available tutorials for Anylogic 7 to simulate construction activities at the site and i would be grateful if any one can help.
Relevant answer
Answer
There is nothing for the construction field... I have done a big model on the topic, but when you are looking for tutorials, the field doesn't matter. you have to learn AnyLogic correctly and once you do that you can do models for any field in the world.
  • asked a question related to AnyLogic
Question
3 answers
Hi everyone, I have to simulate a container terminal on Anylogic, and the agent that enter in the terminal is truck. Trucks can enter empty, loaded with one container or loaded with two container, so the maximum capacity of the trucks is two containers.
How can I tell the program that they can enter empty, loaded with one or two container randomly? thank in advance
#Anylogic #logistics #TerminalContainer #simulation
  • asked a question related to AnyLogic
Question
4 answers
Hi everyone,
I have to simulate a container terminal and I don't know how to represent the stacked containers without using the block PalletRack in Anylogic. Precisely, every single area of the container terminal can contain:
  • width: max 18 containers
  • depth: max 6 containers
  • height: max 4 container
Is there anyone that could help me to represent this situation?
thank you in advance (and sorry for my english)
Relevant answer
Answer
Dear Ilaria Casu,
I suggest you to see links and attached files in topic.
-Pallet Stacking Frame Definition | Material Handling Glossary
-Warehouse Distribution Science - Textbook Revolution
-322 questions in Logistics | Topic - ResearchGate
https://www.researchgate.net › ... › Business Management
Best regards
  • asked a question related to AnyLogic
Question
7 answers
Hi there,
1- I want to know more about the Agent-Based Modeling. The majority of courses do not enter to the modeling process practically. Not only I want to study and learn about the methodological roots but also i want to learn the practical application and how to use its software. What are the must-read documents and the must-see courses' videos for it?
2- What is the basic difference between Multi-agent systems method and Agent-based Modeling.
Best.
Relevant answer
Answer
Hi Milad,
To begin, you can read the book AnyLogic in Three Days: Modeling and Simulation Textbook (https://www.anylogic.com/resources/books/free-simulation-book-and-modeling-tutorials/)
  • asked a question related to AnyLogic
Question
1 answer
How do I set the batch size i.t.o the weight I want to batch? I am currently simulating a potato plant. And the potatoes(agent) all have their own weight due to the randomness of potatoes, but now I must batch them into 10Kg bags. The weight should just be over 10kg but not smaller, so it is going to be 9.9kg plus one more potato.
The F1 help function suggests to use a customized Queue. But I do not know how to go forward with that option.
Any help would be appreciated
Relevant answer
Answer
Read the basic book:
Adan, I. J. B. F., Wessels, J., & Zijm, W. H. M. (1990). Analysis of the asymmetric shortest queue problem. Department of Mathematics and Computing Science, University of Technology.
Halfin, S. (1985). The shortest queue problem. Journal of Applied Probability, 22(4), 865-878.
Hasanzadeh, H., Bashiri, M., & Amiri, A. (2018). A new approach to optimize a hub covering location problem with a queue estimation component using genetic programming. Soft Computing, 22(3), 949-961.
  • asked a question related to AnyLogic
Question
1 answer
I want to create a model of the supply demand gap of professionals in a specific industry, and in this I am looking for a rate equation for the flow of job seekers to become employed.
The similar studies I have seen use the vacancy closure rate for the hiring rate and calculate that based on the number of vacancies and average time to fill the vacancy in that industry,
I would like my rate equation to be dependent on the stock of the job seekers.
Relevant answer
Answer
Dear Anshul,
I suggest you to see links in subject.
-System dynamics computer simulation modeling to forecast the energy ...
-supply chain manager competency model - APICS
-salary survey 2016 - Robert Walters
-Application of System Dynamics to Evaluate the Social and ... - MDPI
-Professional Service Firms: Business Model ... - University of St.Gallen
-Still Searching - Brookings Institution
Best regards
  • asked a question related to AnyLogic
Question
2 answers
An example hybrid modelling is mixing SD with DES sub-models, where elements in the sub-models communicate and exchange date continuously as the hybrid model is run.
Let us say one has built the SD sub-model using Vensim, and the DES sub-model is built using AnyLogic, what are the ways of making both sub-models to communicate during run time
High Level Architecture approach in combination with Microsoft Excel using Visual Basic for Applications is possible, but this seems to be for periodic and non-frequent communication of the sub-models. So, this approach may be convoluted if used to model a situation where the sub-models need to communicate continuously or in minuscule time steps.
Does anyone have a simplistic approach for modelling the data exchange between sub-models built using different packages?
Relevant answer
Answer
Thank you Mohamed-Mourad for the articles sent.
It still seems there is a paucity of research to show how one can model a hybrid data exchange between sub-models that were built using different software pacakges, and for where the data exchange occurs dynamically.
For infrequent data exchange one can use High Level Architecture + Visual Basic for example, and this has been where researchers haved focused their works. But not sure if it can work or how easy it would be for exchange that is dynamically occurring.
  • asked a question related to AnyLogic
Question
3 answers
I implement a discrete event simulation model namely "EOQ" in AnyLogic from https://www.runthemodel.com/models/2662/
I am going to optimize the parameters by minimizing total inventory cost. Therefore, I have to construct a function (one of the agent component in AnyLogic) in order to be able to root the total cost.
Currently, I have constructed a function and root the total cost (i.e. root.inventorycost()), but the total cost results in the same value whenever the parameters change.
is it possible to root the total cost when the model only has events, parameters, and variables? how to do it?
Thank you
Relevant answer
Answer
Rather than taking the square root of a model parameter COST introduce a new posiive valued parameter SQRTCOST with the property that the square of SQRTCOST equals COST.
  • asked a question related to AnyLogic
Question
17 answers
There are many software for system modeling such as MATLAB/Simulink, AMESim, Dymola, Easy-5 etc. They are comparable in terms of functionality. Some are decent for combinations of different type of modelings; for example AnyLogic allows you to combine SD with ABM.
Is there any in which combining SD with DES is possible?
Relevant answer
Answer
Dear Behzad Minaei,
I think you should take a look at the language Modelica for describing dynamical systems. There are also good open source implementations like JModelica, see http://www.jmodelica.org
You find good teaching material here https://www.xogeny.com/about/
and Mark Tiller has also written a couple of books and one recent book is an e-book for free. http://book.xogeny.com
I have myself used this software to develop applications in biotechnology during the last 5-6 years. Can take some questions if you need.
Best wishes
Jan Peter Axelsson
  • asked a question related to AnyLogic
Question
3 answers
I'm currently a Mechanical Engineering student that is looking into a project on Intelligent Manufacturing.
I have been using AnyLogic to explore manufacturing simulation. I have created a basic Jobshop that involves that transportation of material pallets from delivery to storage to processing. My next step is to transition this static scheduling system to a dynamic scheduling system.
I would like to know if there is any way to actively manipulate the simulation whilst it is running? For example, controlling the availability of processing machines in real time or triggering a delivery. So far I have been unable to find any way of manipulating the simulation after it has been run.
Does anybody have experience with real time data input into simulation software?
Relevant answer
Answer
Hello Ben,
What you are looking for is usually referred to as "Symbiotic Simulation", that means, the physical system is interacting with the simulated system.
Here is an example where the physical system is a real-world ERP system:
The implementation has been made with AnyLogic 6, but it should work the same way with newer versions of AnyLogic. With variables, parameters, and collections you can retrieve real-world data into your simulation environment (check the section "Importing data" in AnyLogic Help). The imported data may switch on/off other objects in your simulation model such as resource pools or delays.
I hope it helps you. Good luck!
Regards,
Thomas
  • asked a question related to AnyLogic
Question
3 answers
The following function keeps returning the error message "This method must return a result of type int" and I cannot figure out why.
int
loaderResource( Plate agent ) {
if(agent.plateScale==SCALE25nm )
{if(loaders.get(0).isIdle)
return 0;
else
if(loaders.get(1).isIdle)
return 1;
else
if(loaders.get(2).isIdle)
return 2;
else
if(loaders.get(4).isIdle)
return 4;
else
if(loaders.get(5).isIdle)
return 5;
;}
else
if(agent.plateScale==SCALE200pm)
{if(loaders.get(3).isIdle)
return 3;
else
if(loaders.get(5).isIdle)
return 5;
;}
else
if(agent.plateScale==SCALE500pm)
{if(loaders.get(3).isIdle)
return 3;
else
if(loaders.get(5).isIdle)
return 5;}
else
if(agent.plateScale==SCALE100nm)
{if(loaders.get(4).isIdle)
return 4;}
;
}
Relevant answer
Answer
If none of your 'if' statements is true, what integer value gets returned?
Your code does not say. This is why Java is giving you the error message.
As suggested above, add a final statement such as, return -1; or throw an exception to indicate to the caller that none of the conditions were true.
Hope this helps,
Dan
  • asked a question related to AnyLogic
Question
1 answer
At the step I am trying to model in my process, I have 3 pieces of equipment that can be used. Each can process up to 6 of my agents at a time, but do not need 6 to run. How can I say to process an agent if there are no other agents waiting, but process up to 6 agents in one resource unit if there are 6 agents waiting?
Relevant answer
Answer
Hi Allyson,
You will need to decompose your problem - it's too complex for a simple solution. E.g. from the top of my head, you can create three resource types of which each has capacity 6 and then just route your agents with select ouput depending on current queue length for each of the resources.
I hope this helps.
  • asked a question related to AnyLogic
Question
3 answers
Hello everyone,
I need help with the scheduling in Anylogic.
I will describe the process
1.       A patient comes in a clinic [newly created agent]
2.       After his visit, he/she is given a future date for a following appointment (appointment 1)
3.       He/she goes home [I created a zone – rectangular node – for this]
4.       Day of the Appointment 1 arrives, he/she needs to go to the clinic [from home]
5.       Point 2, 3, 4 repeat
My difficulty is that for the date and time for appointment 1 needs to be done dynamically (not predetermined). This means that the decision of the future appointment needs to happen at the end of the clinic visit, and it may be different for different patients.
How can I create such a schedule, attach it to each individual patient, and make sure that the patients come back at the clinic on the date of their appointment?
Much appreciated any help received.
Regards,
Alex
Relevant answer
Answer
Hello Zakaria,
This was a bit tricky. After the patients get out of the clinic (and go home - i.e. they are not destroyed or exit the system), they go though a bloc that gives them the next appointment. i had to create java classes for this. Anylogic does not directly support this type of schedules. when created, the patients are looking for an available appointment with a doctor [the docs have each their own schedule/timetable]; once the patients gets one, then that patient is always attached to that specific doctor. So, next time that the patient needs an appointment, it will only look at the timetable of his own doc. When it finds an empty slot, it occupies it, calculates how far in time it is, and that is the value of the delay bloc HOME. 
So, it is a fist come first served idea, but, it also checks for availability of the doc. I have some probabilities that also ensure that patients do not need to see the doc every time they come in.
Do not get me wrong, it is not an easy thing to do. And i do not know why no simulation platform incorporated [more complex and complete] schedules.
Hope that helps ;)
Alex 
  • asked a question related to AnyLogic
Question
2 answers
I am planning to build an agent-based ad-hoc network simulation to simulate animal tracking in the Savannah. For this I want to use AnyLogic's GIS functionality.
- Are there any limitations to the GIS functionality in the free PLE version?
- Are there any tutorial available on the GIS topic?
Relevant answer
Answer
The GIS functionality of your software will depends of what you want to model. According to the AnyLogic advertisement ( I haven't found any documentation ) this software can display information obtained from internet. Is not clear if the data is obtained from AnyLogic's server, Google or others. But in all cases I suspect that the functionality will be limited by the quality of GIS data. p.e. Some countries have erroneous or non updated data and in some cases without route planning support.
  • asked a question related to AnyLogic
Question
6 answers
Which simulation software would you suggest to model container stacking depot? I want to model stacking, reshuffling containers in container depot by reach stacker. I am trying to model using Simio but I am not sure if there is any other efficient software you can suggest since to model stacking and reshuffling in Simio seems more complex. Any suggestions like Anylogic or etc.? thanks,
Relevant answer
Answer
AnyLogic is certainly a good suggestion; I also would suggest giving Simio (powerful and easy to learn) strong consideration.  I have had great success teaching a master's-level simulation course using it.
  • asked a question related to AnyLogic
Question
7 answers
Trying to use simulation modeling for regional financial flows by Anylogic.
Relevant answer
Interesting table. Trying to undestend...
  • asked a question related to AnyLogic
Question
5 answers
I wanted to used Netlogo but I am afraid it wouldn't scale well. I need to be able to implement mathematical formula for decision making and learning and also play with distributions. What is your experience with agent based modeling of financial markets?
Relevant answer
Let me suggest you FLAME.  It has been used in economics modelling like:
Mike Holcombe, Simon Coakley, Mariam Kiran, Shawn Chin, Chris Greenough, David Worth, Silvano Cincotti, M. Raberto, Andrea Teglio, , Christophe Deissenberg, Sander van der Hoog, Herbert Dawid, Simon Gemkow, Philipp Harting, Michael Neugart, Large-scale Modelling of Economic Systems, Complex Systems
For more info you can visit:
  • asked a question related to AnyLogic
Question
4 answers
My research is related to innovation processes.  Currently I'm studying the process by which startups develop while residing within the environment of a business incubator. I am developing a model that I would like to test using agent-based simulation, but my previous experience in simulation programming goes too far back to be useful. Anybody out there with updated skills on agent-based simulation programming - using AnyLogic or any other tool? 
Relevant answer
Answer
You should have a look to teh journal Economic Dynamics and Control, with a special attention to Giovanni Dosi's articles.
Regards,
MV