How to create a web-based simulation model

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.

Unlock the potential of your most complex projects with AnyLogic. Download our comprehensive guide, Simulation Modeling for Consulting, to access structured, step-by-step instructions on leveraging the power of simulation to achieve your business objectives.

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.


Try It!


Simulation modeling in the cloudCloud interfaceAnyLogic Cloud API in use

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, contact us directly and we'll get back to you.

Also, learn more about accessing AnyLogic Cloud by Restful API (more details for JavaScript and Python).


Related posts