# Anomalies and Diagnosis
The HAI-CPS benchmark defines eight different types of anomalies that can be induced into process plant configurations.
You can introduce a **single anomaly** or **multiple anomalies** simultaneously, even across different modules.
In the provided example setup, each **single anomaly** has been injected once after 2.500 seconds to offer a clear baseline.
However, users are encouraged to customize the anomaly configurations by modifying the [`benchmark_setup.json`](https://github.com/j-ehrhardt/hai-cps-benchmark/blob/main/code/benchmark_setup.json) file.
Within this benchmark, anomalies are defined to correspond directly to specific fault or failure modes in the system. As such, the presence of an anomaly inherently constitutes the diagnosis. This contrasts with real-world diagnostic tasks, where root causes must often be inferred from observed system behavior.
The dataset includes detailed descriptions of all diagnosis, each corresponding to specific anomaly scenarios.
Below is a list of all available anomalies:
---
## Leaking Anomaly — `anom_leaking`
When the leaking anomaly `anom_leaking` is induced, a leaking valve opens between the inlet and outlet tanks.
The valve’s position depends on the module but is consistent across all modules.
This leak causes fluid to exit the process plant through a separate sink, which result in the following typical observable effects:
- **Reduced pressure** in downstream pipes or tanks
- **Lower volume flow rates** in the affected module or its neighbors
- **Decreasing tank levels** despite normal or unchanged control signals
- **Imbalance between inflow and outflow rates**, particularly where the leak is located
**The leaking valve shown above opens when this anomaly is active.**
**The clogging valve shown above closes when this anomaly is active.**
**With `anom_pollution` active, the filter’s pollution coefficient is preset to 50%.**
**The pump operates at 75% RPM when this anomaly is induced.**
**The pump operates at 50% RPM when this anomaly is active.**
**Inlet valve `X` remains partially open (20%) when this anomaly is active.**