What is Dynamita's Digital Twin Toolkit?
sumon.py
- direct connection to the numerical engine through the C/C++ APIscheduler.py
- connection to the numerical engine through the SUMO scheduler.sumo
project), outside of the SUMO application. Also, it is the basis of programming language independent connection to the numerical engine.tool.py
- helps extracting useful information from the .sumo
project filedmqclient.py
, dtcontrol.py
- OPC communication helpers using the SUMO OPC UA interface (Windows only).A DTT license is required to use the toolkit.
Install the DTT addon downloaded from the Dynamita website. The addon is available under the Digital Twin product, by scrolling to the bottom of the page. After downloading, double click the SumoDTT24.dya
file, which will copy the required modules in the SUMO install folder. Please note, that a new PythonAPI
folder is created in the SUMO install folder, containing the SUMO Python API and tools.
The SUMO DTT modules used in Linux are provided packed together in Docker container images available at Dynamita's Docker hub webpage. It contains the proper SUMO24 runtime, C/C++ compiler and Python 3.12 and it's based on Ubuntu 24.04 (these may change later as newer Ubuntu and SUMO versions are released). This is the preferred way to use SUMO on Linux.
The SUMO runtime can be installed in a Linux computer or VM without Docker, but it requires some expertise. Ask Dynamita for support in this case.
There are three main SUMO license types with further sub-types:
License sub-types are:
The DTT and JSON licenses can be combined or used separately.
In case of external application development a DTT license sub-type is required; the main type is depending on the development platform. In a Docker container a container main type with DTT sub-type will be required.
The MIC is required to get a SUMO license. On Windows the SUMO application can be used the get the MIC. If only the runtime is installed, you can use the scli
(SUMO command line interpreter) to obtain the MIC.
On Linux, only the scli
is available to obtain the MIC of the computer. In a Docker container there is no need for MIC, applications will use a container license.
The scli
is in a folder where the SUMO runtime files are located. You can type the following command in a terminal window:
scli .
or in Linux:
./scli .
It starts the interpreter which waits for commands. Type in the scli-mic
command then press enter. It will print out the MIC in the following format:
scli-result scli-mic HEGASFHDHDHWHGKARQKTUWWIZUDJXEUJKJATSZJERHEZZKZKDOUJFJUHWHTDTDGKFGHDHIRDJAKK
Select the MIC part, then copy it and send to Dynamita support to get a license.
Exit the scli
with the scli-exit
command.
OPC UA (Open Platform Communications, Unified Architecture) is a data exchange platform between hardware equipment (sensors, sequencers) and applications. It's developed by the OPC Foundation.
SUMO uses the C# libraries provided by the OPC Foundation through a simplified wrapper developed by Dynamita.
SUMO connects to an OPC server and not to hardware diretly, Dynamita is not providing support on OPC server and hardware connection. Please find detailed information about OPC connectivity in the following wiki article.