> 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

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)](/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="/files/fWyRZaWVrDdSVEKi4Hed" 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="/files/ZrjZRuGSGxfpx5ZBgK86" 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="/files/n6DB0ADtGNtSaYy60meG" 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="/files/38VORkkypxZ5njMudwtv" 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 %}
