Skip to main content

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

SettingDescription
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

warning

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.

PropertyTypeDescription
temperatureDoubleRandom numeric value between 0 and 40.
counterIntIncrementing counter that increases by 1 on every generation cycle.
messageStringText message containing the current counter value, for example counter=12.
toggleBooleanBoolean value that switches between true and false on every generation cycle.
valuesDoubleArrayArray with three numeric values based on the current temperature.
tagsStringArrayAlternates between two sets of string tags.
payloadJSONJSON object containing the current counter, temperature, toggle, message, tags, values, and timestamp.
timestampUtcDateTimeUTC timestamp for the current generated sample.
sineWaveDoubleSmooth 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"
}