# Quality

Quality is one of the three OEE components and shows what proportion of the produced quantity meets quality requirements.

{% hint style="info" %}
What quality means in the OEE context and how it is calculated is explained under [Quality (Concepts)](/en/concepts/understanding-oee/quality.md).
{% endhint %}

## Prerequisites

For ENLYZE to calculate quality, the following data must be available:

* **Performance tracking** is set up (see [Setting up OEE tracking](/en/production-optimization/oee.md))
* **Order data** is connected to ENLYZE (see [IT-Connectivity](/en/connect/it-connectivity.md))
* **Good quantity or scrap quantity** is reported per order

## Tracking good quantity and scrap

ENLYZE calculates raw material consumption from throughput and runtime of an order. Depending on which data is available, there are two paths to quality calculation:

**Good quantity is reported**\
ENLYZE calculates scrap as the difference between raw material consumption and good quantity.

**Scrap is reported**\
ENLYZE optionally distinguishes between startup scrap and running scrap, provided this distinction exists in the source system. The good quantity is calculated as raw material consumption minus scrap quantity.

{% hint style="info" %}
The type of quality data tracking is determined during integration. Contact your ENLYZE representative to discuss the appropriate configuration.
{% endhint %}

## Quality in the app

The quality KPI is shown in several places in the ENLYZE App:

* **Order details**: For each order, good quantity, scrap, and quality factor are displayed.
* **Product overview**: The material overview shows lot size and scrap across all orders of a product (see [Setup sheet](/en/production-optimization/setup-sheet.md#material-overview)).
* **Home screen**: The OEE summary includes the quality factor.

## Related topics

* [Quality (Concepts)](/en/concepts/understanding-oee/quality.md): What quality means in the OEE context.
* [Setting up OEE tracking](/en/production-optimization/oee.md): Configure performance parameters.
* [Setup sheet](/en/production-optimization/setup-sheet.md): Product overview with material overview and scrap data.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.enlyze.com/en/production-optimization/quality.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
