Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fix bug in cost template documentation example
  • Loading branch information
AJediIAm authored Jan 22, 2023
1 parent 779eec4 commit f458062
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,18 +135,24 @@ There are two special special arguments in that can be used in the template ([in

Note: When configuring Nordpool using the UI, things like VAT and additional costs cannot be changed. If your energy supplier or region changes the additional costs or taxes on a semi-regular basis, the YAML configuration might be better for you.

#### Example 1: Percentage (VAT)
#### Example 1: Overhead per kWh

Add 1,3 cents per kWh overhead cost to the current hour's price

```{{ 0.013 | float }}```

#### Example 2: Percentage (VAT)
Add 19 % VAT of the current hour's price

```{{current_price * 0.19}}```
```{{ (current_price * 0.19) | float }}```

#### Example 2: Overhead per kWh
#### Example 3: Overhead and VAT

Add 1,3 cents per kWh overhead cost to the current hour's price
Add 1,3 cents per kWh overhead cost, 0.002 flat tax and 19% VAT to the current hour's price

```{{current_price + 0.013}}```
```{{ (0.013 + 0.002 + (current_price * 0.19)) | float }}```

#### Example 3: Seasonal peek and off-peek overhead
#### Example 4: Seasonal peek and off-peek overhead

```jinja
{% set s = {
Expand Down

0 comments on commit f458062

Please sign in to comment.