> For the complete documentation index, see [llms.txt](https://docs.enlyze.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.enlyze.com/en/production-optimization/oee.md).

# OEE

Set up downtime detection and performance recording

To start capturing **OEE values** for a machine, you need to activate the calculation by configuring the required parameters in the ENLYZE App. This guide walks you through setting up **availability** and **performance** KPIs.

{% hint style="info" %}
What OEE is and how its components work together is explained under [Understanding OEE (Concepts)](https://docs.enlyze.com/en/concepts/understanding-oee.md).
{% endhint %}

Before starting, ensure that the machine variables used to define performance and detect downtimes are already in **active** status. Only active variables can be used in automations.

## Configuring Downtime Detection

{% stepper %}
{% step %}

#### Open the downtime configuration of the machine

Open the [ENLYZE App](https://app.enlyze.com/) and go to `Settings > Machines`.

At the relevant machine, select `Downtime Recording`, then click on `Set up downtime recording`.

<figure><img src="https://4261006941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSNEuiyRRKwuqtIcaEt45%2Fuploads%2Fgit-blob-25105e6b7e07fed725917ab940a7a8592efd0159%2Fprodopt-oee-machine-settings-01.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Select a Downtime Parameter

Click `Select standstill parameter`. A searchable list of the machine’s **active variables** will be shown. Select one variable from the list.

Once selected, a preview of recent values appears. Use the **time picker** in the top-right to change the visible time range.

To select a different parameter, click the **pen icon**.

<figure><img src="https://4261006941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSNEuiyRRKwuqtIcaEt45%2Fuploads%2Fgit-blob-4aac514034ab0301cceb21a3bed80ef3216a8d07%2Fprodopt-oee-downtime-config-01.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Configure Detection Logic

**Numerical variable:**\
Set a **threshold** to define downtime:

* Values **below** the threshold (`<`) indicate **downtime**
* Values **equal to or above** the threshold (`≥`) indicate **production**

**Boolean variable:**\
Choose whether **True** or **False** represents downtime.

Next, define the **minimum downtime duration** (in seconds). Shorter interruptions are ignored by the system.
{% endstep %}
{% endstepper %}

## Configuring Performance Recording

{% stepper %}
{% step %}

#### Open the Performance Configuration

Go to Settings > Machines. At the relevant machine select `Performance Recording` .

<figure><img src="https://4261006941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSNEuiyRRKwuqtIcaEt45%2Fuploads%2Fgit-blob-9cb29d46d33e68ed29d579a6610df8cb9503644f%2Fprodopt-oee-performance-empty-01.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Select a Performance Parameter

Click `Add setting parameter`. A searchable list of **active variables** will be displayed. Choose one variable from the list.

A preview of recent values will appear. Use the **time picker** to adjust the time range.

To discard the selected variable and choose another, click the **bin icon** next to the parameter name.

<figure><img src="https://4261006941-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSNEuiyRRKwuqtIcaEt45%2Fuploads%2Fgit-blob-4290236a2f5e762b1dd868d881290a7a3d61331a%2Fprodopt-oee-performance-configured-01.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### Define Units

To ensure correct performance calculation, specify:

* The **unit of measurement** for the performance parameter (e.g. pieces, meters)
* The **time unit** of measurement (e.g. per second, per minute)
  {% endstep %}

{% step %}

#### Set the Maximum Demonstrated Speed (MDS) Interval

Enter the **interval length** (in seconds) for determining the Maximum Demonstrated Speed. Our recommended value is 600 seconds (10 minutes)
{% endstep %}
{% endstepper %}

{% hint style="success" %}
Congratulations :tada:

The OEE data collection is now configured. Your machine will start displaying performance metrics and downtime events on the ENLYZE App home screen.
{% endhint %}
