> ## Documentation Index
> Fetch the complete documentation index at: https://offthepace.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# int_lap_air_state

> Air state classification and thermal load from dirty air.

<Note>Part of the [Physics](/transform/families/physics) family.</Note>

Air state classification and thermal load from dirty air. One row per stint-lap. Classifies air state per sector (free\_air, tow\_zone, drs\_train, dirty\_air) and accumulates cumulative thermal load on tyre surface and bulk using exponential moving average.

## Lineage

```mermaid theme={null}
flowchart LR
  int_stint_geometry --> int_lap_air_state
  int_lap_air_state --> fct_cliff_prediction_features
  int_lap_air_state --> int_dirty_air_tax_component
  int_lap_air_state --> int_field_pace_curve
  int_lap_air_state --> int_lap_normalized_pace
  int_lap_air_state --> int_pit_strategy_value
  int_lap_air_state --> int_sector_residual_decomposed
  style int_lap_air_state fill:#e40404,stroke:#e40404,color:#fff
```

## Overview

| Property          | Value                                        |
| ----------------- | -------------------------------------------- |
| Layer             | `intermediate`                               |
| Family            | [Physics](/transform/families/physics)       |
| Contract enforced | No                                           |
| Upstream          | [`int_stint_geometry`](./int_stint_geometry) |

**6 tests** [guard](/transform/ci/overview) this model  -  4 generic, 2 singular.

## Columns

| Column                | Type | Nullable | Tests                                                                                                          | Description                                                                                                                                                                                                                                                                                                                         |
| --------------------- | ---- | -------- | -------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `lap_id`              |      | Yes      | [`not_null`](/transform/ci/structural), [`unique`](/transform/ci/structural)                                   | Foreign key to stg\_laps                                                                                                                                                                                                                                                                                                            |
| `time_in_dirty_air_s` |      | Yes      | [`not_null`](/transform/ci/structural), [`expect_column_values_to_be_between`](/transform/ci/range-and-domain) | Real per-lap dirty-air exposure time (seconds), summed from actual \~10Hz telemetry sample durations where gap-to-car-ahead \< 1.5s. Zeroed on SC/VSC laps (no real aero load at safety-car speeds). Null-gap samples (\~5%, car ahead unavailable) are treated as free air, matching dirty\_air\_share\_lap's existing convention. |
