> For the complete documentation index, see [llms.txt](https://support.powerio.com/hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.powerio.com/hub/codesys-hvac/en/hvac-library/functionblocks/monitoring/airflowmeasuring.md).

# AirFlowMeasuring

## `AirFlowMeasuring` (FB)

FUNCTION\_BLOCK AirFlowMeasuring

### Short description

> Calculation of the current volume flow via a ring measuring nozzle\
> Typical application: Calculation of the current volume flow of a fan

### Representation

<figure><img src="https://2592874069-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQR4vCFzt6ixgsqlR3pdR%2Fuploads%2Fgit-blob-9f2e0814f2f5753b61630e48ef064a1b06380448%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

### Functional description

#### General

This function block is used to calculate the current volume flow of a fan based on the pressure difference, which is continuously detected by means of a measuring device (= ring measuring nozzle).

> **Detection of the current air density&#x20;*****rDensity***
>
> For calculations with reduced accuracy, specifying a constant is sufficient.\
> For calculations with increased accuracy, the calculation of air density as a function of the current temperature, relative humidity, air pressure, and saturation vapor pressure is required.\
> If the current value for air density falls below 0.1 kg/m³, it is limited to 0.1 kg/m³.

#### Selection of the calculation formula **eMode**

This setpoint / parameter is used to select the underlying calculation formula. The calculation formula and the **k\_Value** must always be requested from the fan manufacturer for the specific system.

| **eMode**                         | Formula                                                                                                      | Notes                                          |
| --------------------------------- | ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------- |
| eAirFlowFormula.exclusiveAirtight | rOut = **k\_Value** multiplied by the square root of *rPressure*                                             | Manufacturer: e.g. EBM-Papst, Ziehl-Abegg      |
| eAirFlowFormula.inclusiveAirtight | rOut = **k\_Value** multiplied by the square root of ((2 multiplied by *rPressure*) divided by (*rDensity*)) | Manufacturer: e.g. Rosenberg, Gebhardt Nicotra |
| eAirFlowFormula.strangeForm       | Placeholder for extensions                                                                                   | *rOut* = 0.0 constant                          |

#### Calculation factor **k\_Value**

This setpoint / parameter is used to enter the calculation factor. The calculation formula and the **k\_Value** must always be requested from the fan manufacturer for the specific system.

### CODESYS

InOut:

| Scope       | Name        | Type            | Initial                           |
| ----------- | ----------- | --------------- | --------------------------------- |
| Input       | `rPressure` | `REAL`          |                                   |
| Input       | `rDensity`  | `REAL`          | 1.2                               |
| Output      | `rOut`      | `REAL`          |                                   |
| Input Const | `k_Value`   | `REAL`          | 200                               |
| Input Const | `eMode`     | eAirFlowFormula | eAirFlowFormula.exclusiveAirtight |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://support.powerio.com/hub/codesys-hvac/en/hvac-library/functionblocks/monitoring/airflowmeasuring.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
