AnyLogic Cloud is a web portal that hosts simulation models and allows you to run your models online and share them with other users.
AnyLogic models hosted at AnyLogic Cloud run on a server and do not require AnyLogic to be installed on the end user’s computer. The execution process is visualized in a web browser.
How-To video: AnyLogic Cloud
This tutorial describes how to upload and run your model in AnyLogic Cloud. We will perform the following steps:
We will use the Activity Based Costing Analysis model as an example.
Demo model: Activity Based Costing Analysis
In this simplified factory floor model, the cost associated with product processing is calculated and broken down into several categories for analysis and optimization.
After completing the tutorial, you will be able to view your model in AnyLogic Cloud, create experiments, run them with the provided parameters’ values, and view the output results:
AnyLogic Cloud experiment screen
The Outputs section of AnyLogic Cloud experiment screen is populated by the elements of the Analysis palette defined in the model. This section is used for displaying the data in the form of single values as well as charts.
Our model has the two following metrics that we would like to see in the results of the experiment: Total cost per product and Total products processed. To display these values on the AnyLogic Cloud experiment screen, we need to create two Output elements inside the model.
Create and configure two Output elements
We will also include the existing cost structure stack chart into the model’s cloud version. This chart is already set up and does not require any modification at this time:
We have defined all the required elements for our model. We may now configure its export properties.
To configure the export properties, use the Run configuration editor.
To access the Run Configuration panel
The editor pane is divided into two areas.
The elements that we add will be displayed in the Cloud’s model user interface. This will give us the ability to change the input parameters of the model and view the values of the outputs after running an experiment.
By default, the right area contains certain elements of the model. Now we will add the previously created Output elements to the right area of the editor.
To add an element
The added element will be highlighted in grey in the tree of elements. Its icon will now have a green checkmark, for example, .
Each added element is represented by a block containing information about it:
Let’s make the label of the totalCostPerProductOutput element more informative.
To set the text label for the element
If you do not want to export an element to the Cloud, you can always remove it from the right area of the editor.
To remove an element from the exporting Inputs/Outputs
There are two alternative options of removing an element from the list of the to be exported elements:
To remove several elements at once, select them in the tree with the Ctrl or Shift key pressed, then right-click a selected element and select Remove from the context menu.
We may now export the model by clicking the Export model to AnyLogic Cloud link in the Run configuration editor properties:
The Export model to AnyLogic Cloud wizard will open up. If you are already registered in AnyLogic Cloud, enter your login information in the E-mail and Password fields and click Log in. Otherwise, you will have to register a new account by clicking the register new account link, which will lead you to the registration page in your browser.
To proceed with exporting the model through the wizard:
The model will be exported to the My models section of AnyLogic Cloud. After the process is finished, the AnyLogic Cloud model screen page will open in the browser automatically.
On the AnyLogic Cloud model screen, you can see the general information about the model:
In the sidebar on the left, you can see the model versions and experiments. Since it is the first time that we uploaded the model, a single model version is present, which contains a single simulation experiment:
New model versions are added automatically when you export a model from AnyLogic as a new version of the existing model. Each model version can contain multiple experiments. To create a new experiment for the current model version, click the button and set the experiment’s properties.
You can now change the values of the input parameters and run the experiment again to observe the changes in the model outputs.
This concludes the tutorial of bringing your model to AnyLogic Cloud. You can now proceed with creating new experiments and sharing your model with other users.
AnyLogic Cloud options