CREATE_INSTANCE

Create a new digital twin instance. The values contained in the provided data collection will be used to initialize the new instance.

Usage

CREATE_INSTANCE(modelName, twinId, dataCollectionName)

Parameters

modelName

String

Name of the model to create an instance for.

twinId

String

The instance identifier of the twin to create.

dataCollectionName

String

The data collection containing values to initialize the new instance.

Returns

Action

Examples

CREATE_INSTANCE(‘MyModel’, ‘12345’, ‘myData’)

Creates a new instance of the model ‘MyModel’ with the identifier ‘12345’.

Remarks

This method is only available in simulation rules.