# 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)](https://docs.enlyze.com/en/concepts/understanding-oee).
{% 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%2FozHFy8XcVOEmHXpApKho%2Fimage.png?alt=media&#x26;token=54c42991-135c-44d4-94d6-59546bc4dd9c" 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%2FCCG2KoBBL6HavtcY5C48%2Fimage.png?alt=media&#x26;token=28ef4d29-7a65-42d8-90ee-a1c7043f3f0f" 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%2F08cFWwmhdrvf8tiUyYxL%2Fimage.png?alt=media&#x26;token=a2e95748-c1e8-4644-b635-a443cffb630c" 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%2FzpHlHAaX4kJ6AJO4PMgB%2Fimage.png?alt=media&#x26;token=b7f2ce9c-211a-415c-a5c8-84bcdbda6dc6" 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 %}
