On this page
If you work with Teamwork Cloud projects, you can simulate them on the server without using a modeling tool. You can execute your models using REST API, or the Cameo Collaborator for Teamwork Cloud user interface (if there are Cameo Collaborator documents published from those models).
The following demo shows the server-side simulation in action:
The server-side simulation service is one of many Web Application Platform services provided as a separate application.
To install the Server-side simulation
- While installing the Web Application Platform, select Server-side simulation service.
- Change the property value of sim.license.checkout in <wap_installation_directory>\apache-tomcat\shared\conf\webappplatform.properties file to true.
- Restart the Web Application Platform after the installation.
The server-side simulation functionality only works with a floating Cameo Simulation Toolkit license managed by the FlexNet license server.
- When executing multiple simulations at the same time, every new concurrent simulation requires an additional Cameo Simulation Toolkit license.
To run concurrent simulations without using additional licenses, deploy server-side simulation by using Kubernetes and Docker.
Preparing projects for server-side simulation
To simulate a project on the web, it must meet the following criteria:
- A project has to be added to Teamwork Cloud.
- For simulation results to be saved, you need to specify the Result Location property of a Simulation Configuration.
- When simulating via Cameo Collaborator for Teamwork Cloud user interface, the executable model should not require any user input. This means that the simulation needs to be performed automatically.
To perform server-side simulation, you need to have the following Teamwork Cloud permissions:
- Read Resources - allows you to simulate resources.
- Edit Resources - allows you to commit the simulation results to a resource.
Manage Simulations - allows you to manage all simulations, including the ability to get and review simulation results and terminate simulations executed by other users.
If you want to be able to manage all simulations, in addition to the Manage Simulations permission, you also need to have the Read Resources permission for the related resources.
Server-side simulation limitations
There are several limitations related to server-side simulation:
- Project options cannot be read, so default option values are always used instead of the actual ones.
- Math engine integrations (Matlab, Mathematica, etc.) are not available.
- FMU/FMU co-simulation with Windows binaries is not available.
- UseCase Execution is not available.
- DSL stereotypes are not applied to created Slot and InstanceSpecification elements.
- Finding elements by Name (e.g Signals, Operations with ALH, mapping with ExcelHelper) is not available.
- TimeLine charts as UI are not available.