# Device Simulator

{% hint style="warning" %}
Attention: To use the device simulator, the [-> Device Simulator App](https://docs.buildings.ability.abb/collection/apps/apps/device-simulator) must be installed.
{% endhint %}

The **Device Simulator** in *Eliona* allows you to simulate data streams to test dashboards, rules, and other functions before real devices are integrated. It is ideal for validating configurations, prototyping new features, and analyzing various scenarios. It also supports training and troubleshooting by emulating realistic operating conditions—without physical hardware.

<figure><img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FLgYfPi0WLCulwjxGYOLa%2FDevice%20simulator%20(1).png?alt=media&#x26;token=fa68ce4b-0ef9-4419-a865-395f1d520cf6" alt=""><figcaption></figcaption></figure>

## Configure Device Simulator

1. **Navigate to the desired asset attribute:** Open an asset and select an attribute from the list of **attribute values**. To do this, click on the attribute **\[A]**.
2. **Activate simulator:** Turn on the device simulator with the **Activate \[B]** switch.
3. **Select simulation type:** Select the desired type of simulation **\[C]**:

   ▷ **Sine wave:** Smooth, cyclic data.

   ▷ **Random:** Unpredictable values.

   ▷ **Sawtooth wave:** Linear increase followed by an abrupt drop. These options can be found under **Configuration**.
4. **Integer:** Specifies whether the generated value should be an integer or a float **\[D]**.
5. **Define parameters:** Set the parameters for the simulation:

   ▷ **Minimum value:** The lowest generated value **\[E]**.

   ▷ **Maximum value:** The highest generated value **\[F]**.

   ▷ **Interval (seconds):** Interval in seconds for data generation. (Sampling rate) (How often should new data be generated?) **\[G]**.

   ▷ **Frequency (Hz):** Frequency in Hz for wave functions. (How often should the function reach the original value per second?) (typically less than 1) (May not be higher than 1/(2\*Interval\_seconds) to avoid aliasing/Nyquist frequency) **\[H]**.
6. **Save settings:** Click on **Save** to apply the configuration **\[I]**.&#x20;

   ▷ The simulation is activated with the selected parameters.

{% hint style="info" %}
Simulated attributes are marked with a <img src="https://3489494878-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9GvUpaatBiReR43XFSMg%2Fuploads%2FlT7Pz65olEnXwtMljybN%2Fimage.png?alt=media&#x26;token=e9bc21d2-4c2a-4103-81c2-1c4d0bfc6c94" alt="" data-size="line">.
{% endhint %}

## Additional Administration Options

For advanced configurations and API-based generators, the **Device Simulator App** can be used. [-> Device Simulator App Documentation](https://docs.buildings.ability.abb/collection/apps/apps/device-simulator)
