# PUN Orario

Source: https://docs.evcc.io/en/tariffs/pun-orario

Price data from [mercatoelettrico.org](https://www.mercatoelettrico.org/it/). Often used for feeding into the grid.

Supported features: Italy

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| zone | Market zone Italian electricity market zone. If no zone is specified, the national unit price (PUN) is used. (NORD, CNOR, CSUD, SUD, CALA, SICI, SARD) |  |  |
| charges | Charge Additional fixed charge per kWh |  | advanced |
| chargesZones | Charges zones Time-based grid fees that override the default charge. |  | advanced |
| tax | Tax Additional percentage charge (e.g. 0.2 for 20%) |  | advanced |
| formula | Formula Individual formula for calculating the price | math.Max((price + charges) * (1 + tax), 0.0) | advanced |

## Configuration example for evcc.yaml

```yaml
tariffs:
    grid:
      type: template
      template: pun
      zone: # Market zone, Italian electricity market zone. If no zone is specified, the national unit price (PUN) is used. [NORD, CNOR, CSUD, SUD, CALA, SICI, SARD] (optional)
      charges: # Charge, Additional fixed charge per kWh (optional)
      chargesZones: # Charges zones, Time-based grid fees that override the default charge. (optional)
      tax: # Tax, Additional percentage charge (e.g. 0.2 for 20%) (optional)
      formula: math.Max((price + charges) * (1 + tax), 0.0) # Formula, Individual formula for calculating the price (optional)
```
