AnyLogic 6.9 New Features

Size: px
Start display at page:

Download "AnyLogic 6.9 New Features"

Transcription

1 AnyLogic 6.9 New Features Pedestrian density map Collecting statistics on pedestrian flows New behavior of pedestrian groups in services Defining area throughput in pedestrian models New example models New models from the "Big Book of Simulation Modeling" Other new features and improvements The AnyLogic Company. All Rights Reserved AnyLogic is the registered trademark of The AnyLogic Company

2 AnyLogic 6.9 New Features 2 Pedestrian density map AnyLogic 6.9 is introducing a number of new features in the Pedestrian Library. The most important feature is the ability to collect statistics on pedestrian densities in the simulated space and display it on an animation as a dynamic density map. The pedestrian density map is displayed on top of the animation at the model runtime. The density map dynamically paints areas of the simulated space with different colors. Color in each particular point depends on the current density in this point. Low density areas are color-coded in blue while high density zones are color-coded in red. Colors for intermediate values are defined by the maps color scheme (you can choose linear, logarithmic color scheme, or define your own custom scheme). The PedGround object provides current and maximum density values in the point with the specified coordinates. You can add a density map legend on the model animation using the special PedDensityMapLegend object of the Pedestrian Library. Density map in AnyLogic pedestrian models

3 AnyLogic 6.9 New Features 3 Collecting statistics on pedestrian flows It is now easier to collect statistics on pedestrian flows moving in particular directions. You draw a line on the animation, and add the object PedFlowStatistics. This object will accumulate statistics of the number of pedestrians crossing this particular line. For example, you can draw a line across a corridor, and the object will count statistics of pedestrians passing through this corridor. You can either count pedestrians, crossing the line in only one particular direction, or count all the pedestrians crossing the line in both directions (this is configured by the PedFlowStatistics parameters). By using the object's functions traffic() and intensity() you will know the pedestrian traffic and intensity value correspondingly: Traffic is calculated as the number of pedestrians that crossed the line in the specified direction during the last hour (in terms of model time). The flow direction is set by the object parameters. Intensity is calculated by the traffic value divided by the line length (in meters). It is measured in pedestrians/(hour*meter). Pedestrian Flow Statistics how-to model

4 AnyLogic 6.9 New Features 4 New behavior of pedestrian groups in services When passing through a service the odds are that the group of pedestrians will behave differently. You may now choose from one of the three alternative behavior modes in the object creating the group (they are PedSource, PedEnter, or PedGroupAssemble), or directly in the object defining the service (PedServices). The behaviors are: All group members are serviced individually - Example is a turnstile. Only one group member is serviced, others wait in a queue - Example: a family buying cinema tickets at the counter. All the family members wait in a queue to choose the seats together, but only one of them pays and gets serviced. Only one group member is serviced, others wait in a waiting area - Example: a tourist group buying museum tickets. The tourists do not wait in the queue. They simply wait for their tour guide to buy the tickets for the whole group. The waiting area, in this case, is defined with PedArea object. The name of this PedArea object should be specified in the Waiting area (PedArea) parameter of the PedServices object defining this particular service. Group Behavior in Services how-to model

5 AnyLogic 6.9 New Features 5 Defining area throughput in pedestrian models You can now define a throughput for a particular area in a pedestrian model. You may need this e.g. to model an escalator, or a revolving door. Throughput is defined as the maximum number of pedestrians that can enter the area per model time unit. It is set using the Throughput (peds per time unit) parameter of the PedArea object. Defining Area Throughput how-to model illustrating the area with limited throughput

6 AnyLogic 6.9 New Features 6 New example models Autoclaved Aerated Concrete Factory - This model of the Autoclaved Aerated Concrete factory shows the process of concrete production step-by-step - from raw materials (sand and gypsum), to pallets of concrete blocks. The major stages of concrete production process include: mix preparation, mould pouring, rising, cutting, separation, autoclaving, and unloading. Productive capacity of the factory depends on the plants properties. The idea of this model is to get all of the information about process timing to determine the best way to increase factory performance. Autoclaved Aerated Concrete Factory model

7 AnyLogic 6.9 New Features 7 Container Line - This model simulates how ships deliver containers with cargo to seaports. In Pacific Ocean a ship has the potential to run into a storm, which will slow the ship and delivery down. Ships are modeled as agents with simple statechart. Processes in the ports are defined with Enterprise Library flowcharts. This model demonstrates how to combine agents and entities together to enable processing agents in the flowchart. Container Line model Subway Platform - The model of a subway station built with the Pedestrian Library. Passengers arrive at the station to board a train. Trains arrive to the station according to the logic defined by statecharts. When a train arrives, passengers exit the train. When passengers are finished exiting the train passengers from the platform may begin entering the train. This model demonstrates the new density map feature of the Pedestrian Library. You can see several high density zones near the subway train doors (plotted on the density map in red.) Subway Platform model

8 AnyLogic 6.9 New Features 8 Customer Support Center - The model of the support center. Requests to the support center come from three different areas including: calls, s, and faxes, and are processed at the different levels of support. Each request has several tasks. The complexity of each task can range from a priority of one to three. A phone call is a number one priority with s and faxes following as priority levels two and three respectively. There are also three corresponding employee levels for each customer priority type. Additionally, a zero level is assigned to an employee who is in training to become a level one priority employee. Each employee specializes in one of the product types. Tasks that are assigned to employees that are not within their specialization will take longer to process. Customer Support Center model Evacuation This is a model of evacuation from a two-storied building. The first floor of this 30 person office building is where work, restrooms and breaks take place. The second floor is were the cafeteria is located. There is only one stairway between the two floors and one or two exits from the first floor. When the fire alarm is activated everyone in the building will go to one of the exits. Some may not react immediately and keep working while others may freeze or panic. Some may also want to get back to their tables before exiting the building. The alarm will start at the specified time or by pressing the "Fire alarm" button in the simulation window. Evacuation model

9 AnyLogic 6.9 New Features 9 Field Service - A fleet of equipment units (wind turbines) are distributed geographically within an area. Each unit generates revenue while it is working. However the unit will occasionally break down, which will require repairs. Therefore the units are serviced by a number of service crews that are based in a single location. Maintenance is due every maintenance period. Late maintenance as well as age increases the probability of failure. During the service work it may turn out that the equipment cannot be repaired and is then replaced. Upon completion of the job the service crew will take another job. A service crew has a constant daily cost associated with it. Each operation has additional cost. The goal of the model is to find the appropriate number of service crews and the replacement policy that result in the maximum profit of the equipment fleet. Field Service model Agent Based Population Model - The simple agent based population model. This model simulates how people age, change careers, start families, buy and sell homes, etc. Jobs are modeled in system dynamics style. Agent Based Population model

10 AnyLogic 6.9 New Features 10 New models from the "Big Book of Simulation Modeling" We now have a published book on the market, AnyLogic 6 in Three Days. The book has been successfully selling on Amazon. For more information click here: The basis of this book comes from our 3-day AnyLogic training. It should be considered your number one reference guide when studying AnyLogic. Another book, The Big Book of Simulation Modeling: featuring AnyLogic will be more of a reference book for any simulation modeling practitioner. This book discovers all the nuances of simulation with AnyLogic with more than 100 examples of simple simulation models. We are happy to announce that Dr. Andrei Borshchev has finished writing the first part of the book and will begin the publishing process soon. In the meantime you can download the book chapters from our new Web site: In AnyLogic, you can find all the examples described in this book. We have created a special section of Examples models specifically from the models in The Big Book of Simulation Modeling. The models are categorized according to the corresponding book chapters. Below is a list of new models in AnyLogic 6.9: Multi-method modeling From A to U: 21 model describing all known techniques of integrating different modeling approaches in one AnyLogic model Epidemic and Clinic Product Portfolio and investment Policy Supply Chain and Market System dynamics and dynamic systems Population and Carrying Capacity New Product Diffusion - Various Experiments Epidemic Model - Various Experiments Stock Management Game Population and Housing - Sectors How to build agent based models 6 models: Field Service - Phases 2.. 6, Bonus Phase Exchanging data with external world Dumping Simulation Output into a Database Table Using Prepared Statement when Writing to Databases Working with Clipboard Collecting and analyzing output data Dataset for Cost Data

11 AnyLogic 6.9 New Features 11 Other new features and improvements Fixes Fixed bug in 'random' agent network. Rail Library: Fixed problem with non-executing "On exit yard" action of the RailYard object. Pedestrian Library: Fixed problem that hung up some models at runtime Miscellaneous Added access to the old value of parameter in its "On change" action (as local variable oldvalue). ComboBox and ListBox controls now have methods working with indices of selected items (getvalueindex(), getvalueindices(), setvalueindex(), setvalueindices()). New editor for parameters defining angles and directions. Groups now have insert() method allowing to add new shape to a particular z-order position. Added method roundtoint() doing conversion from double to int type. GIS map: added methods for inverse conversion from animation to map coordinates (convertxinverse(), convertyinverse()). Improved the way of initialization for variables of Java array types (like double[]): initial value now may be written in the simplified form, like: {1, 2, 3}. New how-to models: Pedestrian Flow Statistics, Pedestrian Density Map, Stairs, Group Behavior in Services, Defining Area Throughput, Calculator.