AnyLogic Introductory Presentation Prepared for Systems Engineering Department University of Lagos 9a.m. Friday 27th January, 2017
Agenda Why simulation? Simulation paradigms AnyLogic overview AnyLogic basics: navigating your way Build a simple model Using AnyLogic in your research Summary
Why simulation? What is the problem? Is simulation the best solution? Do I need additional tools? What type of simulation is appropriate? What level of detail do I need in my model? Also consider if the problem can be solved using other tools- Excel spreadsheet, Mental models, Physical Models, Analytical models, Monte carlo simulation. You can find an analytical solution if: The number of parameters is ‘manageable’ Behavior is linear Dependencies are clear, easy to build a mental model But what if: Too many parameters Non-linear, non-obvious influences Time and causal dependencies Counter-intuitive behavior Uncertainty (stochastic system) 123rf.com
Simulation paradigms Discrete event (DE) Continuous event (SD) Agent based event (AB) Multi-method (MM) - DE/SD; DE/AB; SD/AB; DE/SD/AB DE models the state events that occur in each discrete space in time SD models the continuous sequence of state changes in time, with the ability to model the non-linear relationships that exists in complex systems, enabling a visualization of how a system will evolve over time
Simulation paradigms High abstraction level [minimum details macro level strategic level] Aggregates, global feedback loops, influences, trends… Medium abstraction level [medium details meso level tactical level] Low abstraction level [maximum details micro level Operational level] Individual objects, exact sizes, velocities, distances, timing…
Simulation paradigms- DE [resources] [queue+service] [agents] [source] [decision] yes no [sink] Queues and delays [decision] yes no [queue] [delay] Bank Source: dse consulting
Simulation paradigms- SD Sales Potential clients Clients Sales from Advertizing + Sales from Word of Mouth + Adoption Fraction Contact Rate + B R Advertizing effectiveness + B Stocks and flows Feedback interactions Bass Diffusion Model Source: dse consulting
Simulation paradigms- AB Flow chart State changes We focus on individual objects (also known as agents) and describe their local behavior, local rules. Sometimes, we also model the dynamics of the environment
Simulation paradigms- MM Combination of methods AB SD DE
AnyLogic overview Only Software to have all three simulation modelling paradigms An array of libraries to model a variety of situations. Libraries are added regularly Experiments- Optimization, Calibration, Parameter variation, Monte Carlo, Sensitivity, Compare runs, Custom experiments 3D graphics and animation Basic knowledge of Java codes is advantageous Many more…………..
AnyLogic basics: Navigating your way Navigating through your projects, experiments and agents
AnyLogic basics: Navigating your way Navigating through the library for your modelling block items
AnyLogic basics: Navigating your way Building your model on the graphical editor
AnyLogic basics: Navigating your way Editing the properties of your selected items
AnyLogic basics: Navigating your way Edit (Undo, Redo, Cut, Copy, Paste, Delete) Build (Build Model, Run, Debug) Draw (Zoom to 100%, Zoom In, Zoom, Zoom Out, View Areas, Show/Hide Grid, …) Using the mouse, hoover around an item in the block to reveal more information. Access to help. Drag and paste or double click and paste.
Build a simple DE model
Build a simple DE model: useful links anylogic.com https://www.youtube.com/watch?v=5f03zo7lgZY https://www.youtube.com/channel/UCUWElRHklFXjRR2vlBP0hSA/videos )
Using AnyLogic in your research Simple models can be built using the free PLE version For specific research the University Researcher version can be provided Practice! Practice! Practice! With the PLE version Free access to help with building complex models
Summary Decide if simulation is needed. Establish what simulation paradigm will be sufficient. AnyLogic accommodates all. Practice makes perfect! The key is to start simple and add complexity as you build AnyLogic enables a variety of experiments Use AnyLogic in your research
THANKS!!! Questions & Answers Omo Oleghe Email: oleghe@themanufacturingconsultants.com Phone: 08033008484