Simulation
The Simulation connector is a field connector that generates sample data inside Reniway. It is intended for testing, training, demonstrations, and flow development when no physical machine, PLC, sensor, or other device is available.
Connection settings
| Setting | Description |
|---|---|
| Generation Interval (ms) | Time between generated value updates in milliseconds. The default is 1000. The value must be an integer greater than 0. |
Available datapoints
The Simulation connector is intended for testing and demonstration purposes. The generated properties, property names, data types, and JSON payload structure may change in future Reniway releases. Backwards compatibility for simulation datapoints is not guaranteed.
When the connector is loaded, Reniway automatically creates the simulation properties below.
| Property | Type | Description |
|---|---|---|
temperature | Double | Random numeric value between 0 and 40. |
counter | Int | Incrementing counter that increases by 1 on every generation cycle. |
message | String | Text message containing the current counter value, for example counter=12. |
toggle | Boolean | Boolean value that switches between true and false on every generation cycle. |
values | DoubleArray | Array with three numeric values based on the current temperature. |
tags | StringArray | Alternates between two sets of string tags. |
payload | JSON | JSON object containing the current counter, temperature, toggle, message, tags, values, and timestamp. |
timestampUtc | DateTime | UTC timestamp for the current generated sample. |
sineWave | Double | Smooth sine-wave value with a range of approximately 25 to 75. |
Runtime behavior
After the connector is started, all simulation properties are updated on the configured generation interval. Every update receives the same measurement timestamp for that cycle, so the generated values can be used together in flows, data mappers, dashboards, or output connectors.
The payload property is useful when testing JSON handling. A typical value looks like this:
{
"counter": 12,
"temperature": 23.4,
"toggle": true,
"message": "counter=12",
"tags": ["alpha", "beta", "gamma"],
"values": [23.4, 26.1, 20.8],
"timestampUtc": "2026-05-13T10:15:30.0000000Z"
}