A host of new features were added to the AnyLogic Cloud recently. Among them, Monte Carlo 2nd Order, Variation, and Variation with Replication experiments. There are also enhancements to help you communicate your models more widely and clearly. Outputs now include Box Plot, 2D histogram, and 3D surface graphs. Let’s take a closer look at these new features.
In Public models find the Consumer Credit model, use search if you don’t see it immediately.

The Consumer Credit model describes the life-cycle of consumer credit applications, from both a branch office and online. The verification process involves three stages: scoring, personal review, and credit rating inspection. By using the results of multiple model runs, we can determine approval rates and find an optimal number of bank employees. In this model we’ll look at the new experiments and graphs.
Open the model and select Staff capacity variation from the sidebar (on a mobile device, you may need to click the sandwich icon in the top left to expand the sidebar). This experiment provides an example of Variation with Replication. It is worth noting that replication is not needed when you are certain your model is not significantly affected by randomness. Choose Variation, and not Variation with Replication, if this is the case when you are modeling. This time, we will use replication because we are unsure of the effect of variables such as the customer arrival rate.
We can vary the inputs and change the number of bank clerks and analysts by setting the range and step change. An experiment is run for every combination of both ranges, this provides the variation. Each combination can also be replicated, meaning the experiment runs several times with different seeds. A seed is a number which is used to determine randomly generated values such as the arrival rate of customers or the processing time of forms for an employee. By running each combination a number of times, you can test the robustness of the model to get greater confidence in the setup.

Set the parameters and the number of replications you would like and then hit Run in the top menu bar. Scrolling down will show you the progress of the experiment and then the output, where you will find more of the new features.
Both the new box plot and 3D surface graphs appear at the bottom of the experiment outputs. The box plots indicate the range of time applications were in the system. The data is split into quartiles, with 25% of the applications in each. The line within the box marks the median, 50% of the applications took less than this time and fall between it and the lower line outside of the box (the lower whisker). Outliers may be marked as points.
The 3D surface graphs allow us to see the interaction of two variables. For example, this scenario shows the number of abandoned applications is lowest when there are four bank clerks and five analysts (see the blue 3D surface graph in the lower left).

Some experiments can have input ranges that do not have clear steps. We can use Monte Carlo 2nd Order experiments to solve these problems. 2nd Order Monte Carlo allows us to randomly set both internal and input parameters according to a probability distribution. Not just randomizing internal parameters of a model, as with a Monte Carlo 1st Order experiment.
To try Monte Carlo 2nd Order, select the Offline ratio variation sensitivity experiment in the sidebar. This experiment allows us to randomly set the ratio of applications coming from people in a bank branch office or online. The ratio of applications is bound by the two values entered in the App ratio range. A random distribution of values is created, one application ratio figure for each iteration. These iterations run for the number of replications specified, each replication having a different seed value that affects the parameters inside the model, for example, the customer arrival rate. Try some different ranges for the application ratio and see how the credit approval rates are affected.
Moving to the Offline applications prevalence MC1 experiment, we can find another of the new features, 2D histograms. This experiment is set to run with a high frequency of offline applications. The 2D histograms appear at the bottom of the outputs.
Our last demonstration with this model is a visualization of it in action. Select Experiment with online applications prevalence from the sidebar.
In the top menu bar click the second button from the left, the Play button. An animation window will appear containing a dynamic graphical representation. By contrast, the Run button simply executes the model and produces the outputs.

While the animation window is open you will see that interactive model elements are now highlighted on mouse-over: the sliders change color as you hover over them. You can see the effect of changing a variable by moving its slider (the ‘Statistics’ tab provides even more detail).
This is not the only new feature that improves model interactivity. Inspection windows for model elements now show basic statistics. For system dynamics elements these windows can also show graphs to illustrate changes over time – you can test this feature with the Insurgency Dynamics model.

This brings the showcase to an end for now. Join us on LinkedIn, Facebook, or Twitter and get the latest developments. You can also use these services to sign in to the AnyLogic Cloud, where you will then be able to copy and share models, as well as edit the experiment output display. Check out the new cloud features now and see how you can use them!
相关文章
-
城市化:如何使用AnyLogic助力优质城市建设
城市设计项目通常以物理模型或图纸的形式呈现,原因就在于这些形式的展示效果非常直观,并且还会包含所有必要的细节,但是,在项目实施时,还是会有一些意想不到的问题暴露出来。事物都是动态发展的,因此即使图纸能够与实际布局相匹配,依然可能会忽略一些可能影响设计的动态因素。以下我们会简要说明如何使用AnyLogic进行城市设计。
-
从外部数据库导入数据——分步指南
仿真模型是基于数据的,当您使用来自外部数据库的数据时,我们建议您将其导入 AnyLogic的内部(内置)数据库。 目前使用内置数据库是在 AnyLogic 中处理模型数据最方便、最有效的方式。 在这篇文章中,您将学习如何使用JDBC驱动程序从外部数据库导入数据,以将仿真模型与 PostgreSQL 连接并在 AnyLogic 中创建计划。
-
AnyLogic 中的随机性:工作原理以及如何使用它
在现实世界中,不确定性现象是普遍存在的。当我们建立仿真模型时,我们会希望它尽可能的反映真实世界。因此,随机性在仿真中必不可少。 了解如何在 AnyLogic 模型中设置随机性、什么情况会产生随机结果、AnyLogic 预设的概率分布有什么,以及有关该主题的有用资源。
-
如何成为一名仿真模型开发人员
虽然只要有编程经验就可以建模,但并不是每个程序员都可以成为优秀的仿真建模师。 在本文中,我们将详细介绍仿真模型开发人员的工作,要成为一名仿真模型开发人员需要了解的内容以及在哪里可以找到学习资源。
-
支持企业级仿真部署
企业级的仿真正在成为日常工作流程中更普遍和不可或缺的一部分。除了前几代孤立解决方案所能提供的静态报告之外,现代集成仿真还提供了最新的交互式见解。结合BI、AI和优化技术的仿真已成为见解洞察生态系统的关键组成部分。 在研讨会“AnyLogic私有云:支持企业级仿真部署”中,AI & Simulation项目经理Arash Mahdavi博士和项目支持专家 Jeff Wirtz,对私有云进行了概述并详细介绍了其中几个主要功能。本文将为您总结其中涉及到的私有云功能,并为您提供会上问答环节的记录。
-
AnyLogic 和 AnyLogic 云的更新
假期到来之前,我们更新了AnyLogic和AnyLogic云。在软件功能方面,主要更新了两部分内容,一是为物料搬运库添加了新的货架功能,二是为AnyLogic云中的模型添加了文件输出功能。 下面我们一起来看一下其中几个值得注意的改进!
-
操作视频:将CAD图转换为墙
本操作视频主要介绍了在AnyLogic模型中通过CAD图导入“墙”的便捷操作方式。 通过观看视频,您可以学习在AnyLogic模型中如何通过CAD图快速创建“墙”。此方法有助于加快行人仿真模型的建模速度。观看视频了解更多···
-
输送带 - 学习使用物料搬运库
为了配合物料搬运库的发布,我们准备了一系列训练模型,通过多个传送系统示例来演示新库的主要功能。这些系统在生产设施和仓库中会经常用到——工作站间的零件运送,成品分类,运送到存储区等过程。 涉及到Convey、ConveyorEnter 和 ConveyorExit模块以及空间标记元素,这些都是物料搬运库的组件,可以简化输送带系统的建模