# Demo Market Price

Source: https://docs.evcc.io/en/tariffs/demo-market-price

For demonstration purposes. Simulates dynamic electricity prices similar to EPEX spot market with typical daily patterns.

Supported features: Global

## Parameters

| Name | Description | Default / example | |
| --- | --- | --- | --- |
| min | Minimum price Lowest price, typically at noon (can be negative) | 0.10 |  |
| max | Maximum price Highest price, typically in the evening | 0.39 |  |
| noise | Price variation Random variation per slot (±value) | 0.01 | advanced |
| 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: demo-dynamic-grid
      min: 0.10 # Minimum price, Lowest price, typically at noon (can be negative) (optional)
      max: 0.39 # Maximum price, Highest price, typically in the evening (optional)
      noise: 0.01 # Price variation, Random variation per slot (±value) (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)
```
