Many of you will be familiar with AnyLogic Cloud and its interface but did you know you can create an interface of your own? Using the AnyLogic Cloud API, a custom web-based user interface (UI) is just one possibility. Here we’ll take a closer look and provide you with an example setup.
With the API, it is possible to create a web application that will interact directly with a model in the AnyLogic Cloud. You can develop your own customized HTML-interface that matches the needs of a model and its users. For example, an interface can include model control widgets, input and output tables, diagrams, and pop-up windows.
The API also allows you to easily upload simulation results, integrate simulation models with Business Intelligence (BI) platforms, such as Tableau or Power BI, as well as other business tools. You can even embed models into corporate intranet sites. With regards to security, the API enables authorization windows to restrict application access. Don’t forget, with AnyLogic Private Cloud you can host your own AnyLogic Cloud platform.
We have developed an example application that uses the API. It integrates the Transporters moving in free space model. From a browser window, you can set conveyor station input parameters, as well as the type, number and speed of the conveyors. There are two experiments available in the application: a simple experiment (Animation) and parameter variation (Parameter Variation). When you run the model, you can change parameter values and keep an eye on the effects of your changes with the built-in animation window. For ease of use, results are uploaded to a CSV file.
So that you can get more hands-on and independently analyze this example or even create a web application for your model, the source files for this example application are available for download.
If you have any questions? Leave them in the comments below or contactus direct and we’ll get back to you.
Are you already using AnyLogic Cloud, or just thinking about it? We’d like to hear from you and have a quick survey. Tell us your impressions about the platform and how it helps simulation tasks. And if something is missing, tell us what features you’d be interested in.