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). You can also run your models using the Resources application and Python client (pyST.py).
The following demo shows the server-side simulation in action:
Widget Connector
width
800
url
https://www.youtube.com/watch?v=B1-VA0u8TdU
height
450
System requirements
The following Web Application Platform system requirements apply to an environment that runs a single server-side simulation. If you set up an environment where you can run concurrent server-side simulations, the system requirements applicable for a single simulation must be adjusted accordingly.
Web Application Platform system requirements for the environment with server-side simulation:
Open the <wap_installation_directory>\apache-tomcat\shared\conf\webappplatform.properties file and set the sim.license.checkout property to true.
Restart Web Application Platform.
Licensing information
The server-side simulation functionality only works with a floating Magic Model Analyst license managed by the FlexNet license server. Note that you can only run one simulation at a time.
When executing multiple simulations at the same time, every new concurrent simulation requires an additional Magic Model Analyst license.
Preparing projects for server-side simulation
To simulate a project on the server, 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.
Required permissions
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.
Note
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:
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.