> For the complete documentation index, see [llms.txt](https://docs.unwaste.energy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.unwaste.energy/en/unwaste-robot-operation/technical-details/savings-calculation.md).

# Savings calculation

Learn how Unwaste estimates savings from energy management and optimization.

Savings represent money saved due to:

* local production used locally,
* local production stored and used later,
* device operation shifted to cheaper energy periods.

### Self Use Savings

Self Use Savings represents the value of using produced energy locally instead of exporting it.

At a high level, it is driven by:

* how much production overlaps with consumption in time,
* and how expensive energy would have been if taken from the grid instead.

### Storage Savings

Storage Savings represents the additional value gained by:

* storing surplus energy when it is available,
* and retrieving it later when it is needed.

This is typically higher when:

* production and consumption are separated in time,
* storage capacity and control allow shifting energy effectively.

### Unwasted savings (price shifting)

Unwasted savings represent savings from running devices during cheaper energy periods because the Unwaste Robot selected a mode that caused the device to run then.

**Important: this is an estimate**\nUnwaste can measure:

* when the device ran,
* how much energy it used,
* what the price was at that time.

But Unwaste cannot directly observe the "what if" scenario:

* what the device would have done without Unwaste Robot control.

Therefore Unwasted savings are estimated by comparing:

* actual price during device operation, vs
* average price during the whole day

The rationale is:

* over long time, an uncontrolled device would tend to consume energy more uniformly (or at least not consistently aligned with the cheapest periods).

This estimate should be treated as:

* a helpful indicator of optimisation benefit,
* not a guaranteed invoice-level calculation.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.unwaste.energy/en/unwaste-robot-operation/technical-details/savings-calculation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
