# Energy Flows

The energy flows are calculated based on the measurements of the devices which are added to the system. As users are associated with a single consumption unit. The energy flows represent, how much of the energy consumption of a user is coming from the production of devices and how much from the grid.

The energy flow calculation is based on a 15 minutes interval. If there is an overproduction happening within 15minutes, this energy is considered to be transferred to the grid.

The energy is distributed to the members using the dynamic distribution algorithm also used by Austrian distribution system operators (such as the Wiener Netze).

`1ecu_consumption_green = (ecu_consumption / totat_consumption) * es_production`

ecu\_consumption\_green ... Consumption of an energy consumption unit from the energy sources in the community\
totat\_consumption ... Sum of all consumption units in the energy community\
es\_production ... Production of an energy source

A consumption unit has a total consumption which consists of the following:

`1ecu_total_consumpition = ecu_consumption_green + ecu_consumption_grid`

ecu\_total\_consumpition ... Total consumption of an consumption unit\
ecu\_consumption\_green ... Consumption coming from an energy source within the community\
ecu\_consumption\_grid ... Consumption coming from the grid

&#x20;

The energy flows are calculated per user and for the community as a whole.

#### Energy Flows per member <a href="#energy-flows-per-member" id="energy-flows-per-member"></a>

A member of the community can view its individual consumption and where this energy is coming from. In a convenient graph different time intervals can be used. A member can choose between a *daily*, *monthly* or *yearly* view. On the right side of the graph the total consumption with in an interval is shown, and also how much of this energy was coming from the grid and how much from the energy sources within the community. A live view on the top indicates where the energy to cover the current consumption, last 15 minutes, is coming from and to provide recommendations about using the community energy most efficiently.

#### Community Balance <a href="#community-balance" id="community-balance"></a>

Similar to the member dashboard, an operator can use its dashboard to see the energy flow on a community level.

![](https://2774879019-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F37URXugGKPWDi5ErP0ov%2Fuploads%2FvAGXp1I6t46Ye85oIG09%2F2d54935d-ce89-4a7e-9d33-df92a748a31b.png?alt=media\&token=081289c2-1f35-45d2-80bb-0f7577200968)


---

# 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://mypower.riddleandcode.com/capabilities/energy-flows.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.
